Skip to content

Commit

Permalink
Don't run composer-require-checker on 7.1
Browse files Browse the repository at this point in the history
Add exceptions we don't want to see.
  • Loading branch information
kelunik committed Oct 25, 2021
1 parent a8acb66 commit 3482098
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
include:
- operating-system: 'ubuntu-latest'
php-version: '7.1'
composer-require-checker-version: 2.1.0
composer-require-checker-version: none

- operating-system: 'ubuntu-latest'
php-version: '7.2'
Expand Down Expand Up @@ -93,8 +93,8 @@ jobs:

- name: Install composer-require-checker
run: php -r 'file_put_contents("composer-require-checker.phar", file_get_contents("https://github.com/maglnet/ComposerRequireChecker/releases/download/${{ matrix.composer-require-checker-version }}/composer-require-checker.phar"));'
if: runner.os != 'Windows'
if: runner.os != 'Windows' && matrix.composer-require-checker-version != 'none'

- name: Run composer-require-checker
run: php composer-require-checker.phar check composer.json --config-file $PWD/composer-require-check.json
if: runner.os != 'Windows'
if: runner.os != 'Windows' && matrix.composer-require-checker-version != 'none'
14 changes: 13 additions & 1 deletion composer-require-check.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,19 @@
"iterable",
"callable",
"void",
"object"
"object",
"MSG_EAGAIN",
"MSG_ENOMSG",
"msg_get_queue",
"MSG_IPC_NOWAIT",
"msg_queue_exists",
"msg_receive",
"msg_remove_queue",
"msg_send",
"msg_set_queue",
"msg_stat_queue",
"Threaded",
"transform"
],
"php-core-extensions": [
"Core",
Expand Down

0 comments on commit 3482098

Please sign in to comment.