2017 © Pedro PelĂĄez
 

library phpstan-strict-rules

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

image

thecodingmachine/phpstan-strict-rules

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  • Friday, July 6, 2018
  • by mouf
  • Repository
  • 15 Watchers
  • 98 Stars
  • 17,376 Installations
  • PHP
  • 21 Dependents
  • 0 Suggesters
  • 6 Forks
  • 2 Open issues
  • 20 Versions
  • 85 % Grown

The README.md

Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality Build Status Coverage Status, (*1)

TheCodingMachine's additional rules for PHPStan

This package contains a set of rules to be added to the wonderful PHPStan static analyzer., (*2)

Those rules come from TheCodingMachine best practices. They are more "strict" than the default PHPStan rules and some may be controversial. We use those at TheCodingMachine, have found them to help us in our daily work, and ask anyone working with us to follow them., (*3)

Rules list

Work-in-progress

// Never use public properties
// Never use globals

Installation

We assume that PHPStan is already installed in your project., (*4)

To use this extension, require it in Composer:, (*5)

composer require --dev thecodingmachine/phpstan-strict-rules

If you also install phpstan/extension-installer then you're all set!, (*6)

Manual installation
, (*7)

If you don't want to use phpstan/extension-installer, include phpstan-strict-rules.neon in your project's PHPStan config:, (*8)

includes:
    - vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon

, (*9)

The Versions

06/07 2018

dev-master

9999999-dev

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

06/07 2018

v0.10.3

0.10.3.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

06/07 2018

v0.10.2

0.10.2.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

04/07 2018

v0.10.1

0.10.1.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

25/06 2018

v0.10.0

0.10.0.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

23/04 2018

v0.9.2

0.9.2.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

27/03 2018

v0.9.1

0.9.1.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

29/11 2017

v0.9

0.9.0.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

09/11 2017

v0.8.5

0.8.5.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

23/10 2017

v0.8.4

0.8.4.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

22/09 2017

v0.8.3

0.8.3.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

19/09 2017

v0.8.2

0.8.2.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

11/09 2017

v0.8.1

0.8.1.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

31/08 2017

v0.8.0

0.8.0.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

17/07 2017

v0.7.4

0.7.4.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

17/07 2017

v0.7.3

0.7.3.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

05/07 2017

v0.7.2

0.7.2.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

04/07 2017

v0.7.1

0.7.1.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

27/06 2017

0.7.0

0.7.0.0

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

27/06 2017

dev-feature/docblock

dev-feature/docblock

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

  Sources   Download

MIT

The Requires

 

The Development Requires