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.
implement a POC for idea from https://github.com/phpstan/phpstan-src/pull/3178#issuecomment-2184949350 goal is to allow type-specifying extensions to narrow types of comparisons even in non true/truethy/false/falsey context, but e.g. from comparison against constant values....
closes https://github.com/phpstan/phpstan/issues/10760
extracted from https://github.com/phpstan/phpstan-src/pull/3168 closes https://github.com/phpstan/phpstan/issues/11248 closes https://github.com/phpstan/phpstan/issues/10493 the previous format-type based logic was too optimistic regarding types and false-positively created too precise types in some cases.
Update PhpStorm stubs
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [guzzlehttp/guzzle](http://guzzlephp.org/) ([source](https://redirect.github.com/guzzle/guzzle)) | `7.8.0` -> `7.9.2` | [](https://docs.renovatebot.com/merge-confidence/) |...
these functions throw a ValueError when called with an empty array, see - https://3v4l.org/5Ro2C - https://3v4l.org/E7Tev
resolve https://github.com/phpstan/phpstan/issues/11180
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [nette/neon](https://ne-on.org) ([source](https://togithub.com/nette/neon)) | `3.3.2` -> `3.4.3` |...
closes https://github.com/phpstan/phpstan/issues/11201 closes https://github.com/phpstan/phpstan/issues/10493
was just hunting down a bug in one of my PRs, but wasn't able to find the offending file, because the error message did not indicate which file the error...