Skip to content

Releases: PHPCSStandards/PHPCSDevTools

1.2.3 - 2025-06-12

Choose a tag to compare

@jrfnl jrfnl released this 12 Jun 10:55
1311dcf

Changed

  • Allow for installation in combination with PHP_CodeSniffer 4.0.
  • General housekeeping.

1.2.2 - 2024-09-10

Choose a tag to compare

@jrfnl jrfnl released this 10 Sep 03:10
745d4d4

This is a maintenance release.

Changed

  • All functionality is now also tested against PHP 8.3 and 8.4.
  • Miscellaneous updates to the development environment and CI scripts, including a contribution by @fredden.
  • General housekeeping.

1.2.1 - 2023-01-05

Choose a tag to compare

@jrfnl jrfnl released this 05 Jan 13:58
750c8a9

Changed

  • Composer: The version requirements for the Composer PHPCS plugin have been widened to allow for version 1.0.0.
    Please ensure you run composer update phpcsstandards/phpcsdevtools --with-dependencies to benefit from this.

1.2.0 - 2022-09-23

Choose a tag to compare

@jrfnl jrfnl released this 23 Sep 12:01
3a2cdfb

Added

  • An XSD schema for PHPCS sniff documentation files. Thanks to @dingo-d for this awesome contribution!
    The XSD schema can be added to PHPCS sniff documentation XML files and can be used to verify these files comply with the requirements set by PHPCS, so the documentation will display correctly when using the PHPCS --generator=... feature.
    Information about how to use this new feature has been added to the README.
  • PHPCSDebug/TokenList sniff: tabs and spacess will now be visualized in whitespace-only tokens. In comment tokens, leading and trailing whitespace will be visualized.
    Whitespace will also be visualized for any token which has (or should have) undergone a "tabs to spaces" conversion.

Changed

  • PHPCSDebug/TokenList sniff: the 'orig_content' will now be shown for all tokens which have undergone a "tabs to spaces" conversion. Previously it was only shown for whitespace tokens which had been converted.
  • The package will now identify itself as a static analysis tool to Composer. Thanks @GaryJones!
  • Various other code and documentation improvements.
  • Miscellaneous updates to the development environment and CI scripts.

Fixed

  • FeatureComplete: wrong error message was displayed for missing test case files in colors enabled mode.
  • PHPCSDebug/TokenList sniff: for rare edge cases when PHPCS has not set the 'length' information for a token, the length will no longer be calculated, but will show as ?. This prevents a mismatch/misrepresentation between the output of the sniff and the real token array.

1.1.1 - 2022-04-28

Choose a tag to compare

@jrfnl jrfnl released this 28 Apr 19:47
2d9d8eb

Changed

  • PHPCSDebug.Debug.TokenList: readability improvement (alignment of content length).
  • All functionality is now also tested against PHP 8.1.
  • Update to the installation instructions to allow for Composer 2.2+.
  • Minor other documentation improvements.
  • The documentation of the project will now also be available at https://phpcsstandards.github.io/PHPCSDevTools/.
  • Miscellaneous updates to the development environment and CI scripts.

1.1.0 - 2020-12-20

Choose a tag to compare

@jrfnl jrfnl released this 20 Dec 12:50
3192581

Added

  • New column "nested parentheses count" - ( #) - in the output of the PHPCSDebug.Debug.TokenList sniff.

Changed

  • The minimum required PHPCS version for the PHPCSDebug standard has been raised to PHPCS 3.1.0.
  • PHPCSDebug.Debug.TokenList: The column separator has been changed from :: to |.
  • All functionality is now also tested against PHP 8.0.
  • Miscellaneous updates to the development environment and CI scripts.

1.0.1 - 2020-06-28

Choose a tag to compare

@jrfnl jrfnl released this 28 Jun 16:24
5cb7f67

Changed

  • The master branch has been renamed to stable.
  • The version requirements for the Dealerdirect Composer PHPCS plugin have been widened to allow installation of releases from the 0.7.x range, which brings compatibility with Composer 2.0.
  • Miscellaneous updates to the development environment and CI scripts.

1.0.0 - 2020-02-12

Choose a tag to compare

@jrfnl jrfnl released this 12 Feb 19:03
0f0776e

Initial release containing:

  • Feature completeness checking tool for PHPCS sniffs.
  • A PHPCSDebug standard to help debugging sniffs.