Skip to content

[core] Clearing core dependencies (#324) #39

[core] Clearing core dependencies (#324)

[core] Clearing core dependencies (#324) #39

Triggered via push November 25, 2024 20:37
Status Success
Total duration 2m 24s
Artifacts 1

tests.yaml

on: push
Matrix: PHP Tests
Matrix: PHP Tests With Code Coverage
Matrix: PHP Tests For Mutants
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/DI/ToolsExtension.php#L82
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ /** * HELPERS */ - if (class_exists('\\Doctrine\\DBAL\\Connection') && class_exists('\\Doctrine\\ORM\\EntityManager')) { + if (class_exists('\\Doctrine\\DBAL\\Connection') || class_exists('\\Doctrine\\ORM\\EntityManager')) { $builder->addDefinition($this->prefix('helpers.database'), new DI\Definitions\ServiceDefinition())->setType(Helpers\Database::class); } /**
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/DI/ToolsExtension.php#L91
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ if (class_exists('\\Doctrine\\DBAL\\Connection') && class_exists('\\Doctrine\\ORM\\EntityManager')) { $builder->addDefinition($this->prefix('helpers.database'), new DI\Definitions\ServiceDefinition())->setType(Helpers\Database::class); } - /** - * UTILITIES - */ - $builder->addDefinition($this->prefix('utilities.doctrineDateProvider'), new DI\Definitions\ServiceDefinition())->setType(Utilities\DateTimeProvider::class); + /** * JSON SCHEMAS TOOLS */
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/DI/ToolsExtension.php#L105
Escaped Mutant for Mutator "IfNegation": --- Original +++ New @@ @@ /** * SENTRY ISSUES LOGGER */ - if (interface_exists('\\Sentry\\ClientInterface')) { + if (!interface_exists('\\Sentry\\ClientInterface')) { $builder->addDefinition($this->prefix('helpers.sentry'), new DI\Definitions\ServiceDefinition())->setType(Helpers\Sentry::class); } if (isset($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && is_string($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && $_ENV['FB_APP_PARAMETER__SENTRY_DSN'] !== '') {
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/DI/ToolsExtension.php#L106
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ * SENTRY ISSUES LOGGER */ if (interface_exists('\\Sentry\\ClientInterface')) { - $builder->addDefinition($this->prefix('helpers.sentry'), new DI\Definitions\ServiceDefinition())->setType(Helpers\Sentry::class); + } if (isset($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && is_string($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && $_ENV['FB_APP_PARAMETER__SENTRY_DSN'] !== '') { $sentryDSN = $_ENV['FB_APP_PARAMETER__SENTRY_DSN'];
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/DI/ToolsExtension.php#L111
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ if (interface_exists('\\Sentry\\ClientInterface')) { $builder->addDefinition($this->prefix('helpers.sentry'), new DI\Definitions\ServiceDefinition())->setType(Helpers\Sentry::class); } - if (isset($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && is_string($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && $_ENV['FB_APP_PARAMETER__SENTRY_DSN'] !== '') { + if (isset($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && !is_string($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && $_ENV['FB_APP_PARAMETER__SENTRY_DSN'] !== '') { $sentryDSN = $_ENV['FB_APP_PARAMETER__SENTRY_DSN']; } elseif (getenv('FB_APP_PARAMETER__SENTRY_DSN') !== false && getenv('FB_APP_PARAMETER__SENTRY_DSN') !== '') { $sentryDSN = getenv('FB_APP_PARAMETER__SENTRY_DSN');
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/DI/ToolsExtension.php#L113
Escaped Mutant for Mutator "NotIdentical": --- Original +++ New @@ @@ if (interface_exists('\\Sentry\\ClientInterface')) { $builder->addDefinition($this->prefix('helpers.sentry'), new DI\Definitions\ServiceDefinition())->setType(Helpers\Sentry::class); } - if (isset($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && is_string($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && $_ENV['FB_APP_PARAMETER__SENTRY_DSN'] !== '') { + if (isset($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && is_string($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && $_ENV['FB_APP_PARAMETER__SENTRY_DSN'] === '') { $sentryDSN = $_ENV['FB_APP_PARAMETER__SENTRY_DSN']; } elseif (getenv('FB_APP_PARAMETER__SENTRY_DSN') !== false && getenv('FB_APP_PARAMETER__SENTRY_DSN') !== '') { $sentryDSN = getenv('FB_APP_PARAMETER__SENTRY_DSN');
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/DI/ToolsExtension.php#L118
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ } if (isset($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && is_string($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && $_ENV['FB_APP_PARAMETER__SENTRY_DSN'] !== '') { $sentryDSN = $_ENV['FB_APP_PARAMETER__SENTRY_DSN']; - } elseif (getenv('FB_APP_PARAMETER__SENTRY_DSN') !== false && getenv('FB_APP_PARAMETER__SENTRY_DSN') !== '') { + } elseif (getenv('FB_APP_PARAMETER__SENTRY_DSN') !== true && getenv('FB_APP_PARAMETER__SENTRY_DSN') !== '') { $sentryDSN = getenv('FB_APP_PARAMETER__SENTRY_DSN'); } elseif ($configuration->sentry->dsn !== null) { $sentryDSN = $configuration->sentry->dsn;
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/DI/ToolsExtension.php#L118
Escaped Mutant for Mutator "NotIdentical": --- Original +++ New @@ @@ } if (isset($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && is_string($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && $_ENV['FB_APP_PARAMETER__SENTRY_DSN'] !== '') { $sentryDSN = $_ENV['FB_APP_PARAMETER__SENTRY_DSN']; - } elseif (getenv('FB_APP_PARAMETER__SENTRY_DSN') !== false && getenv('FB_APP_PARAMETER__SENTRY_DSN') !== '') { + } elseif (getenv('FB_APP_PARAMETER__SENTRY_DSN') === false && getenv('FB_APP_PARAMETER__SENTRY_DSN') !== '') { $sentryDSN = getenv('FB_APP_PARAMETER__SENTRY_DSN'); } elseif ($configuration->sentry->dsn !== null) { $sentryDSN = $configuration->sentry->dsn;
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/DI/ToolsExtension.php#L118
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ } if (isset($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && is_string($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && $_ENV['FB_APP_PARAMETER__SENTRY_DSN'] !== '') { $sentryDSN = $_ENV['FB_APP_PARAMETER__SENTRY_DSN']; - } elseif (getenv('FB_APP_PARAMETER__SENTRY_DSN') !== false && getenv('FB_APP_PARAMETER__SENTRY_DSN') !== '') { + } elseif (getenv('FB_APP_PARAMETER__SENTRY_DSN') !== false || getenv('FB_APP_PARAMETER__SENTRY_DSN') !== '') { $sentryDSN = getenv('FB_APP_PARAMETER__SENTRY_DSN'); } elseif ($configuration->sentry->dsn !== null) { $sentryDSN = $configuration->sentry->dsn;
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/DI/ToolsExtension.php#L118
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation": --- Original +++ New @@ @@ } if (isset($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && is_string($_ENV['FB_APP_PARAMETER__SENTRY_DSN']) && $_ENV['FB_APP_PARAMETER__SENTRY_DSN'] !== '') { $sentryDSN = $_ENV['FB_APP_PARAMETER__SENTRY_DSN']; - } elseif (getenv('FB_APP_PARAMETER__SENTRY_DSN') !== false && getenv('FB_APP_PARAMETER__SENTRY_DSN') !== '') { + } elseif (getenv('FB_APP_PARAMETER__SENTRY_DSN') !== false && !(getenv('FB_APP_PARAMETER__SENTRY_DSN') !== '')) { $sentryDSN = getenv('FB_APP_PARAMETER__SENTRY_DSN'); } elseif ($configuration->sentry->dsn !== null) { $sentryDSN = $configuration->sentry->dsn;
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Logs - Mutations". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
Logs - Mutations
974 KB