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

Deprecation warnings when running with PHP 8.1 #22

Open
kdambekalns opened this issue Jun 8, 2023 · 0 comments
Open

Deprecation warnings when running with PHP 8.1 #22

kdambekalns opened this issue Jun 8, 2023 · 0 comments

Comments

@kdambekalns
Copy link

When using this with PHP 8.1 (or higher), you run into some warnings like this:

$ ./bin/neoscs DistributionPackages
PHP Deprecated:  Return type of Vette\Neos\CodeStyle\Packages\PackageCollection::key() should
either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be
used to temporarily suppress the notice in /…/Packages/Libraries/cvette/neos-code-style/src/Packages
/PackageCollection.php on line 91
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

1 participant