Skip to content

Commit

Permalink
Add composer validate test to composer.json
Browse files Browse the repository at this point in the history
A new test script has been added to the composer.json file, specifically the 'composer validate --strict' command. This tool checks for syntax errors in the composer.json file, enforcing a strict validation.
  • Loading branch information
MarjovanLier committed Jan 9, 2024
1 parent c9a54b7 commit 411de65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"composer outdated -D"
],
"tests": [
"@test:composer-validate",
"@test:lint",
"@test:code-style",
"@test:phpunit",
Expand All @@ -69,6 +70,7 @@
"@test:psalm",
"@test:rector"
],
"test:composer-validate": "composer validate --strict",
"test:code-style": "php -d memory_limit=-1 ./vendor/bin/pint --test",
"test:infection": "php -d memory_limit=-1 -d zend_extension=xdebug -d xdebug.mode=coverage ./vendor/bin/infection --threads=4 --show-mutations",
"test:lint": "php -d memory_limit=-1 ./vendor/bin/parallel-lint --exclude vendor --show-deprecated .",
Expand Down

0 comments on commit 411de65

Please sign in to comment.