Skip to content

Releases: overtrue/phplint

9.4.1

05 Jul 14:21
Compare
Choose a tag to compare

9.4.1 - 2024-07-05

Note

This bugfix version is only for the PHAR distribution.

Fixed

  • #210 : PHAR manifest is broken

Full Changelog: 9.4.0...9.4.1

9.4.0

05 Jul 09:03
Compare
Choose a tag to compare

9.4.0 - 2024-07-05

Added

  • #208 : Add support to more output formats
  • support to checkstyle format

Changed

  • support to sarif format is now optional. Requires to install extra package bartlett/sarif-php-converters.

Note

sarif format is a good example of how to use custom format not provided by current PHPLint distribution.
Read how to use it at https://github.com/llaville/sarif-php-converters/blob/1.0/docs/converter/phplint.md

Removed

  • legacy log-* and sarif-converter options
  • useless help column in configuration table when verbose mode is active

Fixed

  • shortcut of progress option is now detected on phplint binary launcher.

Full Changelog: 9.3.1...9.4.0

9.3.1

17 May 03:44
Compare
Choose a tag to compare

9.3.1 - 2024-05-17

Fixed

  • bootstrap option handling in wrong place

Full Changelog: 9.3.0...9.3.1

9.3.0

16 May 06:46
Compare
Choose a tag to compare

9.3.0 - 2024-05-16

Added

  • New bootstrap option to make it easier to load whatever you need before to run linter.
  • New example (examples/sarif_output.php) to show how to generate a SARIF report programmatically

Fixed

  • #206 : New autoloader does not respect custom vendor-dir configuration

Full Changelog: 9.2.0...9.3.0

9.2.0

03 May 07:18
Compare
Choose a tag to compare

9.2.0 - 2024-05-03

Added

  • #186 : Add SARIF output format

Changed

  • Reorganize binary launcher (bin/phplint) and autoloader (autoload.php replaced config/bootstrap.php)

Full Changelog: 9.1.2...9.2.0

9.1.2

06 Feb 10:49
Compare
Choose a tag to compare

9.1.2 - 2024-02-06

Fixed

  • #202 : composer config vendor-dir is ignored
  • #203 : Uncaught Error: Failed opening required "phar:///usr/local/bin/phplint/config/bootstrap.php"
  • #204 : PHPLint 9.1.1 is unable to interpret correctly command arguments/options

Full Changelog: 9.1.1...9.1.2

9.1.1

05 Feb 10:17
Compare
Choose a tag to compare

9.1.1 - 2024-02-05

Fixed

  • #200 : Unable to create file /github/home/.composer/config.json in GitHub Action
  • #201 : GitHub Action build docker on fly with wrong version

Full Changelog: 9.1.0...9.1.1

9.0.8

05 Feb 09:39
Compare
Choose a tag to compare

9.0.8 - 2024-02-05

IMPORTANT Do not use version 9.0.7 (wrong fixes for Docker targets, including GitHub Actions)

Fixed

  • #200 : Unable to create file /github/home/.composer/config.json in GitHub Action
  • #201 : GitHub Action build docker on fly with wrong version

Full Changelog: 9.0.6...9.0.8

9.0.7

05 Feb 09:02
Compare
Choose a tag to compare

9.0.7 - 2024-02-05

Fixed

  • #200 : Unable to create file /github/home/.composer/config.json in GitHub Action
  • #201 : GitHub Action build docker on fly with wrong version

Full Changelog: 9.0.6...9.0.7

9.1.0

17 Dec 07:09
Compare
Choose a tag to compare

9.1.0 - 2023-12-17

Added

  • PHPStan dev tool to enforce code quality of this project (see Contributor guide)
  • Introduces a DebugFormatterHelper for asynchronous process
  • Introduces a ProcessHelper for asynchronous process
  • Introduces a new extension (ProgressIndicator) to let users know that the phplint command isn't stalled. Uses --progress=indicator.

Changed

  • Replaces Symfony components constraint to new LTS (6.4), and drop support to old one (5.4)
  • ProgressPrinter and ProgressBar extensions must now implement the Overtrue\PHPLint\Output\ConsoleOutputInterface specification
  • Reorganize dev tools under their own composer namespace (check-style begins style:check, and fix-style begins style:fix)
  • #197 : Faster process linter
  • rename BOX config file to box.json.dist
  • Dockerfile bump default PHP version from 8.2 to 8.3 (to produce better perf)

Removed

  • drop support of PHPUnit 9
  • drop support of PHP 8.0
  • setApplicationVersion and setConfigResolver methods were removed from Overtrue\PHPLint\Output\ConsoleOutputInterface
    as there are no more required

Full Changelog: 9.0.6...9.1.0