File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,9 @@ commands:
40
40
name : Add as local
41
41
command : |
42
42
cd /tmp/drupal
43
+ composer require --dev drupal/core-dev:^8.8
43
44
composer config repositories.1 '{"type": "path", "url": "'${CIRCLE_WORKING_DIRECTORY}'", "options": { "symlink": false }}'
44
- composer require mglaman/phpstan-drupal "*"
45
+ composer require --dev mglaman/phpstan-drupal "*"
45
46
cat composer.json
46
47
cp ~/repo/tests/fixtures/config/drupal-phpstan.neon /tmp/drupal/phpstan.neon
47
48
./vendor/bin/phpstan --version
65
66
steps :
66
67
- start-project
67
68
- create-drupal-project :
68
- project : ' drupal/legacy-project:^8@alpha '
69
+ project : ' drupal/legacy-project:^8.8 '
69
70
- local-require
70
71
- run :
71
72
name : Run against a file
Original file line number Diff line number Diff line change 1
- {}
1
+ {
2
+ "name" : " drupal mock" ,
3
+ "description" : " for testing" ,
4
+ "extra" : [
5
+ " This is mocked so the vendor root is properly detected"
6
+ ]
7
+ }
You can’t perform that action at this time.
0 commit comments