Skip to content

Releases: figlabhq/coding-standard

2.0.0

Choose a tag to compare

@phpfour phpfour released this 18 Jun 04:18
c132869

⚠️ Breaking change

This release upgrades the underlying IxDF Coding Standard from 0.3.3 to 0.7.0 and raises platform requirements.

Projects pinned to ^1.0 are unaffected — they stay on the 1.x line. Opt into this release by moving your constraint to ^2.0 once you're on PHP 8.3+ and ready for PHP_CodeSniffer 4.

Requirements

  • PHP 8.3+ (was 8.2)
  • PHP_CodeSniffer 4.x (was 3.x)

Dependency changes

  • php: ^8.2^8.3
  • squizlabs/php_codesniffer: ^3.9^4.0
  • slevomat/coding-standard: ^8.14^8.25
  • interaction-design-foundation/coding-standard: ^0.3^0.7
  • friendsofphp/php-cs-fixer now included transitively (hard requirement of IxDF 0.7.0)

Ruleset changes

Removed two overrides that became redundant:

  • SlevomatCodingStandard.Functions.DisallowNamedArguments — disabled upstream in IxDF 0.6.2
  • IxDFCodingStandard.Laravel.NonExistingBladeTemplate — never enabled by the IxDF ruleset (no-op)

Upgrading

After bumping to ^2.0, run your CS checks against the full codebase — PHPCS 4 and slevomat 8.29 can surface new findings and apply different auto-fixes than the 3.x line.

Full changelog of the underlying standard: InteractionDesignFoundation/coding-standard@0.3.3...0.7.0

1.0.5

Choose a tag to compare

@phpfour phpfour released this 01 May 09:30
643387b
  • Update to latest IxDF coding standard

1.0.4

Choose a tag to compare

@phpfour phpfour released this 06 Aug 05:35
ccea70a
  • Set zero spaces after fn keyword to follow PER-CS2.0
  • Bump dependencies

1.0.3

Choose a tag to compare

@phpfour phpfour released this 18 Jun 10:29
d4a1d6d
  • Exclude the tests folder for CamelCaps method name and return type hint.

1.0.2

Choose a tag to compare

@phpfour phpfour released this 15 May 06:44
9ecf2eb
  • Allow named arguments as it improves code readability

1.0.1

Choose a tag to compare

@phpfour phpfour released this 10 May 14:19
dd6d167
  • Add some exceptions to the rules in Provider classes.
  • Allow migration classes without namespace and filename match.

1.0.0

Choose a tag to compare

@phpfour phpfour released this 10 May 12:26
39f1395

Initial Release