Skip to content

Releases: phpstan/phpstan

1.10.28

08 Aug 12:34
e4545b5
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Internals 🔍

  • Simplify access to ClassReflection in ClassPropertyNode (#2565), thanks @mad-briller!

1.10.27

05 Aug 10:01
a9f44dc
Compare
Choose a tag to compare

Bleeding edge 🔪

  • More precise stream_socket_client() signature (#2519), thanks @staabm!
  • More precise scandir() signature (#2518), thanks @staabm!
  • More precise extract() signature (#2517), thanks @staabm!

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 🔍

  • Avoid doing work before its necessary in mutating scope. (#2537), thanks @mad-briller!
  • Changed linesToIgnore attribute format (phpstan/phpstan-src@2862a7b)
  • Prevent unnecessary work in MutatingScope (#2554), thanks @staabm!
  • Validate parameters with parametersSchema each time after container creation (#2558)

1.10.26

19 Jul 12:46
5d660cb
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

1.10.25

06 Jul 12:13
578f4e7
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

1.10.24

05 Jul 12:33
360ecc9
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

  • More precise session_status() return type (#2509), thanks @staabm!

1.10.23

04 Jul 13:33
65ab678
Compare
Choose a tag to compare

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

  • Allow null in mysqli*real_connect arguments (#2508), thanks @staabm!

Internals 🔍

1.10.22

30 Jun 20:09
97d694d
Compare
Choose a tag to compare

Bleeding edge 🔪

  • More precise file() flags args (#2476, #2482), thanks @staabm!
  • Non-static methods cannot be used as static callables in PHP 8+ (#2420), thanks @staabm!
  • More precise flock() operation flags (#2477), thanks @staabm!
  • Rule for call_user_func() (#2479), thanks @staabm!

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 🤖

  • Update functionMap for ext-mongodb 1.16 (#2473), thanks @alcaeus!
  • Add false to the db2_num_rows() return type (#2456), thanks @morozov!
  • More precise ignore_user_abort() return type (#2489), thanks @staabm!

Internals 🔍

  • Type projections, part 1: call-site variance in GenericObjectType (#2471), thanks @jiripudil!
  • Test PHP 8.3 (#2486)
  • Cleanup NodeScopeResolver (#2499), thanks @staabm!

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 🔍