Move suppression to offending method
MODIFY
test/Sitemap/LocTest.php
test/Sitemap/LocTest.php
@@ -8,9 +8,6 @@ use stdClass;
use function current;
-/**
- * @psalm-suppress UnevaluatedCode
- */
class LocTest extends TestCase
{
/** @var Loc */
@@ -60,6 +57,7 @@ class LocTest extends TestCase
*
* @todo A change in the URI API has led to most of these now validating
* @dataProvider invalidLocs
+ * @psalm-suppress UnevaluatedCode
*/
public function testInvalidLocs(string $url): void
{

Move suppression to offending method

Signed-off-by: George Steel <george@net-glue.co.uk>