| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| phpstan.phar | 2025-12-05 | 26.2 MB | |
| phpstan.phar.asc | 2025-12-05 | 833 Bytes | |
| 2.1.33 source code.tar.gz | 2025-12-05 | 4.0 MB | |
| 2.1.33 source code.zip | 2025-12-05 | 4.0 MB | |
| README.md | 2025-12-05 | 3.8 kB | |
| Totals: 5 Items | 34.2 MB | 0 | |
Improvements 🔧
- Cache files in OptimizedDirectorySourceLocatorFactory (#4577), [#13852], thanks @staabm!
- Add more numeric-string inferences after string concat (#4447), thanks @VincentLanglet!
- Improve EnumSanityRule (#4543), [#13768], thanks @VincentLanglet!
- Too wide bool return type is not reported in trivial methods (#4444), [#13482], thanks @staabm!
Bugfixes 🐛
- De-duplicate phpstan.php errors (#4560) (#4560), [#13813], thanks @staabm!
- Fix default level message (https://github.com/phpstan/phpstan-src/commit/9ab96476a0bfaf6e052a20017d87319fd080819c)
- [PHP 8.5]
ini_get("max_memory_limit")is a string (#4574), thanks @staabm! - Revert changes to ArrayMapArgVisitor which switch the order of named arguments (https://github.com/phpstan/phpstan-src/commit/f562834ce0b2c47e06da89b729d4214a5d88d68d)
- Fix "Array does not have offset" in
curl_setopt_array()(#4590), [#13862], thanks @staabm! - OversizedArray is not truthy (#4556), [#13797], thanks @VincentLanglet!
- Do not instantiate Accessory without string type (#4550), [#13784], thanks @VincentLanglet!
- Narrow CURLOPT_SHARE accepting type (#4611), thanks @staabm!
Function signature fixes 🤖
- Fix return-type for DOMNode::C14N (#4608), thanks @tvdijen!
- Fix DOMNode::C14N bad definition (#4361), [#8096], thanks @VincentLanglet!
- Fix time not being considered an impure function. (#4609), [#13874], thanks @mad-briller!
Internals 🔍
- Simplify ClassReflection constructor (https://github.com/phpstan/phpstan-src/commit/821ff7621fc23267b0e6d08b8ee5c699fea8714f)
- Introduce ClassReflectionFactory (https://github.com/phpstan/phpstan-src/commit/35470a04099e599d889d69c2c7bda0056b552600)
- Prevent global side-effect in Bug13813IntegrationTest (#4566), thanks @staabm!
- Parameter narrowMethodScopeFromConstructor in DI (https://github.com/phpstan/phpstan-src/commit/05b80ef86178c078bff640b9d2ac5ec060731d3f)
- Reduce ContainerFactory::postInitializeContainer() calls (#4572), thanks @staabm!
- TypeSpecifier as an interface (https://github.com/phpstan/phpstan-src/commit/fc6a2b1297d275ef82138b36f4773c52134f1770)
- Change where TypeSpecifier is set into TypeSpecifierAwareExtension (https://github.com/phpstan/phpstan-src/commit/36cf9a1324004f9a4f25a1b9904a63e7d72a5eb9)
- Enable FileCacheStorage for OptimizedDirectorySourceLocatorFactory in tests (#4576), thanks @staabm!
- Upload baseline on downgraded code (https://github.com/phpstan/phpstan-src/commit/057c79f9458b355c7f2c8ea2a2d63c5cd307c9d6)
- More precise return type for gatherAssertTypes (#4614), thanks @staabm!
- AnalyserIntegrationTest uses
narrowMethodScopeFromConstructor: true(https://github.com/phpstan/phpstan-src/commit/dc9bf7f2bde60152985ec4fbca8df62aaa429ee8)