Skip to content

chore(deps): use newer version of sonarcloud action #92

chore(deps): use newer version of sonarcloud action

chore(deps): use newer version of sonarcloud action #92

Triggered via push February 23, 2025 20:32
Status Success
Total duration 1m 7s
Artifacts

test.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
PHP 8.3: src/ResponseAdapter/SymfonyHttpFoundationResponseAdapter.php#L78
Escaped Mutant for Mutator "InstanceOf_": @@ @@ } public function getContent(): string { - if ($this->response instanceof StreamedResponse || $this->response instanceof BinaryFileResponse) { + if (true || $this->response instanceof BinaryFileResponse) { if (!isset($this->content)) { assert($obLevel = ob_get_level() >= 0); if (function_exists('Safe\ob_start')) {
PHP 8.3: src/ResponseAdapter/SymfonyHttpFoundationResponseAdapter.php#L78
Escaped Mutant for Mutator "InstanceOf_": @@ @@ } public function getContent(): string { - if ($this->response instanceof StreamedResponse || $this->response instanceof BinaryFileResponse) { + if ($this->response instanceof StreamedResponse || true) { if (!isset($this->content)) { assert($obLevel = ob_get_level() >= 0); if (function_exists('Safe\ob_start')) {
PHP 8.3: src/ResponseAdapter/SymfonyHttpFoundationResponseAdapter.php#L78
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation": @@ @@ } public function getContent(): string { - if ($this->response instanceof StreamedResponse || $this->response instanceof BinaryFileResponse) { + if (!$this->response instanceof StreamedResponse || !$this->response instanceof BinaryFileResponse) { if (!isset($this->content)) { assert($obLevel = ob_get_level() >= 0); if (function_exists('Safe\ob_start')) {
PHP 8.3: src/ResponseAdapter/SymfonyHttpFoundationResponseAdapter.php#L81
Escaped Mutant for Mutator "IfNegation": @@ @@ if ($this->response instanceof StreamedResponse || $this->response instanceof BinaryFileResponse) { if (!isset($this->content)) { assert($obLevel = ob_get_level() >= 0); - if (function_exists('Safe\ob_start')) { + if (!function_exists('Safe\ob_start')) { \Safe\ob_start(); } else { ob_start();
PHP 8.3: src/Urn/Urn.php#L37
Escaped Mutant for Mutator "InstanceOf_": @@ @@ // phpcs:ignore SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion.RequiredConstructorPropertyPromotion public function __construct(mixed $idOrUrn, string|null $class = null, string|Stringable|UrnGeneratorInterface|null $owner = null, string|null $tenant = null, string|null $partition = null, string|null $domain = null) { - if ($idOrUrn instanceof self) { + if (false) { $this->id = $idOrUrn->id; $this->class = $idOrUrn->class; $this->owner = $idOrUrn->owner;
PHP 8.3: src/Urn/Urn.php#L49
Escaped Mutant for Mutator "InstanceOf_": @@ @@ return; } if ($owner !== null) { - if ($owner instanceof UrnGeneratorInterface) { + if (true) { $owner = $owner->getUrn()->id; } if (!is_string($owner)) {
PHP 8.3: src/Urn/UrnConverter.php#L101
Escaped Mutant for Mutator "Break_": @@ @@ $manager = $registry->getManagerForClass($class); if ($manager !== null) { $om = $manager; - break; + continue; } } assert($om instanceof ObjectManager);
PHP 8.2: src/ResponseAdapter/SymfonyHttpFoundationResponseAdapter.php#L78
Escaped Mutant for Mutator "InstanceOf_": @@ @@ } public function getContent(): string { - if ($this->response instanceof StreamedResponse || $this->response instanceof BinaryFileResponse) { + if (true || $this->response instanceof BinaryFileResponse) { if (!isset($this->content)) { assert($obLevel = ob_get_level() >= 0); if (function_exists('Safe\ob_start')) {
PHP 8.2: src/ResponseAdapter/SymfonyHttpFoundationResponseAdapter.php#L78
Escaped Mutant for Mutator "InstanceOf_": @@ @@ } public function getContent(): string { - if ($this->response instanceof StreamedResponse || $this->response instanceof BinaryFileResponse) { + if ($this->response instanceof StreamedResponse || true) { if (!isset($this->content)) { assert($obLevel = ob_get_level() >= 0); if (function_exists('Safe\ob_start')) {
PHP 8.2: src/ResponseAdapter/SymfonyHttpFoundationResponseAdapter.php#L78
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation": @@ @@ } public function getContent(): string { - if ($this->response instanceof StreamedResponse || $this->response instanceof BinaryFileResponse) { + if (!$this->response instanceof StreamedResponse || !$this->response instanceof BinaryFileResponse) { if (!isset($this->content)) { assert($obLevel = ob_get_level() >= 0); if (function_exists('Safe\ob_start')) {
PHP 8.2: src/ResponseAdapter/SymfonyHttpFoundationResponseAdapter.php#L81
Escaped Mutant for Mutator "IfNegation": @@ @@ if ($this->response instanceof StreamedResponse || $this->response instanceof BinaryFileResponse) { if (!isset($this->content)) { assert($obLevel = ob_get_level() >= 0); - if (function_exists('Safe\ob_start')) { + if (!function_exists('Safe\ob_start')) { \Safe\ob_start(); } else { ob_start();
PHP 8.2: src/Urn/Urn.php#L37
Escaped Mutant for Mutator "InstanceOf_": @@ @@ // phpcs:ignore SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion.RequiredConstructorPropertyPromotion public function __construct(mixed $idOrUrn, string|null $class = null, string|Stringable|UrnGeneratorInterface|null $owner = null, string|null $tenant = null, string|null $partition = null, string|null $domain = null) { - if ($idOrUrn instanceof self) { + if (false) { $this->id = $idOrUrn->id; $this->class = $idOrUrn->class; $this->owner = $idOrUrn->owner;
PHP 8.2: src/Urn/Urn.php#L49
Escaped Mutant for Mutator "InstanceOf_": @@ @@ return; } if ($owner !== null) { - if ($owner instanceof UrnGeneratorInterface) { + if (true) { $owner = $owner->getUrn()->id; } if (!is_string($owner)) {
PHP 8.2: src/Urn/UrnConverter.php#L101
Escaped Mutant for Mutator "Break_": @@ @@ $manager = $registry->getManagerForClass($class); if ($manager !== null) { $om = $manager; - break; + continue; } } assert($om instanceof ObjectManager);
PHP 8.4: src/ResponseAdapter/SymfonyHttpFoundationResponseAdapter.php#L78
Escaped Mutant for Mutator "InstanceOf_": @@ @@ } public function getContent(): string { - if ($this->response instanceof StreamedResponse || $this->response instanceof BinaryFileResponse) { + if (true || $this->response instanceof BinaryFileResponse) { if (!isset($this->content)) { assert($obLevel = ob_get_level() >= 0); if (function_exists('Safe\ob_start')) {
PHP 8.4: src/ResponseAdapter/SymfonyHttpFoundationResponseAdapter.php#L78
Escaped Mutant for Mutator "InstanceOf_": @@ @@ } public function getContent(): string { - if ($this->response instanceof StreamedResponse || $this->response instanceof BinaryFileResponse) { + if ($this->response instanceof StreamedResponse || true) { if (!isset($this->content)) { assert($obLevel = ob_get_level() >= 0); if (function_exists('Safe\ob_start')) {
PHP 8.4: src/ResponseAdapter/SymfonyHttpFoundationResponseAdapter.php#L78
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation": @@ @@ } public function getContent(): string { - if ($this->response instanceof StreamedResponse || $this->response instanceof BinaryFileResponse) { + if (!$this->response instanceof StreamedResponse || !$this->response instanceof BinaryFileResponse) { if (!isset($this->content)) { assert($obLevel = ob_get_level() >= 0); if (function_exists('Safe\ob_start')) {
PHP 8.4: src/ResponseAdapter/SymfonyHttpFoundationResponseAdapter.php#L81
Escaped Mutant for Mutator "IfNegation": @@ @@ if ($this->response instanceof StreamedResponse || $this->response instanceof BinaryFileResponse) { if (!isset($this->content)) { assert($obLevel = ob_get_level() >= 0); - if (function_exists('Safe\ob_start')) { + if (!function_exists('Safe\ob_start')) { \Safe\ob_start(); } else { ob_start();
PHP 8.4: src/Urn/Urn.php#L37
Escaped Mutant for Mutator "InstanceOf_": @@ @@ // phpcs:ignore SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion.RequiredConstructorPropertyPromotion public function __construct(mixed $idOrUrn, string|null $class = null, string|Stringable|UrnGeneratorInterface|null $owner = null, string|null $tenant = null, string|null $partition = null, string|null $domain = null) { - if ($idOrUrn instanceof self) { + if (false) { $this->id = $idOrUrn->id; $this->class = $idOrUrn->class; $this->owner = $idOrUrn->owner;
PHP 8.4: src/Urn/Urn.php#L49
Escaped Mutant for Mutator "InstanceOf_": @@ @@ return; } if ($owner !== null) { - if ($owner instanceof UrnGeneratorInterface) { + if (true) { $owner = $owner->getUrn()->id; } if (!is_string($owner)) {
PHP 8.4: src/Urn/UrnConverter.php#L101
Escaped Mutant for Mutator "Break_": @@ @@ $manager = $registry->getManagerForClass($class); if ($manager !== null) { $om = $manager; - break; + continue; } } assert($om instanceof ObjectManager);