diff --git a/rector.php b/rector.php index be2a4b6d8..9c3ad55d8 100644 --- a/rector.php +++ b/rector.php @@ -14,5 +14,5 @@ return RectorConfig::configure() ]) ->withImportNames(importShortClasses: false) ->withAttributesSets(doctrine: true) - ->withPhpSets(php70: true) + ->withPhpSets(php71: true) ->withTypeCoverageLevel(0); diff --git a/src/SiteConfig/GrabySiteConfigBuilder.php b/src/SiteConfig/GrabySiteConfigBuilder.php index dfe433408..3c3a18056 100644 --- a/src/SiteConfig/GrabySiteConfigBuilder.php +++ b/src/SiteConfig/GrabySiteConfigBuilder.php @@ -119,7 +119,7 @@ class GrabySiteConfigBuilder implements SiteConfigBuilder continue; } - list($fieldName, $fieldValue) = explode('=', $extraField, 2); + [$fieldName, $fieldValue] = explode('=', $extraField, 2); $extraFields[$fieldName] = $fieldValue; }