+
Skip to content

2.1.26

Compare
Choose a tag to compare
@phpstan-bot phpstan-bot released this 16 Sep 11:34
· 167 commits to 2.1.x since this release
b133450

Improvements 🔧

  • Difference between Instance and Static properties (#3906), #12775, thanks @VincentLanglet!
  • Check AnnotationsPropertiesClassReflectionExtension in PhpClassReflectionExtension only when class allows dynamic properties or the original native property is not private (phpstan/phpstan-src@a25b82d)
  • PhpClassReflectionExtension - do not check @property tags if the native property is static (phpstan/phpstan-src@41a5ec6)

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

  • Various getProperty/hasProperty methods were deprecated. New methods getStaticProperty/hasStaticProperty/getInstanceProperty/getStaticProperty were introduced.
  • Issue bot: Emit GitHub Action annotation when issues are affected (#4326), thanks @staabm!
  • NodeScopeResolverTest: strip dir on Windows (#4330), thanks @vrana!
  • Make PhpClassReflection::getProperty() always return PhpPropertyReflection (phpstan/phpstan-src@a389320)
  • update PHAR compilation readme (#4332), thanks @canvural!
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载