Skip to content

Commit 0e09fe1

Browse files
committed
[TASK] Simplify EXT:solr tests stack
Prep. for CI-Deps in standalone directory and moving from require-dev on all EXT:solr* repos.
1 parent 010ea8c commit 0e09fe1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Build/Test/phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ parameters:
66
treatPhpDocTypesAsCertain: false
77

88
bootstrapFiles:
9-
- %rootDir%/../../apache-solr-for-typo3/solr/Build/Test/phpstan-constants.php
9+
- %env.COMPOSER_VENDOR_DIR%/apache-solr-for-typo3/solr/Build/Test/phpstan-constants.php
1010

1111
paths:
1212
- %currentWorkingDirectory%/Classes

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
"tests:unit": [ "phpunit --colors -c Build/Test/UnitTests.xml" ],
138138
"tests:integration": [ "phpunit --colors -c Build/Test/IntegrationTests.xml" ],
139139
"tests:phpstan": [
140-
"phpstan analyze -c Build/Test/phpstan.neon"
140+
"COMPOSER_VENDOR_DIR=$($COMPOSER_BINARY config vendor-dir) phpstan analyze -c Build/Test/phpstan.neon"
141141
],
142142
"t3:standards:fix": [
143143
"php-cs-fixer fix"

0 commit comments

Comments
 (0)