Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-hensley committed Mar 27, 2024
1 parent f072073 commit bf1e81c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Unit/SDK/Resource/Detectors/HostTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function test_host_parse_macos_id(): void
"#size-cells" = <02000000>
"IOPlatformUUID" = "1AB2345C-03E4-57D4-A375-1234D48DE123"
}
END;
END;
$hostId = Detectors\Host::parseMacOsId($out);
$this->assertIsString($hostId);

Check failure on line 61 in tests/Unit/SDK/Resource/Detectors/HostTest.php

View workflow job for this annotation

GitHub Actions / php (8.1, false)

RedundantCondition

tests/Unit/SDK/Resource/Detectors/HostTest.php:61:16: RedundantCondition: Type string for $hostId is always string (see https://psalm.dev/122)

Check failure on line 61 in tests/Unit/SDK/Resource/Detectors/HostTest.php

View workflow job for this annotation

GitHub Actions / php (8.2, false)

RedundantCondition

tests/Unit/SDK/Resource/Detectors/HostTest.php:61:16: RedundantCondition: Type string for $hostId is always string (see https://psalm.dev/122)

Check failure on line 61 in tests/Unit/SDK/Resource/Detectors/HostTest.php

View workflow job for this annotation

GitHub Actions / php (8.3, false)

RedundantCondition

tests/Unit/SDK/Resource/Detectors/HostTest.php:61:16: RedundantCondition: Type string for $hostId is always string (see https://psalm.dev/122)
$this->assertSame('1AB2345C-03E4-57D4-A375-1234D48DE123', $hostId);
Expand Down Expand Up @@ -87,7 +87,7 @@ public static function hostIdData(): array
{
$etc_machineid = [
'etc' => [
'machine-id' => '1234567890',
'machine-id' => '1234567890',
],
];
$varLibDbus = [
Expand All @@ -101,7 +101,7 @@ public static function hostIdData(): array
];
$etc_hostid = [
'etc' => [
'hostid' => '1234567890',
'hostid' => '1234567890',
],
];

Expand Down

0 comments on commit bf1e81c

Please sign in to comment.