Skip to content

Commit

Permalink
[TASK] Introduce composer-require-checker
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Aug 27, 2022
1 parent eafe385 commit bf5d174
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ jobs:
- name: Normalize composer.json
run: |
composer normalize --dry-run
- name: Check composer require
run: |
vendor/bin/composer-require-checker check
- name: Check coding standards
run: |
vendor/bin/ecs check --no-progress-bar
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ vendor: composer.json composer.lock
composer validate
composer install
composer normalize
vendor/bin/composer-require-checker check
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,20 @@
"require": {
"php": ">=7.4",
"ext-curl": "*",
"ext-filter": "*",
"ext-json": "*",
"kriswallsmith/buzz": "^1.2",
"nyholm/psr7": "^1.5",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0",
"symfony/polyfill-php80": "^1.18"
},
"require-dev": {
"brotkrueml/coding-standards": "~3.0.0",
"donatj/mock-webserver": "^2.4.1",
"ergebnis/composer-normalize": "~2.28.3",
"infection/infection": "^0.26",
"maglnet/composer-require-checker": "^4.1",
"mikey179/vfsstream": "^1.6.10",
"php-coveralls/php-coveralls": "^2.5",
"phpstan/extension-installer": "^1.1",
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Requirements
The JobRouter Client |version| requires at least PHP 7.4; using the latest
version of PHP is highly recommended.

The library requires the curl and json extensions, which are normally enabled
by default.
The library requires the curl, filter and json extensions, which are normally
enabled by default.

Version matrix
--------------
Expand Down

0 comments on commit bf5d174

Please sign in to comment.