Skip to content

Releases: zumba/zumba-coding-standards

Bug fix.

26 Oct 21:22
43296dc
Compare
Choose a tag to compare
Merge pull request #19 from zumba/multiline-condition-sniff-fix

Fix tokens reference.

PHP 8 Support

26 Oct 13:15
5c79ace
Compare
Choose a tag to compare
  • Added PHP 8 support
  • Remove commenting rules from the ruleset. Most of those commenting rules were put in place because there wasn't a type system. Since PHP 7.3, the return type system is good enough that we should not require commenting system returns.

Change to PHP 7.2

20 Mar 19:27
3737efc
Compare
Choose a tag to compare

Make PHP 7.2 the minimum required version.

Remove single use restriction and support nullable types

20 Mar 18:11
447ba16
Compare
Choose a tag to compare
  • Bump required php to 7.1
  • Remove the single use restriction
  • Fix spacing issues with ? operator and nullable typehints

Int / Bool / Array fixes

13 Mar 18:53
de8e465
Compare
Choose a tag to compare

Fixed variable and return type hint bugs.

Minor patch

26 Feb 16:38
76f61ed
Compare
Choose a tag to compare

fix notice when examining comment blocks for abstract methods.

Reduce redundant DocBlocks

25 Feb 20:03
12a4d03
Compare
Choose a tag to compare

See PR info here: #10

Fix codesniffer for use within traits and returns within closures

12 Jan 20:17
c6772c3
Compare
Choose a tag to compare
  • Fix sniff for @return void annotation
    • Do not check returns inside closures
    • Check all return statements in a function do not return anything, not just the first one.
  • Make sniff for @return \Generator to not look for a return statement
  • Fix sniff for use statement to not warn when using traits from other traits.

Allow `use` for anonymous functions and traits.

20 Oct 21:47
Compare
Choose a tag to compare
Merge pull request #4 from dmeybohm/bugfix-dont-fail-on-traits

Don't fail on traits with multipleuse sniff

Initial release.

18 Feb 15:16
Compare
Choose a tag to compare
1.0.0

Fixed typo in composer json.