File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public function testItHasTheCorrectInterface(): void
27
27
public function testWithLink (): void
28
28
{
29
29
$ provider = new EvolvableLinkProvider ();
30
- $ this ->assertCount ( 0 , $ provider ->getLinks ());
30
+ $ this ->assertEmpty ( $ provider ->getLinks ());
31
31
32
32
$ provider = $ provider ->withLink (new Link ('https://docs.sonsofphp.com ' ));
33
33
$ this ->assertCount (1 , $ provider ->getLinks ());
@@ -39,6 +39,6 @@ public function testWithoutLink(): void
39
39
$ link = new Link ('https://docs.sonsofphp.com ' ),
40
40
]);
41
41
$ this ->assertCount (1 , $ provider ->getLinks ());
42
- $ this ->assertCount ( 0 , $ provider ->withoutLink ($ link )->getLinks ());
42
+ $ this ->assertEmpty ( $ provider ->withoutLink ($ link )->getLinks ());
43
43
}
44
44
}
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public function testGetLinks(): void
43
43
{
44
44
$ provider = new LinkProvider ();
45
45
46
- $ this ->assertCount ( 0 , $ provider ->getLinks ());
46
+ $ this ->assertEmpty ( $ provider ->getLinks ());
47
47
}
48
48
49
49
public function testGetLinksByRel (): void
Original file line number Diff line number Diff line change @@ -62,13 +62,13 @@ public function testGetRels(): void
62
62
{
63
63
$ link = new Link ('https://docs.sonsofphp.com ' );
64
64
65
- $ this ->assertCount ( 0 , $ link ->getRels ());
65
+ $ this ->assertEmpty ( $ link ->getRels ());
66
66
}
67
67
68
68
public function testGetAttributes (): void
69
69
{
70
70
$ link = new Link ('https://docs.sonsofphp.com ' );
71
71
72
- $ this ->assertCount ( 0 , $ link ->getAttributes ());
72
+ $ this ->assertEmpty ( $ link ->getAttributes ());
73
73
}
74
74
}
Original file line number Diff line number Diff line change 35
35
"minimum-stability" : " dev" ,
36
36
"prefer-stable" : true ,
37
37
"require" : {
38
- "php" : " >=8.2 " ,
38
+ "php" : " >=8.3 " ,
39
39
"psr/link" : " ^1.0 || ^2.0"
40
40
},
41
41
"provide" : {
57
57
"url" : " https://tidelift.com/subscription/pkg/packagist-sonsofphp-sonsofphp"
58
58
}
59
59
]
60
- }
60
+ }
You can’t perform that action at this time.
0 commit comments