File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -104,13 +104,7 @@ jobs:
104
104
- create-drupal-project :
105
105
project : ' drupal/legacy-project:^8@alpha'
106
106
- local-require
107
- # @todo use this when `require` constraints relaxed.
108
- # - run:
109
- # name: Add upgrade_status
110
- # command: |
111
- # cd /tmp/drupal
112
- # composer require drupal/upgrade_status:1.x-dev
113
- # @todo use composer, not this hack.
107
+ # Composer constraints prevent requiring via compser, but this helps test drupalci's phpstan build step as well.
114
108
- run :
115
109
name : Add upgrade_status
116
110
command : |
Original file line number Diff line number Diff line change 11
11
],
12
12
"require" : {
13
13
"php" : " ^7.1" ,
14
- "phpstan/phpstan" : " ^ 0.11" ,
14
+ "phpstan/phpstan" : " ~ 0.11.0 " ,
15
15
"symfony/yaml" : " ~3.4.5|^4.2" ,
16
16
"webflo/drupal-finder" : " ^1.2" ,
17
17
"nette/di" : " ^3.0"
18
18
},
19
19
"require-dev" : {
20
- "phpstan/phpstan-strict-rules" : " ^ 0.11" ,
20
+ "phpstan/phpstan-strict-rules" : " ~ 0.11.0 " ,
21
21
"squizlabs/php_codesniffer" : " ^3.3" ,
22
22
"phpunit/phpunit" : " ^7.5" ,
23
- "phpstan/phpstan-deprecation-rules" : " ^ 0.11.0" ,
23
+ "phpstan/phpstan-deprecation-rules" : " ~ 0.11.0" ,
24
24
"composer/installers" : " ^1.6" ,
25
25
"drupal/core-recommended" : " ^8.8@alpha" ,
26
26
"drush/drush" : " ^9.6"
27
27
},
28
+ "conflict" : {
29
+ "phpstan/phpstan" : " >=0.12" ,
30
+ "phpstan/phpstan-deprecation-rules" : " >=0.12"
31
+ },
28
32
"minimum-stability" : " dev" ,
29
33
"prefer-stable" : true ,
30
34
"suggest" : {
You can’t perform that action at this time.
0 commit comments