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

Fix Symfony 6.1 deprecation #298

Merged
merged 1 commit into from
Jun 7, 2022
Merged

Conversation

norkunas
Copy link
Contributor

@norkunas norkunas commented Jun 7, 2022

No description provided.

@norkunas norkunas force-pushed the sf61 branch 2 times, most recently from d4e6150 to 489df9d Compare June 7, 2022 07:51
Copy link
Member

@yann-eugone yann-eugone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this
Please also see the error spotted by PhpStan with Finder::create in src/Service/Dumper.php

.github/workflows/tests.yml Outdated Show resolved Hide resolved
tests/Integration/config/5.4/messenger.yaml Show resolved Hide resolved
@norkunas norkunas force-pushed the sf61 branch 3 times, most recently from c187a86 to 9cd8f93 Compare June 7, 2022 08:53
@@ -45,7 +43,7 @@ jobs:
symfony/http-kernel:${{ matrix.symfony-version }} \
symfony/routing:${{ matrix.symfony-version }} \
symfony/messenger:${{ matrix.symfony-version }}
composer update --no-interaction --no-progress --no-suggest
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are using the deprecated option "--no-suggest". It has no effect and will break in Composer 3.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's kind of the thing I'm fixing everywhere these days... If you can, remove it !

@norkunas
Copy link
Contributor Author

norkunas commented Jun 7, 2022

I think it's good now, and phpstan errors should be fixed in another PR or moved to baseline

@norkunas
Copy link
Contributor Author

norkunas commented Jun 7, 2022

Also cannot use latest phpstan on 7.1 because it requires at least php 7.2

@yann-eugone
Copy link
Member

Fine, will fix it myself
Thanks

@yann-eugone yann-eugone merged commit ecd355f into prestaconcept:3.x Jun 7, 2022
@norkunas norkunas deleted the sf61 branch June 7, 2022 09:04
@yann-eugone
Copy link
Member

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