From 5fe5c1df5b2b2d8242d59be2768bd6d2039c1192 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Sat, 8 Nov 2025 16:32:01 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/Templating/Helper/Cmf.php | 1 - tests/Functional/Form/CheckboxUrlLabelFormTypeTest.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Templating/Helper/Cmf.php b/src/Templating/Helper/Cmf.php index 30bd265..1094481 100644 --- a/src/Templating/Helper/Cmf.php +++ b/src/Templating/Helper/Cmf.php @@ -389,7 +389,6 @@ public function isLinkable(mixed $document): bool * Gets the paths of children, updating the $children parameter. * * @param string[] $children - * @param ?int $depth */ private function getChildrenPaths(?string $path, array &$children, ?int $depth): void { diff --git a/tests/Functional/Form/CheckboxUrlLabelFormTypeTest.php b/tests/Functional/Form/CheckboxUrlLabelFormTypeTest.php index f82f84a..89379af 100644 --- a/tests/Functional/Form/CheckboxUrlLabelFormTypeTest.php +++ b/tests/Functional/Form/CheckboxUrlLabelFormTypeTest.php @@ -60,7 +60,7 @@ protected function assertMatchesXpath($html, $expression, $count = 1): void // the top level $dom->loadXml(''.$html.''); } catch (\Exception $e) { - $this->fail(sprintf( + $this->fail(\sprintf( "Failed loading HTML:\n\n%s\n\nError: %s", $html, $e->getMessage() @@ -71,7 +71,7 @@ protected function assertMatchesXpath($html, $expression, $count = 1): void if ($nodeList->length !== $count) { $dom->formatOutput = true; - $this->fail(sprintf( + $this->fail(\sprintf( "Failed asserting that \n\n%s\n\nmatches exactly %s. Matches %s in \n\n%s", $expression, 1 === $count ? 'once' : $count.' times',