File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 5
5
dist : " bionic"
6
6
7
7
php :
8
- # giacocorsiglia/stubs-generator does not support PHP 7.0
8
+ # - "8.1"
9
+ - " 8.0"
9
10
- " 7.4"
10
11
- " 7.3"
11
- - " 7.2"
12
- - " 7.1"
13
- # # PHP 8.0
14
- # - "nightly"
15
12
16
13
cache :
17
14
directories :
18
15
- " $HOME/.composer/cache"
19
16
20
17
before_install :
21
18
- " phpenv config-rm xdebug.ini"
22
- - " composer self-update --1"
23
19
- " composer validate --strict"
24
20
25
21
install :
@@ -42,11 +38,6 @@ install:
42
38
43
39
before_script :
44
40
- " cat ./source/wordpress/wp-includes/version.php"
45
- - |
46
- if dpkg --compare-versions "$(phpenv version-name)" ge "7.4"; then
47
- echo "Hiding deprecated errors in generate-stubs ..."
48
- sed -i -e '3s/^/error_reporting(E_ALL ^ E_DEPRECATED);/' ./vendor/giacocorsiglia/stubs-generator/bin/generate-stubs
49
- fi
50
41
51
42
script :
52
43
# Generate stubs
Original file line number Diff line number Diff line change 12
12
"giacocorsiglia/wordpress-stubs" : " *"
13
13
},
14
14
"require-dev" : {
15
- "php" : " ~7.1 " ,
15
+ "php" : " ~7.3 || ~8.0 " ,
16
16
"php-stubs/generator" : " ^0.7.0" ,
17
17
"nikic/php-parser" : " < 4.12.0"
18
18
},
You can’t perform that action at this time.
0 commit comments