Skip to content

Return int|float from AccessoryDecimalIntegerStringType::toNumber() to account for overflow#5815

Open
phpstan-bot wants to merge 2 commits into
phpstan:2.2.xfrom
phpstan-bot:create-pull-request/patch-lmqyt67
Open

Return int|float from AccessoryDecimalIntegerStringType::toNumber() to account for overflow#5815
phpstan-bot wants to merge 2 commits into
phpstan:2.2.xfrom
phpstan-bot:create-pull-request/patch-lmqyt67

Add rule test showing is_int() false positive is gone for decimal-int…

43bfe3a
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
E2E tests (bin/phpstan analyse -l 8 -a tests/e2e/data/soap.php -c tests/e2e/data/empty.neon tests...
succeeded Jun 7, 2026 in 29s