1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Modernize to PHP 7.1

This commit is contained in:
Yassine Guedidi 2025-04-05 13:15:06 +02:00
parent 241cddc899
commit f8c8bb7d93
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -119,7 +119,7 @@ class GrabySiteConfigBuilder implements SiteConfigBuilder
continue; continue;
} }
list($fieldName, $fieldValue) = explode('=', $extraField, 2); [$fieldName, $fieldValue] = explode('=', $extraField, 2);
$extraFields[$fieldName] = $fieldValue; $extraFields[$fieldName] = $fieldValue;
} }