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

the tests added with his PR represent the comparison table from https://www.php.net/manual/en/types.comparisons.php inspired by https://github.com/phpstan/phpstan-src/pull/1602#discussion_r940628091 the more time I spent while working with loose comparisons, the more I realize how...

First try of the implementation of PossiblyDivisionByZero The config declaration is missing. At which level should I add this @ondrejmirtes ? (with a conditional tag ?)

Fix https://github.com/phpstan/phpstan/issues/1795 SImpleXMLElement can be cast to int. https://3v4l.org/sboWW And, result toNumber of ObjectType (SimpleXMLElement) is UnionType(integer, float). https://github.com/phpstan/phpstan-src/blob/81de3ebde89bea0e81ac0e28243e5022ad64e0af/src/Type/ObjectType.php#L474-L484 So, I think it can be allowed.

This branch is named 2.0.x because PHP-Parser will be supported in PHPStan 2.0. But the release of PHPStan 2.0 is months away and will be out some time in 2024.

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [Wandalen/wretry.action](https://togithub.com/Wandalen/wretry.action) | action | patch | `v1.4.4` -> `v1.4.10` | ---...

https://www.php.net/manual/en/mysqli-result.fetch-array.php https://www.php.net/manual/en/mysqli-result.fetch-assoc.php

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [symfony/console](https://symfony.com) ([source](https://togithub.com/symfony/console)) | `^6.1` -> `^7.0` |...

Fixes https://github.com/phpstan/phpstan/issues/10512

Closes: https://github.com/phpstan/phpstan/issues/10558 Closes: https://github.com/phpstan/phpstan/issues/10585