github phpstan/phpstan 0.12.81

latest releases: 1.10.67, 1.10.66, 1.10.65...
3 years ago

Improvements 🔧

  • Support for running PHPStan without any arguments (phpstan/phpstan-src@469a8c3)
    • You can run PHPStan just by executing vendor/bin/phpstan, if you satisfy two conditions:
      • You have phpstan.neon (or phpstan.neon.dist) in your current working directory
      • This configuration file contains rule level parameter, and paths to analyse
  • Fix support for classes named after pseudotypes in PHPDocs (#365), thanks @stof!
    • This means that existing classes with names like Resource or Never are now correctly recognized in PHPDocs and have priority over PHP's resource type and PHPStan's never pseudotype
  • Understand noreturn in PHPDoc as NeverType (phpstan/phpstan-src@bce31f0)
  • Docker - support ARM architecture (#4663)

Bugfixes 🐛

Function signature fixes 🤖

  • Fixed incorrect return type for SplFileObject::fgetcsv() (#464), thanks @TomAdam!

Don't miss a new phpstan release

NewReleases is sending notifications on new releases.