-
-
Notifications
You must be signed in to change notification settings - Fork 176
Description
| Question | Answer |
|---|---|
| Infection version | 0.21.0 |
| Test Framework version | PHPUnit 9.5.2 |
| PHP version | 7.4.15 |
| Platform | Debian |
| Github Repo | - |
Output with issue
Running initial test suite...
PHPUnit version: 9.5.2
318 [============================] 7 mins
Generate mutants...
Processing source code files: 214/305PHP Fatal error: Uncaught TypeError: Argument 1 passed to PhpParser\Node\Scalar\LNumber::__construct() must be of the type int, float given, called in /home/deepdiver/Development/......../vendor/infection/infection/src/Mutator/Number/IncrementInteger.php on line 81 and defined in /home/deepdiver/Development/......../vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/LNumber.php:25
Stack trace:
#0 /home/deepdiver/Development/......../vendor/infection/infection/src/Mutator/Number/IncrementInteger.php(81): PhpParser\Node\Scalar\LNumber->__construct()
#1 /home/deepdiver/Development/......./vendor/infection/infection/src/Mutator/NodeMutationGenerator.php(143): Infection\Mutator\Number\IncrementInteger->mutate()
#2 /home/deepdiver/Development/......./vendor/infection/infection/src/Mutator/NodeMutationGenerator.php(112): Infection\Mutator\NodeMutationGenerator->generateForMutator()
#3 /home/deepdiver/Development/......../vendor/infection/infection/src/PhpParser/Visitor/MutationC in /home/deepdiver/Development/......../vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/LNumber.php on line 25