1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-06-27 16:36:00 +00:00

Modernize to PHP 7.3

This commit is contained in:
Yassine Guedidi 2025-04-05 13:16:21 +02:00
parent f8c8bb7d93
commit ce8ed589d5
3 changed files with 3 additions and 3 deletions

View file

@ -14,5 +14,5 @@ return RectorConfig::configure()
])
->withImportNames(importShortClasses: false)
->withAttributesSets(doctrine: true)
->withPhpSets(php71: true)
->withPhpSets(php73: true)
->withTypeCoverageLevel(0);

View file

@ -20,6 +20,6 @@ class Matches
return false;
}
return false !== stripos($subject, $pattern);
return false !== stripos($subject, (string) $pattern);
}
}

View file

@ -20,6 +20,6 @@ class NotMatches
return true;
}
return false === stripos($subject, $pattern);
return false === stripos($subject, (string) $pattern);
}
}