Skip to content
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

Merged
merged 8 commits into from
Apr 5, 2024
Merged

Allow Symfony 7 (4.x) #308

merged 8 commits into from
Apr 5, 2024

Conversation

weitzman
Copy link
Member

@weitzman weitzman commented Apr 2, 2024

Disposition

This pull request:

  • Fixes a bug
  • Adds a feature
  • Breaks backwards compatibility
  • Has tests that cover changes

Summary

Short overview of what changed.

Description

Any additional information.

@weitzman weitzman mentioned this pull request Apr 2, 2024
Copy link

codecov bot commented Apr 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.19%. Comparing base (e01152f) to head (d88c67e).
Report is 2 commits behind head on 4.x.

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.
📢 Have feedback on the report? Share it here.

@@ -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)
Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Member

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.

@greg-1-anderson greg-1-anderson merged commit f5e90aa into 4.x Apr 5, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants