-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Classcollectionloader: fix traits + enhancements #6258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
} | ||
array_map(function ($class) { return $class->getName(); }, $ordered) | ||
); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Three lines above seems to be invalid result of rebasing =)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes rebasingsing !
for ($i = 0, $max = count($tokens); $i < $max; $i++) { | ||
$token = $tokens[$i]; | ||
for (reset($tokens); false !== $token = current($tokens); next($tokens)) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra blank line here
Should be ready. |
@fabpot I initially marked this PR for 2.3 but it contains a fix for traits, should you merge it ? |
@fabpot could this be in 2.2 ? |
public function getFixNamespaceDeclarationsData() | ||
{ | ||
return array( | ||
public function getFixNamespaceDeclarationsDataWithoutTokenizer() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation is wrong.
@fabpot fixed |
This PR was submitted for the master branch but it was merged into the 2.2 branch instead (closes #6258). Commits ------- d4acd6d Classcollectionloader: fix traits + enhancements Discussion ---------- Classcollectionloader: fix traits + enhancements Commits: - some tweaks - generates smaller cache files (20% decrease for the SE) - fix traits dependency - thanks php for consistency https://bugs.php.net/bug.php?id=61554 --------------------------------------------------------------------------- by vicb at 2012-12-11T07:56:07Z @stloyd @fabpot thanks for the useful reviews, everything should be fixed now. --------------------------------------------------------------------------- by vicb at 2012-12-11T10:03:48Z Should be ready. --------------------------------------------------------------------------- by vicb at 2013-01-15T21:05:42Z @fabpot I initially marked this PR for 2.3 but it contains a fix for traits, should you merge it ? --------------------------------------------------------------------------- by vicb at 2013-01-23T20:09:32Z @fabpot could this be in 2.2 ? --------------------------------------------------------------------------- by vicb at 2013-02-01T14:07:08Z @fabpot fixed
thanks ! |
Commits: