[#3173] Incorrect creating instance Zend/Code/Generator/ClassGenerator.php by fromArray #3213

Closed
wants to merge 4 commits into
from

Projects

None yet

2 participants

@neeckeloo
Contributor

This is a fix for issue [#3173]. I had fromArray() method into Zend/Code/Generator/DocBlockGenerator class and modify ternary operator. I also fix CS.

@weierophinney weierophinney commented on an outdated diff Dec 13, 2012
tests/ZendTest/Code/Generator/DocBlockGeneratorTest.php
@@ -78,4 +79,22 @@ public function testGenerationOfDocBlock()
$this->assertEquals($expected, $this->docBlockGenerator->generate());
}
+ public function testCreateFormArray()
@weierophinney
weierophinney Dec 13, 2012 Member

s/Form/From/

@weierophinney weierophinney added a commit that referenced this pull request Dec 13, 2012
@weierophinney weierophinney [#3213] renamed test method
- s/Form/From/
0d40a88
@weierophinney weierophinney added a commit that referenced this pull request Dec 13, 2012
@weierophinney weierophinney Merge branch 'hotfix/3213' into develop
Forward port #3213

Conflicts:
	library/Zend/Code/Generator/ClassGenerator.php
	tests/ZendTest/Code/Generator/ClassGeneratorTest.php
e43beaa
@weierophinney weierophinney added a commit that closed this pull request Dec 13, 2012
@weierophinney weierophinney Merge branch 'hotfix/3213'
Close #3213
c9eea75
@weierophinney
Member

@neeckeloo LOL -- I fixed it locally already while merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment