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:
parent
f8c8bb7d93
commit
ce8ed589d5
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue