Skip to content

Releases: phpstan/phpstan

1.10.21

21 Jun 20:08
b2a3018
Compare
Choose a tag to compare

Bugfixes 🐛

Internals 🔍

1.10.20

20 Jun 12:14
c4c8adb
Compare
Choose a tag to compare

Improvements 🔧

  • PHPStan Pro: Change Cloudflare DNS for to family version (#2467), thanks @spaze!
  • Add non-zero-int type (#2449), thanks @PrinsFrank!
  • Implement gettype() return type extension (#2437), thanks @staabm!

Bugfixes 🐛

Internals 🔍

1.10.19

14 Jun 15:28
af5a296
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 🐛

Function signature fixes 🤖

Internals 🔍

1.10.18

07 Jun 22:02
52b6416
Compare
Choose a tag to compare

Implicit throw point is enough to no longer mark multi-catch as dead (phpstan/phpstan-src@c587dd1), #9406

1.10.17

07 Jun 15:56
8aca564
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

  • Minor refinements to MutatingScope empty() and typehint helper (#2430), thanks @mad-briller!

1.10.16

05 Jun 08:28
352bdbb
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 🐛

Internals 🔍

1.10.15

09 May 15:30
762c4da
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 🔧

  • Update phpdoc-parser to 1.20.4
    • Changelog
    • Notable changes:
      • CallableTypeNode - support object shape in return type
      • CallableTypeNode - support $this in return type
      • CallableTypeNode - support ConstTypeNode in return type
  • Implement IniGetReturnTypeExtension (#2362), #3063, thanks @staabm!
  • PHPStan\Node\ClassMethod is covered by BC promise (phpstan/phpstan-src@1036d19), #9249
  • Enforce magic __serialize() and __unserialize() return types (#2372), thanks @staabm!
  • Report ?-> call on always-null (phpstan/phpstan-src@74d1c9a), #9284

Bugfixes 🐛

Function signature fixes 🤖

  • intval() and floatval() should handle non-scalar values (#2351), thanks @dravnic!
  • More precise strval() family function signatures (#2354), thanks @dravnic!

Internals 🔍

1.10.14

19 Apr 13:51
d232901
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 🐛

Function signature fixes 🤖

  • Fix Memcache/MemcachePool::get method signature (#2344), thanks @dravnic!

Internals 🔍

1.10.13

12 Apr 19:30
f07bf8c
Compare
Choose a tag to compare
  • Fix internal error: FilterVarArrayDynamicReturnTypeExtension for mixed input (#2338), #9178, thanks @zonuexe!

1.10.12

12 Apr 10:50
7b2aaf9
Compare
Choose a tag to compare

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 🔍