-
Notifications
You must be signed in to change notification settings - Fork 54
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
Implement phpstan 5 #399
base: main
Are you sure you want to change the base?
Implement phpstan 5 #399
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a lot of @phpstan-ignore...
, we can have a few, but >50 is a lot.
If level 5 is too ambitious, maybe we need to validate an intermediate level first?
Co-authored-by: Stanislas <[email protected]>
Co-authored-by: Romain B. <[email protected]>
inc/backendcsv.class.php
Outdated
* @param mixed $fic | ||
* @param mixed $data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mixed
should be avoided, as it gives no indication of what is expected and on higher levels of PHPstan, it raises an error.
$fic
doesn't seem to be used, so it's not important for this one. See if it can be removed, but in another dedicated PR.
Co-authored-by: Romain B. <[email protected]>
Co-authored-by: Romain B. <[email protected]>
Co-authored-by: Romain B. <[email protected]>
Co-authored-by: Romain B. <[email protected]>
No description provided.