Created
February 11, 2015 22:52
-
-
Save rollenes/fd4930184ad7e2375de5 to your computer and use it in GitHub Desktop.
Running Humbug on Humbug - logs
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
Humbug running test suite to generate logs and code coverage data... | |
Humbug has completed the initial test run successfully. | |
Tests: 147 Line Coverage: 36.68% | |
Humbug is analysing source files... | |
Mutation Testing is commencing on 75 files... | |
(.: killed, M: escaped, S: uncovered, E: fatal error, T: timed out) | |
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS | 60 ( 4/75) | |
SSSSSSSSSSSSSSSM..MMM.MM.SSSS.M.MSMMMMSSMMMMSSSSSMMSSEM.MMMM | 120 (11/75) | |
MMM..M.MTMMMMMM..SMMMMMMSS...MMSSSSSSSSSSSSSSS..SSSSSSSSSSSS | 180 (12/75) | |
SSSSSSSSSSSSSSSSSSSSSSSSSSSSEEE.EEEE.EEEE.EEEE.EEEE.EEEE.EEE | 240 (19/75) | |
E.EEEE.EEEE.EEEE.EEEE.EEEEEEEEEEEE.EEEEEEEEEEEE.ESSSSSSSSSSS | 300 (28/75) | |
SSSSSSSSSSSSMMM.MMMMMMMM.M.SMMMSSSSMM...MM...M.M.......EEEEE | 360 (29/75) | |
EEEEEEEEEE.EEEE.SSSSSSSSSSSSSSSMMMMMMMM.MMM.MM.MMMSMMM..S... | 420 (30/75) | |
SSSSSSSSSSSSSSSMMMMMMMM.MMM.MM.MMMSMMM..S...SSSSSSSSSSSSSSSS | 480 (32/75) | |
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSMMMMMMMM.MMM.MM.M | 540 (33/75) | |
.SMMM..S...SSSSSSSSSSSSSSSSSSSSSSSSSEEEEEEEEEEEEEEEEE.EEEEEE | 600 (34/75) | |
.EEEEEEEE.EEEE..M.MMMS..M.MMMSM..MMM.MMMS.EEEE.EEEE.EEEEEEEE | 660 (41/75) | |
E.EEEE.EEEE.EEEEEEEEE............MMM..EEEE.E..SSSSSEEE.EEEE. | 720 (48/75) | |
E..SSSSSEEE.EEEE.EEEE.EEEE.EEEE.EEEE.EEEE.EEEE.EEEE.E....... | 780 (59/75) | |
..EEE.E.............EEE.ESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS | 840 (62/75) | |
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.. | 900 (63/75) | |
M.SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS | 960 (71/75) | |
SSSSMM.M.M..MM.M.SSSSSSSSSSS....M..MMM........M.M........... | 1020 (72/75) | |
...M....M.M...MM..MM..M..........SSSSSSSSMSSSS | |
1066 mutations were generated: | |
206 mutants were killed | |
486 mutants were not covered by tests | |
159 covered mutants were not detected | |
214 fatal errors were encountered | |
1 time outs were encountered | |
Out of 580 test covered mutations, 73% were detected. | |
Out of 1066 total mutations, 39% were detected. | |
Out of 1066 total mutations, 54% were covered by tests. | |
Remember that some mutants will inevitably be harmless (i.e. false positives). | |
Humbug results are being logged as JSON to: humbuglog.json | |
Humbug results are being logged as TEXT to: humbuglog.txt | |
------- | |
Escapes | |
------- | |
1) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Utility\Tokenizer::getTokens() in /home/rolen/php/humbug/src/Utility/Tokenizer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
{ | |
- $newline = 0; | |
+ $newline = 1; | |
$tokens = token_get_all($source); | |
$ntokens = []; | |
foreach ($tokens as $token) { | |
$tname = is_array($token) ? $token[0] : null; | |
$tdata = is_array($token) ? $token[1] : $token; | |
$split = preg_split("%(\r\n|\n)%", $tdata, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); | |
2) \Humbug\Mutator\Arithmetic\Subtraction | |
Diff on \Humbug\Utility\Tokenizer::getTokens() in /home/rolen/php/humbug/src/Utility/Tokenizer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$tdata = is_array($token) ? $token[1] : $token; | |
- $split = preg_split("%(\r\n|\n)%", $tdata, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); | |
+ $split = preg_split("%(\r\n|\n)%", $tdata, +1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); | |
if ($tname == T_CONSTANT_ENCAPSED_STRING) { | |
$ntokens[] = [$tname, $tdata]; | |
continue; | |
} elseif (substr($tdata, 0, 2) == '/*') { | |
$ntokens[] = [$tname, $tdata]; | |
foreach ($split as $value) { | |
3) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Utility\Tokenizer::getTokens() in /home/rolen/php/humbug/src/Utility/Tokenizer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$tdata = is_array($token) ? $token[1] : $token; | |
- $split = preg_split("%(\r\n|\n)%", $tdata, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); | |
+ $split = preg_split("%(\r\n|\n)%", $tdata, -0, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); | |
if ($tname == T_CONSTANT_ENCAPSED_STRING) { | |
$ntokens[] = [$tname, $tdata]; | |
continue; | |
} elseif (substr($tdata, 0, 2) == '/*') { | |
$ntokens[] = [$tname, $tdata]; | |
foreach ($split as $value) { | |
4) \Humbug\Mutator\Arithmetic\BitwiseOr | |
Diff on \Humbug\Utility\Tokenizer::getTokens() in /home/rolen/php/humbug/src/Utility/Tokenizer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$tdata = is_array($token) ? $token[1] : $token; | |
- $split = preg_split("%(\r\n|\n)%", $tdata, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); | |
+ $split = preg_split("%(\r\n|\n)%", $tdata, -1, PREG_SPLIT_DELIM_CAPTURE & PREG_SPLIT_NO_EMPTY); | |
if ($tname == T_CONSTANT_ENCAPSED_STRING) { | |
$ntokens[] = [$tname, $tdata]; | |
continue; | |
} elseif (substr($tdata, 0, 2) == '/*') { | |
$ntokens[] = [$tname, $tdata]; | |
foreach ($split as $value) { | |
5) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Utility\Tokenizer::getTokens() in /home/rolen/php/humbug/src/Utility/Tokenizer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (substr($tdata, 0, 2) == '/*') { | |
+ } elseif (substr($tdata, 1, 2) == '/*') { | |
$ntokens[] = [$tname, $tdata]; | |
foreach ($split as $value) { | |
if ($value == "\r\n" || $value == "\n") { | |
$newline++; | |
} | |
} | |
6) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Utility\Tokenizer::getTokens() in /home/rolen/php/humbug/src/Utility/Tokenizer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (substr($tdata, 0, 2) == '/*') { | |
+ } elseif (substr($tdata, 0, 3) == '/*') { | |
$ntokens[] = [$tname, $tdata]; | |
foreach ($split as $value) { | |
if ($value == "\r\n" || $value == "\n") { | |
$newline++; | |
} | |
} | |
7) \Humbug\Mutator\Boolean\LogicalOr | |
Diff on \Humbug\Utility\Tokenizer::getTokens() in /home/rolen/php/humbug/src/Utility/Tokenizer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
foreach ($split as $data) { | |
- if ($data == "\r\n" || $data == "\n") { | |
+ if ($data == "\r\n" && $data == "\n") { | |
$newline++; | |
$ntokens[] = [self::T_NEWLINE, $data, $newline]; | |
} else { | |
$ntokens[] = is_array($token) ? [$tname, $data] : $data; | |
} | |
} | |
8) \Humbug\Mutator\Increment\Increment | |
Diff on \Humbug\Utility\Tokenizer::getTokens() in /home/rolen/php/humbug/src/Utility/Tokenizer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if ($data == "\r\n" || $data == "\n") { | |
- $newline++; | |
+ $newline--; | |
$ntokens[] = [self::T_NEWLINE, $data, $newline]; | |
} else { | |
$ntokens[] = is_array($token) ? [$tname, $data] : $data; | |
} | |
} | |
} | |
9) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Adapter\Phpunit::getProcess() in /home/rolen/php/humbug/src/Adapter/Phpunit.php: | |
--- Original | |
+++ New | |
@@ @@ | |
*/ | |
- if (!in_array('--stop-on-failure', $jobopts['cliopts'])) { | |
+ if (in_array('--stop-on-failure', $jobopts['cliopts'])) { | |
array_unshift($jobopts['cliopts'], '--stop-on-failure'); | |
} | |
/** | |
* Setup a PHPUnit XML config file for the purposes of explicitly setting | |
* test case order (this will preserve anything else from the original) | |
10) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Adapter\Phpunit::getProcess() in /home/rolen/php/humbug/src/Adapter/Phpunit.php: | |
--- Original | |
+++ New | |
@@ @@ | |
foreach ($jobopts['cliopts'] as $key => $value) { | |
- if ($value == '--configuration' || $value == '-C') { | |
+ if ($value != '--configuration' || $value == '-C') { | |
unset($jobopts['cliopts'][$key]); | |
unset($jobopts['cliopts'][$key+1]); | |
} elseif (preg_match('%\\-\\-configuration=%', $value)) { | |
unset($jobopts['cliopts'][$key]); | |
} | |
} | |
11) \Humbug\Mutator\Boolean\LogicalOr | |
Diff on \Humbug\Adapter\Phpunit::getProcess() in /home/rolen/php/humbug/src/Adapter/Phpunit.php: | |
--- Original | |
+++ New | |
@@ @@ | |
foreach ($jobopts['cliopts'] as $key => $value) { | |
- if ($value == '--configuration' || $value == '-C') { | |
+ if ($value == '--configuration' && $value == '-C') { | |
unset($jobopts['cliopts'][$key]); | |
unset($jobopts['cliopts'][$key+1]); | |
} elseif (preg_match('%\\-\\-configuration=%', $value)) { | |
unset($jobopts['cliopts'][$key]); | |
} | |
} | |
12) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Adapter\Phpunit::getProcess() in /home/rolen/php/humbug/src/Adapter/Phpunit.php: | |
--- Original | |
+++ New | |
@@ @@ | |
foreach ($jobopts['cliopts'] as $key => $value) { | |
- if ($value == '--configuration' || $value == '-C') { | |
+ if ($value == '--configuration' || $value != '-C') { | |
unset($jobopts['cliopts'][$key]); | |
unset($jobopts['cliopts'][$key+1]); | |
} elseif (preg_match('%\\-\\-configuration=%', $value)) { | |
unset($jobopts['cliopts'][$key]); | |
} | |
} | |
13) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Adapter\Phpunit::getProcess() in /home/rolen/php/humbug/src/Adapter/Phpunit.php: | |
--- Original | |
+++ New | |
@@ @@ | |
*/ | |
- $timeout = 0; | |
+ $timeout = 1; | |
if ($firstRun) { | |
$jobopts['cliopts'] = array_merge( | |
$jobopts['cliopts'], | |
explode(' ', $jobopts['constraints']) | |
); | |
} else { | |
14) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Adapter\Phpunit::getProcess() in /home/rolen/php/humbug/src/Adapter/Phpunit.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$process = new PhpProcess($job, null, $_ENV); | |
- if (!defined('PHP_WINDOWS_VERSION_BUILD')) { | |
+ if (defined('PHP_WINDOWS_VERSION_BUILD')) { | |
$executableFinder = new PhpExecutableFinder(); | |
$php = $executableFinder->find(); | |
if ($php !== false) { | |
$process->setCommandLine('exec '.$php); | |
} | |
} | |
15) \Humbug\Mutator\ConditionalNegation\NotIdentical | |
Diff on \Humbug\Adapter\Phpunit::getProcess() in /home/rolen/php/humbug/src/Adapter/Phpunit.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$php = $executableFinder->find(); | |
- if ($php !== false) { | |
+ if ($php === false) { | |
$process->setCommandLine('exec '.$php); | |
} | |
} | |
$process->setTimeout($timeout); | |
16) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Adapter\Phpunit::getProcess() in /home/rolen/php/humbug/src/Adapter/Phpunit.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$php = $executableFinder->find(); | |
- if ($php !== false) { | |
+ if ($php !== true) { | |
$process->setCommandLine('exec '.$php); | |
} | |
} | |
$process->setTimeout($timeout); | |
17) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Adapter\AdapterAbstract::ok() in /home/rolen/php/humbug/src/Adapter/AdapterAbstract.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (preg_match("%[\n\r]+not ok \\d+%", $output)) { | |
- return false; | |
+ return true; | |
} | |
return true; | |
} | |
/** | |
* Parse the test adapter result output and count ok results. | |
18) \Humbug\Mutator\Boolean\True | |
Diff on \Humbug\Adapter\AdapterAbstract::ok() in /home/rolen/php/humbug/src/Adapter/AdapterAbstract.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return true; | |
+ return false; | |
} | |
/** | |
* Parse the test adapter result output and count ok results. | |
* | |
* This assumes the output is in Test Anywhere Protocol (TAP) format. | |
19) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Adapter\Phpunit\Job::generate() in /home/rolen/php/humbug/src/Adapter/Phpunit/Job.php: | |
--- Original | |
+++ New | |
@@ @@ | |
PREPEND; | |
- if (!empty($bootstrap)) { | |
+ if (empty($bootstrap)) { | |
$buffer = $prepend . "\nrequire_once '{$bootstrap}';"; | |
} else { | |
$buffer = $prepend; | |
} | |
file_put_contents($file, $buffer); | |
} else { | |
20) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
self::$container = $container; | |
- self::$hasBootstrap = false; | |
+ self::$hasBootstrap = true; | |
/** | |
* Basically a carbon copy of how PHPUnit finds its er...config file? | |
*/ | |
$conf = null; | |
$dir = null; | |
21) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$testDir = self::$container->getTestRunDirectory(); | |
- if (!empty($testDir)) { | |
+ if (empty($testDir)) { | |
$dir = $testDir; | |
$conf = $dir . '/phpunit.xml'; | |
} elseif (!file_exists($conf)) { | |
$dir = self::$container->getBaseDirectory(); | |
$conf = $dir . '/phpunit.xml'; | |
} | |
22) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$conf = $dir . '/phpunit.xml'; | |
- } elseif (!file_exists($conf)) { | |
+ } elseif (file_exists($conf)) { | |
$dir = self::$container->getBaseDirectory(); | |
$conf = $dir . '/phpunit.xml'; | |
} | |
if (file_exists($conf)) { | |
$conf = realpath($conf); | |
} elseif (file_exists($conf . '.dist')) { | |
23) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- if (!empty($dir)) { | |
+ if (empty($dir)) { | |
$dir .= '/'; | |
} | |
/** | |
* Start the DOMmobile | |
*/ | |
24) \Humbug\Mutator\Boolean\True | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
*/ | |
- $oldValue = libxml_disable_entity_loader(true); | |
+ $oldValue = libxml_disable_entity_loader(false); | |
self::$dom = new \DOMDocument; | |
self::$dom->preserveWhiteSpace = false; | |
self::$dom->formatOutput = true; | |
self::$dom->loadXML(file_get_contents($conf)); | |
self::$root = self::$dom->documentElement; | |
libxml_disable_entity_loader($oldValue); | |
25) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
self::$dom = new \DOMDocument; | |
- self::$dom->preserveWhiteSpace = false; | |
+ self::$dom->preserveWhiteSpace = true; | |
self::$dom->formatOutput = true; | |
self::$dom->loadXML(file_get_contents($conf)); | |
self::$root = self::$dom->documentElement; | |
libxml_disable_entity_loader($oldValue); | |
self::handleRootAttributes($conf); | |
26) \Humbug\Mutator\Boolean\True | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
self::$dom->preserveWhiteSpace = false; | |
- self::$dom->formatOutput = true; | |
+ self::$dom->formatOutput = false; | |
self::$dom->loadXML(file_get_contents($conf)); | |
self::$root = self::$dom->documentElement; | |
libxml_disable_entity_loader($oldValue); | |
self::handleRootAttributes($conf); | |
27) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$length = $suite->childNodes->length; | |
- for ($i = 0; $i < $length; $i++) { | |
+ for ($i = 1; $i < $length; $i++) { | |
$node = $suite->childNodes->item($i); | |
if ($node instanceof \DOMElement | |
&& ($node->tagName == 'directory' | |
|| $node->tagName == 'exclude' | |
|| $node->tagName == 'file')) { | |
$fullPath = $dir . '/' . $node->nodeValue; | |
28) \Humbug\Mutator\ConditionalNegation\LessThan | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$length = $suite->childNodes->length; | |
- for ($i = 0; $i < $length; $i++) { | |
+ for ($i = 0; $i >= $length; $i++) { | |
$node = $suite->childNodes->item($i); | |
if ($node instanceof \DOMElement | |
&& ($node->tagName == 'directory' | |
|| $node->tagName == 'exclude' | |
|| $node->tagName == 'file')) { | |
$fullPath = $dir . '/' . $node->nodeValue; | |
29) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if ($node instanceof \DOMElement | |
- && ($node->tagName == 'directory' | |
+ || ($node->tagName == 'directory' | |
|| $node->tagName == 'exclude' | |
|| $node->tagName == 'file')) { | |
$fullPath = $dir . '/' . $node->nodeValue; | |
// Check if the paths exist. | |
$paths = glob($fullPath); | |
if (0 === count($paths)) { | |
30) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if ($node instanceof \DOMElement | |
- && ($node->tagName == 'directory' | |
+ && ($node->tagName != 'directory' | |
|| $node->tagName == 'exclude' | |
|| $node->tagName == 'file')) { | |
$fullPath = $dir . '/' . $node->nodeValue; | |
// Check if the paths exist. | |
$paths = glob($fullPath); | |
if (0 === count($paths)) { | |
31) \Humbug\Mutator\Boolean\LogicalOr | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
&& ($node->tagName == 'directory' | |
- || $node->tagName == 'exclude' | |
+ && $node->tagName == 'exclude' | |
|| $node->tagName == 'file')) { | |
$fullPath = $dir . '/' . $node->nodeValue; | |
// Check if the paths exist. | |
$paths = glob($fullPath); | |
if (0 === count($paths)) { | |
// It's no problem if an exclude path is missing. | |
32) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
&& ($node->tagName == 'directory' | |
- || $node->tagName == 'exclude' | |
+ || $node->tagName != 'exclude' | |
|| $node->tagName == 'file')) { | |
$fullPath = $dir . '/' . $node->nodeValue; | |
// Check if the paths exist. | |
$paths = glob($fullPath); | |
if (0 === count($paths)) { | |
// It's no problem if an exclude path is missing. | |
33) \Humbug\Mutator\Boolean\LogicalOr | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
|| $node->tagName == 'exclude' | |
- || $node->tagName == 'file')) { | |
+ && $node->tagName == 'file')) { | |
$fullPath = $dir . '/' . $node->nodeValue; | |
// Check if the paths exist. | |
$paths = glob($fullPath); | |
if (0 === count($paths)) { | |
// It's no problem if an exclude path is missing. | |
if ($node->tagName !== 'exclude') { | |
34) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
|| $node->tagName == 'exclude' | |
- || $node->tagName == 'file')) { | |
+ || $node->tagName != 'file')) { | |
$fullPath = $dir . '/' . $node->nodeValue; | |
// Check if the paths exist. | |
$paths = glob($fullPath); | |
if (0 === count($paths)) { | |
// It's no problem if an exclude path is missing. | |
if ($node->tagName !== 'exclude') { | |
35) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
- $suite1 = self::$xpath->query('/phpunit/testsuites/testsuite')->item(0); | |
+ $suite1 = self::$xpath->query('/phpunit/testsuites/testsuite')->item(1); | |
if (is_a($suite1, 'DOMElement')) { | |
self::handleSuite($suite1, $conf); | |
} | |
$saveFile = self::$container->getCacheDirectory() . '/phpunit.humbug.xml'; | |
self::$dom->save($saveFile); | |
36) \Humbug\Mutator\ConditionalNegation\Identical | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::handleSuite() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
// phpunit.xml may omit bootstrap location but grab it automatically - include explicitly | |
- if (self::$hasBootstrap === false && $child instanceof \DOMElement && $child->tagName == 'directory') { | |
+ if (self::$hasBootstrap !== false && $child instanceof \DOMElement && $child->tagName == 'directory') { | |
$bootstrapDir = self::makeAbsolutePath($child->nodeValue, dirname($configFile)); | |
if (file_exists($bootstrapDir . '/bootstrap.php')) { | |
self::$root->setAttribute('bootstrap', $bootstrapDir . '/bootstrap.php'); | |
self::$container->setBootstrap($bootstrapDir . '/bootstrap.php'); | |
self::$hasBootstrap = true; | |
} | |
37) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::handleSuite() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
// phpunit.xml may omit bootstrap location but grab it automatically - include explicitly | |
- if (self::$hasBootstrap === false && $child instanceof \DOMElement && $child->tagName == 'directory') { | |
+ if (self::$hasBootstrap === true && $child instanceof \DOMElement && $child->tagName == 'directory') { | |
$bootstrapDir = self::makeAbsolutePath($child->nodeValue, dirname($configFile)); | |
if (file_exists($bootstrapDir . '/bootstrap.php')) { | |
self::$root->setAttribute('bootstrap', $bootstrapDir . '/bootstrap.php'); | |
self::$container->setBootstrap($bootstrapDir . '/bootstrap.php'); | |
self::$hasBootstrap = true; | |
} | |
38) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::handleSuite() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
// phpunit.xml may omit bootstrap location but grab it automatically - include explicitly | |
- if (self::$hasBootstrap === false && $child instanceof \DOMElement && $child->tagName == 'directory') { | |
+ if (self::$hasBootstrap === false || $child instanceof \DOMElement && $child->tagName == 'directory') { | |
$bootstrapDir = self::makeAbsolutePath($child->nodeValue, dirname($configFile)); | |
if (file_exists($bootstrapDir . '/bootstrap.php')) { | |
self::$root->setAttribute('bootstrap', $bootstrapDir . '/bootstrap.php'); | |
self::$container->setBootstrap($bootstrapDir . '/bootstrap.php'); | |
self::$hasBootstrap = true; | |
} | |
39) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::handleSuite() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
// phpunit.xml may omit bootstrap location but grab it automatically - include explicitly | |
- if (self::$hasBootstrap === false && $child instanceof \DOMElement && $child->tagName == 'directory') { | |
+ if (self::$hasBootstrap === false && $child instanceof \DOMElement || $child->tagName == 'directory') { | |
$bootstrapDir = self::makeAbsolutePath($child->nodeValue, dirname($configFile)); | |
if (file_exists($bootstrapDir . '/bootstrap.php')) { | |
self::$root->setAttribute('bootstrap', $bootstrapDir . '/bootstrap.php'); | |
self::$container->setBootstrap($bootstrapDir . '/bootstrap.php'); | |
self::$hasBootstrap = true; | |
} | |
40) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::handleSuite() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
// phpunit.xml may omit bootstrap location but grab it automatically - include explicitly | |
- if (self::$hasBootstrap === false && $child instanceof \DOMElement && $child->tagName == 'directory') { | |
+ if (self::$hasBootstrap === false && $child instanceof \DOMElement && $child->tagName != 'directory') { | |
$bootstrapDir = self::makeAbsolutePath($child->nodeValue, dirname($configFile)); | |
if (file_exists($bootstrapDir . '/bootstrap.php')) { | |
self::$root->setAttribute('bootstrap', $bootstrapDir . '/bootstrap.php'); | |
self::$container->setBootstrap($bootstrapDir . '/bootstrap.php'); | |
self::$hasBootstrap = true; | |
} | |
41) \Humbug\Mutator\ConditionalNegation\Identical | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::makeAbsolutePath() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if ('/' === $name[0] | |
- || '\\' === $name[0] | |
+ || '\\' !== $name[0] | |
|| (strlen($name) > 3 && ctype_alpha($name[0]) && $name[1] == ':' && ($name[2] == '\\' || $name[2] == '/')) | |
) { | |
if (!file_exists($name)) { | |
throw new InvalidArgumentException("$name does not exist"); | |
} | |
42) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::makeAbsolutePath() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if ('/' === $name[0] | |
- || '\\' === $name[0] | |
+ || '\\' === $name[1] | |
|| (strlen($name) > 3 && ctype_alpha($name[0]) && $name[1] == ':' && ($name[2] == '\\' || $name[2] == '/')) | |
) { | |
if (!file_exists($name)) { | |
throw new InvalidArgumentException("$name does not exist"); | |
} | |
43) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) || $t[0] == T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_NEW) { | |
$has = true; | |
44) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) && $t[1] == T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_NEW) { | |
$has = true; | |
45) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) && $t[0] != T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_NEW) { | |
$has = true; | |
46) \Humbug\Mutator\Arithmetic\Addition | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index-1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_NEW) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
47) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+0; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_NEW) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
48) \Humbug\Mutator\ConditionalBoundary\LessThan | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i <= count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_NEW) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
49) \Humbug\Mutator\ConditionalNegation\LessThan | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i >= count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_NEW) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
50) \Humbug\Mutator\Increment\Increment | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i < count($tokens); $i--) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_NEW) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
51) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) || $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_NEW) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
52) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) && $tokens[$i][1] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_NEW) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
53) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) && $tokens[$i][0] != T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_NEW) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
54) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_NEW) { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][1] == T_NEW) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
55) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
} | |
return false; | |
} elseif ($has === false) { | |
56) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (!is_array($tokens[$i]) || $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
} | |
return false; | |
} elseif ($has === false) { | |
57) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (!is_array($tokens[$i]) && $tokens[$i] != ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
} | |
return false; | |
} elseif ($has === false) { | |
58) \Humbug\Mutator\ConditionalNegation\Identical | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
return false; | |
- } elseif ($has === false) { | |
+ } elseif ($has !== false) { | |
return false; | |
} | |
} | |
} | |
return false; | |
} | |
59) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ReturnValue\NewObject::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/NewObject.php: | |
--- Original | |
+++ New | |
@@ @@ | |
return false; | |
- } elseif ($has === false) { | |
+ } elseif ($has === true) { | |
return false; | |
} | |
} | |
} | |
return false; | |
} | |
60) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\Integer::getMutation() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
{ | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+0; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$num = (integer) $tokens[$i][1]; | |
if ($num == 0) { | |
$replace = 1; | |
61) \Humbug\Mutator\ConditionalBoundary\LessThan | |
Diff on \Humbug\Mutator\ReturnValue\Integer::getMutation() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
{ | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i <= count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$num = (integer) $tokens[$i][1]; | |
if ($num == 0) { | |
$replace = 1; | |
62) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\Integer::getMutation() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) && $tokens[$i][1] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$num = (integer) $tokens[$i][1]; | |
if ($num == 0) { | |
$replace = 1; | |
} else { | |
63) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\Integer::getMutation() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
+ } elseif (is_array($tokens[$i]) || $tokens[$i][0] == T_LNUMBER) { | |
$num = (integer) $tokens[$i][1]; | |
if ($num == 0) { | |
$replace = 1; | |
} else { | |
$replace = 0; | |
} | |
64) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) || $t[0] == T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
65) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) && $t[1] == T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
66) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) && $t[0] != T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
67) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($t) && $t[0] == T_RETURN) { | |
- $has = false; | |
+ $has = true; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
68) \Humbug\Mutator\Arithmetic\Addition | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index-1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
69) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+0; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
70) \Humbug\Mutator\ConditionalBoundary\LessThan | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i <= count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
71) \Humbug\Mutator\ConditionalNegation\LessThan | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i >= count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
72) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) || $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
73) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) && $tokens[$i][1] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
74) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) && $tokens[$i][0] != T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
75) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][1] == T_LNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
76) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][0] != T_LNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
77) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][0] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
78) \Humbug\Mutator\ConditionalNegation\NotEqual | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] == 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
79) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 0) { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER && $tokens[$i][1] != 1) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
80) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
} | |
return false; | |
} else { | |
81) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (!is_array($tokens[$i]) || $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
} | |
return false; | |
} else { | |
82) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\IntegerNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/IntegerNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (!is_array($tokens[$i]) && $tokens[$i] != ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
} | |
return false; | |
} else { | |
83) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) || $t[0] == T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
84) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) && $t[1] == T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
85) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) && $t[0] != T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
86) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($t) && $t[0] == T_RETURN) { | |
- $has = false; | |
+ $has = true; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
87) \Humbug\Mutator\Arithmetic\Addition | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index-1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
88) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+0; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
89) \Humbug\Mutator\ConditionalBoundary\LessThan | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i <= count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
90) \Humbug\Mutator\ConditionalNegation\LessThan | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i >= count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
91) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) || $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
92) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) && $tokens[$i][1] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
93) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) && $tokens[$i][0] != T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
94) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][1] == T_DNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
95) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][0] != T_DNUMBER && $tokens[$i][1] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
96) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][0] != 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
97) \Humbug\Mutator\ConditionalNegation\NotEqual | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] == 0) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
98) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 0) { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_DNUMBER && $tokens[$i][1] != 1) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
99) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
} | |
return false; | |
} else { | |
100) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (!is_array($tokens[$i]) || $tokens[$i] == ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
} | |
return false; | |
} else { | |
101) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\FloatNegation::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FloatNegation.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (!is_array($tokens[$i]) && $tokens[$i] != ';') { | |
// return statement terminated | |
if ($has === true) { | |
return true; | |
} | |
return false; | |
} else { | |
102) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) || $t[0] == T_RETURN) { | |
$hasThis = false; | |
// effectively, we look for 'return $this;'. Anything else in there and we get out. | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
103) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) && $t[1] == T_RETURN) { | |
$hasThis = false; | |
// effectively, we look for 'return $this;'. Anything else in there and we get out. | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
104) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) && $t[0] != T_RETURN) { | |
$hasThis = false; | |
// effectively, we look for 'return $this;'. Anything else in there and we get out. | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
105) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($t) && $t[0] == T_RETURN) { | |
- $hasThis = false; | |
+ $hasThis = true; | |
// effectively, we look for 'return $this;'. Anything else in there and we get out. | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
$hasThis = true; | |
106) \Humbug\Mutator\Arithmetic\Addition | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
// effectively, we look for 'return $this;'. Anything else in there and we get out. | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index-1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
$hasThis = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
107) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
// effectively, we look for 'return $this;'. Anything else in there and we get out. | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+0; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
$hasThis = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
108) \Humbug\Mutator\ConditionalBoundary\LessThan | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
// effectively, we look for 'return $this;'. Anything else in there and we get out. | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i <= count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
$hasThis = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
109) \Humbug\Mutator\ConditionalNegation\LessThan | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
// effectively, we look for 'return $this;'. Anything else in there and we get out. | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i >= count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
$hasThis = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
110) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) || $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
$hasThis = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
111) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) && $tokens[$i][1] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
$hasThis = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
112) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) && $tokens[$i][0] != T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
$hasThis = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
113) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][1] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
$hasThis = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($hasThis === true) { | |
return true; | |
114) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][0] != T_VARIABLE && $tokens[$i][1] == '$this') { | |
$hasThis = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($hasThis === true) { | |
return true; | |
115) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_VARIABLE && $tokens[$i][0] == '$this') { | |
$hasThis = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($hasThis === true) { | |
return true; | |
116) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i] == ';') { | |
// return statement terminated | |
if ($hasThis === true) { | |
return true; | |
} | |
return false; | |
} else { | |
117) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (!is_array($tokens[$i]) || $tokens[$i] == ';') { | |
// return statement terminated | |
if ($hasThis === true) { | |
return true; | |
} | |
return false; | |
} else { | |
118) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\This::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/This.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (!is_array($tokens[$i]) && $tokens[$i] != ';') { | |
// return statement terminated | |
if ($hasThis === true) { | |
return true; | |
} | |
return false; | |
} else { | |
119) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
*/ | |
- if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_VARIABLE) { | |
+ if (isset($tokens[$index+1]) && is_array($tokens[$index+0]) && $tokens[$index+1][0] == T_VARIABLE) { | |
return false; | |
} | |
if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_FUNCTION) { | |
return false; | |
} | |
if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
120) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
*/ | |
- if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_VARIABLE) { | |
+ if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+0][0] == T_VARIABLE) { | |
return false; | |
} | |
if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_FUNCTION) { | |
return false; | |
} | |
if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
121) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
*/ | |
- if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_VARIABLE) { | |
+ if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][1] == T_VARIABLE) { | |
return false; | |
} | |
if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_FUNCTION) { | |
return false; | |
} | |
if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
122) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
*/ | |
- if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_VARIABLE) { | |
+ if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] != T_VARIABLE) { | |
return false; | |
} | |
if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_FUNCTION) { | |
return false; | |
} | |
if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
123) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_FUNCTION) { | |
+ if (isset($tokens[$index+1]) && is_array($tokens[$index+0]) && $tokens[$index+1][0] == T_FUNCTION) { | |
return false; | |
} | |
if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
return false; | |
} | |
return true; | |
124) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_FUNCTION) { | |
+ if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+0][0] == T_FUNCTION) { | |
return false; | |
} | |
if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
return false; | |
} | |
return true; | |
125) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_FUNCTION) { | |
+ if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][1] == T_FUNCTION) { | |
return false; | |
} | |
if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
return false; | |
} | |
return true; | |
126) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_FUNCTION) { | |
+ if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] != T_FUNCTION) { | |
return false; | |
} | |
if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
return false; | |
} | |
return true; | |
127) \Humbug\Mutator\Arithmetic\Subtraction | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
+ if (isset($tokens[$index+1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
return false; | |
} | |
return true; | |
} | |
return false; | |
} | |
128) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
+ if (isset($tokens[$index-1]) && is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
return false; | |
} | |
return true; | |
} | |
return false; | |
} | |
129) \Humbug\Mutator\Arithmetic\Subtraction | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
+ if (isset($tokens[$index-1]) && !is_array($tokens[$index+1]) && $tokens[$index-1] == '=') { | |
return false; | |
} | |
return true; | |
} | |
return false; | |
} | |
130) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
+ if (isset($tokens[$index-1]) && !is_array($tokens[$index-0]) && $tokens[$index-1] == '=') { | |
return false; | |
} | |
return true; | |
} | |
return false; | |
} | |
131) \Humbug\Mutator\Arithmetic\Subtraction | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
+ if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index+1] == '=') { | |
return false; | |
} | |
return true; | |
} | |
return false; | |
} | |
132) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
+ if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-0] == '=') { | |
return false; | |
} | |
return true; | |
} | |
return false; | |
} | |
133) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] == '=') { | |
+ if (isset($tokens[$index-1]) && !is_array($tokens[$index-1]) && $tokens[$index-1] != '=') { | |
return false; | |
} | |
return true; | |
} | |
return false; | |
} | |
134) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\Arithmetic\Addition::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Addition.php: | |
--- Original | |
+++ New | |
@@ @@ | |
// can probably mutate this addition | |
- if (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ if (is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return true; | |
} | |
} | |
return true; | |
} | |
135) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\Addition::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Addition.php: | |
--- Original | |
+++ New | |
@@ @@ | |
// can probably mutate this addition | |
- if (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ if (!is_array($tokens[$i]) || $tokens[$i] == ';') { | |
return true; | |
} | |
} | |
return true; | |
} | |
136) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\Addition::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Addition.php: | |
--- Original | |
+++ New | |
@@ @@ | |
// can probably mutate this addition | |
- if (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ if (!is_array($tokens[$i]) && $tokens[$i] != ';') { | |
return true; | |
} | |
} | |
return true; | |
} | |
137) \Humbug\Mutator\Boolean\LogicalOr | |
Diff on \Humbug\Config\JsonParser::guardDecodeErrors() in /home/rolen/php/humbug/src/Config/JsonParser.php: | |
--- Original | |
+++ New | |
@@ @@ | |
{ | |
- if (null === $config || json_last_error() !== JSON_ERROR_NONE) { | |
+ if (null === $config && json_last_error() !== JSON_ERROR_NONE) { | |
throw new JsonConfigException( | |
'Error parsing configuration file JSON' | |
. (function_exists('json_last_error_msg') ? ': ' . json_last_error_msg() : '') | |
); | |
} | |
} | |
138) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$tokens = Tokenizer::getTokens($source); | |
- $lineNumber = 1; | |
+ $lineNumber = 0; | |
$methodName = '???'; | |
$className = '???'; | |
$namespace = ''; | |
$inMethod = false; | |
$inMethodBlock = false; | |
$methodCurlyCount = 0; | |
139) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$namespace = ''; | |
- $inMethod = false; | |
+ $inMethod = true; | |
$inMethodBlock = false; | |
$methodCurlyCount = 0; | |
foreach ($tokens as $index => $token) { | |
if (is_array($token) && $token[0] == Tokenizer::T_NEWLINE) { | |
$lineNumber = $token[2] + 1; | |
continue; | |
140) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$inMethodBlock = false; | |
- $methodCurlyCount = 0; | |
+ $methodCurlyCount = 1; | |
foreach ($tokens as $index => $token) { | |
if (is_array($token) && $token[0] == Tokenizer::T_NEWLINE) { | |
$lineNumber = $token[2] + 1; | |
continue; | |
} | |
141) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
foreach ($tokens as $index => $token) { | |
- if (is_array($token) && $token[0] == Tokenizer::T_NEWLINE) { | |
+ if (is_array($token) && $token[1] == Tokenizer::T_NEWLINE) { | |
$lineNumber = $token[2] + 1; | |
continue; | |
} | |
if (is_array($token) && $token[0] == T_NAMESPACE) { | |
for ($j=$index+1; $j<count($tokens); $j++) { | |
142) \Humbug\Mutator\Arithmetic\Addition | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($token) && $token[0] == Tokenizer::T_NEWLINE) { | |
- $lineNumber = $token[2] + 1; | |
+ $lineNumber = $token[2] - 1; | |
continue; | |
} | |
if (is_array($token) && $token[0] == T_NAMESPACE) { | |
for ($j=$index+1; $j<count($tokens); $j++) { | |
if ($tokens[$j][0] == T_STRING) { | |
143) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($token) && $token[0] == Tokenizer::T_NEWLINE) { | |
- $lineNumber = $token[2] + 1; | |
+ $lineNumber = $token[2] + 0; | |
continue; | |
} | |
if (is_array($token) && $token[0] == T_NAMESPACE) { | |
for ($j=$index+1; $j<count($tokens); $j++) { | |
if ($tokens[$j][0] == T_STRING) { | |
144) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
- if (is_array($token) && $token[0] == T_NAMESPACE) { | |
+ if (is_array($token) && $token[1] == T_NAMESPACE) { | |
for ($j=$index+1; $j<count($tokens); $j++) { | |
if ($tokens[$j][0] == T_STRING) { | |
$namespace .= '\\' . $tokens[$j][1]; | |
} elseif ($tokens[$j] == '{' || $tokens[$j] == ';') { | |
break; | |
} | |
145) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
- if (is_array($token) && ($token[0] == T_CLASS || $token[0] == T_INTERFACE) | |
+ if (is_array($token) && ($token[0] == T_CLASS || $token[1] == T_INTERFACE) | |
&& $tokens[$index-1][0] !== T_DOUBLE_COLON) { | |
$className = $namespace . '\\' . $tokens[$index+2][1]; | |
continue; | |
} | |
//TODO: handle whitespace! | |
146) \Humbug\Mutator\Arithmetic\Subtraction | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($token) && ($token[0] == T_CLASS || $token[0] == T_INTERFACE) | |
- && $tokens[$index-1][0] !== T_DOUBLE_COLON) { | |
+ && $tokens[$index+1][0] !== T_DOUBLE_COLON) { | |
$className = $namespace . '\\' . $tokens[$index+2][1]; | |
continue; | |
} | |
//TODO: handle whitespace! | |
if (is_array($token) && $token[0] == T_FUNCTION) { | |
147) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($token) && ($token[0] == T_CLASS || $token[0] == T_INTERFACE) | |
- && $tokens[$index-1][0] !== T_DOUBLE_COLON) { | |
+ && $tokens[$index-0][0] !== T_DOUBLE_COLON) { | |
$className = $namespace . '\\' . $tokens[$index+2][1]; | |
continue; | |
} | |
//TODO: handle whitespace! | |
if (is_array($token) && $token[0] == T_FUNCTION) { | |
148) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($token) && ($token[0] == T_CLASS || $token[0] == T_INTERFACE) | |
- && $tokens[$index-1][0] !== T_DOUBLE_COLON) { | |
+ && $tokens[$index-1][1] !== T_DOUBLE_COLON) { | |
$className = $namespace . '\\' . $tokens[$index+2][1]; | |
continue; | |
} | |
//TODO: handle whitespace! | |
if (is_array($token) && $token[0] == T_FUNCTION) { | |
149) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($token) && $token[0] == T_FUNCTION) { | |
- if (!isset($tokens[$index+2][1])) { | |
+ if (!isset($tokens[$index+2][0])) { | |
continue; // ignore closure | |
} | |
$methodName = $tokens[$index+2][1]; | |
$inMethod = true; | |
continue; | |
} | |
150) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- $methodName = $tokens[$index+2][1]; | |
+ $methodName = $tokens[$index+2][0]; | |
$inMethod = true; | |
continue; | |
} | |
/** | |
* Limit mutation generation to the interior of methods (for now!) | |
151) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (true === $inMethod && false === $inMethodBlock && $methodCurlyCount == 0 | |
- && !($token == '{' || (is_array($token) && $token[0] == T_CURLY_OPEN))) { | |
+ && !($token == '{' || (is_array($token) && $token[1] == T_CURLY_OPEN))) { | |
continue; //skip over argument list | |
} | |
if ($inMethod) { | |
if ($token == '{' || (is_array($token) && $token[0] == T_CURLY_OPEN)) { | |
$methodCurlyCount += 1; | |
$inMethodBlock = true; | |
152) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if ($inMethod) { | |
- if ($token == '{' || (is_array($token) && $token[0] == T_CURLY_OPEN)) { | |
+ if ($token == '{' || (is_array($token) && $token[1] == T_CURLY_OPEN)) { | |
$methodCurlyCount += 1; | |
$inMethodBlock = true; | |
continue; | |
} elseif ($token == '}') { | |
$methodCurlyCount -= 1; | |
continue; | |
153) \Humbug\Mutator\Arithmetic\PlusEqual | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if ($token == '{' || (is_array($token) && $token[0] == T_CURLY_OPEN)) { | |
- $methodCurlyCount += 1; | |
+ $methodCurlyCount -= 1; | |
$inMethodBlock = true; | |
continue; | |
} elseif ($token == '}') { | |
$methodCurlyCount -= 1; | |
continue; | |
} | |
154) \Humbug\Mutator\Arithmetic\MinusEqual | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} elseif ($token == '}') { | |
- $methodCurlyCount -= 1; | |
+ $methodCurlyCount += 1; | |
continue; | |
} | |
if ($methodCurlyCount == 0) { | |
$inMethodBlock = false; | |
$inMethod = false; | |
continue; | |
155) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} elseif ($token == '}') { | |
- $methodCurlyCount -= 1; | |
+ $methodCurlyCount -= 0; | |
continue; | |
} | |
if ($methodCurlyCount == 0) { | |
$inMethodBlock = false; | |
$inMethod = false; | |
continue; | |
156) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if ($methodCurlyCount == 0) { | |
- $inMethodBlock = false; | |
+ $inMethodBlock = true; | |
$inMethod = false; | |
continue; | |
} | |
} | |
if (true === $inMethodBlock) { | |
157) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$inMethodBlock = false; | |
- $inMethod = false; | |
+ $inMethod = true; | |
continue; | |
} | |
} | |
if (true === $inMethodBlock) { | |
foreach ($this->mutators as $mutator) { | |
158) \Humbug\Mutator\ReturnValue\This | |
Diff on \Humbug\Mutable::generate() in /home/rolen/php/humbug/src/Mutable.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return $this; | |
+ return null; | |
} | |
/** | |
* Cleanup routines | |
*/ | |
public function cleanup() | |
159) \Humbug\Mutator\ReturnValue\This | |
Diff on \Humbug\Container::setAdapterOptionsFromString() in /home/rolen/php/humbug/src/Container.php: | |
--- Original | |
+++ New | |
@@ @@ | |
); | |
- return $this; | |
+ return null; | |
} | |
/** | |
* Get a space delimited string of testing tool options | |
* | |
* @return string | |
------ | |
Timeouts | |
------ | |
1) \Humbug\Mutator\Increment\Increment | |
Diff on \Humbug\Adapter\Phpunit\XmlConfiguration::assemble() in /home/rolen/php/humbug/src/Adapter/Phpunit/XmlConfiguration.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$length = $suite->childNodes->length; | |
- for ($i = 0; $i < $length; $i++) { | |
+ for ($i = 0; $i < $length; $i--) { | |
$node = $suite->childNodes->item($i); | |
if ($node instanceof \DOMElement | |
&& ($node->tagName == 'directory' | |
|| $node->tagName == 'exclude' | |
|| $node->tagName == 'file')) { | |
$fullPath = $dir . '/' . $node->nodeValue; | |
------ | |
Errors | |
------ | |
1) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Adapter\Phpunit\Job::generate() in /home/rolen/php/humbug/src/Adapter/Phpunit/Job.php: | |
--- Original | |
+++ New | |
@@ @@ | |
- if (!is_null($mutantFile)) { | |
+ if (is_null($mutantFile)) { | |
$mutantFile = addslashes($mutantFile); | |
$replacingFile = addslashes($replacingFile); | |
$prepend = <<<PREPEND | |
<?php | |
require_once '{$humbugBootstrap}'; | |
use Humbug\StreamWrapper\IncludeInterceptor; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
2) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ConditionalNegation\GreaterThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/GreaterThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_GREATER_OR_EQUAL) { | |
+ if (is_array($t) || $t[0] == T_IS_GREATER_OR_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
3) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ConditionalNegation\GreaterThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/GreaterThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_GREATER_OR_EQUAL) { | |
+ if (is_array($t) && $t[1] == T_IS_GREATER_OR_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
4) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ConditionalNegation\GreaterThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/GreaterThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_GREATER_OR_EQUAL) { | |
+ if (is_array($t) && $t[0] != T_IS_GREATER_OR_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
5) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ConditionalNegation\GreaterThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/GreaterThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
6) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ConditionalNegation\LessThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/LessThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_SMALLER_OR_EQUAL) { | |
+ if (is_array($t) || $t[0] == T_IS_SMALLER_OR_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
7) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ConditionalNegation\LessThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/LessThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_SMALLER_OR_EQUAL) { | |
+ if (is_array($t) && $t[1] == T_IS_SMALLER_OR_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
8) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ConditionalNegation\LessThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/LessThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_SMALLER_OR_EQUAL) { | |
+ if (is_array($t) && $t[0] != T_IS_SMALLER_OR_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
9) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ConditionalNegation\LessThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/LessThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
10) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ConditionalNegation\Equal::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/Equal.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_EQUAL) { | |
+ if (is_array($t) || $t[0] == T_IS_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
11) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ConditionalNegation\Equal::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/Equal.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_EQUAL) { | |
+ if (is_array($t) && $t[1] == T_IS_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
12) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ConditionalNegation\Equal::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/Equal.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_EQUAL) { | |
+ if (is_array($t) && $t[0] != T_IS_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
13) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ConditionalNegation\Equal::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/Equal.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
14) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ConditionalNegation\Identical::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/Identical.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_IDENTICAL) { | |
+ if (is_array($t) || $t[0] == T_IS_IDENTICAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
15) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ConditionalNegation\Identical::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/Identical.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_IDENTICAL) { | |
+ if (is_array($t) && $t[1] == T_IS_IDENTICAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
16) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ConditionalNegation\Identical::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/Identical.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_IDENTICAL) { | |
+ if (is_array($t) && $t[0] != T_IS_IDENTICAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
17) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ConditionalNegation\Identical::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/Identical.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
18) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ConditionalNegation\NotEqual::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/NotEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_NOT_EQUAL) { | |
+ if (is_array($t) || $t[0] == T_IS_NOT_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
19) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ConditionalNegation\NotEqual::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/NotEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_NOT_EQUAL) { | |
+ if (is_array($t) && $t[1] == T_IS_NOT_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
20) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ConditionalNegation\NotEqual::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/NotEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_NOT_EQUAL) { | |
+ if (is_array($t) && $t[0] != T_IS_NOT_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
21) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ConditionalNegation\NotEqual::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/NotEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
22) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\ConditionalNegation\GreaterThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/GreaterThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '>') { | |
+ if (is_array($t) && $t == '>') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
23) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ConditionalNegation\GreaterThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/GreaterThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '>') { | |
+ if (!is_array($t) || $t == '>') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
24) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ConditionalNegation\GreaterThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/GreaterThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '>') { | |
+ if (!is_array($t) && $t != '>') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
25) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ConditionalNegation\GreaterThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/GreaterThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
26) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ConditionalNegation\NotIdentical::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/NotIdentical.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_NOT_IDENTICAL) { | |
+ if (is_array($t) || $t[0] == T_IS_NOT_IDENTICAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
27) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ConditionalNegation\NotIdentical::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/NotIdentical.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_NOT_IDENTICAL) { | |
+ if (is_array($t) && $t[1] == T_IS_NOT_IDENTICAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
28) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ConditionalNegation\NotIdentical::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/NotIdentical.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_NOT_IDENTICAL) { | |
+ if (is_array($t) && $t[0] != T_IS_NOT_IDENTICAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
29) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ConditionalNegation\NotIdentical::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/NotIdentical.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
30) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\ConditionalNegation\LessThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/LessThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '<') { | |
+ if (is_array($t) && $t == '<') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
31) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ConditionalNegation\LessThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/LessThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '<') { | |
+ if (!is_array($t) || $t == '<') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
32) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ConditionalNegation\LessThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/LessThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '<') { | |
+ if (!is_array($t) && $t != '<') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
33) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ConditionalNegation\LessThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalNegation/LessThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
34) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Boolean\LogicalLowerOr::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalLowerOr.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_LOGICAL_OR) { | |
+ if (is_array($t) || $t[0] == T_LOGICAL_OR) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
35) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Boolean\LogicalLowerOr::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalLowerOr.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_LOGICAL_OR) { | |
+ if (is_array($t) && $t[1] == T_LOGICAL_OR) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
36) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Boolean\LogicalLowerOr::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalLowerOr.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_LOGICAL_OR) { | |
+ if (is_array($t) && $t[0] != T_LOGICAL_OR) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
37) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Boolean\LogicalLowerOr::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalLowerOr.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
38) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Boolean\LogicalAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_BOOLEAN_AND) { | |
+ if (is_array($t) || $t[0] == T_BOOLEAN_AND) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
39) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Boolean\LogicalAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_BOOLEAN_AND) { | |
+ if (is_array($t) && $t[1] == T_BOOLEAN_AND) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
40) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Boolean\LogicalAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_BOOLEAN_AND) { | |
+ if (is_array($t) && $t[0] != T_BOOLEAN_AND) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
41) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Boolean\LogicalAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
42) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Boolean\LogicalLowerAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalLowerAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_LOGICAL_AND) { | |
+ if (is_array($t) || $t[0] == T_LOGICAL_AND) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
43) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Boolean\LogicalLowerAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalLowerAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_LOGICAL_AND) { | |
+ if (is_array($t) && $t[1] == T_LOGICAL_AND) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
44) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Boolean\LogicalLowerAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalLowerAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_LOGICAL_AND) { | |
+ if (is_array($t) && $t[0] != T_LOGICAL_AND) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
45) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Boolean\LogicalLowerAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalLowerAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
46) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Boolean\False::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/False.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'false') { | |
+ if (is_array($t) || $t[0] == T_STRING && strtolower($t[1]) == 'false') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
47) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Boolean\False::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/False.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'false') { | |
+ if (is_array($t) && $t[1] == T_STRING && strtolower($t[1]) == 'false') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
48) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Boolean\False::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/False.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'false') { | |
+ if (is_array($t) && $t[0] != T_STRING && strtolower($t[1]) == 'false') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
49) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Boolean\False::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/False.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'false') { | |
+ if (is_array($t) && $t[0] == T_STRING || strtolower($t[1]) == 'false') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
50) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Boolean\False::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/False.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'false') { | |
+ if (is_array($t) && $t[0] == T_STRING && strtolower($t[0]) == 'false') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
51) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Boolean\False::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/False.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'false') { | |
+ if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) != 'false') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
52) \Humbug\Mutator\Boolean\True | |
Diff on \Humbug\Mutator\Boolean\False::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/False.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'false') { | |
- return true; | |
+ return false; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
53) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Boolean\False::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/False.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
54) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Boolean\LogicalOr::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalOr.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_BOOLEAN_OR) { | |
+ if (is_array($t) || $t[0] == T_BOOLEAN_OR) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
55) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Boolean\LogicalOr::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalOr.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_BOOLEAN_OR) { | |
+ if (is_array($t) && $t[1] == T_BOOLEAN_OR) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
56) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Boolean\LogicalOr::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalOr.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_BOOLEAN_OR) { | |
+ if (is_array($t) && $t[0] != T_BOOLEAN_OR) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
57) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Boolean\LogicalOr::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalOr.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
58) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Boolean\True::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/True.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'true') { | |
+ if (is_array($t) || $t[0] == T_STRING && strtolower($t[1]) == 'true') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
59) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Boolean\True::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/True.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'true') { | |
+ if (is_array($t) && $t[1] == T_STRING && strtolower($t[1]) == 'true') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
60) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Boolean\True::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/True.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'true') { | |
+ if (is_array($t) && $t[0] != T_STRING && strtolower($t[1]) == 'true') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
61) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Boolean\True::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/True.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'true') { | |
+ if (is_array($t) && $t[0] == T_STRING || strtolower($t[1]) == 'true') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
62) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Boolean\True::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/True.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'true') { | |
+ if (is_array($t) && $t[0] == T_STRING && strtolower($t[0]) == 'true') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
63) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Boolean\True::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/True.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'true') { | |
+ if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) != 'true') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
64) \Humbug\Mutator\Boolean\True | |
Diff on \Humbug\Mutator\Boolean\True::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/True.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($t) && $t[0] == T_STRING && strtolower($t[1]) == 'true') { | |
- return true; | |
+ return false; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
65) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Boolean\True::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/True.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
66) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\Boolean\LogicalNot::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalNot.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '!') { | |
+ if (is_array($t) && $t == '!') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
67) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Boolean\LogicalNot::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalNot.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '!') { | |
+ if (!is_array($t) || $t == '!') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
68) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Boolean\LogicalNot::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalNot.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '!') { | |
+ if (!is_array($t) && $t != '!') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
69) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Boolean\LogicalNot::mutates() in /home/rolen/php/humbug/src/Mutator/Boolean/LogicalNot.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
70) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) || $t[0] == T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$has = true; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
71) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) && $t[1] == T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$has = true; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
72) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) && $t[0] != T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$has = true; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
73) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($t) && $t[0] == T_RETURN) { | |
- $has = false; | |
+ $has = true; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$has = true; | |
continue; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
74) \Humbug\Mutator\Arithmetic\Addition | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index-1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
75) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+0; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
76) \Humbug\Mutator\ConditionalBoundary\LessThan | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i <= count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
77) \Humbug\Mutator\ConditionalNegation\LessThan | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i >= count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
78) \Humbug\Mutator\Increment\Increment | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i < count($tokens); $i--) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
79) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) || $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
80) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) && $tokens[$i][1] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
81) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) && $tokens[$i][0] != T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
82) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
+ } elseif (is_array($tokens[$i]) || $tokens[$i][0] == T_LNUMBER) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
} else { | |
$has = false; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
83) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][1] == T_LNUMBER) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
} else { | |
$has = false; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
84) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && $tokens[$i][0] == T_LNUMBER) { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i][0] != T_LNUMBER) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
} else { | |
$has = false; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
85) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
} else { | |
$has = false; | |
} | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
86) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (!is_array($tokens[$i]) || $tokens[$i] == ';') { | |
return $has; | |
} else { | |
$has = false; | |
} | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
87) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (!is_array($tokens[$i]) && $tokens[$i] != ';') { | |
return $has; | |
} else { | |
$has = false; | |
} | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
88) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ReturnValue\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} else { | |
- $has = false; | |
+ $has = true; | |
} | |
} | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
89) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) || $t[0] == T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
90) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) && $t[1] == T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
91) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_RETURN) { | |
+ if (is_array($t) && $t[0] != T_RETURN) { | |
$has = false; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
92) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($t) && $t[0] == T_RETURN) { | |
- $has = false; | |
+ $has = true; | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
continue; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
93) \Humbug\Mutator\Arithmetic\Addition | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index-1; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
94) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+0; $i < count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
95) \Humbug\Mutator\ConditionalBoundary\LessThan | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i <= count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
96) \Humbug\Mutator\ConditionalNegation\LessThan | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i >= count($tokens); $i++) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
97) \Humbug\Mutator\Increment\Increment | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$has = false; | |
- for ($i=$index+1; $i < count($tokens); $i++) { | |
+ for ($i=$index+1; $i < count($tokens); $i--) { | |
if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
98) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) || $tokens[$i][0] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
99) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) && $tokens[$i][1] == T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
100) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
for ($i=$index+1; $i < count($tokens); $i++) { | |
- if (is_array($tokens[$i]) && $tokens[$i][0] == T_WHITESPACE) { | |
+ if (is_array($tokens[$i]) && $tokens[$i][0] != T_WHITESPACE) { | |
continue; | |
} elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
101) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
+ } elseif (is_array($tokens[$i]) || ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
} elseif ($has === false) { | |
return false; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
102) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
+ } elseif (is_array($tokens[$i]) && ($tokens[$i][1] == T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
} elseif ($has === false) { | |
return false; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
103) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
+ } elseif (is_array($tokens[$i]) && ($tokens[$i][0] != T_STRING && function_exists($tokens[$i][1]))) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
} elseif ($has === false) { | |
return false; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
104) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
+ } elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING || function_exists($tokens[$i][1]))) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
} elseif ($has === false) { | |
return false; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
105) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][1]))) { | |
+ } elseif (is_array($tokens[$i]) && ($tokens[$i][0] == T_STRING && function_exists($tokens[$i][0]))) { | |
$has = true; | |
continue; | |
} elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
} elseif ($has === false) { | |
return false; | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
106) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (is_array($tokens[$i]) && $tokens[$i] == ';') { | |
return $has; | |
} elseif ($has === false) { | |
return false; | |
} | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
107) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (!is_array($tokens[$i]) || $tokens[$i] == ';') { | |
return $has; | |
} elseif ($has === false) { | |
return false; | |
} | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
108) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
continue; | |
- } elseif (!is_array($tokens[$i]) && $tokens[$i] == ';') { | |
+ } elseif (!is_array($tokens[$i]) && $tokens[$i] != ';') { | |
return $has; | |
} elseif ($has === false) { | |
return false; | |
} | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
109) \Humbug\Mutator\ConditionalNegation\Identical | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
return $has; | |
- } elseif ($has === false) { | |
+ } elseif ($has !== false) { | |
return false; | |
} | |
} | |
} | |
return false; | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
110) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
return $has; | |
- } elseif ($has === false) { | |
+ } elseif ($has === true) { | |
return false; | |
} | |
} | |
} | |
return false; | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
111) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ReturnValue\FunctionCall::mutates() in /home/rolen/php/humbug/src/Mutator/ReturnValue/FunctionCall.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} elseif ($has === false) { | |
- return false; | |
+ return true; | |
} | |
} | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
112) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Increment\Increment::mutates() in /home/rolen/php/humbug/src/Mutator/Increment/Increment.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_INC) { | |
+ if (is_array($t) || $t[0] == T_INC) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
113) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Increment\Increment::mutates() in /home/rolen/php/humbug/src/Mutator/Increment/Increment.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_INC) { | |
+ if (is_array($t) && $t[1] == T_INC) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
114) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Increment\Increment::mutates() in /home/rolen/php/humbug/src/Mutator/Increment/Increment.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_INC) { | |
+ if (is_array($t) && $t[0] != T_INC) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
115) \Humbug\Mutator\Boolean\True | |
Diff on \Humbug\Mutator\Increment\Increment::mutates() in /home/rolen/php/humbug/src/Mutator/Increment/Increment.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (is_array($t) && $t[0] == T_INC) { | |
- return true; | |
+ return false; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
116) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Increment\Increment::mutates() in /home/rolen/php/humbug/src/Mutator/Increment/Increment.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
117) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Increment\Decrement::mutates() in /home/rolen/php/humbug/src/Mutator/Increment/Decrement.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_DEC) { | |
+ if (is_array($t) || $t[0] == T_DEC) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
118) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Increment\Decrement::mutates() in /home/rolen/php/humbug/src/Mutator/Increment/Decrement.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_DEC) { | |
+ if (is_array($t) && $t[1] == T_DEC) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
119) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Increment\Decrement::mutates() in /home/rolen/php/humbug/src/Mutator/Increment/Decrement.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_DEC) { | |
+ if (is_array($t) && $t[0] != T_DEC) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
120) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Increment\Decrement::mutates() in /home/rolen/php/humbug/src/Mutator/Increment/Decrement.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
121) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '&') { | |
+ if (is_array($t) && $t == '&') { | |
/** | |
* Exclude likely uses of ampersand for references | |
*/ | |
if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_VARIABLE) { | |
return false; | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
122) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '&') { | |
+ if (!is_array($t) || $t == '&') { | |
/** | |
* Exclude likely uses of ampersand for references | |
*/ | |
if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_VARIABLE) { | |
return false; | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
123) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '&') { | |
+ if (!is_array($t) && $t != '&') { | |
/** | |
* Exclude likely uses of ampersand for references | |
*/ | |
if (isset($tokens[$index+1]) && is_array($tokens[$index+1]) && $tokens[$index+1][0] == T_VARIABLE) { | |
return false; | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
124) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseAnd::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseAnd.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
125) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\ModEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/ModEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_MOD_EQUAL) { | |
+ if (is_array($t) || $t[0] == T_MOD_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
126) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\ModEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/ModEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_MOD_EQUAL) { | |
+ if (is_array($t) && $t[1] == T_MOD_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
127) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\ModEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/ModEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_MOD_EQUAL) { | |
+ if (is_array($t) && $t[0] != T_MOD_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
128) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\ModEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/ModEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
129) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\MinusEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/MinusEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_MINUS_EQUAL) { | |
+ if (is_array($t) || $t[0] == T_MINUS_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
130) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\MinusEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/MinusEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_MINUS_EQUAL) { | |
+ if (is_array($t) && $t[1] == T_MINUS_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
131) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\MinusEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/MinusEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_MINUS_EQUAL) { | |
+ if (is_array($t) && $t[0] != T_MINUS_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
132) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\MinusEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/MinusEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
133) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\Arithmetic\Subtraction::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Subtraction.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '-') { | |
+ if (is_array($t) && $t == '-') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
134) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\Subtraction::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Subtraction.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '-') { | |
+ if (!is_array($t) || $t == '-') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
135) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\Subtraction::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Subtraction.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '-') { | |
+ if (!is_array($t) && $t != '-') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
136) \Humbug\Mutator\Boolean\True | |
Diff on \Humbug\Mutator\Arithmetic\Subtraction::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Subtraction.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (!is_array($t) && $t == '-') { | |
- return true; | |
+ return false; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
137) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\Subtraction::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Subtraction.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
138) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\Arithmetic\Division::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Division.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '/') { | |
+ if (is_array($t) && $t == '/') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
139) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\Division::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Division.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '/') { | |
+ if (!is_array($t) || $t == '/') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
140) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\Division::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Division.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '/') { | |
+ if (!is_array($t) && $t != '/') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
141) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\Division::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Division.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
142) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\MulEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/MulEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_MUL_EQUAL) { | |
+ if (is_array($t) || $t[0] == T_MUL_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
143) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\MulEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/MulEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_MUL_EQUAL) { | |
+ if (is_array($t) && $t[1] == T_MUL_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
144) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\MulEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/MulEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_MUL_EQUAL) { | |
+ if (is_array($t) && $t[0] != T_MUL_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
145) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\MulEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/MulEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
146) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseXor::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseXor.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '^') { | |
+ if (is_array($t) && $t == '^') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
147) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseXor::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseXor.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '^') { | |
+ if (!is_array($t) || $t == '^') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
148) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseXor::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseXor.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '^') { | |
+ if (!is_array($t) && $t != '^') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
149) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseXor::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseXor.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
150) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\Arithmetic\Addition::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Addition.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '+') { | |
+ if (is_array($t) && $t == '+') { | |
for ($i = $index + 1; $i < count($tokens); $i++) { | |
// check for short array syntax | |
if (!is_array($tokens[$i]) && $tokens[$i][0] == '[') { | |
return false; | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
151) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\Addition::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Addition.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '+') { | |
+ if (!is_array($t) || $t == '+') { | |
for ($i = $index + 1; $i < count($tokens); $i++) { | |
// check for short array syntax | |
if (!is_array($tokens[$i]) && $tokens[$i][0] == '[') { | |
return false; | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
152) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\Addition::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Addition.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '+') { | |
+ if (!is_array($t) && $t != '+') { | |
for ($i = $index + 1; $i < count($tokens); $i++) { | |
// check for short array syntax | |
if (!is_array($tokens[$i]) && $tokens[$i][0] == '[') { | |
return false; | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
153) \Humbug\Mutator\Arithmetic\Addition | |
Diff on \Humbug\Mutator\Arithmetic\Addition::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Addition.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (!is_array($t) && $t == '+') { | |
- for ($i = $index + 1; $i < count($tokens); $i++) { | |
+ for ($i = $index - 1; $i < count($tokens); $i++) { | |
// check for short array syntax | |
if (!is_array($tokens[$i]) && $tokens[$i][0] == '[') { | |
return false; | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
154) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\Addition::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Addition.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (!is_array($t) && $t == '+') { | |
- for ($i = $index + 1; $i < count($tokens); $i++) { | |
+ for ($i = $index + 0; $i < count($tokens); $i++) { | |
// check for short array syntax | |
if (!is_array($tokens[$i]) && $tokens[$i][0] == '[') { | |
return false; | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
155) \Humbug\Mutator\ConditionalBoundary\LessThan | |
Diff on \Humbug\Mutator\Arithmetic\Addition::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Addition.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (!is_array($t) && $t == '+') { | |
- for ($i = $index + 1; $i < count($tokens); $i++) { | |
+ for ($i = $index + 1; $i <= count($tokens); $i++) { | |
// check for short array syntax | |
if (!is_array($tokens[$i]) && $tokens[$i][0] == '[') { | |
return false; | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
156) \Humbug\Mutator\ConditionalNegation\LessThan | |
Diff on \Humbug\Mutator\Arithmetic\Addition::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Addition.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (!is_array($t) && $t == '+') { | |
- for ($i = $index + 1; $i < count($tokens); $i++) { | |
+ for ($i = $index + 1; $i >= count($tokens); $i++) { | |
// check for short array syntax | |
if (!is_array($tokens[$i]) && $tokens[$i][0] == '[') { | |
return false; | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
157) \Humbug\Mutator\Increment\Increment | |
Diff on \Humbug\Mutator\Arithmetic\Addition::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Addition.php: | |
--- Original | |
+++ New | |
@@ @@ | |
if (!is_array($t) && $t == '+') { | |
- for ($i = $index + 1; $i < count($tokens); $i++) { | |
+ for ($i = $index + 1; $i < count($tokens); $i--) { | |
// check for short array syntax | |
if (!is_array($tokens[$i]) && $tokens[$i][0] == '[') { | |
return false; | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
158) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\Addition::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Addition.php: | |
--- Original | |
+++ New | |
@@ @@ | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
159) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\Arithmetic\Multiplication::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Multiplication.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '*') { | |
+ if (is_array($t) && $t == '*') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
160) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\Multiplication::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Multiplication.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '*') { | |
+ if (!is_array($t) || $t == '*') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
161) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\Multiplication::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Multiplication.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '*') { | |
+ if (!is_array($t) && $t != '*') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
162) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\Multiplication::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Multiplication.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
163) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\ShiftRight::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/ShiftRight.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_SR) { | |
+ if (is_array($t) || $t[0] == T_SR) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
164) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\ShiftRight::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/ShiftRight.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_SR) { | |
+ if (is_array($t) && $t[1] == T_SR) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
165) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\ShiftRight::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/ShiftRight.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_SR) { | |
+ if (is_array($t) && $t[0] != T_SR) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
166) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\ShiftRight::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/ShiftRight.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
167) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\DivEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/DivEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_DIV_EQUAL) { | |
+ if (is_array($t) || $t[0] == T_DIV_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
168) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\DivEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/DivEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_DIV_EQUAL) { | |
+ if (is_array($t) && $t[1] == T_DIV_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
169) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\DivEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/DivEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_DIV_EQUAL) { | |
+ if (is_array($t) && $t[0] != T_DIV_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
170) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\DivEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/DivEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
171) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\Arithmetic\Modulus::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Modulus.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '%') { | |
+ if (is_array($t) && $t == '%') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
172) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\Modulus::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Modulus.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '%') { | |
+ if (!is_array($t) || $t == '%') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
173) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\Modulus::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Modulus.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '%') { | |
+ if (!is_array($t) && $t != '%') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
174) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\Modulus::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Modulus.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
175) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\Arithmetic\Not::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Not.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '~') { | |
+ if (is_array($t) && $t == '~') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
176) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\Not::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Not.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '~') { | |
+ if (!is_array($t) || $t == '~') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
177) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\Not::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Not.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '~') { | |
+ if (!is_array($t) && $t != '~') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
178) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\Not::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/Not.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
179) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseOr::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseOr.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '|') { | |
+ if (is_array($t) && $t == '|') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
180) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseOr::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseOr.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '|') { | |
+ if (!is_array($t) || $t == '|') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
181) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseOr::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseOr.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '|') { | |
+ if (!is_array($t) && $t != '|') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
182) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\BitwiseOr::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/BitwiseOr.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
183) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\ShiftLeft::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/ShiftLeft.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_SL) { | |
+ if (is_array($t) || $t[0] == T_SL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
184) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\ShiftLeft::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/ShiftLeft.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_SL) { | |
+ if (is_array($t) && $t[1] == T_SL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
185) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\ShiftLeft::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/ShiftLeft.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_SL) { | |
+ if (is_array($t) && $t[0] != T_SL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
186) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\ShiftLeft::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/ShiftLeft.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
187) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Arithmetic\PlusEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/PlusEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_PLUS_EQUAL) { | |
+ if (is_array($t) || $t[0] == T_PLUS_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
188) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Arithmetic\PlusEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/PlusEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_PLUS_EQUAL) { | |
+ if (is_array($t) && $t[1] == T_PLUS_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
189) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Arithmetic\PlusEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/PlusEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_PLUS_EQUAL) { | |
+ if (is_array($t) && $t[0] != T_PLUS_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
190) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Arithmetic\PlusEqual::mutates() in /home/rolen/php/humbug/src/Mutator/Arithmetic/PlusEqual.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
191) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ConditionalBoundary\GreaterThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/GreaterThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_GREATER_OR_EQUAL) { | |
+ if (is_array($t) || $t[0] == T_IS_GREATER_OR_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
192) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ConditionalBoundary\GreaterThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/GreaterThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_GREATER_OR_EQUAL) { | |
+ if (is_array($t) && $t[1] == T_IS_GREATER_OR_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
193) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ConditionalBoundary\GreaterThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/GreaterThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_GREATER_OR_EQUAL) { | |
+ if (is_array($t) && $t[0] != T_IS_GREATER_OR_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
194) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ConditionalBoundary\GreaterThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/GreaterThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
195) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ConditionalBoundary\LessThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/LessThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_SMALLER_OR_EQUAL) { | |
+ if (is_array($t) || $t[0] == T_IS_SMALLER_OR_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
196) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\ConditionalBoundary\LessThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/LessThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_SMALLER_OR_EQUAL) { | |
+ if (is_array($t) && $t[1] == T_IS_SMALLER_OR_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
197) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ConditionalBoundary\LessThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/LessThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_IS_SMALLER_OR_EQUAL) { | |
+ if (is_array($t) && $t[0] != T_IS_SMALLER_OR_EQUAL) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
198) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ConditionalBoundary\LessThanOrEqualTo::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/LessThanOrEqualTo.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
199) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\ConditionalBoundary\GreaterThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/GreaterThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '>') { | |
+ if (is_array($t) && $t == '>') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
200) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ConditionalBoundary\GreaterThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/GreaterThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '>') { | |
+ if (!is_array($t) || $t == '>') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
201) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ConditionalBoundary\GreaterThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/GreaterThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '>') { | |
+ if (!is_array($t) && $t != '>') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
202) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ConditionalBoundary\GreaterThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/GreaterThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
203) \Humbug\Mutator\Boolean\LogicalNot | |
Diff on \Humbug\Mutator\ConditionalBoundary\LessThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/LessThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '<') { | |
+ if (is_array($t) && $t == '<') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
204) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\ConditionalBoundary\LessThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/LessThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '<') { | |
+ if (!is_array($t) || $t == '<') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
205) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\ConditionalBoundary\LessThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/LessThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (!is_array($t) && $t == '<') { | |
+ if (!is_array($t) && $t != '<') { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
206) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\ConditionalBoundary\LessThan::mutates() in /home/rolen/php/humbug/src/Mutator/ConditionalBoundary/LessThan.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
207) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Number\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/Number/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_LNUMBER) { | |
+ if (is_array($t) || $t[0] == T_LNUMBER) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
208) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Number\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/Number/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_LNUMBER) { | |
+ if (is_array($t) && $t[1] == T_LNUMBER) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
209) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Number\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/Number/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_LNUMBER) { | |
+ if (is_array($t) && $t[0] != T_LNUMBER) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
210) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Number\Integer::mutates() in /home/rolen/php/humbug/src/Mutator/Number/Integer.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
211) \Humbug\Mutator\Boolean\LogicalAnd | |
Diff on \Humbug\Mutator\Number\Float::mutates() in /home/rolen/php/humbug/src/Mutator/Number/Float.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_DNUMBER) { | |
+ if (is_array($t) || $t[0] == T_DNUMBER) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
212) \Humbug\Mutator\Number\Integer | |
Diff on \Humbug\Mutator\Number\Float::mutates() in /home/rolen/php/humbug/src/Mutator/Number/Float.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_DNUMBER) { | |
+ if (is_array($t) && $t[1] == T_DNUMBER) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
213) \Humbug\Mutator\ConditionalNegation\Equal | |
Diff on \Humbug\Mutator\Number\Float::mutates() in /home/rolen/php/humbug/src/Mutator/Number/Float.php: | |
--- Original | |
+++ New | |
@@ @@ | |
$t = $tokens[$index]; | |
- if (is_array($t) && $t[0] == T_DNUMBER) { | |
+ if (is_array($t) && $t[0] != T_DNUMBER) { | |
return true; | |
} | |
return false; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
214) \Humbug\Mutator\Boolean\False | |
Diff on \Humbug\Mutator\Number\Float::mutates() in /home/rolen/php/humbug/src/Mutator/Number/Float.php: | |
--- Original | |
+++ New | |
@@ @@ | |
} | |
- return false; | |
+ return true; | |
} | |
} | |
The following output was received on stderr: | |
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'FastestFirstFilter has encountered an unlogged test suite which cannot be sorted' in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php:30 | |
Stack trace: | |
#0 [internal function]: Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->Humbug\Phpunit\Filter\TestSuite\{closure}(Object(PHPUnit_Framework_TestSuite), Object(PHPUnit_Framework_TestSuite)) | |
#1 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php(41): usort(Array, Object(Closure)) | |
#2 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(61): Humbug\Phpunit\Filter\TestSuite\FastestFirstFilter->filter(Array) | |
#3 /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Listener/FilterListener.php(47): Humbug\Phpunit\Listener\FilterListener->filterSuites(Array) | |
#4 /home/rolen/php/humbug/vendor/phpunit/phpunit/src/Framew in /home/rolen/php/humbug/vendor/padraic/phpunit-extensions/src/Humbug/Phpunit/Filter/TestSuite/FastestFirstFilter.php on line 30 | |
Time: 4.41 minutes Memory: 13.25MB |
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
rolen@rollen:/tmp $ touch phpunit.times.humbug.json | |
rolen@rollen:/tmp $ tail -f phpunit.times.humbug.json | |
{ | |
"suites": [], | |
"tests": { | |
"MM1_MathTest": [ | |
{ | |
"title": "testAdds", | |
"time": 0.010809898376465 | |
} | |
] | |
} | |
}.0039248466491699 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
} ] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
rserTest": 2.2567481994629, | |
"Humbug\\Test\\ConfigTest": 2.3047006130219, | |
"Humbug\\Test\\ContainerTest": 2.3108513355255, | |
"Humbug\\Test\\GeneratorTest": 2.3421032428741, | |
"Humbug\\Test\\MutableTest": 2.995593547821, | |
"Humbug\\Test\\Mutator\\Arithmetic\\AdditionTest": 3.003734588623, | |
"Humbug\\Test\\Mutator\\Arithmetic\\BitwiseAndTest": 3.0119686126709, | |
"Humbug\\Test\\Mutator\\Arithmetic\\BitwiseOrTest": 3.0202746391296, | |
"Humbug\\Test\\Mutator\\Arithmetic\\BitwiseXorTest": 3.0285227298737, | |
"Humbug\\Test\\Mutator\\Arithmetic\\DivEqualTest": 3.0392408370972, | |
"Humbug\\Test\\Mutator\\Arithmetic\\DivisionTest": 3.0474407672882, | |
"Humbug\\Test\\Mutator\\Arithmetic\\ExponentiationTest": 3.0563249588013, | |
"Humbug\\Test\\Mutator\\Arithmetic\\MinusEqualTest": 3.067037820816, | |
"Humbug\\Test\\Mutator\\Arithmetic\\ModEqualTest": 3.077889919281, | |
"Humbug\\Test\\Mutator\\Arithmetic\\ModulusTest": 3.0861461162567, | |
"Humbug\\Test\\Mutator\\Arithmetic\\MulEqualTest": 3.0968379974365, | |
"Humbug\\Test\\Mutator\\Arithmetic\\MultiplicationTest": 3.105161190033, | |
"Humbug\\Test\\Mutator\\Arithmetic\\NotTest": 3.115843296051, | |
"Humbug\\Test\\Mutator\\Arithmetic\\PlusEqualTest": 3.1265876293182, | |
"Humbug\\Test\\Mutator\\Arithmetic\\PowEqualTest": 3.1369516849518, | |
"Humbug\\Test\\Mutator\\Arithmetic\\ShiftLeftTest": 3.1476769447327, | |
"Humbug\\Test\\Mutator\\Arithmetic\\ShiftRightTest": 3.1585018634796, | |
"Humbug\\Test\\Mutator\\Arithmetic\\SubtractionTest": 3.1667499542236, | |
"Humbug\\Test\\Mutator\\Boolean\\FalseTest": 3.1773838996887, | |
"Humbug\\Test\\Mutator\\Boolean\\LogicalAndTest": 3.1883718967438, | |
"Humbug\\Test\\Mutator\\Boolean\\LogicalLowerAndTest": 3.199236869812, | |
"Humbug\\Test\\Mutator\\Boolean\\LogicalLowerOrTest": 3.209981918335, | |
"Humbug\\Test\\Mutator\\Boolean\\LogicalNotTest": 3.2209236621857, | |
"Humbug\\Test\\Mutator\\Boolean\\LogicalOrTest": 3.2317576408386, | |
"Humbug\\Test\\Mutator\\Boolean\\TrueTest": 3.2425348758698, | |
"Humbug\\Test\\Mutator\\ConditionalBoundary\\GreaterThanOrEqualToTest": 3.2508807182312, | |
"Humbug\\Test\\Mutator\\ConditionalBoundary\\GreaterThanTest": 3.261709690094, | |
"Humbug\\Test\\Mutator\\ConditionalBoundary\\LessThanOrEqualToTest": 3.2698876857758, | |
"Humbug\\Test\\Mutator\\ConditionalBoundary\\LessThanTest": 3.2806725502014, | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\EqualTest": 3.2913506031036, | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\GreaterThanOrEqualToTest": 3.2995727062225, | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\GreaterThanTest": 3.3102746009827, | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\IdenticalTest": 3.3210866451263, | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\LessThanOrEqualToTest": 3.3294787406921, | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\LessThanTest": 3.3402075767517, | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\NotEqualTest": 3.3510255813599, | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\NotIdenticalTest": 3.3620166778564, | |
"Humbug\\Test\\Mutator\\Increment\\DecrementTest": 3.3728315830231, | |
"Humbug\\Test\\Mutator\\Increment\\IncrementTest": 3.3835506439209, | |
"Humbug\\Test\\Mutator\\Number\\FloatTest": 3.422105550766, | |
"Humbug\\Test\\Mutator\\Number\\IntegerTest": 3.4525654315948, | |
"Humbug\\Test\\Mutator\\FunctionCall\\FunctionCallTest": 3.4599585533142, | |
"Humbug\\Test\\Mutator\\FunctionCall\\IntegerTest": 3.4758179187775 | |
}, | |
"tests": { | |
"Humbug\\Test\\Adapter\\Phpunit\\JobTest": [ | |
{ | |
"title": "testGenerateReturnsPHPScriptRenderedWithCurrentRunnersSettingsAndSerialisedMutationArray", | |
"time": 0.013012886047363 | |
} | |
], | |
"Humbug\\Test\\Adapter\\PhpunitTest": [ | |
{ | |
"title": "testAdapterRunsDefaultPhpunitCommand", | |
"time": 0.4178900718689 | |
}, | |
{ | |
"title": "testAdapterRunsPhpunitCommandWithAlltestsFileTarget", | |
"time": 0.50504899024963 | |
}, | |
{ | |
"title": "testAdapterDetectsTestsPassing", | |
"time": 0.33210206031799 | |
}, | |
{ | |
"title": "testAdapterDetectsTestsFailingFromTestFail", | |
"time": 0.33140301704407 | |
}, | |
{ | |
"title": "testAdapterDetectsTestsFailingFromException", | |
"time": 0.3235239982605 | |
}, | |
{ | |
"title": "testAdapterDetectsTestsFailingFromError", | |
"time": 0.31991004943848 | |
}, | |
{ | |
"title": "testAdapterOutputProcessingDetectsFailOverMultipleLinesWithNoDepOnFinalStatusReport", | |
"time": 0.002532958984375 | |
} | |
], | |
"Humbug\\Test\\Config\\JsonParserTest": [ | |
{ | |
"title": "testParseShouldReturnConfig", | |
"time": 0.0030310153961182 | |
}, | |
{ | |
"title": "testShouldRiseExceptionWhenFileNotExists", | |
"time": 0.0045430660247803 | |
}, | |
{ | |
"title": "testShouldRiseExceptionWhenFileContainsInvalidJson", | |
"time": 0.0037500858306885 | |
} | |
], | |
"Humbug\\Test\\ConfigTest::testShouldHaveSource": [ | |
{ | |
"title": "testShouldHaveSource with data set #0", | |
"time": 0.0049090385437012 | |
}, | |
{ | |
"title": "testShouldHaveSource with data set #1", | |
"time": 0.0042870044708252 | |
}, | |
{ | |
"title": "testShouldHaveSource with data set #2", | |
"time": 0.004101037979126 | |
}, | |
{ | |
"title": "testShouldRiseExceptionWhenSourceIsNotPresent", | |
"time": 0.0022380352020264 | |
}, | |
{ | |
"title": "testShouldRiseExceptionWhenSourceDirectoriesAndExcludesAreNotPresent", | |
"time": 0.0022971630096436 | |
}, | |
{ | |
"title": "testShouldHaveTimeout", | |
"time": 0.0043590068817139 | |
}, | |
{ | |
"title": "testShouldHaveEmptyTimeout", | |
"time": 0.0023069381713867 | |
}, | |
{ | |
"title": "testShouldHaveChDir", | |
"time": 0.0044021606445312 | |
}, | |
{ | |
"title": "testShouldHaveEmptyChDir", | |
"time": 0.0017111301422119 | |
}, | |
{ | |
"title": "testShouldRiseExceptionWhenChDirNotExists", | |
"time": 0.0024490356445312 | |
}, | |
{ | |
"title": "testShouldHaveLogsJsonAndLogsText", | |
"time": 0.0076038837432861 | |
}, | |
{ | |
"title": "testShouldHaveEmptyLogsJsonAndLogsText", | |
"time": 0.0022327899932861 | |
}, | |
{ | |
"title": "testShouldRiseExceptionWhenLogsJsonDirNotExists", | |
"time": 0.0025219917297363 | |
}, | |
{ | |
"title": "testShouldRiseExceptionWhenTextJsonDirNotExists", | |
"time": 0.0025331974029541 | |
} | |
], | |
"Humbug\\Test\\ContainerTest": [ | |
{ | |
"title": "testShouldHaveAdapterOptionsAfterCreate", | |
"time": 0.0023849010467529 | |
}, | |
{ | |
"title": "testGetShouldReturnInputOption", | |
"time": 0.0017788410186768 | |
}, | |
{ | |
"title": "testGetShouldRiseExceptionForUnknownOption", | |
"time": 0.0019869804382324 | |
} | |
], | |
"Humbug\\Test\\GeneratorTest": [ | |
{ | |
"title": "testShouldCollateAllFilesValidForMutationTesting", | |
"time": 0.031251907348633 | |
} | |
], | |
"Humbug\\Test\\MutableTest": [ | |
{ | |
"title": "testShouldMaintainFilePathInfoOncePassedInConstructor", | |
"time": 0.0045778751373291 | |
}, | |
{ | |
"title": "testShouldNotHaveMutationsBeforeGeneration", | |
"time": 0.0043668746948242 | |
}, | |
{ | |
"title": "testShouldNotHaveDetectedMutablesBeforeGeneration", | |
"time": 0.0043151378631592 | |
}, | |
{ | |
"title": "testShouldNotGenerateMutablesForEmptyClass", | |
"time": 0.0057089328765869 | |
}, | |
{ | |
"title": "testShouldNotgenerateForEmptyClass", | |
"time": 0.0048339366912842 | |
}, | |
{ | |
"title": "testShouldNotGenerateMutationsIfOnlyEmptyMethodsInClass", | |
"time": 0.031927108764648 | |
}, | |
{ | |
"title": "testShouldNotGenerateMutablesIfMethodBodyIsNotViable", | |
"time": 0.022563934326172 | |
}, | |
{ | |
"title": "testShouldGenerateAMutationIfPossible", | |
"time": 0.042194128036499 | |
}, | |
{ | |
"title": "testShouldReturnMutationsAsMutantObjectWrappers", | |
"time": 0.034148216247559 | |
}, | |
{ | |
"title": "testShouldDetectMutablesForClassesInSameFileSeparately", | |
"time": 0.067806005477905 | |
}, | |
{ | |
"title": "testShouldDetectMutationsForClassesInSameFileSeparately", | |
"time": 0.067755937576294 | |
}, | |
{ | |
"title": "testShouldGenerateAdditionOperatorMutationWhenPlusSignDetected", | |
"time": 0.033643960952759 | |
}, | |
{ | |
"title": "testShouldGenerateSubstractionOperatorMutationWhenMinusSignDetected", | |
"time": 0.03421688079834 | |
}, | |
{ | |
"title": "testShouldGenerateIncrementOperatorMutationWhenPostIncrementDetected", | |
"time": 0.02567195892334 | |
}, | |
{ | |
"title": "testShouldGenerateIncrementOperatorMutationWhenPreIncrementDetected", | |
"time": 0.025788068771362 | |
}, | |
{ | |
"title": "testShouldGenerateBooleanTrueMutationWhenBoolTrueDetected", | |
"time": 0.022991180419922 | |
}, | |
{ | |
"title": "testShouldGenerateBooleanFalseMutationWhenBoolFalseDetected", | |
"time": 0.023074150085449 | |
}, | |
{ | |
"title": "testShoultNotGenerateMutableOnArrayConcatenation", | |
"time": 0.19790601730347 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\AdditionTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToSubstractionOperator", | |
"time": 0.0059759616851807 | |
}, | |
{ | |
"title": "testMutatesAdditionOperatorToSubstractionOperator", | |
"time": 0.0021650791168213 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\BitwiseAndTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToBitwiseOrOperator", | |
"time": 0.005918025970459 | |
}, | |
{ | |
"title": "testMutatesBitwiseAndToBitwiseOr", | |
"time": 0.0023159980773926 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\BitwiseOrTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToBitwiseOrOperator", | |
"time": 0.0061190128326416 | |
}, | |
{ | |
"title": "testMutatesBitwiseOrToBitwiseAnd", | |
"time": 0.0021870136260986 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\BitwiseXorTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToBitwiseAndOperator", | |
"time": 0.0060210227966309 | |
}, | |
{ | |
"title": "testMutatesBitwiseXorToBitwiseAnd", | |
"time": 0.0022270679473877 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\DivEqualTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToMulEqualOperator", | |
"time": 0.0084991455078125 | |
}, | |
{ | |
"title": "testMutatesDivEqualToMulEqual", | |
"time": 0.0022189617156982 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\DivisionTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToMultiplicationOperator", | |
"time": 0.0060009956359863 | |
}, | |
{ | |
"title": "testMutatesDivisionToMultiplication", | |
"time": 0.0021989345550537 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\ExponentiationTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToDivisionOperator", | |
"time": 0.0059511661529541 | |
}, | |
{ | |
"title": "testMutatesExponentiationToDivision", | |
"time": 0.0029330253601074 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\MinusEqualTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToPlusEqualOperator", | |
"time": 0.0085289478302002 | |
}, | |
{ | |
"title": "testMutatesMinusEqualToPlusEqual", | |
"time": 0.0021839141845703 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\ModEqualTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToMulEqualOperator", | |
"time": 0.0086719989776611 | |
}, | |
{ | |
"title": "testMutatesModEqualToMulEqual", | |
"time": 0.0021800994873047 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\ModulusTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToMultiplicationOperator", | |
"time": 0.0059590339660645 | |
}, | |
{ | |
"title": "testMutatesModulusToMultiplication", | |
"time": 0.0022971630096436 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\MulEqualTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToDivEqualOperator", | |
"time": 0.0084609985351562 | |
}, | |
{ | |
"title": "testMutatesMulEqualToDivEqual", | |
"time": 0.0022308826446533 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\MultiplicationTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToDivisionOperator", | |
"time": 0.0060820579528809 | |
}, | |
{ | |
"title": "testMutatesMultiplicationToDivision", | |
"time": 0.0022411346435547 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\NotTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToWhitespace", | |
"time": 0.0085000991821289 | |
}, | |
{ | |
"title": "testMutatesNotToWhitespace", | |
"time": 0.0021820068359375 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\PlusEqualTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToMinusEqualOperator", | |
"time": 0.0085611343383789 | |
}, | |
{ | |
"title": "testMutatesPlusEqualToMinusEqual", | |
"time": 0.002183198928833 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\PowEqualTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToDivEqualOperator", | |
"time": 0.0087399482727051 | |
}, | |
{ | |
"title": "testMutatesMulEqualToDivEqual", | |
"time": 0.0016241073608398 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\ShiftLeftTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToShiftRightOperator", | |
"time": 0.0085210800170898 | |
}, | |
{ | |
"title": "testMutatesShiftLeftToShiftRight", | |
"time": 0.0022041797637939 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\ShiftRightTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToShiftLeftOperator", | |
"time": 0.008558988571167 | |
}, | |
{ | |
"title": "testMutatesShiftRightToShiftLeft", | |
"time": 0.0022659301757812 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Arithmetic\\SubtractionTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToAdditionOperator", | |
"time": 0.0059990882873535 | |
}, | |
{ | |
"title": "testMutatesSubtractionOperatorToAdditionOperator", | |
"time": 0.002249002456665 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Boolean\\FalseTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToTrue", | |
"time": 0.0084578990936279 | |
}, | |
{ | |
"title": "testMutatesFalseToTrue", | |
"time": 0.00217604637146 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Boolean\\LogicalAndTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToBooleanOr", | |
"time": 0.0088059902191162 | |
}, | |
{ | |
"title": "testMutatesLogicalAndToLogicalOr", | |
"time": 0.0021820068359375 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Boolean\\LogicalLowerAndTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToLogicalLowerOr", | |
"time": 0.0085148811340332 | |
}, | |
{ | |
"title": "testMutatesLogicalLowerAndToLogicalLowerOr", | |
"time": 0.0023500919342041 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Boolean\\LogicalLowerOrTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToLogicalLowerAnd", | |
"time": 0.0085210800170898 | |
}, | |
{ | |
"title": "testMutatesLogicalLowerAndToLogicalLowerOr", | |
"time": 0.0022239685058594 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Boolean\\LogicalNotTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToWhitespace", | |
"time": 0.0086939334869385 | |
}, | |
{ | |
"title": "testMutatesLogicalNotToEmptyWhitespace", | |
"time": 0.0022478103637695 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Boolean\\LogicalOrTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToBooleanAnd", | |
"time": 0.0085079669952393 | |
}, | |
{ | |
"title": "testMutatesLogicalOrToLogicalAnd", | |
"time": 0.0023260116577148 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Boolean\\TrueTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToFalse", | |
"time": 0.0085511207580566 | |
}, | |
{ | |
"title": "testMutatesTrueToFalse", | |
"time": 0.0022261142730713 | |
} | |
], | |
"Humbug\\Test\\Mutator\\ConditionalBoundary\\GreaterThanOrEqualToTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToGreaterThanOrEqualTo", | |
"time": 0.0061578750610352 | |
}, | |
{ | |
"title": "testMutatesGreaterThanToGreaterThanOrEqualTo", | |
"time": 0.002187967300415 | |
} | |
], | |
"Humbug\\Test\\Mutator\\ConditionalBoundary\\GreaterThanTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToGreaterThanOrEqualTo", | |
"time": 0.0085899829864502 | |
}, | |
{ | |
"title": "testMutatesGreaterThanToGreaterThanOrEqualTo", | |
"time": 0.0022389888763428 | |
} | |
], | |
"Humbug\\Test\\Mutator\\ConditionalBoundary\\LessThanOrEqualToTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToLessThanOrEqualTo", | |
"time": 0.0059559345245361 | |
}, | |
{ | |
"title": "testMutatesLessThanToLessThanOrEqualTo", | |
"time": 0.0022220611572266 | |
} | |
], | |
"Humbug\\Test\\Mutator\\ConditionalBoundary\\LessThanTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToLessThanOrEqualTo", | |
"time": 0.0085468292236328 | |
}, | |
{ | |
"title": "testMutatesLessThanToLessThanOrEqualTo", | |
"time": 0.0022380352020264 | |
} | |
], | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\EqualTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToNotEqual", | |
"time": 0.0084800720214844 | |
}, | |
{ | |
"title": "testMutatesEqualToNotEqual", | |
"time": 0.0021979808807373 | |
} | |
], | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\GreaterThanOrEqualToTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToLessThan", | |
"time": 0.0060460567474365 | |
}, | |
{ | |
"title": "testMutatesGreaterThanOrEqualToToLessThan", | |
"time": 0.00217604637146 | |
} | |
], | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\GreaterThanTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToLessThanOrEqualTo", | |
"time": 0.0084998607635498 | |
}, | |
{ | |
"title": "testMutatesGreaterThanToLessThanOrEqualTo", | |
"time": 0.002202033996582 | |
} | |
], | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\IdenticalTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToNotIdentical", | |
"time": 0.008620023727417 | |
}, | |
{ | |
"title": "testMutatesIdenticalToNotIdentical", | |
"time": 0.0021920204162598 | |
} | |
], | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\LessThanOrEqualToTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToGreaterThan", | |
"time": 0.0061500072479248 | |
}, | |
{ | |
"title": "testMutatesLessThanOrEqualToToGreaterThan", | |
"time": 0.0022420883178711 | |
} | |
], | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\LessThanTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToGreaterThanOrEqualTo", | |
"time": 0.0084578990936279 | |
}, | |
{ | |
"title": "testMutatesLessThanToGreaterThanOrEqualTo", | |
"time": 0.0022709369659424 | |
} | |
], | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\NotEqualTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToEqual", | |
"time": 0.0085949897766113 | |
}, | |
{ | |
"title": "testMutatesNotEqualToEqual", | |
"time": 0.002223014831543 | |
} | |
], | |
"Humbug\\Test\\Mutator\\ConditionalNegation\\NotIdenticalTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToIdentical", | |
"time": 0.0087621212005615 | |
}, | |
{ | |
"title": "testMutatesNotIdenticalToIdentical", | |
"time": 0.0022289752960205 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Increment\\DecrementTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToIncrementOperator", | |
"time": 0.0085411071777344 | |
}, | |
{ | |
"title": "testMutatesDecrementToIncrement", | |
"time": 0.0022737979888916 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Increment\\IncrementTest": [ | |
{ | |
"title": "testReturnsTokenEquivalentToDecrementOperator", | |
"time": 0.008491039276123 | |
}, | |
{ | |
"title": "testMutatesIncrementToDecrement", | |
"time": 0.0022280216217041 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Number\\FloatTest": [ | |
{ | |
"title": "testReturnsTokenSwitchingZeroForOne", | |
"time": 0.0085659027099609 | |
}, | |
{ | |
"title": "testReturnsTokenSwitchingOneForZero", | |
"time": 0.0084078311920166 | |
}, | |
{ | |
"title": "testReturnsTokenSwitchingBetweenOneAndTwoWithIncrement", | |
"time": 0.0085780620574951 | |
}, | |
{ | |
"title": "testReturnsTokenSwitchingAnyIntegerGreaterThanTwoWithOne", | |
"time": 0.008587121963501 | |
}, | |
{ | |
"title": "testMutatesFloat", | |
"time": 0.001788854598999 | |
}, | |
{ | |
"title": "testDoesNotMutateOtherScalars", | |
"time": 0.0026271343231201 | |
} | |
], | |
"Humbug\\Test\\Mutator\\Number\\IntegerTest": [ | |
{ | |
"title": "testReturnsTokenSwitchingZeroForOne", | |
"time": 0.0086889266967773 | |
}, | |
{ | |
"title": "testReturnsTokenSwitchingOneForZero", | |
"time": 0.0085909366607666 | |
}, | |
{ | |
"title": "testReturnsTokenSwitchingAnyIntegerGreaterThanOneWithItsIncrement", | |
"time": 0.0086829662322998 | |
}, | |
{ | |
"title": "testMutatesInteger", | |
"time": 0.0018010139465332 | |
}, | |
{ | |
"title": "testDoesNotMutateOtherScalars", | |
"time": 0.0026960372924805 | |
} | |
], | |
"Humbug\\Test\\Mutator\\FunctionCall\\FunctionCallTest": [ | |
{ | |
"title": "testMutatesWithValueReturnTrue", | |
"time": 0.0017869472503662 | |
}, | |
{ | |
"title": "testMutatesWithValueReturnAssociative", | |
"time": 0.0018160343170166 | |
}, | |
{ | |
"title": "testMutatesWithValueReturnFunction", | |
"time": 0.0018901824951172 | |
}, | |
{ | |
"title": "testMutatesWithValueReturnFunctionAndString", | |
"time": 0.0018999576568604 | |
} | |
], | |
"Humbug\\Test\\Mutator\\FunctionCall\\IntegerTest": [ | |
{ | |
"title": "testMutatesWithValueReturnOne", | |
"time": 0.0019590854644775 | |
}, | |
{ | |
"title": "testMutatesWithValueReturnZero", | |
"time": 0.0020239353179932 | |
}, | |
{ | |
"title": "testMutatesWithValueReturnOneAndWhitespaces", | |
"time": 0.0019931793212891 | |
}, | |
{ | |
"title": "testMutatesWithValueReturnOneAndPlusDecimal", | |
"time": 0.0020051002502441 | |
}, | |
{ | |
"title": "testMutatesWithValueReturnFloat", | |
"time": 0.002086877822876 | |
}, | |
{ | |
"title": "testGetMutationWithValueReturnOne", | |
"time": 0.0019321441650391 | |
}, | |
{ | |
"title": "testGetMutationWithValueReturnZero", | |
"time": 0.0018899440765381 | |
}, | |
{ | |
"title": "testGetMutationWithValueReturnOneAndPlusDecimal", | |
"time": 0.0019690990447998 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
.0039548873901367 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": { | |
"MM2_MathTest": 0.003964900970459 | |
}, | |
"tests": { | |
"MM2_MathTest": [ | |
{ | |
"title": "testAdds", | |
"time": 0.003964900970459 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"ExceptionTest": [ | |
{ | |
"title": "testSomeException", | |
"time": 0.0022711753845215 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"MM1_MathTest": [ | |
{ | |
"title": "testAdds", | |
"time": 0.010857820510864 | |
} | |
] | |
} | |
}.0039510726928711 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": { | |
"MM2_MathTest": 0.0039951801300049 | |
}, | |
"tests": { | |
"MM2_MathTest": [ | |
{ | |
"title": "testAdds", | |
"time": 0.0039951801300049 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
}tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"ExceptionTest": [ | |
{ | |
"title": "testSomeException", | |
"time": 0.002263069152832 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0039820671081543 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"FailTest": [ | |
{ | |
"title": "testSomeFail", | |
"time": 0.0039200782775879 | |
} | |
] | |
} | |
}] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"MM1_MathTest": [ | |
{ | |
"title": "testAdds", | |
"time": 0.010878086090088 | |
} | |
] | |
} | |
}.0039489269256592 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0039749145507812 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
0394606590271 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0039491653442383 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"MM1_MathTest": [ | |
{ | |
"title": "testAdds", | |
"time": 0.01087498664856 | |
} | |
] | |
} | |
}0.0039370059967041 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"FailTest": [ | |
{ | |
"title": "testSomeFail", | |
"time": 0.0039570331573486 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"ExceptionTest": [ | |
{ | |
"title": "testSomeException", | |
"time": 0.002269983291626 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
003931999206543 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0039618015289307 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"ExceptionTest": [ | |
{ | |
"title": "testSomeException", | |
"time": 0.0022401809692383 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0039329528808594 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
0.0039498805999756 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"FailTest": [ | |
{ | |
"title": "testSomeFail", | |
"time": 0.003882884979248 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"ExceptionTest": [ | |
{ | |
"title": "testSomeException", | |
"time": 0.0022530555725098 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"ErrorTest": [ | |
{ | |
"title": "testSomeError", | |
"time": 0.0018129348754883 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
0394606590271 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"FailTest": [ | |
{ | |
"title": "testSomeFail", | |
"time": 0.0039048194885254 | |
} | |
] | |
} | |
} ] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": { | |
"MM2_MathTest": 0.0039520263671875 | |
}, | |
"tests": { | |
"MM2_MathTest": [ | |
{ | |
"title": "testAdds", | |
"time": 0.0039520263671875 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"FailTest": [ | |
{ | |
"title": "testSomeFail", | |
"time": 0.0039138793945312 | |
} | |
] | |
} | |
} ] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0039849281311035 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0039379596710205 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"PassTest": [ | |
{ | |
"title": "testSomePass", | |
"time": 0.0026049613952637 | |
} | |
] | |
} | |
}] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"ErrorTest": [ | |
{ | |
"title": "testSomeError", | |
"time": 0.0017409324645996 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
.0039739608764648 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"ExceptionTest": [ | |
{ | |
"title": "testSomeException", | |
"time": 0.0022690296173096 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0040240287780762 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0039989948272705 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"MM1_MathTest": [ | |
{ | |
"title": "testAdds", | |
"time": 0.010771036148071 | |
} | |
] | |
} | |
}.0040328502655029 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0039639472961426 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0039191246032715 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
} ] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0039489269256592 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"PassTest": [ | |
{ | |
"title": "testSomePass", | |
"time": 0.0026140213012695 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"ExceptionTest": [ | |
{ | |
"title": "testSomeException", | |
"time": 0.0023369789123535 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"MM1_MathTest": [ | |
{ | |
"title": "testAdds", | |
"time": 0.010854959487915 | |
} | |
] | |
} | |
}.0039339065551758 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"FailTest": [ | |
{ | |
"title": "testSomeFail", | |
"time": 0.0039360523223877 | |
} | |
] | |
} | |
} ] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0039710998535156 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"FailTest": [ | |
{ | |
"title": "testSomeFail", | |
"time": 0.0039329528808594 | |
} | |
] | |
} | |
} ] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
0.0040121078491211 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
003953218460083 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"PassTest": [ | |
{ | |
"title": "testSomePass", | |
"time": 0.0026018619537354 | |
} | |
] | |
} | |
} ] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
003960132598877 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"ExceptionTest": [ | |
{ | |
"title": "testSomeException", | |
"time": 0.0023260116577148 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
.0039260387420654 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"FailTest": [ | |
{ | |
"title": "testSomeFail", | |
"time": 0.00406813621521 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"ExceptionTest": [ | |
{ | |
"title": "testSomeException", | |
"time": 0.0022768974304199 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"ErrorTest": [ | |
{ | |
"title": "testSomeError", | |
"time": 0.0017440319061279 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": { | |
"MM2_MathTest": 0.0039210319519043 | |
}, | |
"tests": { | |
"MM2_MathTest": [ | |
{ | |
"title": "testAdds", | |
"time": 0.0039210319519043 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": { | |
"MM2_MathTest": 0.0039718151092529 | |
}, | |
"tests": { | |
"MM2_MathTest": [ | |
{ | |
"title": "testAdds", | |
"time": 0.0039718151092529 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"PassTest": [ | |
{ | |
"title": "testSomePass", | |
"time": 0.0026280879974365 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated | |
{ | |
"suites": [], | |
"tests": { | |
"ExceptionTest": [ | |
{ | |
"title": "testSomeException", | |
"time": 0.0024230480194092 | |
} | |
] | |
} | |
}tail: phpunit.times.humbug.json: file truncated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment