Skip to content

Releases: phpstan/phpstan-strict-rules

0.11.1

19 May 19:11

Choose a tag to compare

0.10.1

22 Jul 19:54

Choose a tag to compare

  • OperatorRuleHelper - allow benevolent union types that contain numeric types (18c0b6e)

0.10

24 Jun 18:27

Choose a tag to compare

  • Rule for checking a dynamic call on static methods - #5, thanks @lookyman!
  • StrictFunctionCallsRule: more functions with $strict parameter - #10, thanks @kukulich!
  • Disallow empty() (f06d0ca)
  • Enabled always true comparisons already done by PHPStan (124db83)
  • Checking wrong function name case (2783517)
  • Detect wrong case in name of an inherited method (5c524c0)
  • Rule for disallowing implicit array creation (2dfbf80)
  • Check presence of parameter and return typehints for functions and methods - #16, #20, thanks @CzechBoy!
  • Rules for numeric operands in arithmetic operations - #15, thanks @Majkl578!
  • Rules for operand in pre/post-inc/decrement - #26, thanks @Majkl578!

0.9

29 Nov 13:25

Choose a tag to compare

0.9

Initial release.