allcode

Results 2 comments of allcode

In the last few days, I've had to modify this project to use zend-code 3.3 and generate classes with PHP7.1 parameter and return types for a project I'm working on....

Something like this class works for testing various generated code: ```php use PHPUnit\Framework\TestCase; use Zend\Code\Generator\ClassGenerator; use Zend\Code\Generator\FileGenerator; class Psr2ComplianceTest extends TestCase { public function testEmptyClassCompliance() { $classGenerator = new ClassGenerator('Bar',...