Task #84237
closedUpdate composer-dep nikic/php-parser to 4.0.0
Added by Stefan Neufeind over 6 years ago. Updated about 6 years ago.
100%
Description
So far we had 3.1.1.
Updated by Gerrit Code Review over 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56128
Updated by Stefan Neufeind over 6 years ago
For a list of news/impact see:
https://github.com/nikic/PHP-Parser/blob/master/CHANGELOG.md
I don't foresee major changes for us. Let's maybe see what our tests and daily usage say.
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56128
Updated by Gerrit Code Review over 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56128
Updated by Anja Leichsenring over 6 years ago
The proposed update produces a different output than version 3 of the PHP parser:
v3:
object(PhpParser\Node\Expr\StaticCall)#582 (4) { ["class"]=> object(PhpParser\Node\Name\FullyQualified)#44 (2) { ["parts"]=> array(5) { [0]=> string(5) "TYPO3" [1]=> string(3) "CMS" [2]=> string(4) "Core" [3]=> string(7) "Utility" [4]=> string(14) "GeneralUtility" } ["attributes":protected]=> array(2) { ["startLine"]=> int(2) ["endLine"]=> int(2) } } ["name"]=> string(12) "makeInstance" ["args"]=> array(1) { [0]=> object(PhpParser\Node\Arg)#590 (4) { ["value"]=> object(PhpParser\Node\Name\FullyQualified)#581 (2) { ["parts"]=> array(5) { [0]=> string(5) "TYPO3" [1]=> string(3) "CMS" [2]=> string(4) "Does" [3]=> string(3) "Not" [4]=> string(5) "Exist" } ["attributes":protected]=> array(3) { ["startLine"]=> int(2) ["endLine"]=> int(2) ["kind"]=> int(1) } } ["byRef"]=> bool(false) ["unpack"]=> bool(false) ["attributes":protected]=> array(2) { ["startLine"]=> int(2) ["endLine"]=> int(2) } } } ["attributes":protected]=> array(2) { ["startLine"]=> int(2) ["endLine"]=> int(2) } }
v4:
object(PhpParser\Node\Stmt\Expression)#1102 (2) { ["expr"]=> object(PhpParser\Node\Expr\StaticCall)#1101 (4) { ["class"]=> object(PhpParser\Node\Name\FullyQualified)#1097 (2) { ["parts"]=> array(5) { [0]=> string(5) "TYPO3" [1]=> string(3) "CMS" [2]=> string(4) "Core" [3]=> string(7) "Utility" [4]=> string(14) "GeneralUtility" } ["attributes":protected]=> array(2) { ["startLine"]=> int(2) ["endLine"]=> int(2) } } ["name"]=> object(PhpParser\Node\Identifier)#1098 (2) { ["name"]=> string(12) "makeInstance" ["attributes":protected]=> array(2) { ["startLine"]=> int(2) ["endLine"]=> int(2) } } ["args"]=> array(1) { [0]=> object(PhpParser\Node\Arg)#1100 (4) { ["value"]=> object(PhpParser\Node\Scalar\String_)#1099 (2) { ["value"]=> string(24) "TYPO3\CMS\Does\Not\Exist" ["attributes":protected]=> array(3) { ["startLine"]=> int(2) ["endLine"]=> int(2) ["kind"]=> int(1) } } ["byRef"]=> bool(false) ["unpack"]=> bool(false) ["attributes":protected]=> array(2) { ["startLine"]=> int(2) ["endLine"]=> int(2) } } } ["attributes":protected]=> array(2) { ["startLine"]=> int(2) ["endLine"]=> int(2) } } ["attributes":protected]=> array(2) { ["startLine"]=> int(2) ["endLine"]=> int(2) } }
Updated by Gerrit Code Review over 6 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56128
Updated by Gerrit Code Review over 6 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56128
Updated by Gerrit Code Review over 6 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56128
Updated by Gerrit Code Review over 6 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56128
Updated by Stefan Neufeind over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d5095df8d36ad546b32daf629b9f1a7a08e46a5c.