-
https://psalm.dev/r/5ab480345a
```php
-
https://psalm.dev/r/5eea61068e
Psalm does not seem to check dynamic invocations. The above code doesn't restrict `$key`, so the method may not exists at all. I think it makes sense if static analys…
-
### Description
Currently, fatal error can be handled, but it is not possible to do so using handler set by `set_error_handler`, but workaround using `register_shutdown_function`. This is not only …
-
Related: https://github.com/phpstan/phpstan/issues/791
A weak comparison error should be thrown for such case:
```php
-
I noticed an issue where arguments to classes in the services file were not verified against the class->__construct() at any phpstan runlevel.
Is this something that would be fixable?
Our error wa…
-
Currently, to use this project and only do deprecation testing one would need to add the following to their phpstan.neon:
```
# Ignore phpstan-drupal extension's rules.
ignoreErrors:
- '#\Dr…
-
# Bug report
When a class has array shape in one of it's generic arguments, and the type is compared against the same exact thing PHPStan produces an error on levels below 8 with bleeding edge enab…
-
### Feature request
`range()` has a lot of changes in PHP 8.3. In short, the code is as follows:
```php
-
### Bug report
[Conditional return types](https://phpstan.org/writing-php-code/phpdoc-types#conditional-return-types) is a feature to allow to specify logic to return type based on function argumen…
-
# Bug report
getting weird error:
`Variable $displayAll in PHPDoc tag @var does not match any variable in the foreach loop: $reviews, $review`
### Code snippet that reproduces the problem…
gemal updated
7 months ago