Skip to content

Releases: phpstan/phpstan

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!

1.10.57

24 Jan 11:56
1627b1d
Compare
Choose a tag to compare

Bleeding edge 🔪

  • Fix checking generic mixed type based on config (#2885), thanks @schlndh!

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.56

15 Jan 10:44
27816a0
Compare
Choose a tag to compare

Major new feature 🚀

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

  • Fix transliterator function maps (#2862), thanks @PrinsFrank!
  • Fix duplicate array key Yaf_Response_Http::__clone (#2863), thanks @PrinsFrank!
  • Add array shape for transliterator::listIDs return type (#2865), thanks @PrinsFrank!
  • strtok() always returns a non-empty-string when it does not return false (#2869), thanks @staabm!

Internals 🔍

  • Prevent repetative calls to Type::getConstantArrays() (#2864), thanks @staabm!
  • Remove redundant condition in ParametersAcceptorSelector (#2867), thanks @mad-briller!
  • Simplify default return path in extensions (#2868), thanks @staabm!
  • Reduce unnecessary calls to Scope::getFunctionType() (#2872), thanks @staabm!

1.10.55

08 Jan 12:34
9a88f9d
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Internals 🔍

1.10.54

05 Jan 15:52
3e25f27
Compare
Choose a tag to compare

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 🐛

1.10.53

05 Jan 13:57
0c48595
Compare
Choose a tag to compare

Improvements 🔧

  • Impl str_increment / str_decrement return type extension (#2776), thanks @zonuexe!

Bugfixes 🐛

Internals 🔍

  • Simplify default return path in extensions (#2816), thanks @staabm!

1.10.52

05 Jan 09:52
0cd0c33
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

1.10.51

04 Jan 21:25
5082fa7
Compare
Choose a tag to compare

Bleeding edge 🔪

  • ParamAttributesRule - promoted property attribute needs to target both parameters and properties (phpstan/phpstan-src@25d1552), #10298
  • More precise RecursiveIteratorIterator::__construct() parameter types (#2835), thanks @staabm!
  • PhpDocParser: add config for lines in its AST & enable ignoring errors within PHPDocs (#2807), thanks @janedbal!

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.50

13 Dec 11:01
06a9851
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Internals 🔍