File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -77,12 +77,16 @@ jobs:
77
77
dist : precise
78
78
env : PHPCS_VERSION="2.0.0"
79
79
80
+ - php : 7.4
81
+ env : PHPCS_VERSION="4.0.x-dev as 3.9.99"
82
+
80
83
- php : nightly
81
84
env : PHPCS_VERSION="dev-master" LINT=1
82
85
83
86
allow_failures :
84
87
# Allow failures for unstable builds.
85
88
- php : " nightly"
89
+ - env : PHPCS_VERSION="4.0.x-dev as 3.9.99"
86
90
87
91
fast_finish : true
88
92
@@ -91,7 +95,7 @@ before_install:
91
95
phpenv config-rm xdebug.ini || echo 'No xdebug config.'
92
96
93
97
install :
94
- - composer require --no-update --no-suggest --no-scripts squizlabs/php_codesniffer:${PHPCS_VERSION}
98
+ - composer require --no-update --no-suggest --no-scripts squizlabs/php_codesniffer:" ${PHPCS_VERSION}"
95
99
- |
96
100
if [[ ${PHPCS_VERSION:0:3} < "2.2" ]]; then
97
101
# Install PHPCompatibility 7.x for PHPCS < 2.2.
Original file line number Diff line number Diff line change 25
25
"require" : {
26
26
"php" : " >=5.3" ,
27
27
"composer-plugin-api" : " ^1.0" ,
28
- "squizlabs/php_codesniffer" : " ^2 || ^3"
28
+ "squizlabs/php_codesniffer" : " ^2 || ^3 || 4.0.x-dev "
29
29
},
30
30
"require-dev" : {
31
31
"composer/composer" : " *" ,
32
32
"sensiolabs/security-checker" : " ^4.1.0" ,
33
33
"phpcompatibility/php-compatibility" : " ^9.0"
34
34
},
35
+ "minimum-stability" : " dev" ,
36
+ "prefer-stable" : true ,
35
37
"autoload" : {
36
38
"psr-4" : {
37
39
"Dealerdirect\\ Composer\\ Plugin\\ Installers\\ PHPCodeSniffer\\ " : " src/"
You can’t perform that action at this time.
0 commit comments