File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ matrix:
17
17
- php : 7.2
18
18
env : PHPSTAN=true
19
19
- php : 7.4
20
- env : COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text"
20
+ env : COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text" TESTNOSECURITYBUNDLE=true
21
21
22
22
# Test LTS versions.
23
23
- php : 7.4
@@ -55,8 +55,7 @@ script:
55
55
- if [[ $PHPSTAN == true ]]; then composer phpstan; fi
56
56
- ./vendor/bin/phpunit
57
57
# Let's test without the security bundle
58
- - composer remove --dev symfony/security-bundle
59
- - phpunit Tests/NoSecurityBundleTest.php
58
+ - if [[ $TESTNOSECURITYBUNDLE == true ]]; then composer remove --dev symfony/security-bundle && phpunit Tests/NoSecurityBundleTest.php; fi
60
59
61
60
after_script :
62
61
- ./vendor/bin/php-coveralls -v
Original file line number Diff line number Diff line change 35
35
</logging >
36
36
37
37
<listeners >
38
- <listener class =" Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
38
+ <listener class =" Symfony\Bridge\PhpUnit\SymfonyTestsListener" >
39
+ <arguments >
40
+ <array >
41
+ <!-- set this option to 0 to disable the DebugClassLoader integration -->
42
+ <!-- See https://github.com/sebastianbergmann/phpunit/issues/4002 -->
43
+ <element key =" debug-class-loader" ><integer >0</integer ></element >
44
+ </array >
45
+ </arguments >
46
+ </listener >
39
47
</listeners >
40
48
</phpunit >
You can’t perform that action at this time.
0 commit comments