-
PHPStan has introduced error codes, include them in the "hint"
-
Hello!
I'm trying to install and use this extension but I'm getting several of the below errors when trying to run PHPStan (level 1) on my codebase:
```
Uncaught TomasVotruba\Bladestan\Exceptio…
-
Hello, after upgrading to php-standard-library/phpstan-extension v1.1.0 I'm getting an invalid resolved type for array shapes narrowed by the psl type coerce/assert methods.
E.g.:
```
$type = sha…
p4veI updated
3 weeks ago
-
PHPStan's cache misses all the time, should be fixed to speed things up significantly
-
thank you for this nice formatter.
I want to suggest to color or format the expected and actual value of rule errors, since these are usually the most important part of an error message. additional…
-
https://phpstan.org/writing-php-code/phpdocs-basics#change-type-of-current-object-after-calling-a-method
-
- Larastan Version: 2.9.8
- Laravel Version: 11.22.0
### Description
After upgrade phpstan to a version greater than 1.12.0 casted enums, array, customs casts are not treated as casted typ…
-
Since PHPStan 1.11.0, it supports ignoring errors using identifiers (https://phpstan.org/user-guide/ignoring-errors).
1. When I type `@phps`, I would like to get autocomplete suggestion `@phpstan-i…
-
Interesting I'm not sure when it triggers into this error as I try create tmp projects in `/tmp` composer works fine but inside my normal working dir `/Users/alexanderschranz/Documents/Projects/` stop…
-
### Feature request
@VincentLanglet noticed in https://github.com/phpstan/phpstan-src/pull/3514#discussion_r1780186959 that my method always returns the same and the if conditional is useless.
N…