Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[TwigBridge] Remove $rootDir argument in CodeExtension#28967
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
| * @param string $charset The charset | ||
| */ | ||
| publicfunction__construct($fileLinkFormat,string$rootDir,string$charset,string$projectDir =null) | ||
| publicfunction__construct($fileLinkFormat,string$projectDir,string$charset) |
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.
argument was added in 4.2, so safe to remove technically.
We slightly change the behavior, only in formatFile. IMHO that's fine.
nicolas-grekas commentedOct 24, 2018
can you have a look at the failure on Windows? |
nicolas-grekas commentedOct 24, 2018
and the failure on Travis btw - looks like the composer.json change allowed spotting an issue :) |
ro0NL commentedOct 24, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Im not sure the appveyor failure is still related, looks like it's not. |
ro0NL commentedOct 24, 2018
The symfony/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelper.php Lines 33 to 38 in8c24c35
so i tend to keep the slash normalization actually =/ |
fabpot commentedOct 25, 2018
Thank you@ro0NL. |
…0NL)This PR was merged into the 4.2-dev branch.Discussion---------- [TwigBridge] Remove $rootDir argument in CodeExtension| Q | A| ------------- | ---| Branch? | master| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes <!-- please add some, will be required by reviewers -->| Fixed tickets |symfony/symfony-docs#10547 (comment)| License | MIT| Doc PR | symfony/symfony-docs#... <!-- required for new features -->Forgotten in#28890cc@javiereguiluzCommits-------f894724 [TwigBridge] Remove $rootDir argument in CodeExtension
Forgotten in#28890
cc@javiereguiluz