Improvements 🔧
- [PHP 8.5] Add support for
#[\NoDiscard]
(#4253), thanks @DanielEScherzer! - Narrow
l/r/trim()
arg on comparison to''
(#4340), thanks @staabm!
Bugfixes 🐛
- AssertRuleHelper - InitializerExprTypeResolver does not have support for resolving method call types, use Scope instead (phpstan/phpstan-src@3559a4a)
- Iterate over methods from other extension even when native PHP method exists (but cannot be called from the current scope) (phpstan/phpstan-src@79dfb6a), #13540
- Fix PHP 8.3 polyfill (phpstan/phpstan-src@17c4fe5), #13545
- Narrow offset after
isset()
on list (#4345), #12933, thanks @staabm! - PHPDoc tag
@property
should only be taken into account for protected properties and outside access when the declaring class allows dynamic properties (phpstan/phpstan-src@5772b1a), #13537
Internals 🔍
- Tests - always initialize the container (phpstan/phpstan-src@398622a), #13494
- Fix tests that should but do not extend PHPStanTestCase (phpstan/phpstan-src@88d185c)
- Fix DeprecationProviderTest for PHP < 8.0 (phpstan/phpstan-src@c0318bc)
- Init container before DataProvider is called (#4342) (#4342), thanks @staabm!
- Init container also for tests without dataprovider (#4346), thanks @staabm!