Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
phpstan.phar | 2025-09-25 | 25.4 MB | |
phpstan.phar.asc | 2025-09-25 | 833 Bytes | |
2.1.29 source code.tar.gz | 2025-09-25 | 3.9 MB | |
2.1.29 source code.zip | 2025-09-25 | 3.9 MB | |
README.md | 2025-09-25 | 2.7 kB | |
Totals: 5 Items | 33.1 MB | 0 |
Improvements 🔧
- Custom Composer source for cloning
phpstan/phpstan
- Learn more: https://github.com/phpstan/phpstan-phar-composer-source
- Add optional strict check for printf parameter types (#4349), [#13496], thanks @schlndh!
- Set parameter
checkStrictPrintfPlaceholderTypes: true
to turn this on
Bugfixes 🐛
- After
trim($s) !== ''
the$s
can still bemixed
(https://github.com/phpstan/phpstan-src/commit/88b7f502bdc77cf2cb2110443cb3d8e82e83504c), [#13552] - Fix false positive about never written property when assigned in foreach key or value (https://github.com/phpstan/phpstan-src/commit/4b4836ac4c352e85033b337e55817f71983fdac5), [#9213]
- Improve function signatures with functionMap only for built-in symbols (https://github.com/phpstan/phpstan-src/commit/326c6ecdec8a15f375edcee8582f6c4dc075478f), [#13556], [#12151], [#11303], [#9486]
- [PHP 8.5] Fix warning: "unexpected NAN value was coerced to string" (#4368), thanks @staabm!
Function signature fixes 🤖
- Added
proc_open()
stub for param-out (#4261), [#13197], [#11777], thanks @staabm!
Internals 🔍
- Add non regression test for issue [#9386] (#4348), thanks @VincentLanglet!
- Faster code downgrade to speed up CI (#4352), thanks @staabm!
- Refactor TooWideTypeCheck - report errors based on narrowed original type (https://github.com/phpstan/phpstan-src/commit/5468ddd7c171e1f52957b5c9e19f7d92c79bc7ba)
- Use TooWideTypeCheck in TooWideParameterOutTypeCheck (https://github.com/phpstan/phpstan-src/commit/0e695a4941ea8537ad3ad639c796cf5b8496e934)
- TooWideTypeCheck - do not report PHPDocs that are not subtype of native type (https://github.com/phpstan/phpstan-src/commit/2ecc069e559ce5ab88f807cb86829256298b584a)
- TooWidePropertyTypeRule - property without native type and with default value is not implicitly nullable (https://github.com/phpstan/phpstan-src/commit/61155112ce5025bec506c625de021339ef719b2e)
- Simplify many processAssignVar with new processVirtualAssign method (https://github.com/phpstan/phpstan-src/commit/4d119baa4533196ccc88b0adde5e0cb98b057c6b), [#9213]
- Added comment (#4358), thanks @staabm!
- Switch to ramsey/composer-install action (#4365)