Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 350eb0b

Browse files
Merge branch '6.4' into 7.4
* 6.4: [WebProfilerBundle] Fix failing test on PHP 8.6 PHP CS Fixer: backports changes toward 6.4 branch Disable php_unit_attributes CS rule on 6.4
2 parents 6d002d4 + 5828985 commit 350eb0b

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

PseudoLocalizationTranslator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,3 +382,5 @@ private function strlen(string $s): int
382382
return false === ($encoding = mb_detect_encoding($s, null, true)) ? \strlen($s) : mb_strlen($s, $encoding);
383383
}
384384
}
385+
386+
// @php-cs-fixer-ignore random_api_migration As logic is coupled with mt_srand() in tests

Tests/PseudoLocalizationTranslatorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,5 @@ private static function getIsolatedOptions(array $options): array
7878
], $options);
7979
}
8080
}
81+
82+
// @php-cs-fixer-ignore random_api_migration As logic is coupled with mt_rand() in src

0 commit comments

Comments
 (0)