Skip to content

Commit 15fd6e0

Browse files
fix: phpcs errors
1 parent 6a589e4 commit 15fd6e0

File tree

5 files changed

+3
-6
lines changed

5 files changed

+3
-6
lines changed

test/Loader/SiteKitResourceHierarchyLoaderTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ public function testLoadRootResourcePrimaryParentWithoutUrl(): void
142142
public function testLoadRootResourcePrimaryParentWithNonStringUrl(): void
143143
{
144144
$this->expectException(InvalidResourceException::class);
145-
$this->hierarchyLoader->loadParent('/primaryParentWithNonStringUrl.php');
145+
$this->hierarchyLoader->loadParent(
146+
'/primaryParentWithNonStringUrl.php'
147+
);
146148
}
147149

148150
public function testLoadRootResourceFirstParentWithoutUrl(): void
@@ -156,5 +158,4 @@ public function testLoadRootResourceFirstParentWithNonStringUrl(): void
156158
$this->expectException(InvalidResourceException::class);
157159
$this->hierarchyLoader->loadParent('/firstParentWithNonStringUrl.php');
158160
}
159-
160161
}

test/resources/Loader/SiteKitResourceHierarchyLoader/firstParentWithNonStringUrl.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
43
return new \Atoolo\Resource\Resource(
54
'/primaryParentWithoutUrl.php',
65
'primaryParentWithoutUrl',

test/resources/Loader/SiteKitResourceHierarchyLoader/firstParentWithoutUrl.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
43
return new \Atoolo\Resource\Resource(
54
'/primaryParentWithoutUrl.php',
65
'primaryParentWithoutUrl',

test/resources/Loader/SiteKitResourceHierarchyLoader/primaryParentWithNonStringUrl.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
43
return new \Atoolo\Resource\Resource(
54
'/primaryParentWithoutUrl.php',
65
'primaryParentWithoutUrl',

test/resources/Loader/SiteKitResourceHierarchyLoader/primaryParentWithoutUrl.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
43
return new \Atoolo\Resource\Resource(
54
'/primaryParentWithoutUrl.php',
65
'primaryParentWithoutUrl',

0 commit comments

Comments
 (0)