mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 13:41:19 -05:00
build: update php linters (#5689)
- Composer to 2.7.6 - PHPCS to 3.10.1 - PHPStan to 1.11.2 - Psalm to 5.24.0
This commit is contained in:
parent
e4da77657e
commit
13f6ec2ffb
2 changed files with 6 additions and 6 deletions
8
dependencies/phive.xml
vendored
8
dependencies/phive.xml
vendored
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phive xmlns="https://phar.io/phive">
|
||||
<!-- When adding new linter, do not forget to add its GPG key ID to Dockerfile -->
|
||||
<phar name="composer" version="^2.6.6" installed="2.6.6" location="./usr/bin/composer" copy="false"/>
|
||||
<phar name="phpcs" version="^3.8.0" installed="3.8.0" location="/usr/local/bin/phpcs" copy="true"/>
|
||||
<phar name="phpstan" version="^1.10.48" installed="1.10.48" location="/usr/local/bin/phpstan" copy="true"/>
|
||||
<phar name="psalm" version="^5.17.0" installed="4.18.1" location="./usr/local/bin/psalm" copy="true"/>
|
||||
<phar name="composer" version="^2.7.6" installed="2.7.6" location="./usr/bin/composer" copy="false"/>
|
||||
<phar name="phpcs" version="^3.10.1" installed="3.10.1" location="/usr/local/bin/phpcs" copy="true"/>
|
||||
<phar name="phpstan" version="^1.11.2" installed="1.11.2" location="/usr/local/bin/phpstan" copy="true"/>
|
||||
<phar name="psalm" version="^5.24.0" installed="5.24.0" location="./usr/local/bin/psalm" copy="true"/>
|
||||
</phive>
|
||||
|
|
|
@ -8,7 +8,7 @@ apk add --no-cache --virtual .php-build-deps \
|
|||
# Install phive
|
||||
curl --retry 5 --retry-delay 5 -sLO https://phar.io/releases/phive.phar
|
||||
curl --retry 5 --retry-delay 5 -sLO https://phar.io/releases/phive.phar.asc
|
||||
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys "0x9D8A98B29B2D5D79"
|
||||
gpg --keyserver hkps://keys.openpgp.org --recv-keys "0x9D8A98B29B2D5D79"
|
||||
gpg --verify phive.phar.asc phive.phar
|
||||
chmod +x phive.phar
|
||||
mv phive.phar /usr/local/bin/phive
|
||||
|
@ -16,7 +16,7 @@ rm phive.phar.asc
|
|||
|
||||
# Install the PHARs listed in phive.xml
|
||||
phive --no-progress install \
|
||||
--trust-gpg-keys 31C7E470E2138192,CF1A108D0E7AE720,8A03EA3B385DBAA1,12CE0F1D262429A5,5E6DDE998AB73B8E,51C67305FFC2E5C0,CBB3D576F2A0946F \
|
||||
--trust-gpg-keys 31C7E470E2138192,CF1A108D0E7AE720,8A03EA3B385DBAA1,12CE0F1D262429A5,5E6DDE998AB73B8E,51C67305FFC2E5C0,CBB3D576F2A0946F,689DAD778FF08760E046228BA978220305CD5C32 \
|
||||
--target /usr/bin
|
||||
|
||||
apk del --no-network --purge .php-build-deps
|
||||
|
|
Loading…
Reference in a new issue