Skip to content

Releases: phpstan/phpstan

1.10.40

30 Oct 14:49
93c84b5
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

  • functionMap.php fixes for YAF 3.3.5 (#2696), thanks @mbakirov!
  • Remove \ from DateTimeZone in functionMap (#2693), thanks @simPod!
  • Allow Redis::pconnect to have 7 parameters (#2695), thanks @Vaalyn!

Internals 🔍

  • Micro-optimize TypeSpecifier::resolveIdentical (#2700), thanks @schlndh!
  • Micro-optimize with in_array() (#2698), thanks @zonuexe!

1.10.39

17 Oct 15:47
d9dedb0
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

  • Fix incorrect doc for SQLite3::openBlob (#2668), thanks @rodrigoq!
  • Update number_format return from string to non-empty-string (#2678), thanks @devnix!

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 🔍