Skip to content

Commit 07bd20d

Browse files
author
Matthias Leutenegger
committed
add: bootstrap file
1 parent 4220d52 commit 07bd20d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: run phpunit
8282
run: vendor/bin/phpunit -d memory_limit=1G -c "tests/phpunit.xml" tests/
8383
- name: generate coverage
84-
run: phpdbg -qrr vendor/bin/phpunit -d memory_limit=4G --coverage-clover=coverage.xml -c "tests/phpunit.xml" tests/
84+
run: phpdbg -qrr vendor/bin/phpunit -d memory_limit=4G --process-isolation --coverage-clover=coverage.xml -c "tests/phpunit.xml" tests/
8585
if: ${{ matrix.php == '7.4' && matrix.recipe == '4.x-dev' }}
8686
- name: submit coverage
8787
uses: codecov/codecov-action@v2

phpstan.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
parameters:
2+
bootstrapFiles:
3+
- bootstrap.php
24
earlyTerminatingMethodCalls:
35
SilverStripe\Control\Controller:
46
- redirect

0 commit comments

Comments
 (0)