Skip to content

raise minimum php and symfony versions #458

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

Closed
dbu opened this issue Jun 11, 2024 · 2 comments
Closed

raise minimum php and symfony versions #458

dbu opened this issue Jun 11, 2024 · 2 comments
Milestone

Comments

@dbu
Copy link
Collaborator

dbu commented Jun 11, 2024

for version 2, we should raise the PHP version.

Lets do ^8.1 and only allow Symfony : ^6.4|^7.1.

Check code for BC things for old symfony versions.

@dbu dbu added this to the 2.0.0 milestone Jun 11, 2024
@dbu dbu mentioned this issue Jun 11, 2024
3 tasks
andrew-demb pushed a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
andrew-demb pushed a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
andrew-demb pushed a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
… short arrow function, readonly properties, etc)
andrew-demb pushed a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
andrew-demb pushed a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
andrew-demb pushed a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
… short arrow function, readonly properties, etc)
andrew-demb added a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
andrew-demb added a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
andrew-demb added a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
… short arrow function, readonly properties, etc)
andrew-demb added a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
andrew-demb added a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
andrew-demb added a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
andrew-demb added a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
andrew-demb added a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
… short arrow function, readonly properties, etc)
andrew-demb added a commit to andrew-demb/HttplugBundle that referenced this issue Aug 25, 2024
@andrew-demb
Copy link
Contributor

I opened a PR to resolve this #463

dbu pushed a commit that referenced this issue Sep 2, 2024
* ⬆️ [#458] Update min PHP version to 8.1
* 📦 Add typehint to parameter in private method
* 📦 [#458] Update min Symfony version to `^6.4 || ^7.1`
* 📦 Hint about always non-null return type
* 📦 Avoid deprecated DI extension class
* 📦 Fix property type in phpdoc
* 📦 Avoid invalid argument - cast possible float to the integer
* 📦 [#458] Introduce property types, use PHP 8.1 features (CPP, short arrow function, readonly properties, etc)
* 📦 [#458] Switch to `php-cs-fixer-ga` 3.26 and run it
* 📦 Require phpunit 9 because `simple-phpunit` is not compatible with phpunit 10 and `matthiasnoback/symfony-config-test` triggers installation of phpunit 10
* 💄 Multiline constructor parameters
* 📦 Safe property types - property can be uninitialized. Explicitly mention possible return null
* 📦 Use native union type for parameter
* 📦 Enforce installing `matthiasnoback/symfony-config-test` to fix CI for lowest deps
@dbu
Copy link
Collaborator Author

dbu commented Sep 2, 2024

done in #463, thanks a lot @andrew-demb !

@dbu dbu closed this as completed Sep 2, 2024
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

No branches or pull requests

2 participants