Skip to content

Commit

Permalink
Merge pull request #3133 from phpDocumentor/reintroduce-require-checker
Browse files Browse the repository at this point in the history
Reintroduce composer require checker
  • Loading branch information
jaapio committed Apr 2, 2022
2 parents 0782646 + 04f2a2d commit dae5701
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
extensions: mbstring, intl, iconv, libxml, dom, json, simplexml, zlib, fileinfo
key: cache-v1 # can be any string, change to clear the extension cache.
defaultPHPVersion: '7.4'
phiveGPGKeys: 4AA394086372C20A,D2CCAC42F6295E7D,E82B2FB314E9906E,8A03EA3B385DBAA1,12CE0F1D262429A5
phiveGPGKeys: 4AA394086372C20A,D2CCAC42F6295E7D,E82B2FB314E9906E,8A03EA3B385DBAA1,12CE0F1D262429A5,033E5F8D801A2F8D
phiveHome: $GITHUB_WORKSPACE/.phive
jobs:
setup:
Expand Down Expand Up @@ -39,15 +39,15 @@ jobs:
php-version: ${{ env.defaultPHPVersion }}
extensions: ${{ env.extensions }}
ini-values: memory_limit=2G, display_errors=On, error_reporting=-1
tools: composer-require-checker:2.1.0
tools: composer-require-checker:3.8.0

- name: Install Composer dependencies & cache dependencies
uses: "ramsey/composer-install@v2"
with:
composer-options: --optimize-autoloader

# - name: composer-require-checker
# run: composer-require-checker check --config-file $GITHUB_WORKSPACE/composer-require-config.json composer.json
- name: composer-require-checker
run: composer-require-checker check --config-file $GITHUB_WORKSPACE/composer-require-config.json composer.json

phpunit-with-coverage:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion phive.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="phpunit" version="^9.5.0" installed="9.5.8" location="./tools/phpunit" copy="true"/>
<phar name="composer-require-checker" version="^2.1.0" installed="2.1.0" location="./tools/composer-require-checker" copy="true"/>
<phar name="composer-require-checker" version="^3.8.0" installed="3.8.0" location="./tools/composer-require-checker" copy="true"/>
<phar name="jaapio/prophecy-phpunit" version="^2.1.0" installed="2.2.0" location="./tools/phpunit.d/prophecy-phpunit.phar" copy="true"/>
</phive>

0 comments on commit dae5701

Please sign in to comment.