phpstan-src
phpstan-src copied to clipboard
PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository.
This PR adds a new tag `@phpstan-consistent-templates` and new checks for it. Fixes one part of https://github.com/phpstan/phpstan/issues/5512 There are some parts I am not sure of. - Naming of the...
A little experiment to see what happens. Psalm doesn't generalize template types either, because a `@var` is easy enough to write.
issue: https://github.com/phpstan/phpstan/issues/4174 I looked into ```ArrayKeyExistsFunctionTypeSpecifyingExtension```, but it seems like I didn't fully understand the logic of the specifying classes. In this case we want to specify parameter 1 or/and...
related to https://github.com/phpstan/phpstan/issues/5081
Followup to #1080
resolves https://github.com/phpstan/phpstan/issues/6560 I implemented a rule instead of a dynamic return type extension as mentioned in https://github.com/phpstan/phpstan/issues/6560#issuecomment-1032304276. I think that was a misunderstanding? After all the problem is the parameter...
This PR will fix the `containerXmlPaths` by adding an absolute path to the locations in the array. Required by [phpstan-symfony#237](https://github.com/phpstan/phpstan-symfony/pull/237)
closes https://github.com/phpstan/phpstan/issues/5942
This is a follow up for https://github.com/phpstan/phpstan/discussions/4359