mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-15 03:44:46 +00:00
ci: Fix PHPCompatibility (#2873)
> For additional security you should declare the allow-plugins config with a list of packages names that are allowed to run code. See https://getcomposer.org/allow-plugins > You have until July 2022 to add the setting. Composer will then switch the default behavior to disallow all plugins. Oops, it is July now.
This commit is contained in:
parent
9f2f1e526d
commit
66568e3a39
1 changed files with 1 additions and 0 deletions
1
.github/workflows/lint.yml
vendored
1
.github/workflows/lint.yml
vendored
|
@ -31,6 +31,7 @@ jobs:
|
|||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
- run: composer global require dealerdirect/phpcodesniffer-composer-installer
|
||||
- run: composer global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
|
||||
- run: composer global require phpcompatibility/php-compatibility
|
||||
- run: ~/.composer/vendor/bin/phpcs . --standard=phpcompatibility.xml --warning-severity=0 --extensions=php -p
|
||||
|
||||
|
|
Loading…
Reference in a new issue