mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
Modernize to PHP 8.1
This commit is contained in:
parent
ca018c77e3
commit
9e2720cddc
26 changed files with 48 additions and 52 deletions
|
@ -11,19 +11,19 @@
|
|||
function isPartialRun(): bool
|
||||
{
|
||||
foreach ($_SERVER['argv'] as $arg) {
|
||||
if (str_starts_with($arg, '--filter')) {
|
||||
if (str_starts_with((string) $arg, '--filter')) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (str_starts_with($arg, '--testsuite')) {
|
||||
if (str_starts_with((string) $arg, '--testsuite')) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (str_starts_with($arg, '--group')) {
|
||||
if (str_starts_with((string) $arg, '--group')) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (str_starts_with($arg, '--exclude-group')) {
|
||||
if (str_starts_with((string) $arg, '--exclude-group')) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue