mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 13:41:19 -05:00
Update PHP dependencies and GPG verification keys (#4960)
* Update phive locations * Update phar keys and versions * Add phpstan key --------- Co-authored-by: Marco Ferrari <ferrari.marco@gmail.com>
This commit is contained in:
parent
7a21f934b4
commit
304ca185da
2 changed files with 9 additions and 2 deletions
|
@ -80,7 +80,7 @@ Developers on **GitHub** can call the **GitHub Action** to lint their codebase w
|
|||
| **Natural language** | [textlint](https://textlint.github.io/) |
|
||||
| **OpenAPI** | [spectral](https://github.com/stoplightio/spectral) |
|
||||
| **Perl** | [perlcritic](https://metacpan.org/pod/Perl::Critic) |
|
||||
| **PHP** | [PHP built-in linter](https://www.php.net/manual/en/features.commandline.options.php) / [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) / [PHPStan](https://phpstan.org/) / [Psalm](https://psalm.dev/) |
|
||||
| **PHP** | [PHP built-in linter](https://www.php.net/manual/en/features.commandline.options.php) / [PHP CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) / [PHPStan](https://phpstan.org/) / [Psalm](https://psalm.dev/) |
|
||||
| **PowerShell** | [PSScriptAnalyzer](https://github.com/PowerShell/Psscriptanalyzer) |
|
||||
| **Protocol Buffers** | [protolint](https://github.com/yoheimuta/protolint) |
|
||||
| **Python3** | [pylint](https://pylint.pycqa.org/) / [flake8](https://flake8.pycqa.org/en/latest/) / [black](https://github.com/psf/black) / [isort](https://pypi.org/project/isort/) |
|
||||
|
|
|
@ -46,4 +46,11 @@ gpg --verify phive.phar.asc phive.phar
|
|||
chmod +x phive.phar
|
||||
mv phive.phar /usr/local/bin/phive
|
||||
rm phive.phar.asc
|
||||
echo y | phive --no-progress install --trust-gpg-keys 31C7E470E2138192,CF1A108D0E7AE720,8A03EA3B385DBAA1,12CE0F1D262429A5 --target /usr/bin phpstan@^1.3.3 psalm@^4.18.1 phpcs@^3.6.2
|
||||
|
||||
# Install PHARs
|
||||
phive --no-progress install \
|
||||
--trust-gpg-keys 31C7E470E2138192,CF1A108D0E7AE720,8A03EA3B385DBAA1,12CE0F1D262429A5,5E6DDE998AB73B8E,51C67305FFC2E5C0 \
|
||||
--target /usr/bin \
|
||||
phpstan@^1.10.48 \
|
||||
psalm@^5.17.0 \
|
||||
phpcs@^3.8.0
|
||||
|
|
Loading…
Reference in a new issue