Skip to content

Releases: php-collective/code-sniffer

0.2.6

29 Mar 22:31
Compare
Choose a tag to compare

Improvements

  • Added PSR4 namespace check for classes, traits, interfaces. It uses the composer autoload sections to compare this to the namespaces defined in each PHP class.

Full Changelog: 0.2.5...0.2.6

0.2.5

29 Mar 18:10
Compare
Choose a tag to compare

Improvements

  • Add enum case casing sniff

Full Changelog: 0.2.4...0.2.5

0.2.4

02 Jan 23:35
Compare
Choose a tag to compare

Fixes

Fixed DisallowCloakingCheckSniff for property false positive

0.2.3

02 Jan 23:23
Compare
Choose a tag to compare

Fixes

  • Fixed DeclareStrictTypesSniff to check for whitespace around =
  • Reduced cloaking check strictness
  • Fixed DisallowArrayTypeHintSyntaxSniff for method annotations

Improvements

  • Added new SlevomatCodingStandard.Functions.NamedArgumentSpacing sniff
  • Added enum spacing sniffs

0.2.2

22 Nov 13:54
Compare
Choose a tag to compare

Fixes

  • Fixed DeclareStrictTypes for $declareOnFirstLine, should also be false by default as per PSR

0.2.1

24 Oct 11:50
Compare
Choose a tag to compare

Fixes

  • Dont use MIT as default overwrite for license docblocks
  • Fixed up StrictType sniff to by default require at top, as per PSR. Renamed in the process (!)

0.2.0

17 Oct 20:46
353c937
Compare
Choose a tag to compare

Improvements

PHP 8.1+ now.

0.1.0

07 Oct 20:59
Compare
Choose a tag to compare

Initial upgraded release

Maintained successor of spryker/code-sniffer#369

It excludes all Spryker topics, so it can now focus fully on PHP projects in general.