-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Dev: PHPStan "no type specified" errors #7731
Comments
Type specified will strict return, most function with multiple return We can use below in PHP 8.2, is not compabillity another php version public function isFunction(): string|int {
//
} We can only change some functions. |
Yes, we still support PHP 7.4. |
238 items were removed! 473 - 235 = 238 $ grep "type specified" phpstan-baseline.php | wc -l
235 |
$ grep "type specified" phpstan-baseline.php | wc -l
221 |
$ grep "no type specified" phpstan-baseline.php | wc -l
224 $ grep "no return type specified" phpstan-baseline.php | wc -l
382 |
Let's continue working. New commands:
|
There are 473 ignored errors due to "no type specified" in phpstan-baseline.php.
These ignored errors should be removed.
You can search for
no type specified
,no return type specified
in phpstan-baseline.php.The text was updated successfully, but these errors were encountered: