Skip to content

Releases: php-parallel-lint/PHP-Parallel-Lint

v1.4.0

27 Mar 12:35
Compare
Choose a tag to compare

New version with support up to PHP 8.3 and preliminary support for PHP 8.4.

Added

  • The "skip linting" feature can now be used in PHP files starting with a shebang, #146 from @xaben.

Fixed

  • PHP 8.4 deprecation notice, #154 from @Ayesh and @jrfnl.
  • Bug fix: the PHP version check in the application bootstrap did not work on PHP < 5.3, #100 from @jrfnl, fixes #62.
  • Bug fix: files containing the ~ character in their name can now be processed correctly, #118 from @jrfnl.
  • Bug fix: error message sometimes displayed on last line of code snippet, #98 from @jrfnl, fixes #93.
  • Bug fix: error message would sometimes contain duplicate information, #117 from @jrfnl.
  • Bug fix: the "in file .. on line part" text did not always get cleaned correctly from the error message, #118 from @jrfnl.

Changed

  • The percentage output in the progress report is now aligned, #140 from @robertology.
  • The error message displayed when the PHP version is too low for the application to run is now more informative, #100 from @jrfnl.
  • Composer: The package will now identify itself as a static analysis/linting tool, #134 from @staabm.
  • Composer: fix grammar error, #139 from @TravisCarden.
  • README: improvement to the install instructions, #99 from @samsonasik, fixes #96.
  • README: move screenshot, #97 from @jrfnl.
  • README: fix typos, #124 from @krsriq.
  • Docs: code style consistency, #137 from @lens0021.

Internal

  • Prevent PHAR not being compatible with PHP < 7.0, #116 from @jrfnl.
  • GH Actions: update used actions, #109, #158 from @jrfnl.
  • GH Actions: updates for box 4.x, #121 from @jrfnl.
  • GH Actions: fix download URL for box, #125 from @jrfnl.
  • GH Actions: use fail-fast with setup-php when creating the binaries, #131, #132 from @jrfnl.
  • GH Actions: update PHP version for PHAR boxing, #152 from @jrfnl.
  • GH Actions: harden the workflow against PHPCS ruleset errors, #128 from @jrfnl.
  • GH Actions: bust the cache semi-regularly, #129 from @jrfnl.
  • GH Actions: update PHP versions in workflows, #130 from @jrfnl.
  • GH Actions: update for the release of PHP 8.3, #150, #151 from @jrfnl.
  • GH Actions: fix duplicate release, #159 from @jrfnl.
  • SettingsParseArgumentsTest: fix bug in test, #102 from @jrfnl.
  • OutputTest: fix risky test, #156 from @jrfnl.
  • Tests: fix issue with Nette Tester 1.x, #141 from @grogy.
  • Add dependabot configuration file, #148 from @jrfnl.

v1.3.2

21 Feb 13:42
v1.3.2
Compare
Choose a tag to compare

New version with improved support for PHP 8.1, is again tested against PHP 5.3 and we welcome @jrfnl as maintainer.

Added

  • Support for PHP Console Highlighter 1.0.0, which comes with PHP Console Color 1.0.1, #92 from @jrfnl.

Fixed

  • Bug fix: make Phar file run independently of project under scan #63 from @jrfnl, fixes #61.
  • Bug fix: checkstyle report could contain invalid XML due to insufficient output escaping #73 from @gmazzap, fixes #72.
  • Fix Phar building #70 from @jrfnl. This fixes PHP 8.1 compatibility for the Phar file.
  • Documentation fix: the --show-deprecated option was missing in both the README as well as the CLI help #84 from @jrfnl, fixes #81 reported by @stronk7.

Changed

  • README: updated information about PHAR availability #77 from @jrfnl.
  • README: updated CLI example #80 from @jrfnl.
  • README: added documentation on how to exclude files from a scan based on the PHP version used #80 from @jrfnl.
  • Composer autoload improvement #88 from @jrfnl with thanks to @mfn.

Internal

  • Welcome @jrfnl as a new maintainer #32.
  • GH Actions: set error reporting to E_ALL #65, #76 from @jrfnl.
  • GH Actions: fix failing tests on PHP 5.3-5.5 #71 from @jrfnl and @villfa.
  • GH Actions: auto-cancel concurrent builds #76 from @jrfnl.
  • GH Actions: testing against PHP 8.2 #74 from @grogy.
  • GH Actions: release testing against PHP 5.3 #79 from @jrfnl.
  • GH Actions: update used actions #82 from @jrfnl.
  • Release checklist can now be found in the .github folder #78 from @jrfnl.

v1.3.1

13 Aug 05:37
Compare
Choose a tag to compare

Added

Fixed

  • PHP 8.1: silence the deprecation notices about missing return types #64 from @jrfnl.

Internal

  • Reformat changelog to use reflinks in changelog entries #58 from @glensc.

diff v1.3.0...v1.3.1

v1.3.0

07 Apr 14:45
Compare
Choose a tag to compare

Added

  • Allow for multi-part file extensions to be passed using -e (like -e php,php.dist) from @jrfnl.
  • Added syntax error callback #30 from @arxeiss.
  • Ignore PHP startup errors #34 from @jrfnl.
  • Restore php 5.3 support #51 from @glensc.

Fixed

  • Determine skip lint process failure by status code instead of stderr content #48 from @jankonas.

Changed

Internal

  • Normalized composer.json from @OndraM.
  • Updated PHPCS dependency from @jrfnl.
  • Cleaned coding style from @jrfnl.
  • Provide one true way to run the test suite #37 from @mfn.
  • Travis: add build against PHP 8.0 and fix failing test #41 from @jrfnl.
  • GitHub Actions for testing, and automatic phar creation #46 from @roelofr.
  • Add .github folder to .gitattributes export-ignore #54 from @glensc.
  • Suggest to curl composer install via HTTPS #53 from @reedy.
  • GH Actions: allow for manually triggering a workflow #55 from @jrfnl.
  • GH Actions: fix phar creation #55 from @jrfnl.
  • GH Actions: run the tests against all supported PHP versions #55 from @jrfnl.
  • GH Actions: report CS violations in the PR #55 from @jrfnl.

diff v1.2.0...v1.3.0

Released version 1.2.0

04 Apr 12:23
Compare
Choose a tag to compare

Added

  • Added changelog.

Fixed

  • Fixed vendor location for running from other folder from @Erkens.

Internal

  • Added a .gitattributes file from @jrfnl, thanks for issue to @ondrejmirtes.
  • Fixed incorrect unit tests from @jrfnl.
  • Fixed minor grammatical errors from @jrfnl.
  • Added Travis: test against nightly (= PHP 8) from @jrfnl.
  • Travis: removed sudo from @jrfnl.
  • Added info about installing like not a dependency.
  • Cleaned readme - new organization from previous package.
  • Added checklist for new version from @szepeviktor.

For the details you can have a look at the diff.