From 9d15fb714bf37d97ed0d78cfa42f296cb97e7c66 Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Mon, 29 Nov 2021 16:59:17 +0100 Subject: [PATCH] fix feature #1043 --- CHANGELOG.md | 1 + megalinter/descriptors/php.megalinter-descriptor.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfc4e3038d3..5ba733033fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l - Linters - New linter `phplint` to speed-up linting of php files (#1031) + - Fix `phplint` constraint to accept all future bugfix v3.0.x versions (PHP 7.4 support) (#1043) - Linter versions upgrades diff --git a/megalinter/descriptors/php.megalinter-descriptor.yml b/megalinter/descriptors/php.megalinter-descriptor.yml index 880a016c73e..1aed0763f3c 100644 --- a/megalinter/descriptors/php.megalinter-descriptor.yml +++ b/megalinter/descriptors/php.megalinter-descriptor.yml @@ -163,6 +163,6 @@ linters: install: dockerfile: - | - RUN composer global require overtrue/phplint 3.0.0 \ + RUN composer global require overtrue/phplint ^3.0 \ && composer global config bin-dir --absolute - ENV PATH="/root/.composer/vendor/bin:$PATH"