This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 251523 - Improve PHP samples
Summary: Improve PHP samples
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on: 251522
Blocks:
  Show dependency tree
 
Reported: 2015-03-31 08:32 UTC by Tomas Mysik
Modified: 2015-04-01 11:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2015-03-31 08:32:23 UTC
PHP samples for unit testing ("Calculator" samples) could be improved, code coverage could be added.
Comment 1 Tomas Mysik 2015-03-31 08:34:10 UTC
BTW the PHPUnit sample should use composer as well, the PEAR installation is deprecated (and does not work anymore).
Comment 2 Tomas Mysik 2015-03-31 08:35:48 UTC
And it seems that we could switch to Composer with the atoum sample as well. Will investigate it.
Comment 3 Tomas Mysik 2015-04-01 04:49:44 UTC
Done. All three Calculator samples use composer.json and enable code coverage by default.

Thanks.

http://hg.netbeans.org/web-main/rev/57e4b5569049
http://hg.netbeans.org/web-main/rev/8b972cb59b2a
http://hg.netbeans.org/web-main/rev/960c64e1cfd2
Comment 4 Quality Engineering 2015-04-01 11:42:35 UTC
Integrated into 'main-silver', will be available in build *201504011006* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/57e4b5569049
User: Tomas Mysik <tmysik@netbeans.org>
Log: Part of #251523 - Improve PHP samples

Nette Tester sample.