Skip to content

Commit fe2cfd7

Browse files
committed
Keep the ability to provide additional options to PHPUnit
1 parent 717cfd0 commit fe2cfd7

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@
2828
"process-timeout": 0
2929
},
3030
"scripts": {
31-
"test": [
32-
"psalm",
33-
"phpunit"
34-
],
31+
"test": "phpunit",
3532
"test:watch": "phpunit-watcher watch",
3633
"lint": "psalm"
3734
},

docker-compose.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ services:
1717
environment:
1818
REMOTE_URL: https://plesk:8443
1919
REMOTE_PASSWORD: changeme1Q**
20-
command: bash -c "cd /opt/api-php-lib && composer install && ./wait-for-plesk.sh && composer test -- --testdox"
20+
command: >
21+
bash -c "cd /opt/api-php-lib
22+
&& composer install
23+
&& ./wait-for-plesk.sh
24+
&& composer lint
25+
&& composer test -- --testdox"
2126
depends_on:
2227
- plesk
2328
links:

0 commit comments

Comments
 (0)