File tree 3 files changed +13
-7
lines changed
3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ WORKING_DIRECTORY=$2
4
+ JOB=$3
5
+ PHP_VERSION=$( echo " ${JOB} " | jq -r .php)
6
+
7
+ if [[ " ${PHP_VERSION} " != " 7.2" ]] ; then
8
+ exit 0
9
+ fi
10
+
11
+ composer require --dev phpunit/phpunit:^8.5.31 --no-update --update-with-dependencies
Original file line number Diff line number Diff line change 11
11
}
12
12
],
13
13
"require" : {
14
- "php" : " ^7.2"
14
+ "php" : " ^7.2.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 "
15
15
},
16
16
"require-dev" : {
17
- "phpunit/phpunit" : " ^8 "
17
+ "phpunit/phpunit" : " ^9.5.10 "
18
18
},
19
19
"autoload" : {
20
20
"psr-4" : {
Original file line number Diff line number Diff line change 15
15
<directory >./tests/</directory >
16
16
</testsuite >
17
17
</testsuites >
18
- <filter >
19
- <whitelist >
20
- <directory suffix =" .php" >src</directory >
21
- </whitelist >
22
- </filter >
23
18
</phpunit >
You can’t perform that action at this time.
0 commit comments