Skip to content

New rules for PHPUnit Test methods, and Variable type hints

Compare
Choose a tag to compare
@CMalvika CMalvika released this 07 Nov 09:28
· 49 commits to master since this release
New rules for PHPUnit test methods, and Variable type hints (#34)

* Enforce type hints for new/modified code

* Enforce type hints for new/modified code

* Enforce type hints for new/modified code

* Enforce type hints for new/modified code

* Enforce type hints for new/modified code

* Enforce type hints for new/modified code

* Enforce type hints for new/modified code

* Enforce short list syntax / Enforce constant visibility

* Enforce short list syntax / Enforce constant visibility

* Enforce short list syntax / Enforce constant visibility

* Enforce short list syntax / Enforce constant visibility

* RequestParam annotation phpcs rules similar to QueryParam (#29)

* Upgrading to PHPUnit 6

* Allow HHVM to fail

* Increase version requirement to PHP 7

* Take return types into account for use statements

* Fix multiline check for PHP 7.1 return type hints

* Consider return type as part of an expression for function declarations (#30)

* Consider return type as part of an expression for function declarations

Return type was not considered to be a part of an expression when
validating multi-line expression elngth

* Wrong selection of pointer lead to failing tests

* And it's time to fix the phpcs

* Handle case statements

* Enforce type hints for new/modified code

* Enforce type hints for new/modified code

* Enforce type hints for new/modified code

* Enforce type hints for new/modified code

* Enforce type hints for new/modified code

* Enforce type hints for new/modified code

* Enforce short list syntax / Enforce constant visibility

* composer: add autoload (#32)

* Bump version requirements

* Fixed ExpressionFOrmattingSniffTest

* Fixed ExpressionFOrmattingSniffTest

* Fixed ExpressionFOrmattingSniffTest

* Fixed ExpressionFOrmattingSniffTest

* Bug fix for the Type hint rule

* Beta test result applied

* New rules for Variable type hint + PHPUnit test method conventions

* New rules for Variable type hint + PHPUnit test method conventions

* Code review change for Variable type hint + PHPUnit test method conventions

* Code review change for Variable type hint + PHPUnit test method conventions

* Use of getDeclarationName

* Garbage removal

* Use of file name, for skipping non testing files