Skip to content

Releases: unleashedtech/php-coding-standard

v3.1.1

20 Oct 20:37
v3.1.1
49eee06
Compare
Choose a tag to compare

Fixed

  • Cached first namespace pointer for faster performance - #17

v3.1.0

06 Jun 21:44
d864274
Compare
Choose a tag to compare

Added

  • Added new Unleashed.Commenting.InheritDocFormat sniff to ensure {@inheritDoc} comments are styled consistently

v3.0.0

13 Apr 17:32
Compare
Choose a tag to compare

Added

Added several new sniffs for PHP 8 code:

  • RequireNullSafeObjectOperator
  • RequireNonCapturingCatch
  • RequireTrailingCommaInDeclaration
  • UnionTypeHintFormat

Changed

  • Upgraded base code standard (slevomat/coding-standard) to ^7.0.1

Removed

  • Removed deprecated UnusedPrivateElements sniff

v2.7.0

05 Mar 18:05
e338998
Compare
Choose a tag to compare
  • Add new Unleashed.PHP.ForbiddenClasses sniff
  • Forbid the use of \DateTime

v2.6.1

30 Jan 15:10
Compare
Choose a tag to compare
  • Add support for PHP 8

v2.6.0

25 Oct 18:40
Compare
Choose a tag to compare
  • Formatting of fn arrow functions is now checked
  • user_error() function alias is now prohibited

v2.5.0

08 Sep 20:43
Compare
Choose a tag to compare
  • Cleaned up the order of Psalm and PHPStan docblock comments

v2.4.0

01 Sep 16:08
Compare
Choose a tag to compare
  • New sniff and settings to forbid Doctrine Migrations with reminder comments and empty descriptions

v2.3.0

31 Aug 20:27
886ab36
Compare
Choose a tag to compare
  • All @deprecated annotations now require a description
  • Bumped dependencies to latest versions

v2.2.1

27 Jun 01:57
Compare
Choose a tag to compare
  • Fix support for Composer 2