Skip to content

Releases: unleashedtech/php-coding-standard

Migrating to https://github.com/jonnyeom/php-coding-standard

11 Aug 18:14

Choose a tag to compare

! IMPORTANT !

We are moving this repository to jonnyeom/php-coding-standard for it is no longer maintained by Unleashed.
It will maintain the original name and will be accessible through composer with, unleashed/php-coding-standard

The transition is expected to be finished and live by August 25, 2025. Thank You!

v3.1.1

20 Oct 20:37
v3.1.1
49eee06

Choose a tag to compare

Fixed

  • Cached first namespace pointer for faster performance - #17

v3.1.0

06 Jun 21:44
d864274

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

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

Choose a tag to compare

  • Add new Unleashed.PHP.ForbiddenClasses sniff
  • Forbid the use of \DateTime

v2.6.1

30 Jan 15:10

Choose a tag to compare

  • Add support for PHP 8

v2.6.0

25 Oct 18:40

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

Choose a tag to compare

  • Cleaned up the order of Psalm and PHPStan docblock comments

v2.4.0

01 Sep 16:08

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

Choose a tag to compare

  • All @deprecated annotations now require a description
  • Bumped dependencies to latest versions