-
Notifications
You must be signed in to change notification settings - Fork 37
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
Allow Symfony 7 (4.x) #308
Conversation
…he alias is not found (Symfony will prompt for which command you might want to run instead in this instance).
…very rare?) should override "execute". Not sure why it worked any other way in the past.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.x #308 +/- ##
=========================================
Coverage 88.19% 88.19%
Complexity 781 781
=========================================
Files 46 46
Lines 2100 2100
=========================================
Hits 1852 1852
Misses 248 248 ☔ View full report in Codecov by Sentry. |
@@ -44,7 +44,7 @@ public function myEcho($one, $two = '', $multiple = [], $flip = false) | |||
* @usage bet alpha --flip | |||
* Concatenate "alpha" and "bet". | |||
*/ | |||
protected function execute(InputInterface $input, OutputInterface $output) | |||
protected function myEchoAnnotated(InputInterface $input, OutputInterface $output) |
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 method must be named execute
for this test.
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.
OK, methods named execute will have to add a return type hint.
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.
Did that, seems green now, I guess old versions are passing because it is okay to add a function return type in an overriding class even if the base class didn't have it.
Disposition
This pull request:
Summary
Short overview of what changed.
Description
Any additional information.