Skip to content

Releases: overtrue/phplint

9.0.4

23 Feb 15:48
Compare
Choose a tag to compare

9.0.4 - 2023-02-23

Added

  • PHPUnit 10 support

Changed

  • ConsoleOutput is no more final to be able to customize it
  • LinterOutput implement Countable interface
  • Finder implement JsonSerializable interface

Fixed

  • #182 : Docker usage may raise a permission denied
  • #183 : Error is unintuitive when there are no files to lint
  • #185 : Analyse multiple path at same time did not work with console command
  • #187 : Improve log options implementation

Full Changelog: 9.0.3...9.0.4

9.0.3

14 Feb 15:43
Compare
Choose a tag to compare

9.0.3 - 2023-02-14

Fixed

  • #178 : "no configuration file is found" message without --no-configuration flag
  • #175 : PHAR version not available since release 9.0.0

Full Changelog: 9.0.2...9.0.3

9.0.2

13 Feb 15:26
Compare
Choose a tag to compare

9.0.2 - 2023-02-13

Fixed

  • #176 : Enhance Cache support for Windows platform (thanks @knallcharge for reporting)

Full Changelog: 9.0.1...9.0.2

9.0.1

13 Feb 14:44
Compare
Choose a tag to compare

9.0.1 - 2023-02-13

Changed

  • configure Release Workflow to run manually

Fixed

  • #175 : Release Workflow was not able to build a PHAR with manifest distribution

Full Changelog: 9.0.0...9.0.1

9.0.0

13 Feb 09:57
Compare
Choose a tag to compare

9.0.0 - 2023-02-13

Added

  • introduces Changie for changelog automation
  • add declare strict_types directive on top of each php script
  • add PHP DocBlock header comment on top of each php script
  • introduces test automation with PHPUnit
  • introduces Finder component to find source files to analyse
  • introduces Logger component (basic PSR-3) for cache debugging purpose
  • introduces Dispatcher component with events to allow extensible code more easy
  • introduces extensions to display checking progress
  • introduces OptionsResolver component to resolve configuration with options
  • #173 : Improve PHAR build with BOX v4 by adding a manifest
  • --manifest option to display contents of manifest of the PHAR version (only) of PHPLinter

Changed

  • raise minimum version constraint on Symfony Components to use the current LTS (5.4)
  • update jetbrains/phpstorm-stubs requirement to accept v2022
  • update brainmaestro/composer-git-hooks requirement to accept v3.0 alpha1 : that will allow to update psr/log to v3 and symfony/console to v6
  • code-rewrites to use Symfony Cache Component
  • Lint process class was renamed and some minor type declaration were fixed
  • Remove n98/junit-xml dependency and replace it by new JunitXmlReporter extension (about 30 lines of code)
  • JsonOutput console/output is specialized to produce JSON output results (see --log-json option)
  • JunitOutput console/output is specialized to produce JUnit XML format results (see --log-junit option)
  • ConsoleOutput is specialized to produce CLI output (default results)
  • upgrade humbug/php-scoper to allow usage of Box v4 with at least PHP 8.1
  • Integration with PHP-Scoper to provide a PHAR code isolation with BOX project
  • All dev tools are now under bamarni/composer-bin-plugin control

Removed

6.1.0

28 Dec 14:41
Compare
Choose a tag to compare

CAUTION This version is equivalent to v6.0.0 with following changes.

  • Github Actions : Workflows changes from 6.0.0 until 6.0.4 were kept.
  • Highlight PHP code in terminal package migration by @llaville : #157
  • Short option nf did not work by @llaville : #167
  • Add instructions for Gitlab CI usage by @matheusab : #162
  • Cosmetic fix with php-parallel-lint/php-console-highlighter dependency by @llaville : #172
  • Raise symfony component constraints to latest LTS (5.4) by @llaville

5.5.0

28 Dec 14:39
Compare
Choose a tag to compare

CAUTION This version is equivalent to v5.3.0 with following changes.

  • Github Actions : Workflows changes from 5.3.0 until 5.4.2 were kept.
  • Highlight PHP code in terminal package migration by @llaville : #157
  • Short option nf did not work by @llaville : #167
  • Add instructions for Gitlab CI usage by @matheusab : #158
  • Cosmetic fix with php-parallel-lint/php-console-highlighter dependency by @llaville : #172
  • Raise symfony component constraints to latest LTS (5.4) by @llaville

4.5.0

28 Dec 14:37
Compare
Choose a tag to compare

CAUTION This version is equivalent to v4.3.0 with following changes.

  • Github Actions : Workflows changes from 4.4.0 until 4.4.1 were kept.
  • Highlight PHP code in terminal package migration by @llaville : #157
  • Short option nf did not work by @llaville : #167
  • Add instructions for Gitlab CI usage by @matheusab : #160
  • Cosmetic fix with php-parallel-lint/php-console-highlighter dependency by @llaville : #172
  • Raise symfony component constraints to latest LTS (5.4) by @llaville

3.4.0

28 Dec 14:34
Compare
Choose a tag to compare

3.4.0

CAUTION This version is equivalent to v3.2.0 with following changes.

  • Github Actions : Workflows changes from 3.3.0 until 3.3.2 were kept.
  • Drop support to PHP 5 #155, PHP 7.0, 7.1, 7.2, and 7.3
  • Highlight PHP code in terminal package migration by @llaville : #157
  • Short option nf did not work by @llaville : #167
  • PHP-CS-Fixer migration to v3 by @llaville : #156
  • Cosmetic fix with php-parallel-lint/php-console-highlighter dependency by @llaville : #172
  • Add instructions for Gitlab CI usage by @matheusab : #161

6.0.4

23 Dec 08:47
Compare
Choose a tag to compare

What's Changed

  • fix issue #168 by @llaville : Lint command does not run if config file is missing (thanks to @purdy for reporting)

Full Changelog: 6.0.3...6.0.4