Skip to content

0.12.95

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Aug 12:59
0.12.95
4ffddfe

Improvements 馃敡

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

Bugfixes 馃悰

Function signature fixes 馃

  • change return type for chr() (#599), thanks @AIlkiv!
  • Remove wrong return type of imagejpeg GD function (#619), thanks @MauricioFauth!
  • fix return type for gzeof() (#620), thanks @forrest79!
  • Fix openssl_seal() $iv parameter (#624), thanks @jlherren!
  • fix pg_field_name prototype (#626), thanks @thierry-f-78!
  • Fix Phar/PharData::extractTo type information (#628), thanks @Seldaek!
  • More precise abs() return-type (#629), thanks @staabm!
  • str_split() length parameter is always positive (#631), thanks @staabm!
  • return non-empty-array from mb_str_split/str_split (#632), thanks @staabm!
  • Cover non-empty-string in more string fuctions (#606), #5350, thanks @staabm!
  • Added rand() dynamic return type extension (#606), thanks @staabm!
  • Added stub for WeakMap (#623), thanks @dktapps!
  • Add #[ReturnTypeWillChange] stub (#618), thanks @zonuexe!
  • Cover non-empty-array in array_map() (#601), thanks @Lctrs!
  • Add dynamic return type extension for mb_substitute_character (#607), thanks @TRowbotham!
  • strlen: cover more scalar types (#630), thanks @staabm!
  • support integer-range type in min()/max() for two arguments (#627), #5072, thanks @staabm!
  • array_fill(): handle negative cases, support integer ranges and non-empty-array (#603), thanks @staabm!