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 in EntityRepository fails phpstan #644

Closed
mroeling opened this issue Mar 3, 2025 · 1 comment · Fixed by #645
Closed

Deprecation in EntityRepository fails phpstan #644

mroeling opened this issue Mar 3, 2025 · 1 comment · Fixed by #645

Comments

@mroeling
Copy link

mroeling commented Mar 3, 2025

Current phpstan doctrine error prevents moving forward to php8.4. No error in php8.3.

Line 45: Deprecated in PHP 8.4: Parameter #2 $orderBy (array) is implicitly nullable via default value null.

public function findOneBy(array $criteria, array $orderBy = null);

Image

Version info:
phpstan: 2.1.1
phpstan-doctrine: 2.0.1
php: 8.4.4

Copy link

github-actions bot commented Apr 4, 2025

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant