File tree Expand file tree Collapse file tree 5 files changed +30
-6
lines changed Expand file tree Collapse file tree 5 files changed +30
-6
lines changed Original file line number Diff line number Diff line change 4
4
php : ' 8.1'
5
5
xdebug : true
6
6
7
+ services :
8
+ appserver :
9
+ build :
10
+ - composer install
11
+
7
12
tooling :
8
13
phpunit :
9
14
service : appserver
10
15
description : Run Drupal PHPUnit tests. Run 'lando phpunit --help' for more information.
11
16
cmd :
12
17
- " /app/.lando/tooling-phpunit.sh"
18
+ grumphp :
19
+ service : appserver
20
+ description : Runs grumphp commands
21
+ cmd : /app/.lando/tooling-grumphp.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ #
4
+ # Helper script to run GrumPHP.
5
+ #
6
+
7
+ set -exuo pipefail
8
+ export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/app/vendor/bin
9
+
10
+ cd /app
11
+ ./vendor/bin/grumphp " $@ "
Original file line number Diff line number Diff line change 43
43
"squizlabs/php_codesniffer" : " ^3.4" ,
44
44
"dealerdirect/phpcodesniffer-composer-installer" : " *" ,
45
45
"mglaman/phpstan-drupal" : " ^1.1" ,
46
+ "phpstan/extension-installer" : " ^1.1" ,
46
47
"phpstan/phpstan-deprecation-rules" : " ^1.0" ,
47
48
"vimeo/psalm" : " ^4" ,
48
49
"nette/finder" : " ^2.5" ,
59
60
"config" : {
60
61
"allow-plugins" : {
61
62
"dealerdirect/phpcodesniffer-composer-installer" : true ,
62
- "phpro/grumphp" : true
63
+ "phpro/grumphp" : true ,
64
+ "phpstan/extension-installer" : true
65
+ }
66
+ },
67
+ "extra" : {
68
+ "phpstan/extension-installer" : {
69
+ "ignore" : [
70
+ " mglaman/phpstan-drupal"
71
+ ]
63
72
}
64
73
}
65
74
}
Original file line number Diff line number Diff line change @@ -7,6 +7,3 @@ parameters:
7
7
- ' #Plugin definitions cannot be altered. #'
8
8
- ' #Missing cache backend declaration for performance. #'
9
9
- ' #Plugin manager has cache backend specified but does not declare cache tags. #'
10
- includes :
11
- - %currentWorkingDirectory%/vendor/mglaman/phpstan-drupal/extension.neon
12
- - %currentWorkingDirectory%/vendor/phpstan/phpstan-deprecation-rules/rules.neon
Original file line number Diff line number Diff line change @@ -7,5 +7,3 @@ parameters:
7
7
- ' #Plugin definitions cannot be altered. #'
8
8
- ' #Missing cache backend declaration for performance. #'
9
9
- ' #Plugin manager has cache backend specified but does not declare cache tags. #'
10
- includes :
11
- - 'vendor/phpstan/phpstan-deprecation-rules/rules.neon'
You can’t perform that action at this time.
0 commit comments