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

Summary: Improve PHP samples
Product: php Reporter: Tomas Mysik <tmysik>
Component: CodeAssignee: Tomas Mysik <tmysik>
Status: RESOLVED FIXED    
Severity: normal CC: vriha
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 251522    
Bug Blocks:    

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.