phpstan-extensions

Extensions for PHPStan

MIT License

Downloads
1.9M
Stars
67
Committers
8
phpstan-extensions - v6.3.0 Latest Release

Published by Slamdunk 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/Slamdunk/phpstan-extensions/compare/v6.2.0...v6.3.0

phpstan-extensions - v6.2.0

Published by Slamdunk 10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/Slamdunk/phpstan-extensions/compare/v6.1.0...v6.2.0

phpstan-extensions - v6.1.0

Published by Slamdunk 11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/Slamdunk/phpstan-extensions/compare/v6.0.0...v6.1.0

phpstan-extensions - PHPStan 1

Published by Slamdunk almost 3 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/Slamdunk/phpstan-extensions/compare/v5.1.0...v6.0.0

phpstan-extensions - v5.1.0

Published by Slamdunk almost 4 years ago

phpstan-extensions - v5.0.2

Published by Slamdunk about 4 years ago

Fix variables in anonymous functions are reporting as unused when they are used (#28)

phpstan-extensions - v5.0.1

Published by Slamdunk about 4 years ago

Allow PHP 8.0

phpstan-extensions - v5.0.0

Published by Slamdunk over 4 years ago

Symfony related rules moved to dedicated conf conf/symfony-rules.neon.

phpstan-extensions - v4.0.0

Published by Slamdunk almost 5 years ago

  1. Support PHPStan 0.12
  2. Drop DateTimeImmutableAlteredAndUnusedRule, superseeded by PHPStan 0.12 release on level 4
phpstan-extensions - v3.6.1

Published by Slamdunk about 5 years ago

Use RuleErrorBuilder for more precise line info #19

phpstan-extensions - v3.6.0

Published by Slamdunk about 5 years ago

Add MissingClosureParameterTypehintRule #18

phpstan-extensions - v3.5.2

Published by Slamdunk about 5 years ago

Fix False-positive unused variable (#16)

phpstan-extensions - v3.5.1

Published by Slamdunk over 5 years ago

Bugfix: Filesystem::isReasable is not an API

phpstan-extensions - v3.5.0

Published by Slamdunk over 5 years ago

  1. Added SlamPhpStan\SymfonyFilesystemRule: forbid calls to raw filesystem functions well wrapped by
    symfony/filesystem component
  2. Added SlamPhpStan\SymfonyProcessRule: forbid calls to raw system functions well wrapped by
    symfony/process component
phpstan-extensions - v3.4.0

Published by Slamdunk over 5 years ago

Added SlamPhpStan\DateTimeImmutableAlteredAndUnusedRule: check for DateTimeImmutable calls that alter the object but don't use the result; likely an error of the transition from mutable DateTime class

phpstan-extensions - v3.3.0

Published by Slamdunk over 5 years ago

Added SlamPhpStan\AccessGlobalVariableWithinContextRule: inhibit the access to globals within classes that extend or implement a certain class/interface

phpstan-extensions - v3.2.0

Published by Slamdunk over 5 years ago

yii-rules: inhibit also yii\db\ActiveQueryInterface from accessing Yii::$app singletons

phpstan-extensions - v3.1.0

Published by Slamdunk over 5 years ago

Added SlamPhpStan\AccessStaticPropertyWithinModelContextRule: inhibit the access to static attributes of a class within classes that extend or implement a certain class/interface, useful to prohibit usage of singletons in models

phpstan-extensions - v3.0.0

Published by Slamdunk almost 6 years ago

Support for PHPStan 0.11

phpstan-extensions - v2.0.1

Published by Slamdunk over 6 years ago

Handle class strings that start with a backslash