File tree 3 files changed +16
-4
lines changed
3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ deptrac: tools/deptrac
38
38
.PHONY : deptrac
39
39
40
40
infection : tools/infection tools/infection.pubkey
41
- phpdbg -qrr ./tools/infection --no-interaction --formatter=progress --min-msi=91 --min-covered-msi=91 --only-covered --ansi
41
+ phpdbg -qrr ./tools/infection --no-interaction --formatter=progress --min-msi=95 --min-covered-msi=95 --only-covered --ansi
42
42
.PHONY : infection
43
43
44
44
phpunit : tools/phpunit
@@ -83,10 +83,10 @@ tools/deptrac:
83
83
curl -Ls http://get.sensiolabs.de/deptrac.phar -o tools/deptrac && chmod +x tools/deptrac
84
84
85
85
tools/infection : tools/infection.pubkey
86
- curl -Ls https://github.com/infection/infection/releases/download/0.8.1 /infection.phar -o tools/infection && chmod +x tools/infection
86
+ curl -Ls https://github.com/infection/infection/releases/download/0.9.0 /infection.phar -o tools/infection && chmod +x tools/infection
87
87
88
88
tools/infection.pubkey :
89
- curl -Ls https://github.com/infection/infection/releases/download/0.8.1 /infection.phar.pubkey -o tools/infection.pubkey
89
+ curl -Ls https://github.com/infection/infection/releases/download/0.9.0 /infection.phar.pubkey -o tools/infection.pubkey
90
90
91
91
tools/box :
92
92
curl -Ls https://github.com/humbug/box/releases/download/3.0.0-beta.0/box.phar -o tools/box && chmod +x tools/box
Original file line number Diff line number Diff line change 7
7
},
8
8
"logs": {
9
9
"text": "build/infection-log.txt"
10
+ },
11
+ "mutators": {
12
+ "@default": true,
13
+ "IdenticalEqual": false,
14
+ "NotIdenticalNotEqual": false,
15
+ "ProtectedVisibility": {
16
+ "ignore": [
17
+ "Zalas\\Injector\\PHPUnit\\Symfony\\TestCase\\SymfonyKernel::bootKernel",
18
+ "Zalas\\Injector\\PHPUnit\\Symfony\\TestCase\\SymfonyKernel::createKernel",
19
+ "Zalas\\Injector\\PHPUnit\\Symfony\\TestCase\\SymfonyKernel::getKernelClass"
20
+ ]
21
+ }
10
22
}
11
23
}
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ protected static function getKernelClass(array $options = []): string
51
51
*/
52
52
protected static function ensureKernelShutdown (): void
53
53
{
54
- if (null !== static ::$ kernel ) {
54
+ if (static ::$ kernel instanceof KernelInterface ) {
55
55
$ container = static ::$ kernel ->getContainer ();
56
56
static ::$ kernel ->shutdown ();
57
57
if ($ container instanceof ResettableContainerInterface) {
You can’t perform that action at this time.
0 commit comments