Skip to content

v0.6.0

Compare
Choose a tag to compare
@gmazzap gmazzap released this 12 Feb 16:24
· 347 commits to version/2 since this release
  • Missing return type waring from ReturnTypeDeclarationSniff skipped for hook callbacks.
  • Fixed a bug in return counting in helper class that affected few sniffs.
  • Add several "Generic" and "Squiz" rules.
  • Add DisallowShortOpenTagSniff that extends the generic sniff allowing short echo.
  • Remove NeutronStandard.Constants.DisallowDefine because of github.com/Automattic/phpcs-neutron-standard/issues/44
  • Renamed configuration properties for FunctionLengthSniff.
  • Add integration tests for custom sniffs.
  • Rename NoASetterSniff to NoAccessorsSniff and also warn for getters.