diff --git a/Build/php-cs-fixer/config.php b/Build/php-cs-fixer/config.php index 4cc0616ffaa91b2418b0d1fbbb34b0cbf352210c..87cb160403eb9b32e229d03316ea1837e66afe11 100644 --- a/Build/php-cs-fixer/config.php +++ b/Build/php-cs-fixer/config.php @@ -59,6 +59,7 @@ return (new \PhpCsFixer\Config()) 'function_to_constant' => ['functions' => ['get_called_class', 'get_class', 'get_class_this', 'php_sapi_name', 'phpversion', 'pi']], 'function_typehint_space' => true, 'global_namespace_import' => ['import_classes' => false, 'import_constants' => false, 'import_functions' => false], + 'list_syntax' => ['syntax' => 'short'], 'modernize_strpos' => true, 'modernize_types_casting' => true, 'native_function_casing' => true, diff --git a/typo3/sysext/impexp/Classes/View/ExportPageTreeView.php b/typo3/sysext/impexp/Classes/View/ExportPageTreeView.php index faba22d912937d2018ea73f346c2982009a32160..f22d22f4459789606f6ba5bc2cf93ee49b2fc85d 100644 --- a/typo3/sysext/impexp/Classes/View/ExportPageTreeView.php +++ b/typo3/sysext/impexp/Classes/View/ExportPageTreeView.php @@ -186,7 +186,7 @@ class ExportPageTreeView extends AbstractTreeView $this->stored = []; foreach ($pageTreeState as $identifier => $isExpanded) { - list($bank, $pageId) = explode('_', $identifier); + [$bank, $pageId] = explode('_', $identifier); $this->stored[$bank][$pageId] = $isExpanded; } }