Skip to content

Commit 01c08fd

Browse files
authored
chores (#244)
1 parent 2f472f4 commit 01c08fd

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Tests/EvolvableLinkProviderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function testItHasTheCorrectInterface(): void
2727
public function testWithLink(): void
2828
{
2929
$provider = new EvolvableLinkProvider();
30-
$this->assertCount(0, $provider->getLinks());
30+
$this->assertEmpty($provider->getLinks());
3131

3232
$provider = $provider->withLink(new Link('https://docs.sonsofphp.com'));
3333
$this->assertCount(1, $provider->getLinks());
@@ -39,6 +39,6 @@ public function testWithoutLink(): void
3939
$link = new Link('https://docs.sonsofphp.com'),
4040
]);
4141
$this->assertCount(1, $provider->getLinks());
42-
$this->assertCount(0, $provider->withoutLink($link)->getLinks());
42+
$this->assertEmpty($provider->withoutLink($link)->getLinks());
4343
}
4444
}

Tests/LinkProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function testGetLinks(): void
4343
{
4444
$provider = new LinkProvider();
4545

46-
$this->assertCount(0, $provider->getLinks());
46+
$this->assertEmpty($provider->getLinks());
4747
}
4848

4949
public function testGetLinksByRel(): void

Tests/LinkTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ public function testGetRels(): void
6262
{
6363
$link = new Link('https://docs.sonsofphp.com');
6464

65-
$this->assertCount(0, $link->getRels());
65+
$this->assertEmpty($link->getRels());
6666
}
6767

6868
public function testGetAttributes(): void
6969
{
7070
$link = new Link('https://docs.sonsofphp.com');
7171

72-
$this->assertCount(0, $link->getAttributes());
72+
$this->assertEmpty($link->getAttributes());
7373
}
7474
}

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"minimum-stability": "dev",
3636
"prefer-stable": true,
3737
"require": {
38-
"php": ">=8.2",
38+
"php": ">=8.3",
3939
"psr/link": "^1.0 || ^2.0"
4040
},
4141
"provide": {
@@ -57,4 +57,4 @@
5757
"url": "https://tidelift.com/subscription/pkg/packagist-sonsofphp-sonsofphp"
5858
}
5959
]
60-
}
60+
}

0 commit comments

Comments
 (0)