Skip to content

[fb-mqtt-connector] Refactoring connector to latest dev spec (#207) #724

[fb-mqtt-connector] Refactoring connector to latest dev spec (#207)

[fb-mqtt-connector] Refactoring connector to latest dev spec (#207) #724

Triggered via push December 7, 2023 10:33
Status Success
Total duration 3m 38s
Artifacts 2
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yaml

on: push
Matrix: Code linting
Matrix: Code quality assurance
Matrix: Code static analysis
Matrix: Test for mutants
Matrix: Build code for distribution
Matrix: Code tests
Matrix: Publish code distribution to Github packages
Matrix: Publish code distribution to NPM
Matrix: Code tests with code coverage
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
Code linting (8.1, 18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code linting (8.2, 18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality assurance (8.2, 18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code quality assurance (8.1, 18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code static analysis (8.2, 18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code static analysis (8.1, 18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publish code distribution to NPM (ubuntu-latest, 18)
The following actions uses node12 which is deprecated and will be forced to run on node16: battila7/get-version-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Publish code distribution to NPM (ubuntu-latest, 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publish code distribution to NPM (ubuntu-latest, 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publish code distribution to Github packages (ubuntu-latest, 18)
The following actions uses node12 which is deprecated and will be forced to run on node16: battila7/get-version-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Publish code distribution to Github packages (ubuntu-latest, 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publish code distribution to Github packages (ubuntu-latest, 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test for mutants (8.2, ubuntu-latest): src/Documents/DevicesModule/ChannelDynamicProperty.php#L130
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ /** * @return array<Uuid\UuidInterface> */ - public function getChildren() : array + protected function getChildren() : array { return $this->children; }
Test for mutants (8.2, ubuntu-latest): src/Documents/DevicesModule/ChannelDynamicProperty.php#L135
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ { return $this->children; } - public function isSettable() : bool + protected function isSettable() : bool { return $this->settable; }
Test for mutants (8.2, ubuntu-latest): src/Documents/DevicesModule/ChannelDynamicProperty.php#L140
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ { return $this->settable; } - public function isQueryable() : bool + protected function isQueryable() : bool { return $this->queryable; }
Test for mutants (8.2, ubuntu-latest): src/Documents/DevicesModule/ChannelDynamicProperty.php#L149
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ * @throws Exceptions\InvalidArgument * @throws Exceptions\InvalidState */ - public function getActualValue() : bool|float|int|string|DateTimeInterface|Types\ButtonPayload|Types\SwitchPayload|Types\CoverPayload|null + protected function getActualValue() : bool|float|int|string|DateTimeInterface|Types\ButtonPayload|Types\SwitchPayload|Types\CoverPayload|null { return Utilities\ValueHelper::normalizeValue($this->getDataType(), $this->actualValue, $this->getFormat(), $this->getInvalid()); }
Test for mutants (8.2, ubuntu-latest): src/Documents/DevicesModule/ChannelDynamicProperty.php#L163
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ * @throws Exceptions\InvalidArgument * @throws Exceptions\InvalidState */ - public function getPreviousValue() : bool|float|int|string|DateTimeInterface|Types\ButtonPayload|Types\SwitchPayload|Types\CoverPayload|null + protected function getPreviousValue() : bool|float|int|string|DateTimeInterface|Types\ButtonPayload|Types\SwitchPayload|Types\CoverPayload|null { return Utilities\ValueHelper::normalizeValue($this->getDataType(), $this->previousValue, $this->getFormat(), $this->getInvalid()); }
Test for mutants (8.2, ubuntu-latest): src/Documents/DevicesModule/ChannelDynamicProperty.php#L177
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ * @throws Exceptions\InvalidArgument * @throws Exceptions\InvalidState */ - public function getExpectedValue() : bool|float|int|string|DateTimeInterface|Types\ButtonPayload|Types\SwitchPayload|Types\CoverPayload|null + protected function getExpectedValue() : bool|float|int|string|DateTimeInterface|Types\ButtonPayload|Types\SwitchPayload|Types\CoverPayload|null { return Utilities\ValueHelper::normalizeValue($this->getDataType(), $this->expectedValue, $this->getFormat(), $this->getInvalid()); }
Test for mutants (8.2, ubuntu-latest): src/Documents/DevicesModule/ChannelDynamicProperty.php#L187
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ { return Utilities\ValueHelper::normalizeValue($this->getDataType(), $this->expectedValue, $this->getFormat(), $this->getInvalid()); } - public function getPending() : bool|DateTimeInterface + protected function getPending() : bool|DateTimeInterface { return $this->pending; }
Test for mutants (8.2, ubuntu-latest): src/Documents/DevicesModule/ChannelDynamicProperty.php#L197
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ { return is_bool($this->pending) ? $this->pending : true; } - public function isValid() : bool + protected function isValid() : bool { return $this->valid; }
Test for mutants (8.2, ubuntu-latest): src/Documents/DevicesModule/ChannelDynamicProperty.php#L215
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ */ public function toArray() : array { - return array_merge(parent::toArray(), ['type' => $this->getType()->getValue(), 'settable' => $this->isSettable(), 'queryable' => $this->isQueryable(), 'actual_value' => Utilities\ValueHelper::flattenValue($this->getActualValue()), 'previous_value' => Utilities\ValueHelper::flattenValue($this->getPreviousValue()), 'expected_value' => Utilities\ValueHelper::flattenValue($this->getExpectedValue()), 'pending' => $this->getPending() instanceof DateTimeInterface ? $this->getPending()->format(DateTimeInterface::ATOM) : $this->getPending(), 'valid' => $this->isValid(), 'children' => array_map(static fn(Uuid\UuidInterface $id): string => $id->toString(), $this->getChildren())]); + return array_merge(parent::toArray(), ['type' => $this->getType()->getValue(), 'settable' => $this->isSettable(), 'queryable' => $this->isQueryable(), 'actual_value' => Utilities\ValueHelper::flattenValue($this->getActualValue()), 'previous_value' => Utilities\ValueHelper::flattenValue($this->getPreviousValue()), 'expected_value' => Utilities\ValueHelper::flattenValue($this->getExpectedValue()), 'pending' => false ? $this->getPending()->format(DateTimeInterface::ATOM) : $this->getPending(), 'valid' => $this->isValid(), 'children' => array_map(static fn(Uuid\UuidInterface $id): string => $id->toString(), $this->getChildren())]); } }
Test for mutants (8.2, ubuntu-latest): src/Documents/DevicesModule/ChannelDynamicProperty.php#L220
Escaped Mutant for Mutator "UnwrapArrayMap": --- Original +++ New @@ @@ */ public function toArray() : array { - return array_merge(parent::toArray(), ['type' => $this->getType()->getValue(), 'settable' => $this->isSettable(), 'queryable' => $this->isQueryable(), 'actual_value' => Utilities\ValueHelper::flattenValue($this->getActualValue()), 'previous_value' => Utilities\ValueHelper::flattenValue($this->getPreviousValue()), 'expected_value' => Utilities\ValueHelper::flattenValue($this->getExpectedValue()), 'pending' => $this->getPending() instanceof DateTimeInterface ? $this->getPending()->format(DateTimeInterface::ATOM) : $this->getPending(), 'valid' => $this->isValid(), 'children' => array_map(static fn(Uuid\UuidInterface $id): string => $id->toString(), $this->getChildren())]); + return array_merge(parent::toArray(), ['type' => $this->getType()->getValue(), 'settable' => $this->isSettable(), 'queryable' => $this->isQueryable(), 'actual_value' => Utilities\ValueHelper::flattenValue($this->getActualValue()), 'previous_value' => Utilities\ValueHelper::flattenValue($this->getPreviousValue()), 'expected_value' => Utilities\ValueHelper::flattenValue($this->getExpectedValue()), 'pending' => $this->getPending() instanceof DateTimeInterface ? $this->getPending()->format(DateTimeInterface::ATOM) : $this->getPending(), 'valid' => $this->isValid(), 'children' => $this->getChildren()]); } }

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
2.35 MB
js-dist Expired
107 KB