-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Console] fix handling positional arguments #41952
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hey! I think @PatchRanger has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
chalasr
approved these changes
Jul 3, 2021
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.
I'd really appreciate a test case :)
0b465bf
to
e3b93a6
Compare
e3b93a6
to
fad17a9
Compare
Here you are, with a test case. |
nicolas-grekas
added a commit
that referenced
this pull request
Jul 4, 2021
…ents" (chalasr, nicolas-grekas) This PR was merged into the 4.4 branch. Discussion ---------- [Console] Revert "bug #41952 fix handling positional arguments" | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Reverts #41952 as it breaks tests on 5.3 due to an implicit string cast: We added the `string` typehint to the `$name` argument in 5.x, removing it now to allow for `string|int` would be a BC break which I don't think is worth it. Commits ------- 6ac2776 [Console] Fix type annotation on InputInterface::hasArgument() 9928be0 Revert "minor #41949 [Console] fix type annotations on InputInterface (nicolas-grekas)" 8fc58aa Revert "bug #41952 [Console] fix handling positional arguments (nicolas-grekas)"
nicolas-grekas
added a commit
that referenced
this pull request
Jul 4, 2021
* 4.4: Fix SkippedTestSuite [Console] Fix type annotation on InputInterface::hasArgument() Revert "minor #41949 [Console] fix type annotations on InputInterface (nicolas-grekas)" [EventDispatcher] Correct the called event listener method case Add missing translations for Japanese. Revert "bug #41952 [Console] fix handling positional arguments (nicolas-grekas)" [Security] Don't skip UserPasswordValidatorTest [DI] CS fix [Console] fix handling positional arguments [Validator] add translation for Vietnamese Add Bulgarian translation for the validator
nicolas-grekas
added a commit
that referenced
this pull request
Jul 4, 2021
* 5.2: CS fix Missing translations from traits Fix SkippedTestSuite [Console] Fix type annotation on InputInterface::hasArgument() Revert "minor #41949 [Console] fix type annotations on InputInterface (nicolas-grekas)" [EventDispatcher] Correct the called event listener method case Add missing translations for Japanese. Revert "bug #41952 [Console] fix handling positional arguments (nicolas-grekas)" fix backport
nicolas-grekas
added a commit
that referenced
this pull request
Jul 4, 2021
* 5.3: CS fix Missing translations from traits Fix SkippedTestSuite [Console] Fix type annotation on InputInterface::hasArgument() Revert "minor #41949 [Console] fix type annotations on InputInterface (nicolas-grekas)" [EventDispatcher] Correct the called event listener method case [Serializer] Need to clear cache when updating Annotation Groups on Entities Add missing translations for Japanese. Revert "bug #41952 [Console] fix handling positional arguments (nicolas-grekas)" Fix test [Security] Don't skip UserPasswordValidatorTest [DI] CS fix [Console] fix handling positional arguments [Validator] add translation for Vietnamese Add Bulgarian translation for the validator fix backport [Console] fix type annotations on InputInterface
nicolas-grekas
added a commit
that referenced
this pull request
Jul 4, 2021
* 5.4: [FrameworkBundle] Add missing dep CS fix Missing translations from traits Fix SkippedTestSuite [Console] Fix type annotation on InputInterface::hasArgument() [Notifier] add Mailjet SMS bridge Revert "minor #41949 [Console] fix type annotations on InputInterface (nicolas-grekas)" [EventDispatcher] Correct the called event listener method case [Serializer] Need to clear cache when updating Annotation Groups on Entities Add missing translations for Japanese. Revert "bug #41952 [Console] fix handling positional arguments (nicolas-grekas)" Fix test [Security] Don't skip UserPasswordValidatorTest [DI] CS fix [Console] fix handling positional arguments Add TesterTrait::assertCommandIsSuccessful() helper [Validator] add translation for Vietnamese Add Bulgarian translation for the validator fix backport [Console] fix type annotations on InputInterface
This was referenced Jul 26, 2021
Merged
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow up of #41949