Skip to content

Releases: phpstan/phpstan

1.10.38

06 Oct 14:20
5302bb4
Compare
Choose a tag to compare

Improvements 🔧

  • Remove function signatures that were removed in PHP 8.0 (#2662), #9954, thanks @Th3Cod3!

Bugfixes 🐛

Internals 🔍

1.10.37

02 Oct 16:20
058ba07
Compare
Choose a tag to compare

Bugfixes 🐛

1.10.36

29 Sep 14:09
ffa3089
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

  • Fix resolving nested conditional types with union subjects (#2641), #9860, thanks @rvanvelzen!
  • Detect array_rand second parameter (#2633), #9803, thanks @staabm!
  • Fix subtracting types from union template types (#2652), #9939, thanks @rvanvelzen!
  • fix infinite cycle due to incorrect implements/extends (#2483), thanks @schlndh!
  • Fix ConstantFloatType value dump precision (#2358), thanks @mvorisek!
  • Do not trigger PhpDocInheritanceResolver if we do not need the PHPDoc type when resolving the type of ClassConstFetch (#2414), #9039, thanks @VincentLanglet!

Function signature fixes 🤖

  • connection_* functions are impure (#2555), thanks @staabm!
  • Add stubs for mysqli and mysqli_result classes (#2295), thanks @phansys!

Internals 🔍

1.10.35

19 Sep 15:29
e730e5f
Compare
Choose a tag to compare

Major new features 🚀

Bugfixes 🐛

Internals 🔍

1.10.34

13 Sep 09:51
7f806b6
Compare
Choose a tag to compare

Improvements 🔧

Function signature fixes 🤖

Internals 🔍

1.10.33

04 Sep 12:23
03b1cf9
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

  • More precise inotify related function signatures (#2599), thanks @thg2k!

Internals 🔍

  • Prevent most $parentPhpDocBlock->getClassReflection()->isBuiltin() calls (#2585), thanks @staabm!
  • micro: use spl_object_id() (#2592), thanks @staabm!
  • Update nette/di (#2597)

1.10.32

24 Aug 21:55
c47e47d
Compare
Choose a tag to compare

Improvements 🔧

  • Optimize FileTypeMapper for huge PHPDocs (#2582), #9498
    • This fixes performance issue for projects that use Carbon (nesbot/carbon)
  • Optimize DumpParametersCommand (phpstan/phpstan-src@379008a)

1.10.31

24 Aug 14:27
c0eb159
Compare
Choose a tag to compare

Improvements 🔧

Internals 🔍

1.10.30

22 Aug 13:49
2910afd
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Internals 🔍

1.10.29

14 Aug 13:25
ee5d8f2
Compare
Choose a tag to compare

Improvements 🔧

  • Update nikic/php-parser to v4.17.1
    • PHP 8.3 features are no longer parse errors. Full-fledged PHP 8.3 support is coming later this year.
  • Update BetterReflection to 6.12.0

Bugfixes 🐛

Function signature fixes 🤖

  • Fix FTP-related function signatures (#2551), thanks @thg2k!