Skip to content

Conversation

@fancyweb
Copy link
Contributor

@fancyweb fancyweb commented Dec 2, 2019

Q A
Branch? 4.4
Bug fix? yes
New feature? -
Deprecations? -
Tickets #34526
License MIT
Doc PR -

Simple alternative to #34541 on the command / read side.

What do you think @nicolas-grekas? It could be a compiler pass but since it's used only for this command, let's keep it simple I guess? Should we find a way to reuse the XmlDumper escaping strategy to always keep the command in sync with it, same question for the "%env(...)%" stuff? This regex is now used 3 times in the code base.

  • Need to write tests

@nicolas-grekas
Copy link
Member

Will this work when a value is inlined? Can't we str_replace() on the raw file content instead in the loader, with an flag?

@nicolas-grekas nicolas-grekas added this to the 4.4 milestone Dec 3, 2019
@fancyweb fancyweb force-pushed the fwb-lint-cmd-escape-parameters branch from 601f2ee to c1749a7 Compare December 3, 2019 13:10
chalasr pushed a commit that referenced this pull request Dec 3, 2019
…tainerLintCommand (fancyweb)

This PR was merged into the 4.4 branch.

Discussion
----------

[FrameworkBundle] Set the parameter bag as resolved in ContainerLintCommand

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #34526, Closes #34767
| License       | MIT
| Doc PR        | -

Alternative to #34767, idea by @nicolas-grekas.

Commits
-------

e8d3c2b [FrameworkBundle] Set the parameter bag as resolved in ContainerLintCommand
@chalasr chalasr closed this Dec 3, 2019
@chalasr
Copy link
Member

chalasr commented Dec 3, 2019

Superseded by #34784.

@fancyweb fancyweb deleted the fwb-lint-cmd-escape-parameters branch December 3, 2019 20:46
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.

5 participants