Skip to content

Releases: phpstan/phpstan

1.10.67

16 Apr 07:27
16ddbe7
Compare
Choose a tag to compare

This is the last release, or one of the last releases, in 1.10.x series. The next one is going to be PHPStan 1.11, and it's going to be released at some point in May 2024.

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

  • More precise gc_status() signature for PHP8.3+ (#2996), thanks @staabm!
  • Add object shape for mysqli_result::fetch_fields (#3005), thanks @schlndh!

Internals 🔍

  • composer-dependency-analyser: update to 1.5.0 (support functions) (#3011), thanks @janedbal!

1.10.66

28 Mar 16:18
94779c9
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

  • Prevent unnecessary calls into reflection from JSON extensions (#2994), thanks @staabm!

1.10.65

23 Mar 10:34
3c657d0
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

1.10.64

21 Mar 10:11
fb9f270
Compare
Choose a tag to compare

Bleeding edge 🔪

  • Fail build when project config uses custom extensions outside of analysed paths
    • This will only occur after a run that uses already present and valid result cache

If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:

includes:
	- vendor/phpstan/phpstan/conf/bleedingEdge.neon

Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

1.10.63

18 Mar 16:55
ad12836
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

  • Cleanup AnalyserIntegrationTest->runAnalyse() (#2960), thanks @staabm!
  • ReflectionProvider::hasClass() narrows $className arg (#2976), thanks @staabm!

1.10.62

13 Mar 12:31
cd5c8a1
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

1.10.61

13 Mar 11:12
30049da
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Internals 🔍

1.10.60

07 Mar 13:38
95dcea7
Compare
Choose a tag to compare

Learn more about this release in an article on phpstan.org!

Major new features 🚀

Bleeding edge 🔪

If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:

includes:
	- vendor/phpstan/phpstan/conf/bleedingEdge.neon

Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

  • Replace composer-require-checker with composer-dependency-analyser (#2875), thanks @janedbal!
  • Use Type::isNull() in Nullsafe(MethodCall|PropertyFetch)Rule (#2942), thanks @takaram!

1.10.59

20 Feb 14:05
e607609
Compare
Choose a tag to compare

Bleeding edge 🔪

  • array_values rule (report when a list type is always passed in) (#2917), thanks @kamil-zacek!

If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:

includes:
	- vendor/phpstan/phpstan/conf/bleedingEdge.neon

Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more

Improvements 🔧

Bugfixes 🐛

Internals 🔍

1.10.58

12 Feb 20:06
a235183
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Internals 🔍

  • Prevent unnecessary isSuperTypeOf() calls (#2895), thanks @staabm!
  • Simplify ClassPropertiesNode->getUninitializedProperties() (#2899), thanks @staabm!