phpstan-src icon indicating copy to clipboard operation
phpstan-src copied to clipboard

PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository.

Results 408 phpstan-src issues
Sort by recently updated
recently updated
newest added

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [brianium/paratest](https://togithub.com/paratestphp/paratest) | `^6.5` -> `^7.0` | [![age](https://developer.mend.io/api/mc/badges/age/packagist/brianium%2fparatest/7.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

> **Note:** This PR body was truncated due to platform limits. This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [cweagans/composer-patches](https://redirect.github.com/cweagans/composer-patches) |...

Hi 👋🏽 Since some time (actually over a a year or two) there is a bug that effects Larastan. Some of the reported ones I could find: - https://github.com/larastan/larastan/issues/1214 -...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [phpunit/phpunit](https://phpunit.de/) ([source](https://togithub.com/sebastianbergmann/phpunit)) | `9.5.23` -> `9.6.19` |...

resolve https://github.com/phpstan/phpstan/issues/11101 The following functions can also cause side effects via callbacks, but since they are used infrequently and the processing is more complex, it is sufficient to follow the...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [nette/bootstrap](https://nette.org) ([source](https://togithub.com/nette/bootstrap)) | `3.1.4` -> `3.2.3` |...

Since PHP 8.3, `DateTimeImmutable::modify()` can no longer return `false`, and throws `DateMalformedStringException` instead. Relevant RFC: https://wiki.php.net/rfc/datetime-exceptions Relevant php-src commit: https://github.com/php/php-src/commit/b7860cd56476d737fcf2e1fdda109b042312e3fa Relevant code change: ![obrazek](https://github.com/phpstan/phpstan-src/assets/175109/a2a5016c-31ca-40c7-b4b1-ec8ee9620343)

I'm aware that this change can be wrong or incomplete. I was wondering if there is a way in this project to do tests for types, for example https://github.com/azjezz/psl/blob/next/tests/static-analysis

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [nette/utils](https://nette.org) ([source](https://togithub.com/nette/utils)) | `3.2.7` -> `3.2.10` |...

This fix ensures that we use correct array indicies in >= PHP8.3. (See https://www.php.net/manual/en/migration83.incompatible.php#migration83.incompatible.core.negative-index-to-empty-array). We ensure, that if - PHP version is 8.3+ - AND the current element to add...