-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Yaml] Added support for multiple files or directories in LintCommand #28521
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
yceruto
commented
Sep 19, 2018
•
edited
Loading
edited
Q | A |
---|---|
Branch? | master |
Bug fix? | no |
New feature? | yes |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #28498 |
License | MIT |
Doc PR | symfony/symfony-docs#10367 |
d35c88f
to
647f6e3
Compare
@@ -74,7 +74,8 @@ | |||
"symfony/translation": "<4.2", | |||
"symfony/twig-bridge": "<4.1.1", | |||
"symfony/validator": "<4.1", | |||
"symfony/workflow": "<4.1" | |||
"symfony/workflow": "<4.1", | |||
"symfony/yaml": "<=4.2" |
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.
<4.2
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.
Done, but still:
- Installing symfony/yaml (4.2.x-dev): Downloading (100%)
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.
which mean it worked actually
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.
This is the fails before the last commit https://travis-ci.org/symfony/symfony/jobs/430972569#L2994
On master, deps=high failures mean the PR breaks 4.1 when used with deps at 4.2 - this should be fixed somehow (yes, that's the big downside of moving things to components: we now have to deal with cross deps compat...) |
Well, here, the issue is only related to the way our CommandTester works. Turning an argument into an array argument is a BC break for tests, because the argument now has to be provided as an array, while there is no BC break when running the command in the CLI. And as FrameworkBundle extends the command and has tests for its child class, it is affected by this change in the argument definition of the component. |
647f6e3
to
ab6d8a1
Compare
Could be an alternative to do this in the command |
@yceruto you mean reverting the argument type to |
4ef5274
to
11a6498
Compare
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.
got it :)
…ctories in XliffLintCommand (yceruto) This PR was squashed before being merged into the 4.2-dev branch (closes #28522). Discussion ---------- [Translation] Added support for multiple files or directories in XliffLintCommand | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | symfony/symfony-docs#10368 Same approach of symfony/symfony#28521 Commits ------- 88ec37bed7 [Translation] Added support for multiple files or directories in XliffLintCommand
11a6498
to
d0f7950
Compare
…ctories in XliffLintCommand (yceruto) This PR was squashed before being merged into the 4.2-dev branch (closes #28522). Discussion ---------- [Translation] Added support for multiple files or directories in XliffLintCommand | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | symfony/symfony-docs#10368 Same approach of #28521 Commits ------- 88ec37b [Translation] Added support for multiple files or directories in XliffLintCommand
Thank you @yceruto. |
… in LintCommand (yceruto) This PR was squashed before being merged into the 4.2-dev branch (closes #28521). Discussion ---------- [Yaml] Added support for multiple files or directories in LintCommand | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #28498 | License | MIT | Doc PR | symfony/symfony-docs#10367 Commits ------- d0f7950 [Yaml] Added support for multiple files or directories in LintCommand
…ries (yceruto, javiereguiluz) This PR was merged into the master branch. Discussion ---------- [Yaml] Documenting support for multiple files or directories See symfony/symfony#28521 Commits ------- 23f6465 Added the versionadded directive 6cf8bef typo a5546a6 adding missing "or" 1513f22 Added support for multiple files or directories
…ctories in XliffLintCommand (yceruto) This PR was squashed before being merged into the 4.2-dev branch (closes #28522). Discussion ---------- [Translation] Added support for multiple files or directories in XliffLintCommand | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | symfony/symfony-docs#10368 Same approach of symfony/symfony#28521 Commits ------- 88ec37bed7 [Translation] Added support for multiple files or directories in XliffLintCommand