Skip to content

Commit d954b2e

Browse files
authored
Merge pull request #293 from symfony-cmf/analysis-2Z0Dpl
Apply fixes from StyleCI
2 parents 76b3342 + 5fe5c1d commit d954b2e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Templating/Helper/Cmf.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,6 @@ public function isLinkable(mixed $document): bool
389389
* Gets the paths of children, updating the $children parameter.
390390
*
391391
* @param string[] $children
392-
* @param ?int $depth
393392
*/
394393
private function getChildrenPaths(?string $path, array &$children, ?int $depth): void
395394
{

tests/Functional/Form/CheckboxUrlLabelFormTypeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function assertMatchesXpath($html, $expression, $count = 1): void
6060
// the top level
6161
$dom->loadXml('<root>'.$html.'</root>');
6262
} catch (\Exception $e) {
63-
$this->fail(sprintf(
63+
$this->fail(\sprintf(
6464
"Failed loading HTML:\n\n%s\n\nError: %s",
6565
$html,
6666
$e->getMessage()
@@ -71,7 +71,7 @@ protected function assertMatchesXpath($html, $expression, $count = 1): void
7171

7272
if ($nodeList->length !== $count) {
7373
$dom->formatOutput = true;
74-
$this->fail(sprintf(
74+
$this->fail(\sprintf(
7575
"Failed asserting that \n\n%s\n\nmatches exactly %s. Matches %s in \n\n%s",
7676
$expression,
7777
1 === $count ? 'once' : $count.' times',

0 commit comments

Comments
 (0)