-
-
Save krakjoe/8272c747ed247fedbed1c25a2831f09f to your computer and use it in GitHub Desktop.
running infection+pcov
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* I ran this in root folder to clobber xdebug in tests/, and ran pcov/clobber directly in infections vendor dir */ | |
exec("find tests -name Runtime.php", $return); | |
foreach ($return as $line) { | |
$path = preg_replace("~/vendor/sebastian/environment/src/Runtime.php~", "", $line); | |
exec("vendor/bin/pcov {$path} clobber"); | |
} | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/composer.json b/composer.json | |
index 5aa092f..57bf46b 100644 | |
--- a/composer.json | |
+++ b/composer.json | |
@@ -67,6 +67,7 @@ | |
"nikic/php-parser": "^4.1", | |
"ocramius/package-versions": "^1.2", | |
"padraic/phar-updater": "^1.0.4", | |
+ "pcov/clobber": "^2.0", | |
"pimple/pimple": "^3.2", | |
"sebastian/diff": "^1.4 || ^2.0 || ^3.0", | |
"symfony/console": "^3.4 || ^4.0", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/composer.lock b/composer.lock | |
index f54f983..1812100 100644 | |
--- a/composer.lock | |
+++ b/composer.lock | |
@@ -1,23 +1,23 @@ | |
{ | |
"_readme": [ | |
"This file locks the dependencies of your project to a known state", | |
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", | |
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", | |
"This file is @generated automatically" | |
], | |
- "content-hash": "f383525345ab9a6483739e1d7be4e750", | |
+ "content-hash": "33f2724d9e13d54eb2bf14c493b8743b", | |
"packages": [ | |
{ | |
"name": "composer/ca-bundle", | |
- "version": "1.1.3", | |
+ "version": "1.1.4", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/composer/ca-bundle.git", | |
- "reference": "8afa52cd417f4ec417b4bfe86b68106538a87660" | |
+ "reference": "558f321c52faeb4828c03e7dc0cfe39a09e09a2d" | |
}, | |
"dist": { | |
"type": "zip", | |
- "url": "https://api.github.com/repos/composer/ca-bundle/zipball/8afa52cd417f4ec417b4bfe86b68106538a87660", | |
- "reference": "8afa52cd417f4ec417b4bfe86b68106538a87660", | |
+ "url": "https://api.github.com/repos/composer/ca-bundle/zipball/558f321c52faeb4828c03e7dc0cfe39a09e09a2d", | |
+ "reference": "558f321c52faeb4828c03e7dc0cfe39a09e09a2d", | |
"shasum": "" | |
}, | |
"require": { | |
@@ -60,20 +60,20 @@ | |
"ssl", | |
"tls" | |
], | |
- "time": "2018-10-18T06:09:13+00:00" | |
+ "time": "2019-01-28T09:30:10+00:00" | |
}, | |
{ | |
"name": "composer/xdebug-handler", | |
- "version": "1.3.0", | |
+ "version": "1.3.2", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/composer/xdebug-handler.git", | |
- "reference": "b8e9745fb9b06ea6664d8872c4505fb16df4611c" | |
+ "reference": "d17708133b6c276d6e42ef887a877866b909d892" | |
}, | |
"dist": { | |
"type": "zip", | |
- "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/b8e9745fb9b06ea6664d8872c4505fb16df4611c", | |
- "reference": "b8e9745fb9b06ea6664d8872c4505fb16df4611c", | |
+ "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/d17708133b6c276d6e42ef887a877866b909d892", | |
+ "reference": "d17708133b6c276d6e42ef887a877866b909d892", | |
"shasum": "" | |
}, | |
"require": { | |
@@ -104,27 +104,27 @@ | |
"Xdebug", | |
"performance" | |
], | |
- "time": "2018-08-31T19:07:57+00:00" | |
+ "time": "2019-01-28T20:25:53+00:00" | |
}, | |
{ | |
"name": "justinrainbow/json-schema", | |
- "version": "5.2.7", | |
+ "version": "5.2.8", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/justinrainbow/json-schema.git", | |
- "reference": "8560d4314577199ba51bf2032f02cd1315587c23" | |
+ "reference": "dcb6e1006bb5fd1e392b4daa68932880f37550d4" | |
}, | |
"dist": { | |
"type": "zip", | |
- "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/8560d4314577199ba51bf2032f02cd1315587c23", | |
- "reference": "8560d4314577199ba51bf2032f02cd1315587c23", | |
+ "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/dcb6e1006bb5fd1e392b4daa68932880f37550d4", | |
+ "reference": "dcb6e1006bb5fd1e392b4daa68932880f37550d4", | |
"shasum": "" | |
}, | |
"require": { | |
"php": ">=5.3.3" | |
}, | |
"require-dev": { | |
- "friendsofphp/php-cs-fixer": "^2.1", | |
+ "friendsofphp/php-cs-fixer": "~2.2.20", | |
"json-schema/json-schema-test-suite": "1.2.0", | |
"phpunit/phpunit": "^4.8.35" | |
}, | |
@@ -170,20 +170,20 @@ | |
"json", | |
"schema" | |
], | |
- "time": "2018-02-14T22:26:30+00:00" | |
+ "time": "2019-01-14T23:55:14+00:00" | |
}, | |
{ | |
"name": "nikic/php-parser", | |
- "version": "v4.1.0", | |
+ "version": "v4.2.0", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/nikic/PHP-Parser.git", | |
- "reference": "d0230c5c77a7e3cfa69446febf340978540958c0" | |
+ "reference": "594bcae1fc0bccd3993d2f0d61a018e26ac2865a" | |
}, | |
"dist": { | |
"type": "zip", | |
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/d0230c5c77a7e3cfa69446febf340978540958c0", | |
- "reference": "d0230c5c77a7e3cfa69446febf340978540958c0", | |
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/594bcae1fc0bccd3993d2f0d61a018e26ac2865a", | |
+ "reference": "594bcae1fc0bccd3993d2f0d61a018e26ac2865a", | |
"shasum": "" | |
}, | |
"require": { | |
@@ -199,7 +199,7 @@ | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
- "dev-master": "4.1-dev" | |
+ "dev-master": "4.2-dev" | |
} | |
}, | |
"autoload": { | |
@@ -221,7 +221,7 @@ | |
"parser", | |
"php" | |
], | |
- "time": "2018-10-10T09:24:14+00:00" | |
+ "time": "2019-01-12T16:31:37+00:00" | |
}, | |
{ | |
"name": "ocramius/package-versions", | |
@@ -393,6 +393,36 @@ | |
], | |
"time": "2018-03-30T12:52:15+00:00" | |
}, | |
+ { | |
+ "name": "pcov/clobber", | |
+ "version": "v2.0.1", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/krakjoe/pcov-clobber.git", | |
+ "reference": "c33fa0e1b3da4bd33a354935690ea3a14f4a8ade" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/krakjoe/pcov-clobber/zipball/c33fa0e1b3da4bd33a354935690ea3a14f4a8ade", | |
+ "reference": "c33fa0e1b3da4bd33a354935690ea3a14f4a8ade", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "ext-pcov": "^1.0", | |
+ "nikic/php-parser": "^4.2" | |
+ }, | |
+ "bin": [ | |
+ "bin/pcov" | |
+ ], | |
+ "type": "library", | |
+ "autoload": { | |
+ "psr-4": { | |
+ "pcov\\Clobber\\": "src/pcov/clobber" | |
+ } | |
+ }, | |
+ "notification-url": "https://packagist.org/downloads/", | |
+ "time": "2019-02-05T10:57:03+00:00" | |
+ }, | |
{ | |
"name": "pimple/pimple", | |
"version": "v3.2.3", | |
@@ -494,16 +524,16 @@ | |
}, | |
{ | |
"name": "psr/log", | |
- "version": "1.0.2", | |
+ "version": "1.1.0", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/php-fig/log.git", | |
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" | |
+ "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd" | |
}, | |
"dist": { | |
"type": "zip", | |
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", | |
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", | |
+ "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd", | |
+ "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd", | |
"shasum": "" | |
}, | |
"require": { | |
@@ -537,7 +567,7 @@ | |
"psr", | |
"psr-3" | |
], | |
- "time": "2016-10-10T12:19:37+00:00" | |
+ "time": "2018-11-20T15:27:04+00:00" | |
}, | |
{ | |
"name": "sebastian/diff", | |
@@ -593,26 +623,30 @@ | |
}, | |
{ | |
"name": "symfony/console", | |
- "version": "v4.1.7", | |
+ "version": "v4.2.3", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/symfony/console.git", | |
- "reference": "432122af37d8cd52fba1b294b11976e0d20df595" | |
+ "reference": "1f0ad51dfde4da8a6070f06adc58b4e37cbb37a4" | |
}, | |
"dist": { | |
"type": "zip", | |
- "url": "https://api.github.com/repos/symfony/console/zipball/432122af37d8cd52fba1b294b11976e0d20df595", | |
- "reference": "432122af37d8cd52fba1b294b11976e0d20df595", | |
+ "url": "https://api.github.com/repos/symfony/console/zipball/1f0ad51dfde4da8a6070f06adc58b4e37cbb37a4", | |
+ "reference": "1f0ad51dfde4da8a6070f06adc58b4e37cbb37a4", | |
"shasum": "" | |
}, | |
"require": { | |
"php": "^7.1.3", | |
+ "symfony/contracts": "^1.0", | |
"symfony/polyfill-mbstring": "~1.0" | |
}, | |
"conflict": { | |
"symfony/dependency-injection": "<3.4", | |
"symfony/process": "<3.3" | |
}, | |
+ "provide": { | |
+ "psr/log-implementation": "1.0" | |
+ }, | |
"require-dev": { | |
"psr/log": "~1.0", | |
"symfony/config": "~3.4|~4.0", | |
@@ -622,7 +656,7 @@ | |
"symfony/process": "~3.4|~4.0" | |
}, | |
"suggest": { | |
- "psr/log-implementation": "For using the console logger", | |
+ "psr/log": "For using the console logger", | |
"symfony/event-dispatcher": "", | |
"symfony/lock": "", | |
"symfony/process": "" | |
@@ -630,7 +664,7 @@ | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
- "dev-master": "4.1-dev" | |
+ "dev-master": "4.2-dev" | |
} | |
}, | |
"autoload": { | |
@@ -657,20 +691,88 @@ | |
], | |
"description": "Symfony Console Component", | |
"homepage": "https://symfony.com", | |
- "time": "2018-10-31T09:30:44+00:00" | |
+ "time": "2019-01-25T14:35:16+00:00" | |
+ }, | |
+ { | |
+ "name": "symfony/contracts", | |
+ "version": "v1.0.2", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/symfony/contracts.git", | |
+ "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/symfony/contracts/zipball/1aa7ab2429c3d594dd70689604b5cf7421254cdf", | |
+ "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "php": "^7.1.3" | |
+ }, | |
+ "require-dev": { | |
+ "psr/cache": "^1.0", | |
+ "psr/container": "^1.0" | |
+ }, | |
+ "suggest": { | |
+ "psr/cache": "When using the Cache contracts", | |
+ "psr/container": "When using the Service contracts", | |
+ "symfony/cache-contracts-implementation": "", | |
+ "symfony/service-contracts-implementation": "", | |
+ "symfony/translation-contracts-implementation": "" | |
+ }, | |
+ "type": "library", | |
+ "extra": { | |
+ "branch-alias": { | |
+ "dev-master": "1.0-dev" | |
+ } | |
+ }, | |
+ "autoload": { | |
+ "psr-4": { | |
+ "Symfony\\Contracts\\": "" | |
+ }, | |
+ "exclude-from-classmap": [ | |
+ "**/Tests/" | |
+ ] | |
+ }, | |
+ "notification-url": "https://packagist.org/downloads/", | |
+ "license": [ | |
+ "MIT" | |
+ ], | |
+ "authors": [ | |
+ { | |
+ "name": "Nicolas Grekas", | |
+ "email": "p@tchwork.com" | |
+ }, | |
+ { | |
+ "name": "Symfony Community", | |
+ "homepage": "https://symfony.com/contributors" | |
+ } | |
+ ], | |
+ "description": "A set of abstractions extracted out of the Symfony components", | |
+ "homepage": "https://symfony.com", | |
+ "keywords": [ | |
+ "abstractions", | |
+ "contracts", | |
+ "decoupling", | |
+ "interfaces", | |
+ "interoperability", | |
+ "standards" | |
+ ], | |
+ "time": "2018-12-05T08:06:11+00:00" | |
}, | |
{ | |
"name": "symfony/filesystem", | |
- "version": "v4.1.7", | |
+ "version": "v4.2.3", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/symfony/filesystem.git", | |
- "reference": "fd7bd6535beb1f0a0a9e3ee960666d0598546981" | |
+ "reference": "7c16ebc2629827d4ec915a52ac809768d060a4ee" | |
}, | |
"dist": { | |
"type": "zip", | |
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/fd7bd6535beb1f0a0a9e3ee960666d0598546981", | |
- "reference": "fd7bd6535beb1f0a0a9e3ee960666d0598546981", | |
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/7c16ebc2629827d4ec915a52ac809768d060a4ee", | |
+ "reference": "7c16ebc2629827d4ec915a52ac809768d060a4ee", | |
"shasum": "" | |
}, | |
"require": { | |
@@ -680,7 +782,7 @@ | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
- "dev-master": "4.1-dev" | |
+ "dev-master": "4.2-dev" | |
} | |
}, | |
"autoload": { | |
@@ -707,20 +809,20 @@ | |
], | |
"description": "Symfony Filesystem Component", | |
"homepage": "https://symfony.com", | |
- "time": "2018-10-30T13:18:25+00:00" | |
+ "time": "2019-01-16T20:35:37+00:00" | |
}, | |
{ | |
"name": "symfony/finder", | |
- "version": "v4.1.7", | |
+ "version": "v4.2.3", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/symfony/finder.git", | |
- "reference": "1f17195b44543017a9c9b2d437c670627e96ad06" | |
+ "reference": "ef71816cbb264988bb57fe6a73f610888b9aa70c" | |
}, | |
"dist": { | |
"type": "zip", | |
- "url": "https://api.github.com/repos/symfony/finder/zipball/1f17195b44543017a9c9b2d437c670627e96ad06", | |
- "reference": "1f17195b44543017a9c9b2d437c670627e96ad06", | |
+ "url": "https://api.github.com/repos/symfony/finder/zipball/ef71816cbb264988bb57fe6a73f610888b9aa70c", | |
+ "reference": "ef71816cbb264988bb57fe6a73f610888b9aa70c", | |
"shasum": "" | |
}, | |
"require": { | |
@@ -729,7 +831,7 @@ | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
- "dev-master": "4.1-dev" | |
+ "dev-master": "4.2-dev" | |
} | |
}, | |
"autoload": { | |
@@ -756,7 +858,7 @@ | |
], | |
"description": "Symfony Finder Component", | |
"homepage": "https://symfony.com", | |
- "time": "2018-10-03T08:47:56+00:00" | |
+ "time": "2019-01-16T20:35:37+00:00" | |
}, | |
{ | |
"name": "symfony/polyfill-ctype", | |
@@ -877,16 +979,16 @@ | |
}, | |
{ | |
"name": "symfony/process", | |
- "version": "v4.1.7", | |
+ "version": "v4.2.3", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/symfony/process.git", | |
- "reference": "3e83acef94d979b1de946599ef86b3a352abcdc9" | |
+ "reference": "6c05edb11fbeff9e2b324b4270ecb17911a8b7ad" | |
}, | |
"dist": { | |
"type": "zip", | |
- "url": "https://api.github.com/repos/symfony/process/zipball/3e83acef94d979b1de946599ef86b3a352abcdc9", | |
- "reference": "3e83acef94d979b1de946599ef86b3a352abcdc9", | |
+ "url": "https://api.github.com/repos/symfony/process/zipball/6c05edb11fbeff9e2b324b4270ecb17911a8b7ad", | |
+ "reference": "6c05edb11fbeff9e2b324b4270ecb17911a8b7ad", | |
"shasum": "" | |
}, | |
"require": { | |
@@ -895,7 +997,7 @@ | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
- "dev-master": "4.1-dev" | |
+ "dev-master": "4.2-dev" | |
} | |
}, | |
"autoload": { | |
@@ -922,20 +1024,20 @@ | |
], | |
"description": "Symfony Process Component", | |
"homepage": "https://symfony.com", | |
- "time": "2018-10-14T20:48:13+00:00" | |
+ "time": "2019-01-24T22:05:03+00:00" | |
}, | |
{ | |
"name": "symfony/yaml", | |
- "version": "v4.1.7", | |
+ "version": "v4.2.3", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/symfony/yaml.git", | |
- "reference": "367e689b2fdc19965be435337b50bc8adf2746c9" | |
+ "reference": "d461670ee145092b7e2a56c1da7118f19cadadb0" | |
}, | |
"dist": { | |
"type": "zip", | |
- "url": "https://api.github.com/repos/symfony/yaml/zipball/367e689b2fdc19965be435337b50bc8adf2746c9", | |
- "reference": "367e689b2fdc19965be435337b50bc8adf2746c9", | |
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/d461670ee145092b7e2a56c1da7118f19cadadb0", | |
+ "reference": "d461670ee145092b7e2a56c1da7118f19cadadb0", | |
"shasum": "" | |
}, | |
"require": { | |
@@ -954,7 +1056,7 @@ | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
- "dev-master": "4.1-dev" | |
+ "dev-master": "4.2-dev" | |
} | |
}, | |
"autoload": { | |
@@ -981,24 +1083,25 @@ | |
], | |
"description": "Symfony Yaml Component", | |
"homepage": "https://symfony.com", | |
- "time": "2018-10-02T16:36:10+00:00" | |
+ "time": "2019-01-16T20:35:37+00:00" | |
}, | |
{ | |
"name": "webmozart/assert", | |
- "version": "1.3.0", | |
+ "version": "1.4.0", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/webmozart/assert.git", | |
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a" | |
+ "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9" | |
}, | |
"dist": { | |
"type": "zip", | |
- "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a", | |
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a", | |
+ "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9", | |
+ "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9", | |
"shasum": "" | |
}, | |
"require": { | |
- "php": "^5.3.3 || ^7.0" | |
+ "php": "^5.3.3 || ^7.0", | |
+ "symfony/polyfill-ctype": "^1.8" | |
}, | |
"require-dev": { | |
"phpunit/phpunit": "^4.6", | |
@@ -1031,7 +1134,7 @@ | |
"check", | |
"validate" | |
], | |
- "time": "2018-01-29T19:49:41+00:00" | |
+ "time": "2018-12-25T11:19:39+00:00" | |
} | |
], | |
"packages-dev": [ | |
@@ -1705,16 +1808,16 @@ | |
}, | |
{ | |
"name": "phpunit/phpunit", | |
- "version": "6.5.13", | |
+ "version": "6.5.14", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/sebastianbergmann/phpunit.git", | |
- "reference": "0973426fb012359b2f18d3bd1e90ef1172839693" | |
+ "reference": "bac23fe7ff13dbdb461481f706f0e9fe746334b7" | |
}, | |
"dist": { | |
"type": "zip", | |
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0973426fb012359b2f18d3bd1e90ef1172839693", | |
- "reference": "0973426fb012359b2f18d3bd1e90ef1172839693", | |
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/bac23fe7ff13dbdb461481f706f0e9fe746334b7", | |
+ "reference": "bac23fe7ff13dbdb461481f706f0e9fe746334b7", | |
"shasum": "" | |
}, | |
"require": { | |
@@ -1785,7 +1888,7 @@ | |
"testing", | |
"xunit" | |
], | |
- "time": "2018-09-08T15:10:43+00:00" | |
+ "time": "2019-02-01T05:22:47+00:00" | |
}, | |
{ | |
"name": "phpunit/phpunit-mock-objects", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Command/InfectionCommand.php b/src/Command/InfectionCommand.php | |
index 4a8cace..3a85fb3 100644 | |
--- a/src/Command/InfectionCommand.php | |
+++ b/src/Command/InfectionCommand.php | |
@@ -198,12 +198,6 @@ final class InfectionCommand extends BaseCommand | |
{ | |
$container = $this->getContainer(); | |
- if (!$container->get('coverage.checker')->hasDebuggerOrCoverageOption()) { | |
- $this->consoleOutput->logMissedDebuggerOrCoverageOption(); | |
- | |
- return 1; | |
- } | |
- | |
$config = $container->get('infection.config'); | |
$this->includeUserBootstrap($config); | |
diff --git a/src/Console/Application.php b/src/Console/Application.php | |
index 5059e86..74a7cfc 100644 | |
--- a/src/Console/Application.php | |
+++ b/src/Console/Application.php | |
@@ -188,6 +188,8 @@ ASCII; | |
$this->consoleOutput->logRunningWithDebugger(\PHP_SAPI); | |
} elseif (\extension_loaded('xdebug')) { | |
$this->consoleOutput->logRunningWithDebugger('Xdebug'); | |
- } | |
+ } elseif (\extension_loaded('pcov')) { | |
+ $this->consoleOutput->logRunningWithDebugger('pcov'); | |
+ } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's a log from a run, I think a lot of the skips are because you are detecting phpdbg/xdebug ...