forked from wallabag/wallabag
Modernize to PHP 7.3
This commit is contained in:
@ -14,5 +14,5 @@ return RectorConfig::configure()
|
||||
])
|
||||
->withImportNames(importShortClasses: false)
|
||||
->withAttributesSets(doctrine: true)
|
||||
->withPhpSets(php71: true)
|
||||
->withPhpSets(php73: true)
|
||||
->withTypeCoverageLevel(0);
|
||||
|
||||
@ -20,6 +20,6 @@ class Matches
|
||||
return false;
|
||||
}
|
||||
|
||||
return false !== stripos($subject, $pattern);
|
||||
return false !== stripos($subject, (string) $pattern);
|
||||
}
|
||||
}
|
||||
|
||||
@ -20,6 +20,6 @@ class NotMatches
|
||||
return true;
|
||||
}
|
||||
|
||||
return false === stripos($subject, $pattern);
|
||||
return false === stripos($subject, (string) $pattern);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user