-
# Bug report
It seems that phpstan does not fully recognize `$this` context in the example below and generates an error
"Call to protected method _message() of class HelloWorld" when dealing with…
-
Evaluate dev Composer dependencies according to the [Core dependency release cycles, security information, and evaluation criteria](https://www.drupal.org/about/core/policies/core-dependency-policies/…
-
Let's improve code quality by checking the code with tools for common flaws and against established standards. This should also make contributing to this project easier, and reduce the amount of work …
-
Analysing code using a static code analyser like phpstan of psalm reduces the changes on bugs.
Here is a step-by-step manual to add phpstan.
In the root of the website used for developing pushy,…
-
### Bug report
If trait has an abstract function that return a union type and the trait used multiple class, the conditions in the trait are considered to always be true or false.
### Code snippet t…
-
### Bug report
```php
-
# Feature request
When using the const-as-enum pattern (supported in 0.12.20 via https://github.com/phpstan/phpstan/issues/2904), it would be really helpful to improve several warnings. Turning on …
-
I have an issue with ServiceSubscriberTrait (https://symfony.com/doc/5.4/service_container/service_subscribers_locators.html#service-subscriber-trait) on symfony 5.4 and PHP 7.4. Error message is like…
-
# Bug report
If a method/function expects a non-empty string passing a string-callable is only possible when checking for the non-emptiness of that string using `strlen()`. Comparing it with the em…
-
expected a error in https://psalm.dev/r/0005cb68ee
like one we have in phpstan https://phpstan.org/r/6aebe69d-ee3a-432d-b3a8-3e996612b14a