Releases: zumba/zumba-coding-standards
Releases · zumba/zumba-coding-standards
Bug fix.
PHP 8 Support
- 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
Make PHP 7.2 the minimum required version.
Remove single use restriction and support nullable types
- Bump required php to 7.1
- Remove the single use restriction
- Fix spacing issues with
?
operator and nullable typehints
Int / Bool / Array fixes
Fixed variable and return type hint bugs.
Minor patch
fix notice when examining comment blocks for abstract methods.
Reduce redundant DocBlocks
See PR info here: #10
Fix codesniffer for use within traits and returns within closures
- 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.
Merge pull request #4 from dmeybohm/bugfix-dont-fail-on-traits Don't fail on traits with multipleuse sniff
Initial release.
1.0.0 Fixed typo in composer json.