Releases: mediact/coding-standard
Releases · mediact/coding-standard
Disable mandatory doc blocks in PHP scripts
3.1.0
3.0.2: Merge pull request #12 from mediact/feature/exclude-class-naming-rules
Ignore short and long class names
3.0.1: Merge pull request #11 from mediact/feature/require-phpcs-3-5
Require newer version of PHPCS
3.0.0 Feature: loosened a few PHPMD checks which were too strict
Merge pull request #10 from mediact/feature/phpmd-loosen-overstrict-c…
2.0.6
Merge pull request #9 from mediact/feature/exclude-phpmd-undefined-va…
2.0.5
Merge pull request #8 from mediact/feature/ignor-function-comment-emp…
Allow variable list on one line for multiline closures
https://www.php-fig.org/psr/psr-2/#6-closures explicitly shows that the
following is allowed:
$longArgs_shortVars = function (
$longArgument,
$longerArgument,
$muchLongerArgument
) use ($var1) {
// body
};
2.0.3 - Compatibility fixes for PHPCS 3.3
New sniff from PHPCS have been disabled. PHPCS is now locked at 3.3.x to prevent the coding standard to change. The return type sniff had a bug when the return type was nullable.
PHPCS 3.3 support
This version adds support for PHPCS version 3.3