Browse Source

Offload coveraage whitelisting to xdebug

rpm
J. King 4 years ago
parent
commit
4421a9e510
  1. 4
      tests/bootstrap.php
  2. 2
      vendor-bin/phpunit/composer.json
  3. 34
      vendor-bin/phpunit/composer.lock

4
tests/bootstrap.php

@ -14,3 +14,7 @@ ini_set("zend.assertions", "1");
ini_set("assert.exception", "true");
error_reporting(\E_ALL);
require_once BASE."vendor".DIRECTORY_SEPARATOR."autoload.php";
if (function_exists("xdebug_set_filter")) {
xdebug_set_filter(\XDEBUG_FILTER_CODE_COVERAGE, \XDEBUG_PATH_WHITELIST, [BASE."lib/"]);
}

2
vendor-bin/phpunit/composer.json

@ -1,6 +1,6 @@
{
"require": {
"phpunit/phpunit": "8.*",
"phpunit/phpunit": "^8.0",
"dms/phpunit-arraysubset-asserts": "^0.1",
"phake/phake": "^3.0",
"clue/arguments": "^2.0",

34
vendor-bin/phpunit/composer.lock

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "95cd95b15b030103607205ea2f05ea81",
"content-hash": "1b9c1eee014ebc012eb65b77de64c784",
"packages": [
{
"name": "clue/arguments",
@ -249,16 +249,16 @@
},
{
"name": "phake/phake",
"version": "v3.1.6",
"version": "v3.1.7",
"source": {
"type": "git",
"url": "https://github.com/mlively/Phake.git",
"reference": "3848901ed8e236534ae684dd5cf0f3bfc4c8a24c"
"reference": "3b7a6db62dfe7015a480fa966967df28b3cb239d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/mlively/Phake/zipball/3848901ed8e236534ae684dd5cf0f3bfc4c8a24c",
"reference": "3848901ed8e236534ae684dd5cf0f3bfc4c8a24c",
"url": "https://api.github.com/repos/mlively/Phake/zipball/3b7a6db62dfe7015a480fa966967df28b3cb239d",
"reference": "3b7a6db62dfe7015a480fa966967df28b3cb239d",
"shasum": ""
},
"require": {
@ -303,7 +303,7 @@
"mock",
"testing"
],
"time": "2019-06-06T22:41:35+00:00"
"time": "2019-12-06T04:16:00+00:00"
},
{
"name": "phar-io/manifest",
@ -622,16 +622,16 @@
},
{
"name": "phpunit/php-code-coverage",
"version": "7.0.8",
"version": "7.0.10",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "aa0d179a13284c7420fc281fc32750e6cc7c9e2f"
"reference": "f1884187926fbb755a9aaf0b3836ad3165b478bf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/aa0d179a13284c7420fc281fc32750e6cc7c9e2f",
"reference": "aa0d179a13284c7420fc281fc32750e6cc7c9e2f",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f1884187926fbb755a9aaf0b3836ad3165b478bf",
"reference": "f1884187926fbb755a9aaf0b3836ad3165b478bf",
"shasum": ""
},
"require": {
@ -681,7 +681,7 @@
"testing",
"xunit"
],
"time": "2019-09-17T06:24:36+00:00"
"time": "2019-11-20T13:55:58+00:00"
},
{
"name": "phpunit/php-file-iterator",
@ -874,16 +874,16 @@
},
{
"name": "phpunit/phpunit",
"version": "8.4.1",
"version": "8.5.0",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "366a4a0f2b971fd43b7c351d621e8dd7d7131869"
"reference": "3ee1c1fd6fc264480c25b6fb8285edefe1702dab"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/366a4a0f2b971fd43b7c351d621e8dd7d7131869",
"reference": "366a4a0f2b971fd43b7c351d621e8dd7d7131869",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3ee1c1fd6fc264480c25b6fb8285edefe1702dab",
"reference": "3ee1c1fd6fc264480c25b6fb8285edefe1702dab",
"shasum": ""
},
"require": {
@ -927,7 +927,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "8.4-dev"
"dev-master": "8.5-dev"
}
},
"autoload": {
@ -953,7 +953,7 @@
"testing",
"xunit"
],
"time": "2019-10-07T12:57:41+00:00"
"time": "2019-12-06T05:41:38+00:00"
},
{
"name": "sebastian/code-unit-reverse-lookup",

Loading…
Cancel
Save