Skip to content

update config for phpunit #1449

update config for phpunit

update config for phpunit #1449

Triggered via pull request October 31, 2024 08:02
@mimmi20mimmi20
synchronize #367
updates
Status Success
Total duration 6m 3s
Artifacts

continuous-integration.yml

on: pull_request
Matrix: Validate Project / Check composer dependencies with composer-dependency-analyser
Matrix: Validate Project / Check composer with composer-normalize
Matrix: Validate Project / Check composer dependencies with composer-unused
Matrix: Validate Project / Check with editorconfig-checker
Matrix: Validate Project / Lint PHP
Matrix: Validate Project / Validate markdown files
Matrix: Validate Project / Linting with overtrue/phplint
Matrix: Validate Project / Validate composer
Matrix: Validate Project / Validate yaml
Validate Project  /  Lint & Validate Status
0s
Validate Project / Lint & Validate Status
Matrix: Install Project / Install Node dependencies
Matrix: Install Project / Install PHP dependencies
Install Project  /  Install Status
0s
Install Project / Install Status
Matrix: Project Analysis / Run eslint
Matrix: Project Analysis / Check Coding Standards with PHP-CS-Fixer
Matrix: Project Analysis / Check Coding Standards with PHPCS
Matrix: Project Analysis / Check Rules with PHPMD
Matrix: Project Analysis / Run prettier
Matrix: Project Analysis / Checks with Rector
Matrix: Project Analysis / Static Code Analysis with PHPStan
Matrix: Project Analysis / Run stylelint
Project Analysis  /  Status Analytics
0s
Project Analysis / Status Analytics
Matrix: UnitTests / Code Coverage with PHPUnit
Matrix: UnitTests / UnitTests with PHPUnit
Matrix: UnitTests / UnitTests with stryker
Matrix: UnitTests / UnitTests with vitest
UnitTests  /  finish-code-coverage
3s
UnitTests / finish-code-coverage
UnitTests  /  Unit & Integration Tests Status
0s
UnitTests / Unit & Integration Tests Status
Unit & Integration Tests Status
0s
Unit & Integration Tests Status
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
UnitTests / Code Coverage with PHPUnit (ubuntu-24.04, 8.1, lowest): src/StreamFormatter.php#L379
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ if (is_scalar($data)) { return (string) $data; } - return $this->toJson($data, true); + return $this->toJson($data, false); } /** @throws void */ private function replaceNewlines(string $str) : string
UnitTests / Code Coverage with PHPUnit (ubuntu-24.04, 8.1, lowest): src/StreamFormatterFactory.php#L55
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ $allowInlineLineBreaks = false; $maxNormalizeDepth = self::DEFAULT_NORMALIZER_DEPTH; $maxNormalizeItemCount = self::DEFAULT_NORMALIZER_ITEM_COUNT; - $prettyPrint = false; + $prettyPrint = true; $includeStacktraces = false; if (is_array($options)) { if (array_key_exists('format', $options)) {
UnitTests / Code Coverage with PHPUnit (ubuntu-24.04, 8.1, lowest): src/StreamFormatterFactory.php#L114
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } $formatter->setMaxNormalizeDepth($maxNormalizeDepth); $formatter->setMaxNormalizeItemCount($maxNormalizeItemCount); - $formatter->setJsonPrettyPrint($prettyPrint); + return $formatter; } }