Skip to content

Commit 1d73e1a

Browse files
authored
Mark conflicts (#95)
Mark conflicts and change constraints
1 parent 089392a commit 1d73e1a

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.circleci/config.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,7 @@ jobs:
104104
- create-drupal-project:
105105
project: 'drupal/legacy-project:^8@alpha'
106106
- 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.
114108
- run:
115109
name: Add upgrade_status
116110
command: |

composer.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,24 @@
1111
],
1212
"require": {
1313
"php": "^7.1",
14-
"phpstan/phpstan": "^0.11",
14+
"phpstan/phpstan": "~0.11.0",
1515
"symfony/yaml": "~3.4.5|^4.2",
1616
"webflo/drupal-finder": "^1.2",
1717
"nette/di": "^3.0"
1818
},
1919
"require-dev": {
20-
"phpstan/phpstan-strict-rules": "^0.11",
20+
"phpstan/phpstan-strict-rules": "~0.11.0",
2121
"squizlabs/php_codesniffer": "^3.3",
2222
"phpunit/phpunit": "^7.5",
23-
"phpstan/phpstan-deprecation-rules": "^0.11.0",
23+
"phpstan/phpstan-deprecation-rules": "~0.11.0",
2424
"composer/installers": "^1.6",
2525
"drupal/core-recommended": "^8.8@alpha",
2626
"drush/drush": "^9.6"
2727
},
28+
"conflict": {
29+
"phpstan/phpstan": ">=0.12",
30+
"phpstan/phpstan-deprecation-rules": ">=0.12"
31+
},
2832
"minimum-stability": "dev",
2933
"prefer-stable": true,
3034
"suggest": {

0 commit comments

Comments
 (0)