Markus Staab
Markus Staab
### Feature request To ease implementing rules working on static-analysis time known strings it would be great we could have a new virtual node-type which allows to hook a rule...
in our concrete case the file-cache is taking a lot of space, because our file-structure in the filesystem has a incrementing counter: ``` complexit@ci24:/www/www/apps/motiontm$ tree -L 2 . ├── current...
# New Feature ## Summary comparing overtrue/phplint with e.g. https://github.com/php-parallel-lint/PHP-Parallel-Lint IMO the biggest downside of overtrue/phplint is the big list of dependencies. having less bloat to use this package would...
to prevent risky [misuse of psr3 compatible loggers](https://t.co/FZOU1HgtaD) I have created a small PHPStan rule package on https://github.com/staabm/phpstan-psr3 maybe it would make sense to promote use of static analysis with...
extracting the new few methods into a separate class and adding basic tests kills the following timed-out mutants: ```diff 1) /Users/staabm/workspace/infection/src/Command/RunCommand.php:689 [M] Identical @@ @@ { $threads = $input->getOption(self::OPTION_THREADS); //...
POC for https://github.com/infection/infection/issues/2209 output with this PR: ``` ➜ infection git:(cli-mut) ✗ php bin/infection --threads=max --skip-initial-tests --coverage=build/logs --show-mutations=10 --filter=src/Command Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003...
kills a single timed out mutant ```diff 1) /Users/staabm/workspace/infection/src/Config/ValueProvider/ExcludeDirsProvider.php:117 [M] NotIdentical @@ @@ $question->setAutocompleterValues($autocompleteValues); $question->setValidator($this->getValidator(new RootsFileOrDirectoryLocator($sourceDirs, $this->filesystem))); $question->setMaxAttempts(5); - while (($dir = $this->questionHelper->ask($io->getInput(), $io->getOutput(), $question)) !== '') { + while...
I think we need a way to set a maximum number of timed-out mutants on a per project basis. when the limit is reached a non-zero exit code should be...
there is this coined term: "don't test what you don't own". (to be fair: acutally the term is "don't mock what you don't own" ;)) when running infection on its...
when `strict-types=1` we can omit mutations for casts at return statements of natively typed functions/methods, as these result into php runtime errors example for `CastInt` (but can be applied to...