forked from wallabag/wallabag
Modernize to PHP 7.1
This commit is contained in:
@ -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);
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user