Skip to content

[TwigBridge] Deprecating legacy Twig paths in DebugCommand and simplifications #29481

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

Merged
merged 1 commit into from
Dec 6, 2018

Conversation

yceruto
Copy link
Member

@yceruto yceruto commented Dec 5, 2018

Q A
Branch? 4.2
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

I've also added some missing tests.

@yceruto yceruto changed the base branch from master to 4.2 December 5, 2018 22:59
@yceruto yceruto force-pushed the twig_debug_command branch 3 times, most recently from 1f7c843 to 1c22633 Compare December 6, 2018 00:44
@yceruto
Copy link
Member Author

yceruto commented Dec 6, 2018

(Travis failure unrelated)

@nicolas-grekas nicolas-grekas added this to the 4.2 milestone Dec 6, 2018
$path = $relativePath.$name;
$carry[$name] = $path;
}
$relativePath = ltrim(substr($this->rootDir.\DIRECTORY_SEPARATOR.'Resources/', \strlen($this->projectDir)), \DIRECTORY_SEPARATOR);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use getRelativePath() here too?

@nicolas-grekas
Copy link
Member

Thank you @yceruto.

@nicolas-grekas nicolas-grekas merged commit 96169b8 into symfony:4.2 Dec 6, 2018
nicolas-grekas added a commit that referenced this pull request Dec 6, 2018
… and simplifications (yceruto)

This PR was squashed before being merged into the 4.2 branch (closes #29481).

Discussion
----------

[TwigBridge] Deprecating legacy Twig paths in DebugCommand and simplifications

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

I've also added some missing tests.

Commits
-------

96169b8 [TwigBridge] Deprecating legacy Twig paths in DebugCommand and simplifications
@yceruto yceruto deleted the twig_debug_command branch December 6, 2018 12:04
@fabpot fabpot mentioned this pull request Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants