File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed
Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 3232 "phpunit/phpcov" : " ^9.0.2" ,
3333 "phpunit/phpunit" : " ^10.5.16" ,
3434 "predis/predis" : " ^1.1 || ^2.0" ,
35- "rector/rector" : " 1.2.0 " ,
35+ "rector/rector" : " 1.2.1 " ,
3636 "vimeo/psalm" : " ^5.0"
3737 },
3838 "replace" : {
Original file line number Diff line number Diff line change 74537453 'count' => 1,
74547454 'path' => __DIR__ . '/system/Helpers/test_helper.php',
74557455];
7456- $ignoreErrors[] = [
7457- // identifier: empty.notAllowed
7458- 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
7459- 'count' => 1,
7460- 'path' => __DIR__ . '/system/Helpers/text_helper.php',
7461- ];
74627456$ignoreErrors[] = [
74637457 // identifier: missingType.iterableValue
74647458 'message' => '#^Function strip_slashes\\(\\) has parameter \\$str with no value type specified in iterable type array\\.$#',
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ function convert_accented_characters(string $str): string
310310 if (! is_array ($ arrayFrom )) {
311311 $ config = new ForeignCharacters ();
312312
313- if (empty ( $ config ->characterList ) || ! is_array ($ config ->characterList )) {
313+ if ($ config ->characterList === [] || ! is_array ($ config ->characterList )) {
314314 $ arrayFrom = [];
315315 $ arrayTo = [];
316316
You can’t perform that action at this time.
0 commit comments