Skip to content

Releases: WPTechnix/coding-standards

v2.0.2

27 Nov 09:18
bc3678e

Choose a tag to compare

2.0.2 (2025-11-27)

Bug Fixes

  • ruleset: allow mixed typehints and disable squiz inline comment (a2644d2)

v2.0.1

27 Nov 07:51
15401c0

Choose a tag to compare

2.0.1 (2025-11-27)

Bug Fixes

  • rules: disable explicit assertions and array key sorting (216cbfe)

v2.0.0

26 Nov 16:18
778e6e0

Choose a tag to compare

2.0.0 (2025-11-26)

⚠ BREAKING CHANGES

  • ruleset: upgrade slevomat to 8.22 and enforce strict config (#13)

Features

  • ruleset: upgrade slevomat to 8.22 and enforce strict config (#13) (2970bb7)

v1.2.0

26 Nov 09:01
504da3e

Choose a tag to compare

1.2.0 (2025-11-26)

Features

  • allow built-in PHP functions and constants in coding standard ruleset (69e3f3d)

v1.1.0

26 Nov 07:01
b6d0d5a

Choose a tag to compare

1.1.0 (2025-11-26)

Features

  • ruleset: modernize class structure and replace legacy commenting sniffs (#9) (d74c2c5)

v1.0.1

23 Nov 18:49
25dee6d

Choose a tag to compare

1.0.1 (2025-11-23)

Bug Fixes

  • phpcs: align Slevomat ruleset with v8 (#7) (da42b5c)

Documentation

  • improve README and suggest composer installer (caf0dca)

v1.0.0

18 Nov 07:00
b6cf84c

Choose a tag to compare

Description:

This is the initial stable release of the WPTechnix Coding Standards package — a modern PHP coding standard built on PSR-12, with additional rules to enforce strictness and type safety.

Features:

  • Core Coding Standards: Enforces consistent PSR-12 based code formatting.
  • Strict Type Safety: Adds extra rules for type declarations, strict comparisons, and avoiding unsafe practices.
  • Advanced Checks: Integrates phpcsextra and Slevomat Coding Standard v8 for deeper code quality enforcement.
  • Compatibility: Works with PHP 8+ and PHPCS 3.13+ or 4.x

Installation:

composer require wptechnix/coding-standards:^1.0