Skip to content

[bootstrap-library] Refactored logger configuration (#111) #944

[bootstrap-library] Refactored logger configuration (#111)

[bootstrap-library] Refactored logger configuration (#111) #944

Triggered via push May 4, 2023 17:53
Status Success
Total duration 47m 5s
Artifacts 2

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

61 warnings
Code linting (8.1, 16, 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.1, 16, 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, 16, 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, 16, 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, 16, 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, 16, 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, 16, 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, 16, 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, 16, 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, 16, 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, 16, 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, 16, 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/
Build code for distribution (16, ubuntu-latest)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Publish code distribution to NPM (16, ubuntu-latest)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: battila7/get-version-action@v2, JS-DevTools/npm-publish@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Publish code distribution to NPM (16, 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 (16, 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 (16, 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 (16, 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 (16, 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 (16, 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 (16, 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 (16, 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 Github packages (16, ubuntu-latest)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: battila7/get-version-action@v2, JS-DevTools/npm-publish@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Publish code distribution to Github packages (16, 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 Github packages (16, 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 Github packages (16, 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 Github packages (16, 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 Github packages (16, 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 Github packages (16, 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 Github packages (16, 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 Github packages (16, 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 tests (8.1, ubuntu-latest)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Code tests (8.1, 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 tests (8.2, ubuntu-latest)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Code tests (8.2, 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 tests with code coverage (8.2, 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 tests with code coverage (8.1, 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/
Test for mutants (8.1, ubuntu-latest)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Test for mutants (8.1, ubuntu-latest): src/Entities/Devices/Properties/Property.php#L101
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ { return $this->parent; } - public function setParent(self $device) : void + protected function setParent(self $device) : void { $this->parent = $device; }
Test for mutants (8.1, ubuntu-latest): src/Queries/FindChannels.php#L56
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ public function byIdentifier(string $identifier) : void { $this->filter[] = static function (ORM\QueryBuilder $qb) use($identifier) : void { - $qb->andWhere('ch.identifier = :identifier')->setParameter('identifier', $identifier); + }; } public function forDevice(Entities\Devices\Device $device) : void
Test for mutants (8.1, ubuntu-latest): src/Utilities/ValueHelper.php#L75
Escaped Mutant for Mutator "NotIdentical": --- Original +++ New @@ @@ return null; } if ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_CHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UCHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_SHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_USHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_INT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UINT)) { - if ($invalid !== null && intval($invalid) === intval($value)) { + if ($invalid === null && intval($invalid) === intval($value)) { return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
Test for mutants (8.1, ubuntu-latest): src/Utilities/ValueHelper.php#L75
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ return null; } if ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_CHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UCHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_SHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_USHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_INT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UINT)) { - if ($invalid !== null && intval($invalid) === intval($value)) { + if ($invalid !== null && intval($invalid) !== intval($value)) { return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
Test for mutants (8.1, ubuntu-latest): src/Utilities/ValueHelper.php#L75
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ return null; } if ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_CHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UCHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_SHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_USHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_INT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UINT)) { - if ($invalid !== null && intval($invalid) === intval($value)) { + if ($invalid !== null || intval($invalid) === intval($value)) { return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
Test for mutants (8.1, ubuntu-latest): src/Utilities/ValueHelper.php#L80
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) { - if ($format->getMin() !== null && intval($format->getMin()) > intval($value)) { + if ($format->getMin() !== null && intval($format->getMin()) >= intval($value)) { return intval($format->getMin()); } if ($format->getMax() !== null && intval($format->getMax()) < intval($value)) {
Test for mutants (8.1, ubuntu-latest): src/Utilities/ValueHelper.php#L84
Escaped Mutant for Mutator "LessThan": --- Original +++ New @@ @@ if ($format->getMin() !== null && intval($format->getMin()) > intval($value)) { return intval($format->getMin()); } - if ($format->getMax() !== null && intval($format->getMax()) < intval($value)) { + if ($format->getMax() !== null && intval($format->getMax()) <= intval($value)) { return intval($format->getMax()); } }
Test for mutants (8.1, ubuntu-latest): src/Utilities/ValueHelper.php#L91
Escaped Mutant for Mutator "NotIdentical": --- Original +++ New @@ @@ } return intval($value); } elseif ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_FLOAT)) { - if ($invalid !== null && floatval($invalid) === floatval($value)) { + if ($invalid === null && floatval($invalid) === floatval($value)) { return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
Test for mutants (8.1, ubuntu-latest): src/Utilities/ValueHelper.php#L91
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ } return intval($value); } elseif ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_FLOAT)) { - if ($invalid !== null && floatval($invalid) === floatval($value)) { + if ($invalid !== null && floatval($invalid) !== floatval($value)) { return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
Test for mutants (8.1, ubuntu-latest): src/Utilities/ValueHelper.php#L91
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ } return intval($value); } elseif ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_FLOAT)) { - if ($invalid !== null && floatval($invalid) === floatval($value)) { + if ($invalid !== null || floatval($invalid) === floatval($value)) { return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
Test for mutants (8.1, 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/
Test for mutants (8.2, ubuntu-latest)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Test for mutants (8.2, 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/
Test for mutants (8.2, ubuntu-latest): src/Entities/Devices/Properties/Property.php#L101
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ { return $this->parent; } - public function setParent(self $device) : void + protected function setParent(self $device) : void { $this->parent = $device; }
Test for mutants (8.2, ubuntu-latest): src/Queries/FindChannels.php#L56
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ public function byIdentifier(string $identifier) : void { $this->filter[] = static function (ORM\QueryBuilder $qb) use($identifier) : void { - $qb->andWhere('ch.identifier = :identifier')->setParameter('identifier', $identifier); + }; } public function forDevice(Entities\Devices\Device $device) : void
Test for mutants (8.2, ubuntu-latest): src/Utilities/ValueHelper.php#L75
Escaped Mutant for Mutator "NotIdentical": --- Original +++ New @@ @@ return null; } if ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_CHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UCHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_SHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_USHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_INT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UINT)) { - if ($invalid !== null && intval($invalid) === intval($value)) { + if ($invalid === null && intval($invalid) === intval($value)) { return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
Test for mutants (8.2, ubuntu-latest): src/Utilities/ValueHelper.php#L75
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ return null; } if ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_CHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UCHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_SHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_USHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_INT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UINT)) { - if ($invalid !== null && intval($invalid) === intval($value)) { + if ($invalid !== null && intval($invalid) !== intval($value)) { return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
Test for mutants (8.2, ubuntu-latest): src/Utilities/ValueHelper.php#L75
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ return null; } if ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_CHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UCHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_SHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_USHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_INT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UINT)) { - if ($invalid !== null && intval($invalid) === intval($value)) { + if ($invalid !== null || intval($invalid) === intval($value)) { return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
Test for mutants (8.2, ubuntu-latest): src/Utilities/ValueHelper.php#L80
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) { - if ($format->getMin() !== null && intval($format->getMin()) > intval($value)) { + if ($format->getMin() !== null && intval($format->getMin()) >= intval($value)) { return intval($format->getMin()); } if ($format->getMax() !== null && intval($format->getMax()) < intval($value)) {
Test for mutants (8.2, ubuntu-latest): src/Utilities/ValueHelper.php#L84
Escaped Mutant for Mutator "LessThan": --- Original +++ New @@ @@ if ($format->getMin() !== null && intval($format->getMin()) > intval($value)) { return intval($format->getMin()); } - if ($format->getMax() !== null && intval($format->getMax()) < intval($value)) { + if ($format->getMax() !== null && intval($format->getMax()) <= intval($value)) { return intval($format->getMax()); } }
Test for mutants (8.2, ubuntu-latest): src/Utilities/ValueHelper.php#L91
Escaped Mutant for Mutator "NotIdentical": --- Original +++ New @@ @@ } return intval($value); } elseif ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_FLOAT)) { - if ($invalid !== null && floatval($invalid) === floatval($value)) { + if ($invalid === null && floatval($invalid) === floatval($value)) { return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
Test for mutants (8.2, ubuntu-latest): src/Utilities/ValueHelper.php#L91
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ } return intval($value); } elseif ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_FLOAT)) { - if ($invalid !== null && floatval($invalid) === floatval($value)) { + if ($invalid !== null && floatval($invalid) !== floatval($value)) { return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
Test for mutants (8.2, ubuntu-latest): src/Utilities/ValueHelper.php#L91
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ } return intval($value); } elseif ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_FLOAT)) { - if ($invalid !== null && floatval($invalid) === floatval($value)) { + if ($invalid !== null || floatval($invalid) === floatval($value)) { return $invalid; } if ($format instanceof MetadataValueObjects\NumberRangeFormat) {

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
3.17 MB
js-dist Expired
5.34 MB