Skip to content

Releases: mediact/coding-standard

Disable mandatory doc blocks in PHP scripts

15 Oct 08:44
acfa97c
Compare
Choose a tag to compare

With the new PHP versions, it's possible to add typehinting to parameters and return types, making the @param and @return sections of a
docblock obsolete. Since the coding standards still hold this as a requirement, this change will remove those checks.

3.1.0

16 Mar 09:30
Compare
Choose a tag to compare
Resolve issue with usnused variable.

3.0.2: Merge pull request #12 from mediact/feature/exclude-class-naming-rules

03 Sep 07:48
3a73851
Compare
Choose a tag to compare

3.0.1: Merge pull request #11 from mediact/feature/require-phpcs-3-5

09 Jun 03:15
145eb13
Compare
Choose a tag to compare

3.0.0 Feature: loosened a few PHPMD checks which were too strict

08 Jun 10:37
f65308f
Compare
Choose a tag to compare
Merge pull request #10 from mediact/feature/phpmd-loosen-overstrict-c…

2.0.6

07 Feb 03:45
2ddd3be
Compare
Choose a tag to compare
Merge pull request #9 from mediact/feature/exclude-phpmd-undefined-va…

2.0.5

11 Sep 13:34
b2087ec
Compare
Choose a tag to compare
Merge pull request #8 from mediact/feature/ignor-function-comment-emp…

Allow variable list on one line for multiline closures

10 Oct 08:52
d28e6e4
Compare
Choose a tag to compare

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

07 Jun 10:41
598cbd3
Compare
Choose a tag to compare

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

07 Jun 07:37
123ce9c
Compare
Choose a tag to compare

This version adds support for PHPCS version 3.3