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

Require at least php 8 via composer.json #2210

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

pascalheidmann
Copy link
Contributor

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no

Coreshop uses PHP8 language features and therefore should require it via composer.json.
This also has the nice benefit that at least in PHPStorm the language level is automatically pushed up to 8.0

@dpfaffenbauer
Copy link
Member

Pimcore requires PHP 8 by default, thats why we didn't define it specifically https://github.com/pimcore/pimcore/blob/10.6/composer.json#L31

@jdreesen
Copy link
Contributor

But it doesn't hurt, and it helps PhpStorm and maybe people just looking into this repo, right?

@dpfaffenbauer
Copy link
Member

Ok.

@dpfaffenbauer dpfaffenbauer merged commit a79f9b9 into coreshop:master Feb 14, 2023
@dpfaffenbauer
Copy link
Member

thanks @pascalheidmann

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.

None yet

3 participants