summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal
diff options
context:
space:
mode:
authorxjm2017-03-04 01:20:24 (GMT)
committerxjm2017-03-04 01:20:24 (GMT)
commit52e3eec616efab4d5201e30d085a09ba5c4817e6 (patch)
treed295cc8b862edc04018ba0e04ded752fd1a2f5c6 /core/lib/Drupal
parent3aba956a39a4852f42cad8483e4e6e307bedbd0e (diff)
Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase
Diffstat (limited to 'core/lib/Drupal')
-rw-r--r--core/lib/Drupal/Component/Annotation/Plugin.php2
-rw-r--r--core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php4
-rw-r--r--core/lib/Drupal/Component/Annotation/PluginID.php4
-rw-r--r--core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php2
-rw-r--r--core/lib/Drupal/Component/Datetime/DateTimePlus.php32
-rw-r--r--core/lib/Drupal/Component/DependencyInjection/Container.php36
-rw-r--r--core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php44
-rw-r--r--core/lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php2
-rw-r--r--core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php20
-rw-r--r--core/lib/Drupal/Component/Diff/Diff.php6
-rw-r--r--core/lib/Drupal/Component/Diff/DiffFormatter.php12
-rw-r--r--core/lib/Drupal/Component/Diff/Engine/DiffEngine.php28
-rw-r--r--core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php2
-rw-r--r--core/lib/Drupal/Component/Diff/WordLevelDiff.php6
-rw-r--r--core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php2
-rw-r--r--core/lib/Drupal/Component/Discovery/YamlDiscovery.php6
-rw-r--r--core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php10
-rw-r--r--core/lib/Drupal/Component/FileSystem/FileSystem.php2
-rw-r--r--core/lib/Drupal/Component/Gettext/PoHeader.php20
-rw-r--r--core/lib/Drupal/Component/Gettext/PoItem.php2
-rw-r--r--core/lib/Drupal/Component/Gettext/PoMemoryWriter.php2
-rw-r--r--core/lib/Drupal/Component/Gettext/PoStreamReader.php20
-rw-r--r--core/lib/Drupal/Component/Graph/Graph.php12
-rw-r--r--core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php2
-rw-r--r--core/lib/Drupal/Component/PhpStorage/FileStorage.php2
-rw-r--r--core/lib/Drupal/Component/Plugin/Context/Context.php2
-rw-r--r--core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php4
-rw-r--r--core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php2
-rw-r--r--core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php10
-rw-r--r--core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php2
-rw-r--r--core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php2
-rw-r--r--core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php2
-rw-r--r--core/lib/Drupal/Component/Plugin/Factory/FactoryInterface.php2
-rw-r--r--core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php4
-rw-r--r--core/lib/Drupal/Component/Plugin/FallbackPluginManagerInterface.php2
-rw-r--r--core/lib/Drupal/Component/Plugin/LazyPluginCollection.php6
-rw-r--r--core/lib/Drupal/Component/Plugin/PluginManagerBase.php2
-rw-r--r--core/lib/Drupal/Component/Transliteration/PhpTransliteration.php12
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/de.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/dk.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/eo.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/kg.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x00.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x01.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x02.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x03.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x04.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x05.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x06.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x07.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x09.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x0a.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x0b.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x0c.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x0d.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x0e.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x0f.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x10.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x11.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x12.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x13.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x14.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x15.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x16.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x17.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x18.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x1d.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x1e.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x1f.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x20.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x21.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x22.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x23.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x24.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x25.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x26.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x27.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x28.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x29.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x2a.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x2e.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x2f.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x30.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x31.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x32.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x33.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x34.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x35.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x36.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x37.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x38.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x39.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x3a.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x3b.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x3c.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x3d.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x3e.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x3f.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x40.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x41.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x42.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x43.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x44.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x45.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x46.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x47.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x48.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x49.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x4a.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x4b.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x4c.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x4d.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x4e.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x4f.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x50.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x51.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x52.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x53.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x54.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x55.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x56.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x57.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x58.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x59.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x5a.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x5b.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x5c.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x5d.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x5e.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x5f.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x60.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x61.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x62.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x63.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x64.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x65.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x66.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x67.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x68.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x69.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x6a.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x6b.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x6c.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x6d.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x6e.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x6f.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x70.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x71.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x72.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x73.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x74.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x75.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x76.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x77.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x78.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x79.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x7a.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x7b.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x7c.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x7d.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x7e.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x7f.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x80.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x81.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x82.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x83.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x84.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x85.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x86.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x87.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x88.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x89.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x8a.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x8b.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x8c.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x8d.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x8e.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x8f.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x90.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x91.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x92.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x93.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x94.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x95.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x96.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x97.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x98.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x99.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x9a.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x9b.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x9c.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x9d.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x9e.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/x9f.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xa0.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xa1.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xa2.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xa3.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xa4.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xac.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xad.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xae.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xaf.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xb0.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xb1.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xb2.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xb3.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xb4.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xb5.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xb6.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xb7.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xb8.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xb9.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xba.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xbb.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xbc.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xbd.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xbe.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xbf.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xc0.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xc1.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xc2.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xc3.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xc4.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xc5.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xc6.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xc7.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xc8.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xc9.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xca.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xcb.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xcc.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xcd.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xce.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xcf.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xd0.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xd1.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xd2.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xd3.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xd4.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xd5.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xd6.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xd7.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xf9.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xfa.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xfb.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xfc.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xfd.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xfe.php4
-rw-r--r--core/lib/Drupal/Component/Transliteration/data/xff.php4
-rw-r--r--core/lib/Drupal/Component/Utility/ArgumentsResolver.php2
-rw-r--r--core/lib/Drupal/Component/Utility/Color.php4
-rw-r--r--core/lib/Drupal/Component/Utility/DiffArray.php2
-rw-r--r--core/lib/Drupal/Component/Utility/Html.php14
-rw-r--r--core/lib/Drupal/Component/Utility/NestedArray.php6
-rw-r--r--core/lib/Drupal/Component/Utility/Random.php14
-rw-r--r--core/lib/Drupal/Component/Utility/Tags.php4
-rw-r--r--core/lib/Drupal/Component/Utility/Timer.php2
-rw-r--r--core/lib/Drupal/Component/Utility/Unicode.php8
-rw-r--r--core/lib/Drupal/Component/Utility/UrlHelper.php16
-rw-r--r--core/lib/Drupal/Component/Utility/UserAgent.php4
-rw-r--r--core/lib/Drupal/Component/Utility/Variable.php2
-rw-r--r--core/lib/Drupal/Component/Utility/Xss.php10
-rw-r--r--core/lib/Drupal/Core/Access/AccessManager.php4
-rw-r--r--core/lib/Drupal/Core/Access/AccessManagerInterface.php2
-rw-r--r--core/lib/Drupal/Core/Access/AccessResult.php4
-rw-r--r--core/lib/Drupal/Core/Access/CheckProvider.php14
-rw-r--r--core/lib/Drupal/Core/Access/CheckProviderInterface.php2
-rw-r--r--core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php4
-rw-r--r--core/lib/Drupal/Core/Action/ConfigurableActionBase.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/AddCssCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/AfterCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/AjaxResponse.php2
-rw-r--r--core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php2
-rw-r--r--core/lib/Drupal/Core/Ajax/AlertCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/AppendCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/BaseCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/BeforeCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/ChangedCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/CloseDialogCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/CssCommand.php8
-rw-r--r--core/lib/Drupal/Core/Ajax/DataCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/HtmlCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/InsertCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/InvokeCommand.php6
-rw-r--r--core/lib/Drupal/Core/Ajax/OpenDialogCommand.php8
-rw-r--r--core/lib/Drupal/Core/Ajax/OpenModalDialogCommand.php2
-rw-r--r--core/lib/Drupal/Core/Ajax/PrependCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/RedirectCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/RemoveCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/ReplaceCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/RestripeCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php4
-rw-r--r--core/lib/Drupal/Core/Ajax/SettingsCommand.php4
-rw-r--r--core/lib/Drupal/Core/Annotation/ContextDefinition.php4
-rw-r--r--core/lib/Drupal/Core/Annotation/Translation.php8
-rw-r--r--core/lib/Drupal/Core/Archiver/ArchiverInterface.php2
-rw-r--r--core/lib/Drupal/Core/Archiver/ArchiverManager.php2
-rw-r--r--core/lib/Drupal/Core/Archiver/Tar.php4
-rw-r--r--core/lib/Drupal/Core/Archiver/Zip.php6
-rw-r--r--core/lib/Drupal/Core/Asset/CssCollectionGrouper.php6
-rw-r--r--core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php8
-rw-r--r--core/lib/Drupal/Core/Asset/CssCollectionRenderer.php18
-rw-r--r--core/lib/Drupal/Core/Asset/CssOptimizer.php4
-rw-r--r--core/lib/Drupal/Core/Asset/JsCollectionGrouper.php6
-rw-r--r--core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php8
-rw-r--r--core/lib/Drupal/Core/Asset/JsCollectionRenderer.php10
-rw-r--r--core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php12
-rw-r--r--core/lib/Drupal/Core/Batch/BatchStorage.php10
-rw-r--r--core/lib/Drupal/Core/Block/BlockBase.php26
-rw-r--r--core/lib/Drupal/Core/Block/BlockManager.php2
-rw-r--r--core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php6
-rw-r--r--core/lib/Drupal/Core/Cache/ApcuBackend.php16
-rw-r--r--core/lib/Drupal/Core/Cache/BackendChain.php6
-rw-r--r--core/lib/Drupal/Core/Cache/Cache.php4
-rw-r--r--core/lib/Drupal/Core/Cache/CacheBackendInterface.php2
-rw-r--r--core/lib/Drupal/Core/Cache/CacheCollector.php20
-rw-r--r--core/lib/Drupal/Core/Cache/CacheFactory.php2
-rw-r--r--core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php4
-rw-r--r--core/lib/Drupal/Core/Cache/ChainedFastBackend.php12
-rw-r--r--core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php2
-rw-r--r--core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php2
-rw-r--r--core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php2
-rw-r--r--core/lib/Drupal/Core/Cache/DatabaseBackend.php84
-rw-r--r--core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php32
-rw-r--r--core/lib/Drupal/Core/Cache/ListCacheBinsPass.php4
-rw-r--r--core/lib/Drupal/Core/Cache/MemoryBackend.php16
-rw-r--r--core/lib/Drupal/Core/Cache/MemoryBackendFactory.php2
-rw-r--r--core/lib/Drupal/Core/Cache/MemoryCounterBackend.php8
-rw-r--r--core/lib/Drupal/Core/Cache/NullBackend.php6
-rw-r--r--core/lib/Drupal/Core/Cache/PhpBackend.php14
-rw-r--r--core/lib/Drupal/Core/Composer/Composer.php8
-rw-r--r--core/lib/Drupal/Core/Condition/Annotation/Condition.php2
-rw-r--r--core/lib/Drupal/Core/Condition/ConditionManager.php2
-rw-r--r--core/lib/Drupal/Core/Condition/ConditionPluginBase.php14
-rw-r--r--core/lib/Drupal/Core/Condition/ConditionPluginCollection.php4
-rw-r--r--core/lib/Drupal/Core/Config/CachedStorage.php16
-rw-r--r--core/lib/Drupal/Core/Config/Config.php10
-rw-r--r--core/lib/Drupal/Core/Config/ConfigBase.php4
-rw-r--r--core/lib/Drupal/Core/Config/ConfigCollectionInfo.php2
-rw-r--r--core/lib/Drupal/Core/Config/ConfigFactory.php24
-rw-r--r--core/lib/Drupal/Core/Config/ConfigFactoryOverrideBase.php8
-rw-r--r--core/lib/Drupal/Core/Config/ConfigImportValidateEventSubscriberBase.php2
-rw-r--r--core/lib/Drupal/Core/Config/ConfigImporter.php82
-rw-r--r--core/lib/Drupal/Core/Config/ConfigInstaller.php2
-rw-r--r--core/lib/Drupal/Core/Config/ConfigManager.php34
-rw-r--r--core/lib/Drupal/Core/Config/ConfigModuleOverridesEvent.php4
-rw-r--r--core/lib/Drupal/Core/Config/DatabaseStorage.php60
-rw-r--r--core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php10
-rw-r--r--core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php24
-rw-r--r--core/lib/Drupal/Core/Config/Entity/ConfigDependencyManager.php10
-rw-r--r--core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php8
-rw-r--r--core/lib/Drupal/Core/Config/Entity/ConfigEntityBundleBase.php2
-rw-r--r--core/lib/Drupal/Core/Config/Entity/ConfigEntityDependency.php2
-rw-r--r--core/lib/Drupal/Core/Config/Entity/ConfigEntityListBuilder.php10
-rw-r--r--core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php18
-rw-r--r--core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php4
-rw-r--r--core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php34
-rw-r--r--core/lib/Drupal/Core/Config/Entity/Query/Condition.php10
-rw-r--r--core/lib/Drupal/Core/Config/Entity/Query/Query.php4
-rw-r--r--core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php6
-rw-r--r--core/lib/Drupal/Core/Config/ExtensionInstallStorage.php6
-rw-r--r--core/lib/Drupal/Core/Config/FileStorage.php8
-rw-r--r--core/lib/Drupal/Core/Config/Importer/FinalMissingContentSubscriber.php2
-rw-r--r--core/lib/Drupal/Core/Config/InstallStorage.php10
-rw-r--r--core/lib/Drupal/Core/Config/NullStorage.php8
-rw-r--r--core/lib/Drupal/Core/Config/PreExistingConfigException.php6
-rw-r--r--core/lib/Drupal/Core/Config/Schema/ArrayElement.php6
-rw-r--r--core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php2
-rw-r--r--core/lib/Drupal/Core/Config/Schema/Mapping.php2
-rw-r--r--core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php12
-rw-r--r--core/lib/Drupal/Core/Config/Schema/Sequence.php2
-rw-r--r--core/lib/Drupal/Core/Config/StorableConfigBase.php2
-rw-r--r--core/lib/Drupal/Core/Config/StorageComparer.php36
-rw-r--r--core/lib/Drupal/Core/Config/TypedConfigManager.php12
-rw-r--r--core/lib/Drupal/Core/Config/UnmetDependenciesException.php4
-rw-r--r--core/lib/Drupal/Core/Controller/ControllerResolver.php4
-rw-r--r--core/lib/Drupal/Core/Controller/TitleResolver.php4
-rw-r--r--core/lib/Drupal/Core/Database/Connection.php56
-rw-r--r--core/lib/Drupal/Core/Database/Database.php24
-rw-r--r--core/lib/Drupal/Core/Database/Driver/mysql/Connection.php40
-rw-r--r--core/lib/Drupal/Core/Database/Driver/mysql/Insert.php4
-rw-r--r--core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php16
-rw-r--r--core/lib/Drupal/Core/Database/Driver/mysql/Schema.php58
-rw-r--r--core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php20
-rw-r--r--core/lib/Drupal/Core/Database/Driver/pgsql/Insert.php10
-rw-r--r--core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php40
-rw-r--r--core/lib/Drupal/Core/Database/Driver/pgsql/NativeUpsert.php2
-rw-r--r--core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php80
-rw-r--r--core/lib/Drupal/Core/Database/Driver/pgsql/Select.php6
-rw-r--r--core/lib/Drupal/Core/Database/Driver/pgsql/Update.php4
-rw-r--r--core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php6
-rw-r--r--core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php68
-rw-r--r--core/lib/Drupal/Core/Database/Driver/sqlite/Insert.php4
-rw-r--r--core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php6
-rw-r--r--core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php96
-rw-r--r--core/lib/Drupal/Core/Database/Driver/sqlite/Statement.php8
-rw-r--r--core/lib/Drupal/Core/Database/Install/Tasks.php122
-rw-r--r--core/lib/Drupal/Core/Database/Log.php14
-rw-r--r--core/lib/Drupal/Core/Database/Query/Condition.php70
-rw-r--r--core/lib/Drupal/Core/Database/Query/ConditionInterface.php2
-rw-r--r--core/lib/Drupal/Core/Database/Query/Delete.php4
-rw-r--r--core/lib/Drupal/Core/Database/Query/Insert.php6
-rw-r--r--core/lib/Drupal/Core/Database/Query/InsertTrait.php12
-rw-r--r--core/lib/Drupal/Core/Database/Query/Merge.php30
-rw-r--r--core/lib/Drupal/Core/Database/Query/Query.php2
-rw-r--r--core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php2
-rw-r--r--core/lib/Drupal/Core/Database/Query/Select.php58
-rw-r--r--core/lib/Drupal/Core/Database/Query/SelectExtender.php24
-rw-r--r--core/lib/Drupal/Core/Database/Query/SelectInterface.php16
-rw-r--r--core/lib/Drupal/Core/Database/Query/TableSortExtender.php2
-rw-r--r--core/lib/Drupal/Core/Database/Query/Truncate.php4
-rw-r--r--core/lib/Drupal/Core/Database/Query/Update.php16
-rw-r--r--core/lib/Drupal/Core/Database/Query/Upsert.php4
-rw-r--r--core/lib/Drupal/Core/Database/Schema.php14
-rw-r--r--core/lib/Drupal/Core/Database/Statement.php8
-rw-r--r--core/lib/Drupal/Core/Database/StatementEmpty.php12
-rw-r--r--core/lib/Drupal/Core/Database/StatementInterface.php4
-rw-r--r--core/lib/Drupal/Core/Database/StatementPrefetch.php40
-rw-r--r--core/lib/Drupal/Core/Database/database.api.php58
-rw-r--r--core/lib/Drupal/Core/Datetime/DateFormatter.php46
-rw-r--r--core/lib/Drupal/Core/Datetime/DateFormatterInterface.php6
-rw-r--r--core/lib/Drupal/Core/Datetime/DateHelper.php164
-rw-r--r--core/lib/Drupal/Core/Datetime/DrupalDateTime.php10
-rw-r--r--core/lib/Drupal/Core/Datetime/Element/DateElementBase.php2
-rw-r--r--core/lib/Drupal/Core/Datetime/Element/Datelist.php36
-rw-r--r--core/lib/Drupal/Core/Datetime/Element/Datetime.php72
-rw-r--r--core/lib/Drupal/Core/Datetime/Plugin/Field/FieldWidget/TimestampDatetimeWidget.php6
-rw-r--r--core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterAccessChecksPass.php4
-rw-r--r--core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php2
-rw-r--r--core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterStreamWrappersPass.php2
-rw-r--r--core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php10
-rw-r--r--core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php6
-rw-r--r--core/lib/Drupal/Core/Diff/DiffFormatter.php52
-rw-r--r--core/lib/Drupal/Core/Display/VariantBase.php12
-rw-r--r--core/lib/Drupal/Core/DrupalKernel.php70
-rw-r--r--core/lib/Drupal/Core/DrupalKernelInterface.php2
-rw-r--r--core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php2
-rw-r--r--core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php2
-rw-r--r--core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php2
-rw-r--r--core/lib/Drupal/Core/Entity/ContentEntityBase.php38
-rw-r--r--core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php18
-rw-r--r--core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php10
-rw-r--r--core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php8
-rw-r--r--core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php18
-rw-r--r--core/lib/Drupal/Core/Entity/ContentEntityType.php4
-rw-r--r--core/lib/Drupal/Core/Entity/DependencyTrait.php4
-rw-r--r--core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php2
-rw-r--r--core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php40
-rw-r--r--core/lib/Drupal/Core/Entity/Entity.php14
-rw-r--r--core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php30
-rw-r--r--core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php46
-rw-r--r--core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php22
-rw-r--r--core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php2
-rw-r--r--core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php8
-rw-r--r--core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php18
-rw-r--r--core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php4
-rw-r--r--core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php6
-rw-r--r--core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php12
-rw-r--r--core/lib/Drupal/Core/Entity/EntityDisplayBase.php20
-rw-r--r--core/lib/Drupal/Core/Entity/EntityDisplayRepository.php4
-rw-r--r--core/lib/Drupal/Core/Entity/EntityForm.php24
-rw-r--r--core/lib/Drupal/Core/Entity/EntityFormBuilder.php2
-rw-r--r--core/lib/Drupal/Core/Entity/EntityFormBuilderInterface.php2
-rw-r--r--core/lib/Drupal/Core/Entity/EntityInterface.php8
-rw-r--r--core/lib/Drupal/Core/Entity/EntityListBuilder.php28
-rw-r--r--core/lib/Drupal/Core/Entity/EntityManager.php2
-rw-r--r--core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManager.php18
-rw-r--r--core/lib/Drupal/Core/Entity/EntityRepository.php4
-rw-r--r--core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php2
-rw-r--r--core/lib/Drupal/Core/Entity/EntityResolverManager.php22
-rw-r--r--core/lib/Drupal/Core/Entity/EntityStorageBase.php26
-rw-r--r--core/lib/Drupal/Core/Entity/EntityStorageInterface.php4
-rw-r--r--core/lib/Drupal/Core/Entity/EntityType.php18
-rw-r--r--core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php2
-rw-r--r--core/lib/Drupal/Core/Entity/EntityTypeRepository.php4
-rw-r--r--core/lib/Drupal/Core/Entity/EntityViewBuilder.php56
-rw-r--r--core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php6
-rw-r--r--core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php2
-rw-r--r--core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php4
-rw-r--r--core/lib/Drupal/Core/Entity/Plugin/DataType/Deriver/EntityDeriver.php10
-rw-r--r--core/lib/Drupal/Core/Entity/Plugin/DataType/EntityAdapter.php2
-rw-r--r--core/lib/Drupal/Core/Entity/Plugin/Derivative/DefaultSelectionDeriver.php4
-rw-r--r--core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php8
-rw-r--r--core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php72
-rw-r--r--core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php4
-rw-r--r--core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraintValidator.php2
-rw-r--r--core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php2
-rw-r--r--core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraintValidator.php2
-rw-r--r--core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraintValidator.php2
-rw-r--r--core/lib/Drupal/Core/Entity/Query/ConditionAggregateBase.php4
-rw-r--r--core/lib/Drupal/Core/Entity/Query/ConditionBase.php4
-rw-r--r--core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php4
-rw-r--r--core/lib/Drupal/Core/Entity/Query/QueryBase.php40
-rw-r--r--core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php2
-rw-r--r--core/lib/Drupal/Core/Entity/Query/Sql/Query.php22
-rw-r--r--core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php8
-rw-r--r--core/lib/Drupal/Core/Entity/Query/Sql/Tables.php14
-rw-r--r--core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php26
-rw-r--r--core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php100
-rw-r--r--core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php204
-rw-r--r--core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php10
-rw-r--r--core/lib/Drupal/Core/Entity/entity.api.php80
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php4
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php38
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/ConfigSnapshotSubscriber.php2
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/EnforcedFormResponseSubscriber.php4
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php2
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/ExceptionTestSiteSubscriber.php10
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php4
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php4
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php12
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php4
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php2
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php6
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php4
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php4
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/ReplicaDatabaseIgnoreSubscriber.php2
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php2
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/RouteEnhancerSubscriber.php2
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/RouteFilterSubscriber.php2
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/RouteMethodSubscriber.php4
-rw-r--r--core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php4
-rw-r--r--core/lib/Drupal/Core/Executable/ExecutablePluginBase.php2
-rw-r--r--core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php8
-rw-r--r--core/lib/Drupal/Core/Extension/Extension.php6
-rw-r--r--core/lib/Drupal/Core/Extension/ExtensionDiscovery.php14
-rw-r--r--core/lib/Drupal/Core/Extension/InfoParser.php2
-rw-r--r--core/lib/Drupal/Core/Extension/InfoParserDynamic.php4
-rw-r--r--core/lib/Drupal/Core/Extension/ModuleHandler.php40
-rw-r--r--core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php6
-rw-r--r--core/lib/Drupal/Core/Extension/ModuleInstaller.php32
-rw-r--r--core/lib/Drupal/Core/Extension/ThemeHandler.php40
-rw-r--r--core/lib/Drupal/Core/Extension/ThemeInstaller.php16
-rw-r--r--core/lib/Drupal/Core/Extension/module.api.php78
-rw-r--r--core/lib/Drupal/Core/Field/Annotation/FieldFormatter.php2
-rw-r--r--core/lib/Drupal/Core/Field/Annotation/FieldWidget.php2
-rw-r--r--core/lib/Drupal/Core/Field/BaseFieldDefinition.php28
-rw-r--r--core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php10
-rw-r--r--core/lib/Drupal/Core/Field/FieldConfigBase.php10
-rw-r--r--core/lib/Drupal/Core/Field/FieldItemBase.php14
-rw-r--r--core/lib/Drupal/Core/Field/FieldItemInterface.php2
-rw-r--r--core/lib/Drupal/Core/Field/FieldItemList.php18
-rw-r--r--core/lib/Drupal/Core/Field/FieldItemListInterface.php2
-rw-r--r--core/lib/Drupal/Core/Field/FieldModuleUninstallValidator.php6
-rw-r--r--core/lib/Drupal/Core/Field/FieldStorageDefinitionEventSubscriberTrait.php2
-rw-r--r--core/lib/Drupal/Core/Field/FieldTypePluginManager.php6
-rw-r--r--core/lib/Drupal/Core/Field/FormatterBase.php10
-rw-r--r--core/lib/Drupal/Core/Field/FormatterPluginManager.php22
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/DataType/Deriver/FieldItemDeriver.php2
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/BooleanFormatter.php4
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/DecimalFormatter.php16
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php16
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php4
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php10
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php16
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/IntegerFormatter.php4
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php4
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/MailToFormatter.php6
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/NumericFormatterBase.php24
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/NumericUnformattedFormatter.php4
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php2
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php22
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php36
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/UriLinkFormatter.php2
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php34
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/CreatedItem.php2
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php40
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php26
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php104
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/FloatItem.php12
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php36
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php14
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/MapItem.php18
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php50
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItem.php36
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItemBase.php4
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringLongItem.php12
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/TimestampItem.php12
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/UriItem.php12
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldType/UuidItem.php8
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/BooleanCheckboxWidget.php16
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EmailDefaultWidget.php22
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php34
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php4
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php18
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsButtonsWidget.php10
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsSelectWidget.php4
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php18
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextareaWidget.php24
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php24
-rw-r--r--core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/UriWidget.php22
-rw-r--r--core/lib/Drupal/Core/Field/PluginSettingsBase.php12
-rw-r--r--core/lib/Drupal/Core/Field/WidgetBase.php84
-rw-r--r--core/lib/Drupal/Core/Field/WidgetPluginManager.php28
-rw-r--r--core/lib/Drupal/Core/File/FileSystem.php2
-rw-r--r--core/lib/Drupal/Core/File/MimeType/ExtensionMimeTypeGuesser.php12
-rw-r--r--core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php4
-rw-r--r--core/lib/Drupal/Core/File/file.api.php12
-rw-r--r--core/lib/Drupal/Core/FileTransfer/FTPExtension.php14
-rw-r--r--core/lib/Drupal/Core/FileTransfer/FileTransfer.php22
-rw-r--r--core/lib/Drupal/Core/FileTransfer/FileTransferException.php2
-rw-r--r--core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php74
-rw-r--r--core/lib/Drupal/Core/FileTransfer/Local.php18
-rw-r--r--core/lib/Drupal/Core/FileTransfer/SSH.php18
-rw-r--r--core/lib/Drupal/Core/Flood/DatabaseBackend.php4
-rw-r--r--core/lib/Drupal/Core/Flood/MemoryBackend.php2
-rw-r--r--core/lib/Drupal/Core/Form/ConfigFormBase.php4
-rw-r--r--core/lib/Drupal/Core/Form/ConfirmFormBase.php10
-rw-r--r--core/lib/Drupal/Core/Form/FormBuilder.php48
-rw-r--r--core/lib/Drupal/Core/Form/FormCache.php2
-rw-r--r--core/lib/Drupal/Core/Form/FormState.php30
-rw-r--r--core/lib/Drupal/Core/Form/FormStateInterface.php2
-rw-r--r--core/lib/Drupal/Core/Form/FormSubmitter.php4
-rw-r--r--core/lib/Drupal/Core/Form/FormValidator.php20
-rw-r--r--core/lib/Drupal/Core/Form/OptGroup.php2
-rw-r--r--core/lib/Drupal/Core/Form/form.api.php32
-rw-r--r--core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php2
-rw-r--r--core/lib/Drupal/Core/Image/Image.php18
-rw-r--r--core/lib/Drupal/Core/Image/ImageInterface.php2
-rw-r--r--core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php8
-rw-r--r--core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php2
-rw-r--r--core/lib/Drupal/Core/ImageToolkit/ImageToolkitManager.php2
-rw-r--r--core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php2
-rw-r--r--core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php6
-rw-r--r--core/lib/Drupal/Core/Installer/Exception/AlreadyInstalledException.php4
-rw-r--r--core/lib/Drupal/Core/Installer/Form/SelectLanguageForm.php32
-rw-r--r--core/lib/Drupal/Core/Installer/Form/SelectProfileForm.php20
-rw-r--r--core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php82
-rw-r--r--core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php54
-rw-r--r--core/lib/Drupal/Core/Installer/InstallerRouteBuilder.php2
-rw-r--r--core/lib/Drupal/Core/Installer/InstallerServiceProvider.php4
-rw-r--r--core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php24
-rw-r--r--core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php28
-rw-r--r--core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php2
-rw-r--r--core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php4
-rw-r--r--core/lib/Drupal/Core/KeyValueStore/KeyValueMemoryFactory.php2
-rw-r--r--core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php4
-rw-r--r--core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php6
-rw-r--r--core/lib/Drupal/Core/KeyValueStore/StorageBase.php4
-rw-r--r--core/lib/Drupal/Core/Language/Language.php6
-rw-r--r--core/lib/Drupal/Core/Language/LanguageManager.php246
-rw-r--r--core/lib/Drupal/Core/Language/LanguageManagerInterface.php2
-rw-r--r--core/lib/Drupal/Core/Link.php2
-rw-r--r--core/lib/Drupal/Core/Locale/CountryManager.php4
-rw-r--r--core/lib/Drupal/Core/Lock/DatabaseLockBackend.php12
-rw-r--r--core/lib/Drupal/Core/Lock/LockBackendAbstract.php2
-rw-r--r--core/lib/Drupal/Core/Logger/LogMessageParser.php2
-rw-r--r--core/lib/Drupal/Core/Logger/LoggerChannel.php14
-rw-r--r--core/lib/Drupal/Core/Logger/LoggerChannelFactory.php4
-rw-r--r--core/lib/Drupal/Core/Logger/RfcLoggerTrait.php18
-rw-r--r--core/lib/Drupal/Core/Mail/MailFormatHelper.php22
-rw-r--r--core/lib/Drupal/Core/Mail/MailManager.php22
-rw-r--r--core/lib/Drupal/Core/Mail/MailManagerInterface.php2
-rw-r--r--core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php2
-rw-r--r--core/lib/Drupal/Core/Mail/Plugin/Mail/TestMailCollector.php2
-rw-r--r--core/lib/Drupal/Core/Menu/ContextualLinkManager.php18
-rw-r--r--core/lib/Drupal/Core/Menu/ContextualLinkManagerInterface.php2
-rw-r--r--core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php6
-rw-r--r--core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php32
-rw-r--r--core/lib/Drupal/Core/Menu/LocalActionDefault.php2
-rw-r--r--core/lib/Drupal/Core/Menu/LocalActionManager.php30
-rw-r--r--core/lib/Drupal/Core/Menu/LocalTaskDefault.php2
-rw-r--r--core/lib/Drupal/Core/Menu/LocalTaskManager.php30
-rw-r--r--core/lib/Drupal/Core/Menu/MenuActiveTrail.php2
-rw-r--r--core/lib/Drupal/Core/Menu/MenuLinkBase.php8
-rw-r--r--core/lib/Drupal/Core/Menu/MenuLinkDefault.php4
-rw-r--r--core/lib/Drupal/Core/Menu/MenuLinkManager.php18
-rw-r--r--core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php2
-rw-r--r--core/lib/Drupal/Core/Menu/MenuLinkTree.php6
-rw-r--r--core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php2
-rw-r--r--core/lib/Drupal/Core/Menu/MenuParentFormSelector.php22
-rw-r--r--core/lib/Drupal/Core/Menu/MenuTreeParameters.php8
-rw-r--r--core/lib/Drupal/Core/Menu/MenuTreeStorage.php242
-rw-r--r--core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php2
-rw-r--r--core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php14
-rw-r--r--core/lib/Drupal/Core/Menu/menu.api.php22
-rw-r--r--core/lib/Drupal/Core/ParamConverter/EntityConverter.php2
-rw-r--r--core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php2
-rw-r--r--core/lib/Drupal/Core/Path/AliasManager.php24
-rw-r--r--core/lib/Drupal/Core/Path/AliasStorage.php12
-rw-r--r--core/lib/Drupal/Core/Path/PathMatcher.php8
-rw-r--r--core/lib/Drupal/Core/PathProcessor/NullPathProcessorManager.php2
-rw-r--r--core/lib/Drupal/Core/PathProcessor/OutboundPathProcessorInterface.php2
-rw-r--r--core/lib/Drupal/Core/PathProcessor/PathProcessorAlias.php2
-rw-r--r--core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php2
-rw-r--r--core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php16
-rw-r--r--core/lib/Drupal/Core/PhpStorage/PhpStorageFactory.php2
-rw-r--r--core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php2
-rw-r--r--core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php2
-rw-r--r--core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerInterface.php2
-rw-r--r--core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php2
-rw-r--r--core/lib/Drupal/Core/Plugin/Context/ContextHandler.php2
-rw-r--r--core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php2
-rw-r--r--core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php2
-rw-r--r--core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php12
-rw-r--r--core/lib/Drupal/Core/Plugin/DefaultPluginManager.php4
-rw-r--r--core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php4
-rw-r--r--core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php2
-rw-r--r--core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php2
-rw-r--r--core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php6
-rw-r--r--core/lib/Drupal/Core/Plugin/Discovery/YamlDiscoveryDecorator.php2
-rw-r--r--core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php2
-rw-r--r--core/lib/Drupal/Core/Plugin/PluginManagerPass.php2
-rw-r--r--core/lib/Drupal/Core/Queue/Batch.php6
-rw-r--r--core/lib/Drupal/Core/Queue/BatchMemory.php2
-rw-r--r--core/lib/Drupal/Core/Queue/DatabaseQueue.php20
-rw-r--r--core/lib/Drupal/Core/Queue/Memory.php4
-rw-r--r--core/lib/Drupal/Core/Queue/QueueFactory.php2
-rw-r--r--core/lib/Drupal/Core/Render/BubbleableMetadata.php2
-rw-r--r--core/lib/Drupal/Core/Render/Element.php6
-rw-r--r--core/lib/Drupal/Core/Render/Element/Actions.php26
-rw-r--r--core/lib/Drupal/Core/Render/Element/Ajax.php6
-rw-r--r--core/lib/Drupal/Core/Render/Element/Button.php22
-rw-r--r--core/lib/Drupal/Core/Render/Element/Checkbox.php28
-rw-r--r--core/lib/Drupal/Core/Render/Element/Checkboxes.php34
-rw-r--r--core/lib/Drupal/Core/Render/Element/Color.php30
-rw-r--r--core/lib/Drupal/Core/Render/Element/Container.php20
-rw-r--r--core/lib/Drupal/Core/Render/Element/Date.php4
-rw-r--r--core/lib/Drupal/Core/Render/Element/Details.php26
-rw-r--r--core/lib/Drupal/Core/Render/Element/Dropbutton.php12
-rw-r--r--core/lib/Drupal/Core/Render/Element/ElementInterface.php2
-rw-r--r--core/lib/Drupal/Core/Render/Element/Email.php34
-rw-r--r--core/lib/Drupal/Core/Render/Element/Fieldgroup.php6
-rw-r--r--core/lib/Drupal/Core/Render/Element/Fieldset.php20
-rw-r--r--core/lib/Drupal/Core/Render/Element/File.php24
-rw-r--r--core/lib/Drupal/Core/Render/Element/Form.php6
-rw-r--r--core/lib/Drupal/Core/Render/Element/FormElement.php6
-rw-r--r--core/lib/Drupal/Core/Render/Element/Hidden.php18
-rw-r--r--core/lib/Drupal/Core/Render/Element/Html.php10
-rw-r--r--core/lib/Drupal/Core/Render/Element/HtmlTag.php24
-rw-r--r--core/lib/Drupal/Core/Render/Element/ImageButton.php8
-rw-r--r--core/lib/Drupal/Core/Render/Element/InlineTemplate.php12
-rw-r--r--core/lib/Drupal/Core/Render/Element/Item.php6
-rw-r--r--core/lib/Drupal/Core/Render/Element/Label.php4
-rw-r--r--core/lib/Drupal/Core/Render/Element/LanguageSelect.php4
-rw-r--r--core/lib/Drupal/Core/Render/Element/Link.php14
-rw-r--r--core/lib/Drupal/Core/Render/Element/MachineName.php48
-rw-r--r--core/lib/Drupal/Core/Render/Element/MoreLink.php14
-rw-r--r--core/lib/Drupal/Core/Render/Element/Number.php36
-rw-r--r--core/lib/Drupal/Core/Render/Element/Operations.php4
-rw-r--r--core/lib/Drupal/Core/Render/Element/Page.php4
-rw-r--r--core/lib/Drupal/Core/Render/Element/Password.php24
-rw-r--r--core/lib/Drupal/Core/Render/Element/PasswordConfirm.php26
-rw-r--r--core/lib/Drupal/Core/Render/Element/PathElement.php14
-rw-r--r--core/lib/Drupal/Core/Render/Element/Radio.php22
-rw-r--r--core/lib/Drupal/Core/Render/Element/Radios.php26
-rw-r--r--core/lib/Drupal/Core/Render/Element/Range.php14
-rw-r--r--core/lib/Drupal/Core/Render/Element/RenderElement.php6
-rw-r--r--core/lib/Drupal/Core/Render/Element/Search.php24
-rw-r--r--core/lib/Drupal/Core/Render/Element/Select.php36
-rw-r--r--core/lib/Drupal/Core/Render/Element/Submit.php4
-rw-r--r--core/lib/Drupal/Core/Render/Element/SystemCompactLink.php40
-rw-r--r--core/lib/Drupal/Core/Render/Element/Table.php60
-rw-r--r--core/lib/Drupal/Core/Render/Element/Tableselect.php54
-rw-r--r--core/lib/Drupal/Core/Render/Element/Tel.php26
-rw-r--r--core/lib/Drupal/Core/Render/Element/Textarea.php20
-rw-r--r--core/lib/Drupal/Core/Render/Element/Textfield.php32
-rw-r--r--core/lib/Drupal/Core/Render/Element/Token.php10
-rw-r--r--core/lib/Drupal/Core/Render/Element/Url.php34
-rw-r--r--core/lib/Drupal/Core/Render/Element/Value.php4
-rw-r--r--core/lib/Drupal/Core/Render/Element/VerticalTabs.php30
-rw-r--r--core/lib/Drupal/Core/Render/Element/Weight.php14
-rw-r--r--core/lib/Drupal/Core/Render/ElementInfoManager.php6
-rw-r--r--core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php4
-rw-r--r--core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php2
-rw-r--r--core/lib/Drupal/Core/Render/MainContent/DialogRenderer.php2
-rw-r--r--core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php4
-rw-r--r--core/lib/Drupal/Core/Render/MainContent/ModalRenderer.php2
-rw-r--r--core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php8
-rw-r--r--core/lib/Drupal/Core/Render/Renderer.php8
-rw-r--r--core/lib/Drupal/Core/Render/theme.api.php40
-rw-r--r--core/lib/Drupal/Core/RouteProcessor/RouteProcessorManager.php8
-rw-r--r--core/lib/Drupal/Core/Routing/AccessAwareRouter.php2
-rw-r--r--core/lib/Drupal/Core/Routing/CompiledRoute.php2
-rw-r--r--core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php4
-rw-r--r--core/lib/Drupal/Core/Routing/MatcherDumper.php14
-rw-r--r--core/lib/Drupal/Core/Routing/NullGenerator.php4
-rw-r--r--core/lib/Drupal/Core/Routing/NullMatcherDumper.php2
-rw-r--r--core/lib/Drupal/Core/Routing/RouteBuilder.php14
-rw-r--r--core/lib/Drupal/Core/Routing/RouteMatch.php6
-rw-r--r--core/lib/Drupal/Core/Routing/RoutePreloader.php10
-rw-r--r--core/lib/Drupal/Core/Routing/RouteProvider.php26
-rw-r--r--core/lib/Drupal/Core/Routing/Router.php4
-rw-r--r--core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php4
-rw-r--r--core/lib/Drupal/Core/Routing/UrlGenerator.php20
-rw-r--r--core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php4
-rw-r--r--core/lib/Drupal/Core/Routing/UrlGeneratorTrait.php2
-rw-r--r--core/lib/Drupal/Core/Session/AccountSwitcher.php4
-rw-r--r--core/lib/Drupal/Core/Session/SessionHandler.php6
-rw-r--r--core/lib/Drupal/Core/Session/SessionManager.php10
-rw-r--r--core/lib/Drupal/Core/Session/UserSession.php6
-rw-r--r--core/lib/Drupal/Core/Site/Settings.php8
-rw-r--r--core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php2
-rw-r--r--core/lib/Drupal/Core/State/State.php4
-rw-r--r--core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php6
-rw-r--r--core/lib/Drupal/Core/StreamWrapper/LocalStream.php2
-rw-r--r--core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php6
-rw-r--r--core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php18
-rw-r--r--core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php4
-rw-r--r--core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php4
-rw-r--r--core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php4
-rw-r--r--core/lib/Drupal/Core/StringTranslation/TranslationInterface.php4
-rw-r--r--core/lib/Drupal/Core/StringTranslation/TranslationManager.php10
-rw-r--r--core/lib/Drupal/Core/StringTranslation/Translator/CustomStrings.php2
-rw-r--r--core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php4
-rw-r--r--core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php6
-rw-r--r--core/lib/Drupal/Core/Template/Attribute.php8
-rw-r--r--core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php6
-rw-r--r--core/lib/Drupal/Core/Template/TwigEnvironment.php10
-rw-r--r--core/lib/Drupal/Core/Template/TwigExtension.php40
-rw-r--r--core/lib/Drupal/Core/Template/TwigNodeTrans.php12
-rw-r--r--core/lib/Drupal/Core/Template/TwigNodeVisitor.php2
-rw-r--r--core/lib/Drupal/Core/Template/TwigTransTokenParser.php6
-rw-r--r--core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php12
-rw-r--r--core/lib/Drupal/Core/Test/TestRunnerKernel.php12
-rw-r--r--core/lib/Drupal/Core/Test/TestSetupTrait.php8
-rw-r--r--core/lib/Drupal/Core/Theme/Registry.php26
-rw-r--r--core/lib/Drupal/Core/Theme/ThemeInitialization.php8
-rw-r--r--core/lib/Drupal/Core/Theme/ThemeManager.php24
-rw-r--r--core/lib/Drupal/Core/Theme/ThemeNegotiator.php4
-rw-r--r--core/lib/Drupal/Core/TypedData/DataDefinition.php8
-rw-r--r--core/lib/Drupal/Core/TypedData/ListDataDefinition.php4
-rw-r--r--core/lib/Drupal/Core/TypedData/MapDataDefinition.php2
-rw-r--r--core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php10
-rw-r--r--core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php10
-rw-r--r--core/lib/Drupal/Core/TypedData/TranslatableInterface.php2
-rw-r--r--core/lib/Drupal/Core/TypedData/TypedData.php2
-rw-r--r--core/lib/Drupal/Core/TypedData/TypedDataManager.php18
-rw-r--r--core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php2
-rw-r--r--core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php10
-rw-r--r--core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php2
-rw-r--r--core/lib/Drupal/Core/Update/UpdateRegistry.php2
-rw-r--r--core/lib/Drupal/Core/Updater/Module.php8
-rw-r--r--core/lib/Drupal/Core/Updater/Theme.php2
-rw-r--r--core/lib/Drupal/Core/Updater/Updater.php24
-rw-r--r--core/lib/Drupal/Core/Url.php12
-rw-r--r--core/lib/Drupal/Core/Utility/Error.php12
-rw-r--r--core/lib/Drupal/Core/Utility/LinkGenerator.php14
-rw-r--r--core/lib/Drupal/Core/Utility/ProjectInfo.php14
-rw-r--r--core/lib/Drupal/Core/Utility/ThemeRegistry.php4
-rw-r--r--core/lib/Drupal/Core/Utility/Token.php16
-rw-r--r--core/lib/Drupal/Core/Utility/UnroutedUrlAssemblerInterface.php2
-rw-r--r--core/lib/Drupal/Core/Utility/token.api.php52
-rw-r--r--core/lib/Drupal/Core/Validation/ConstraintManager.php24
-rw-r--r--core/lib/Drupal/Core/Validation/DrupalTranslator.php8
-rw-r--r--core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php4
-rw-r--r--core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php4
848 files changed, 4977 insertions, 4977 deletions
diff --git a/core/lib/Drupal/Component/Annotation/Plugin.php b/core/lib/Drupal/Component/Annotation/Plugin.php
index 29f3675..790440d 100644
--- a/core/lib/Drupal/Component/Annotation/Plugin.php
+++ b/core/lib/Drupal/Component/Annotation/Plugin.php
@@ -52,7 +52,7 @@ class Plugin implements AnnotationInterface {
* The parsed annotation as a definition.
*/
protected function parse(array $values) {
- $definitions = array();
+ $definitions = [];
foreach ($values as $key => $value) {
if ($value instanceof AnnotationInterface) {
$definitions[$key] = $value->get();
diff --git a/core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php b/core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php
index 879f13b..b350ac0 100644
--- a/core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php
+++ b/core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php
@@ -69,7 +69,7 @@ class AnnotatedClassDiscovery implements DiscoveryInterface {
* @param string[] $annotation_namespaces
* (optional) Additional namespaces to be scanned for annotation classes.
*/
- function __construct($plugin_namespaces = array(), $plugin_definition_annotation_name = 'Drupal\Component\Annotation\Plugin', array $annotation_namespaces = []) {
+ function __construct($plugin_namespaces = [], $plugin_definition_annotation_name = 'Drupal\Component\Annotation\Plugin', array $annotation_namespaces = []) {
$this->pluginNamespaces = $plugin_namespaces;
$this->pluginDefinitionAnnotationName = $plugin_definition_annotation_name;
$this->annotationNamespaces = $annotation_namespaces;
@@ -105,7 +105,7 @@ class AnnotatedClassDiscovery implements DiscoveryInterface {
* {@inheritdoc}
*/
public function getDefinitions() {
- $definitions = array();
+ $definitions = [];
$reader = $this->getAnnotationReader();
diff --git a/core/lib/Drupal/Component/Annotation/PluginID.php b/core/lib/Drupal/Component/Annotation/PluginID.php
index 6120d19..462ebd4 100644
--- a/core/lib/Drupal/Component/Annotation/PluginID.php
+++ b/core/lib/Drupal/Component/Annotation/PluginID.php
@@ -22,11 +22,11 @@ class PluginID extends AnnotationBase {
* {@inheritdoc}
*/
public function get() {
- return array(
+ return [
'id' => $this->value,
'class' => $this->class,
'provider' => $this->provider,
- );
+ ];
}
/**
diff --git a/core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php b/core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php
index 3d8f77b..f914b69 100644
--- a/core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php
+++ b/core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php
@@ -25,7 +25,7 @@ class ZfExtensionManagerSfContainer implements ReaderManagerInterface, WriterMan
*
* @see \Drupal\Component\Bridge\ZfExtensionManagerSfContainer::canonicalizeName().
*/
- protected $canonicalNamesReplacements = array('-' => '', '_' => '', ' ' => '', '\\' => '', '/' => '');
+ protected $canonicalNamesReplacements = ['-' => '', '_' => '', ' ' => '', '\\' => '', '/' => ''];
/**
* The prefix to be used when retrieving plugins from the container.
diff --git a/core/lib/Drupal/Component/Datetime/DateTimePlus.php b/core/lib/Drupal/Component/Datetime/DateTimePlus.php
index 3f59b59..d3cb15e 100644
--- a/core/lib/Drupal/Component/Datetime/DateTimePlus.php
+++ b/core/lib/Drupal/Component/Datetime/DateTimePlus.php
@@ -41,14 +41,14 @@ class DateTimePlus {
/**
* An array of possible date parts.
*/
- protected static $dateParts = array(
+ protected static $dateParts = [
'year',
'month',
'day',
'hour',
'minute',
'second',
- );
+ ];
/**
* The value of the time value passed to the constructor.
@@ -88,7 +88,7 @@ class DateTimePlus {
/**
* An array of errors encountered when creating this date.
*/
- protected $errors = array();
+ protected $errors = [];
/**
* The DateTime object.
@@ -108,7 +108,7 @@ class DateTimePlus {
* @return static
* A new DateTimePlus object.
*/
- public static function createFromDateTime(\DateTime $datetime, $settings = array()) {
+ public static function createFromDateTime(\DateTime $datetime, $settings = []) {
return new static($datetime->format(static::FORMAT), $datetime->getTimezone(), $settings);
}
@@ -133,7 +133,7 @@ class DateTimePlus {
* @throws \InvalidArgumentException
* If the array date values or value combination is not correct.
*/
- public static function createFromArray(array $date_parts, $timezone = NULL, $settings = array()) {
+ public static function createFromArray(array $date_parts, $timezone = NULL, $settings = []) {
$date_parts = static::prepareArray($date_parts, TRUE);
if (static::checkArray($date_parts)) {
// Even with validation, we can end up with a value that the
@@ -167,7 +167,7 @@ class DateTimePlus {
* @throws \InvalidArgumentException
* If the timestamp is not numeric.
*/
- public static function createFromTimestamp($timestamp, $timezone = NULL, $settings = array()) {
+ public static function createFromTimestamp($timestamp, $timezone = NULL, $settings = []) {
if (!is_numeric($timestamp)) {
throw new \InvalidArgumentException('The timestamp must be numeric.');
}
@@ -207,7 +207,7 @@ class DateTimePlus {
* @throws \UnexpectedValueException
* If the created date does not match the input value.
*/
- public static function createFromFormat($format, $time, $timezone = NULL, $settings = array()) {
+ public static function createFromFormat($format, $time, $timezone = NULL, $settings = []) {
if (!isset($settings['validate_format'])) {
$settings['validate_format'] = TRUE;
}
@@ -258,7 +258,7 @@ class DateTimePlus {
* - debug: (optional) Boolean choice to leave debug values in the
* date object for debugging purposes. Defaults to FALSE.
*/
- public function __construct($time = 'now', $timezone = NULL, $settings = array()) {
+ public function __construct($time = 'now', $timezone = NULL, $settings = []) {
// Unpack settings.
$this->langcode = !empty($settings['langcode']) ? $settings['langcode'] : NULL;
@@ -310,7 +310,7 @@ class DateTimePlus {
if (!method_exists($this->dateTimeObject, $method)) {
throw new \BadMethodCallException(sprintf('Call to undefined method %s::%s()', get_class($this), $method));
}
- return call_user_func_array(array($this->dateTimeObject, $method), $args);
+ return call_user_func_array([$this->dateTimeObject, $method], $args);
}
/**
@@ -346,7 +346,7 @@ class DateTimePlus {
if (!method_exists('\DateTime', $method)) {
throw new \BadMethodCallException(sprintf('Call to undefined method %s::%s()', get_called_class(), $method));
}
- return call_user_func_array(array('\DateTime', $method), $args);
+ return call_user_func_array(['\DateTime', $method], $args);
}
/**
@@ -529,24 +529,24 @@ class DateTimePlus {
public static function prepareArray($array, $force_valid_date = FALSE) {
if ($force_valid_date) {
$now = new \DateTime();
- $array += array(
+ $array += [
'year' => $now->format('Y'),
'month' => 1,
'day' => 1,
'hour' => 0,
'minute' => 0,
'second' => 0,
- );
+ ];
}
else {
- $array += array(
+ $array += [
'year' => '',
'month' => '',
'day' => '',
'hour' => '',
'minute' => '',
'second' => '',
- );
+ ];
}
return $array;
}
@@ -577,7 +577,7 @@ class DateTimePlus {
}
// Testing for valid time is reversed. Missing time is OK,
// but incorrect values are not.
- foreach (array('hour', 'minute', 'second') as $key) {
+ foreach (['hour', 'minute', 'second'] as $key) {
if (array_key_exists($key, $array)) {
$value = $array[$key];
switch ($key) {
@@ -628,7 +628,7 @@ class DateTimePlus {
* @return string
* The formatted value of the date.
*/
- public function format($format, $settings = array()) {
+ public function format($format, $settings = []) {
// If there were construction errors, we can't format the date.
if ($this->hasErrors()) {
diff --git a/core/lib/Drupal/Component/DependencyInjection/Container.php b/core/lib/Drupal/Component/DependencyInjection/Container.php
index 452a2c8..6737369 100644
--- a/core/lib/Drupal/Component/DependencyInjection/Container.php
+++ b/core/lib/Drupal/Component/DependencyInjection/Container.php
@@ -57,42 +57,42 @@ class Container implements IntrospectableContainerInterface, ResettableContainer
*
* @var array
*/
- protected $parameters = array();
+ protected $parameters = [];
/**
* The aliases of the container.
*
* @var array
*/
- protected $aliases = array();
+ protected $aliases = [];
/**
* The service definitions of the container.
*
* @var array
*/
- protected $serviceDefinitions = array();
+ protected $serviceDefinitions = [];
/**
* The instantiated services.
*
* @var array
*/
- protected $services = array();
+ protected $services = [];
/**
* The instantiated private services.
*
* @var array
*/
- protected $privateServices = array();
+ protected $privateServices = [];
/**
* The currently loading services.
*
* @var array
*/
- protected $loading = array();
+ protected $loading = [];
/**
* Whether the container parameters can still be changed.
@@ -116,14 +116,14 @@ class Container implements IntrospectableContainerInterface, ResettableContainer
* - machine_format: Whether this container definition uses the optimized
* machine-readable container format.
*/
- public function __construct(array $container_definition = array()) {
+ public function __construct(array $container_definition = []) {
if (!empty($container_definition) && (!isset($container_definition['machine_format']) || $container_definition['machine_format'] !== TRUE)) {
throw new InvalidArgumentException('The non-optimized format is not supported by this class. Use an optimized machine-readable format instead, e.g. as produced by \Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumper.');
}
- $this->aliases = isset($container_definition['aliases']) ? $container_definition['aliases'] : array();
- $this->parameters = isset($container_definition['parameters']) ? $container_definition['parameters'] : array();
- $this->serviceDefinitions = isset($container_definition['services']) ? $container_definition['services'] : array();
+ $this->aliases = isset($container_definition['aliases']) ? $container_definition['aliases'] : [];
+ $this->parameters = isset($container_definition['parameters']) ? $container_definition['parameters'] : [];
+ $this->serviceDefinitions = isset($container_definition['services']) ? $container_definition['services'] : [];
$this->frozen = isset($container_definition['frozen']) ? $container_definition['frozen'] : FALSE;
// Register the service_container with itself.
@@ -228,7 +228,7 @@ class Container implements IntrospectableContainerInterface, ResettableContainer
throw new RuntimeException(sprintf('You have requested a synthetic service ("%s"). The service container does not know how to construct this service. The service will need to be set before it is first used.', $id));
}
- $arguments = array();
+ $arguments = [];
if (isset($definition['arguments'])) {
$arguments = $definition['arguments'];
@@ -238,14 +238,14 @@ class Container implements IntrospectableContainerInterface, ResettableContainer
}
if (isset($definition['file'])) {
- $file = $this->frozen ? $definition['file'] : current($this->resolveServicesAndParameters(array($definition['file'])));
+ $file = $this->frozen ? $definition['file'] : current($this->resolveServicesAndParameters([$definition['file']]));
require_once $file;
}
if (isset($definition['factory'])) {
$factory = $definition['factory'];
if (is_array($factory)) {
- $factory = $this->resolveServicesAndParameters(array($factory[0], $factory[1]));
+ $factory = $this->resolveServicesAndParameters([$factory[0], $factory[1]]);
}
elseif (!is_string($factory)) {
throw new RuntimeException(sprintf('Cannot create service "%s" because of invalid factory', $id));
@@ -254,7 +254,7 @@ class Container implements IntrospectableContainerInterface, ResettableContainer
$service = call_user_func_array($factory, $arguments);
}
else {
- $class = $this->frozen ? $definition['class'] : current($this->resolveServicesAndParameters(array($definition['class'])));
+ $class = $this->frozen ? $definition['class'] : current($this->resolveServicesAndParameters([$definition['class']]));
$length = isset($definition['arguments_count']) ? $definition['arguments_count'] : count($arguments);
// Optimize class instantiation for services with up to 10 parameters as
@@ -322,14 +322,14 @@ class Container implements IntrospectableContainerInterface, ResettableContainer
if (isset($definition['calls'])) {
foreach ($definition['calls'] as $call) {
$method = $call[0];
- $arguments = array();
+ $arguments = [];
if (!empty($call[1])) {
$arguments = $call[1];
if ($arguments instanceof \stdClass) {
$arguments = $this->resolveServicesAndParameters($arguments);
}
}
- call_user_func_array(array($service, $method), $arguments);
+ call_user_func_array([$service, $method], $arguments);
}
}
@@ -362,7 +362,7 @@ class Container implements IntrospectableContainerInterface, ResettableContainer
* {@inheritdoc}
*/
public function set($id, $service, $scope = ContainerInterface::SCOPE_CONTAINER) {
- if (!in_array($scope, array('container', 'request')) || ('request' === $scope && 'request' !== $id)) {
+ if (!in_array($scope, ['container', 'request']) || ('request' === $scope && 'request' !== $id)) {
@trigger_error('The concept of container scopes is deprecated since version 2.8 and will be removed in 3.0. Omit the third parameter.', E_USER_DEPRECATED);
}
@@ -549,7 +549,7 @@ class Container implements IntrospectableContainerInterface, ResettableContainer
* An array of strings with suitable alternatives.
*/
protected function getAlternatives($search_key, array $keys) {
- $alternatives = array();
+ $alternatives = [];
foreach ($keys as $key) {
$lev = levenshtein($search_key, $key);
if ($lev <= strlen($search_key) / 3 || strpos($key, $search_key) !== FALSE) {
diff --git a/core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php b/core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php
index 76a43fd..7673cef 100644
--- a/core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php
+++ b/core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php
@@ -49,7 +49,7 @@ class OptimizedPhpArrayDumper extends Dumper {
/**
* {@inheritdoc}
*/
- public function dump(array $options = array()) {
+ public function dump(array $options = []) {
return serialize($this->getArray());
}
@@ -60,7 +60,7 @@ class OptimizedPhpArrayDumper extends Dumper {
* A PHP array representation of the service container.
*/
public function getArray() {
- $definition = array();
+ $definition = [];
$this->aliases = $this->getAliases();
$definition['aliases'] = $this->getAliases();
$definition['parameters'] = $this->getParameters();
@@ -77,7 +77,7 @@ class OptimizedPhpArrayDumper extends Dumper {
* The aliases.
*/
protected function getAliases() {
- $alias_definitions = array();
+ $alias_definitions = [];
$aliases = $this->container->getAliases();
foreach ($aliases as $alias => $id) {
@@ -99,7 +99,7 @@ class OptimizedPhpArrayDumper extends Dumper {
*/
protected function getParameters() {
if (!$this->container->getParameterBag()->all()) {
- return array();
+ return [];
}
$parameters = $this->container->getParameterBag()->all();
@@ -115,10 +115,10 @@ class OptimizedPhpArrayDumper extends Dumper {
*/
protected function getServiceDefinitions() {
if (!$this->container->getDefinitions()) {
- return array();
+ return [];
}
- $services = array();
+ $services = [];
foreach ($this->container->getDefinitions() as $id => $definition) {
// Only store public service definitions, references to shared private
// services are handled in ::getReferenceCall().
@@ -143,7 +143,7 @@ class OptimizedPhpArrayDumper extends Dumper {
* An array of prepared parameters.
*/
protected function prepareParameters(array $parameters, $escape = TRUE) {
- $filtered = array();
+ $filtered = [];
foreach ($parameters as $key => $value) {
if (is_array($value)) {
$value = $this->prepareParameters($value, $escape);
@@ -168,7 +168,7 @@ class OptimizedPhpArrayDumper extends Dumper {
* The escaped parameters.
*/
protected function escape(array $parameters) {
- $args = array();
+ $args = [];
foreach ($parameters as $key => $value) {
if (is_array($value)) {
@@ -199,7 +199,7 @@ class OptimizedPhpArrayDumper extends Dumper {
* scope different from SCOPE_CONTAINER and SCOPE_PROTOTYPE.
*/
protected function getServiceDefinition(Definition $definition) {
- $service = array();
+ $service = [];
if ($definition->getClass()) {
$service['class'] = $definition->getClass();
}
@@ -279,11 +279,11 @@ class OptimizedPhpArrayDumper extends Dumper {
* The PHP array representation of the method calls.
*/
protected function dumpMethodCalls(array $calls) {
- $code = array();
+ $code = [];
foreach ($calls as $key => $call) {
$method = $call[0];
- $arguments = array();
+ $arguments = [];
if (!empty($call[1])) {
$arguments = $this->dumpCollection($call[1]);
}
@@ -309,7 +309,7 @@ class OptimizedPhpArrayDumper extends Dumper {
* The collection in a suitable format.
*/
protected function dumpCollection($collection, &$resolve = FALSE) {
- $code = array();
+ $code = [];
foreach ($collection as $key => $value) {
if (is_array($value)) {
@@ -332,11 +332,11 @@ class OptimizedPhpArrayDumper extends Dumper {
return $collection;
}
- return (object) array(
+ return (object) [
'type' => 'collection',
'value' => $code,
'resolve' => $resolve,
- );
+ ];
}
/**
@@ -351,7 +351,7 @@ class OptimizedPhpArrayDumper extends Dumper {
protected function dumpCallable($callable) {
if (is_array($callable)) {
$callable[0] = $this->dumpValue($callable[0]);
- $callable = array($callable[0], $callable[1]);
+ $callable = [$callable[0], $callable[1]];
}
return $callable;
@@ -377,12 +377,12 @@ class OptimizedPhpArrayDumper extends Dumper {
$hash = Crypt::hashBase64(serialize($service_definition));
$id = 'private__' . $hash;
}
- return (object) array(
+ return (object) [
'type' => 'private_service',
'id' => $id,
'value' => $service_definition,
'shared' => $shared,
- );
+ ];
}
/**
@@ -399,7 +399,7 @@ class OptimizedPhpArrayDumper extends Dumper {
*/
protected function dumpValue($value) {
if (is_array($value)) {
- $code = array();
+ $code = [];
foreach ($value as $k => $v) {
$code[$k] = $this->dumpValue($v);
}
@@ -482,11 +482,11 @@ class OptimizedPhpArrayDumper extends Dumper {
* A suitable representation of the service reference.
*/
protected function getServiceCall($id, $invalid_behavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) {
- return (object) array(
+ return (object) [
'type' => 'service',
'id' => $id,
'invalidBehavior' => $invalid_behavior,
- );
+ ];
}
/**
@@ -499,10 +499,10 @@ class OptimizedPhpArrayDumper extends Dumper {
* A suitable representation of the parameter reference.
*/
protected function getParameterCall($name) {
- return (object) array(
+ return (object) [
'type' => 'parameter',
'name' => $name,
- );
+ ];
}
/**
diff --git a/core/lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php b/core/lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php
index 7be318f..a6fa2b9 100644
--- a/core/lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php
+++ b/core/lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php
@@ -30,7 +30,7 @@ class PhpArrayDumper extends OptimizedPhpArrayDumper {
* {@inheritdoc}
*/
protected function dumpCollection($collection, &$resolve = FALSE) {
- $code = array();
+ $code = [];
foreach ($collection as $key => $value) {
if (is_array($value)) {
diff --git a/core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php b/core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php
index 3ec2086..83d558c 100644
--- a/core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php
+++ b/core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php
@@ -27,16 +27,16 @@ class PhpArrayContainer extends Container {
/**
* {@inheritdoc}
*/
- public function __construct(array $container_definition = array()) {
+ public function __construct(array $container_definition = []) {
if (isset($container_definition['machine_format']) && $container_definition['machine_format'] === TRUE) {
throw new InvalidArgumentException('The machine-optimized format is not supported by this class. Use a human-readable format instead, e.g. as produced by \Drupal\Component\DependencyInjection\Dumper\PhpArrayDumper.');
}
// Do not call the parent's constructor as it would bail on the
// machine-optimized format.
- $this->aliases = isset($container_definition['aliases']) ? $container_definition['aliases'] : array();
- $this->parameters = isset($container_definition['parameters']) ? $container_definition['parameters'] : array();
- $this->serviceDefinitions = isset($container_definition['services']) ? $container_definition['services'] : array();
+ $this->aliases = isset($container_definition['aliases']) ? $container_definition['aliases'] : [];
+ $this->parameters = isset($container_definition['parameters']) ? $container_definition['parameters'] : [];
+ $this->serviceDefinitions = isset($container_definition['services']) ? $container_definition['services'] : [];
$this->frozen = isset($container_definition['frozen']) ? $container_definition['frozen'] : FALSE;
// Register the service_container with itself.
@@ -57,20 +57,20 @@ class PhpArrayContainer extends Container {
throw new RuntimeException(sprintf('You have requested a synthetic service ("%s"). The service container does not know how to construct this service. The service will need to be set before it is first used.', $id));
}
- $arguments = array();
+ $arguments = [];
if (isset($definition['arguments'])) {
$arguments = $this->resolveServicesAndParameters($definition['arguments']);
}
if (isset($definition['file'])) {
- $file = $this->frozen ? $definition['file'] : current($this->resolveServicesAndParameters(array($definition['file'])));
+ $file = $this->frozen ? $definition['file'] : current($this->resolveServicesAndParameters([$definition['file']]));
require_once $file;
}
if (isset($definition['factory'])) {
$factory = $definition['factory'];
if (is_array($factory)) {
- $factory = $this->resolveServicesAndParameters(array($factory[0], $factory[1]));
+ $factory = $this->resolveServicesAndParameters([$factory[0], $factory[1]]);
}
elseif (!is_string($factory)) {
throw new RuntimeException(sprintf('Cannot create service "%s" because of invalid factory', $id));
@@ -79,7 +79,7 @@ class PhpArrayContainer extends Container {
$service = call_user_func_array($factory, $arguments);
}
else {
- $class = $this->frozen ? $definition['class'] : current($this->resolveServicesAndParameters(array($definition['class'])));
+ $class = $this->frozen ? $definition['class'] : current($this->resolveServicesAndParameters([$definition['class']]));
$length = isset($definition['arguments_count']) ? $definition['arguments_count'] : count($arguments);
// Optimize class instantiation for services with up to 10 parameters as
@@ -147,12 +147,12 @@ class PhpArrayContainer extends Container {
if (isset($definition['calls'])) {
foreach ($definition['calls'] as $call) {
$method = $call[0];
- $arguments = array();
+ $arguments = [];
if (!empty($call[1])) {
$arguments = $call[1];
$arguments = $this->resolveServicesAndParameters($arguments);
}
- call_user_func_array(array($service, $method), $arguments);
+ call_user_func_array([$service, $method], $arguments);
}
}
diff --git a/core/lib/Drupal/Component/Diff/Diff.php b/core/lib/Drupal/Component/Diff/Diff.php
index 2e35611..d9042bc 100644
--- a/core/lib/Drupal/Component/Diff/Diff.php
+++ b/core/lib/Drupal/Component/Diff/Diff.php
@@ -49,7 +49,7 @@ class Diff {
*/
public function reverse() {
$rev = $this;
- $rev->edits = array();
+ $rev->edits = [];
foreach ($this->edits as $edit) {
$rev->edits[] = $edit->reverse();
}
@@ -96,7 +96,7 @@ class Diff {
* @return array The original sequence of strings.
*/
public function orig() {
- $lines = array();
+ $lines = [];
foreach ($this->edits as $edit) {
if ($edit->orig) {
@@ -115,7 +115,7 @@ class Diff {
* @return array The sequence of strings.
*/
public function closing() {
- $lines = array();
+ $lines = [];
foreach ($this->edits as $edit) {
if ($edit->closing) {
diff --git a/core/lib/Drupal/Component/Diff/DiffFormatter.php b/core/lib/Drupal/Component/Diff/DiffFormatter.php
index edcb84d..d70f3e6 100644
--- a/core/lib/Drupal/Component/Diff/DiffFormatter.php
+++ b/core/lib/Drupal/Component/Diff/DiffFormatter.php
@@ -41,10 +41,10 @@ class DiffFormatter {
*
* @var array
*/
- protected $line_stats = array(
- 'counter' => array('x' => 0, 'y' => 0),
- 'offset' => array('x' => 0, 'y' => 0),
- );
+ protected $line_stats = [
+ 'counter' => ['x' => 0, 'y' => 0],
+ 'offset' => ['x' => 0, 'y' => 0],
+ ];
/**
* Format a diff.
@@ -58,7 +58,7 @@ class DiffFormatter {
public function format(Diff $diff) {
$xi = $yi = 1;
$block = FALSE;
- $context = array();
+ $context = [];
$nlead = $this->leading_context_lines;
$ntrail = $this->trailing_context_lines;
@@ -87,7 +87,7 @@ class DiffFormatter {
$context = array_slice($context, sizeof($context) - $nlead);
$x0 = $xi - sizeof($context);
$y0 = $yi - sizeof($context);
- $block = array();
+ $block = [];
if ($context) {
$block[] = new DiffOpCopy($context);
}
diff --git a/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php b/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php
index b27886d..7885c6f 100644
--- a/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php
+++ b/core/lib/Drupal/Component/Diff/Engine/DiffEngine.php
@@ -38,9 +38,9 @@ class DiffEngine {
$n_from = sizeof($from_lines);
$n_to = sizeof($to_lines);
- $this->xchanged = $this->ychanged = array();
- $this->xv = $this->yv = array();
- $this->xind = $this->yind = array();
+ $this->xchanged = $this->ychanged = [];
+ $this->xv = $this->yv = [];
+ $this->xind = $this->yind = [];
unset($this->seq);
unset($this->in_seq);
unset($this->lcs);
@@ -93,14 +93,14 @@ class DiffEngine {
$this->_shift_boundaries($to_lines, $this->ychanged, $this->xchanged);
// Compute the edit operations.
- $edits = array();
+ $edits = [];
$xi = $yi = 0;
while ($xi < $n_from || $yi < $n_to) {
$this::USE_ASSERTS && assert($yi < $n_to || $this->xchanged[$xi]);
$this::USE_ASSERTS && assert($xi < $n_from || $this->ychanged[$yi]);
// Skip matching "snake".
- $copy = array();
+ $copy = [];
while ( $xi < $n_from && $yi < $n_to && !$this->xchanged[$xi] && !$this->ychanged[$yi]) {
$copy[] = $from_lines[$xi++];
++$yi;
@@ -109,11 +109,11 @@ class DiffEngine {
$edits[] = new DiffOpCopy($copy);
}
// Find deletes & adds.
- $delete = array();
+ $delete = [];
while ($xi < $n_from && $this->xchanged[$xi]) {
$delete[] = $from_lines[$xi++];
}
- $add = array();
+ $add = [];
while ($yi < $n_to && $this->ychanged[$yi]) {
$add[] = $to_lines[$yi++];
}
@@ -167,7 +167,7 @@ class DiffEngine {
// Things seems faster (I'm not sure I understand why)
// when the shortest sequence in X.
$flip = TRUE;
- list($xoff, $xlim, $yoff, $ylim) = array($yoff, $ylim, $xoff, $xlim);
+ list($xoff, $xlim, $yoff, $ylim) = [$yoff, $ylim, $xoff, $xlim];
}
if ($flip) {
@@ -182,8 +182,8 @@ class DiffEngine {
}
$this->lcs = 0;
$this->seq[0] = $yoff - 1;
- $this->in_seq = array();
- $ymids[0] = array();
+ $this->in_seq = [];
+ $ymids[0] = [];
$numer = $xlim - $xoff + $nchunks - 1;
$x = $xoff;
@@ -228,16 +228,16 @@ class DiffEngine {
}
}
- $seps[] = $flip ? array($yoff, $xoff) : array($xoff, $yoff);
+ $seps[] = $flip ? [$yoff, $xoff] : [$xoff, $yoff];
$ymid = $ymids[$this->lcs];
for ($n = 0; $n < $nchunks - 1; $n++) {
$x1 = $xoff + (int)(($numer + ($xlim - $xoff) * $n) / $nchunks);
$y1 = $ymid[$n] + 1;
- $seps[] = $flip ? array($y1, $x1) : array($x1, $y1);
+ $seps[] = $flip ? [$y1, $x1] : [$x1, $y1];
}
- $seps[] = $flip ? array($ylim, $xlim) : array($xlim, $ylim);
+ $seps[] = $flip ? [$ylim, $xlim] : [$xlim, $ylim];
- return array($this->lcs, $seps);
+ return [$this->lcs, $seps];
}
protected function _lcs_pos($ypos) {
diff --git a/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php b/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php
index 532c701..eb7d943 100644
--- a/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php
+++ b/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php
@@ -20,7 +20,7 @@ class HWLDFWordAccumulator {
*/
const NBSP = '&#160;';
- protected $lines = array();
+ protected $lines = [];
protected $line = '';
diff --git a/core/lib/Drupal/Component/Diff/WordLevelDiff.php b/core/lib/Drupal/Component/Diff/WordLevelDiff.php
index a19c687..a8c2f80 100644
--- a/core/lib/Drupal/Component/Diff/WordLevelDiff.php
+++ b/core/lib/Drupal/Component/Diff/WordLevelDiff.php
@@ -22,8 +22,8 @@ class WordLevelDiff extends MappedDiff {
}
protected function _split($lines) {
- $words = array();
- $stripped = array();
+ $words = [];
+ $stripped = [];
$first = TRUE;
foreach ($lines as $line) {
// If the line is too long, just pretend the entire line is one big word
@@ -46,7 +46,7 @@ class WordLevelDiff extends MappedDiff {
}
}
}
- return array($words, $stripped);
+ return [$words, $stripped];
}
public function orig() {
diff --git a/core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php b/core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php
index 6d0eceb..db2c3cc 100644
--- a/core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php
+++ b/core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php
@@ -65,7 +65,7 @@ class YamlDirectoryDiscovery implements DiscoverableInterface {
* {@inheritdoc}
*/
public function findAll() {
- $all = array();
+ $all = [];
$files = $this->findFiles();
diff --git a/core/lib/Drupal/Component/Discovery/YamlDiscovery.php b/core/lib/Drupal/Component/Discovery/YamlDiscovery.php
index ea5c9c2..f13e60b 100644
--- a/core/lib/Drupal/Component/Discovery/YamlDiscovery.php
+++ b/core/lib/Drupal/Component/Discovery/YamlDiscovery.php
@@ -22,7 +22,7 @@ class YamlDiscovery implements DiscoverableInterface {
*
* @var array
*/
- protected $directories = array();
+ protected $directories = [];
/**
* Constructs a YamlDiscovery object.
@@ -42,7 +42,7 @@ class YamlDiscovery implements DiscoverableInterface {
* {@inheritdoc}
*/
public function findAll() {
- $all = array();
+ $all = [];
$files = $this->findFiles();
$provider_by_files = array_flip($files);
@@ -86,7 +86,7 @@ class YamlDiscovery implements DiscoverableInterface {
* @return array
*/
protected function findFiles() {
- $files = array();
+ $files = [];
foreach ($this->directories as $provider => $directory) {
$file = $directory . '/' . $provider . '.' . $this->name . '.yml';
if (file_exists($file)) {
diff --git a/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php b/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php
index a933b06..6c1e200 100644
--- a/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php
+++ b/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php
@@ -230,14 +230,14 @@ class ContainerAwareEventDispatcher implements EventDispatcherInterface {
public function addSubscriber(EventSubscriberInterface $subscriber) {
foreach ($subscriber->getSubscribedEvents() as $event_name => $params) {
if (is_string($params)) {
- $this->addListener($event_name, array($subscriber, $params));
+ $this->addListener($event_name, [$subscriber, $params]);
}
elseif (is_string($params[0])) {
- $this->addListener($event_name, array($subscriber, $params[0]), isset($params[1]) ? $params[1] : 0);
+ $this->addListener($event_name, [$subscriber, $params[0]], isset($params[1]) ? $params[1] : 0);
}
else {
foreach ($params as $listener) {
- $this->addListener($event_name, array($subscriber, $listener[0]), isset($listener[1]) ? $listener[1] : 0);
+ $this->addListener($event_name, [$subscriber, $listener[0]], isset($listener[1]) ? $listener[1] : 0);
}
}
}
@@ -250,11 +250,11 @@ class ContainerAwareEventDispatcher implements EventDispatcherInterface {
foreach ($subscriber->getSubscribedEvents() as $event_name => $params) {
if (is_array($params) && is_array($params[0])) {
foreach ($params as $listener) {
- $this->removeListener($event_name, array($subscriber, $listener[0]));
+ $this->removeListener($event_name, [$subscriber, $listener[0]]);
}
}
else {
- $this->removeListener($event_name, array($subscriber, is_string($params) ? $params : $params[0]));
+ $this->removeListener($event_name, [$subscriber, is_string($params) ? $params : $params[0]]);
}
}
}
diff --git a/core/lib/Drupal/Component/FileSystem/FileSystem.php b/core/lib/Drupal/Component/FileSystem/FileSystem.php
index 26989cd..7a1c551 100644
--- a/core/lib/Drupal/Component/FileSystem/FileSystem.php
+++ b/core/lib/Drupal/Component/FileSystem/FileSystem.php
@@ -15,7 +15,7 @@ class FileSystem {
* suitable temporary directory can be found.
*/
public static function getOsTemporaryDirectory() {
- $directories = array();
+ $directories = [];
// Has PHP been set with an upload_tmp_dir?
if (ini_get('upload_tmp_dir')) {
diff --git a/core/lib/Drupal/Component/Gettext/PoHeader.php b/core/lib/Drupal/Component/Gettext/PoHeader.php
index 5922301..806beba 100644
--- a/core/lib/Drupal/Component/Gettext/PoHeader.php
+++ b/core/lib/Drupal/Component/Gettext/PoHeader.php
@@ -191,9 +191,9 @@ class PoHeader {
* @throws Exception
*/
function parsePluralForms($pluralforms) {
- $plurals = array();
+ $plurals = [];
// First, delete all whitespace.
- $pluralforms = strtr($pluralforms, array(" " => "", "\t" => ""));
+ $pluralforms = strtr($pluralforms, [" " => "", "\t" => ""]);
// Select the parts that define nplurals and plural.
$nplurals = strstr($pluralforms, "nplurals=");
@@ -215,7 +215,7 @@ class PoHeader {
// If the number of plurals is zero, we return a default result.
if ($nplurals == 0) {
- return array($nplurals, array('default' => 0));
+ return [$nplurals, ['default' => 0]];
}
// Calculate possible plural positions of different plural values. All known
@@ -233,7 +233,7 @@ class PoHeader {
});
$plurals['default'] = $default;
- return array($nplurals, $plurals);
+ return [$nplurals, $plurals];
}
else {
throw new \Exception('The plural formula could not be parsed.');
@@ -250,7 +250,7 @@ class PoHeader {
* An associative array of key-value pairs.
*/
private function parseHeader($header) {
- $header_parsed = array();
+ $header_parsed = [];
$lines = array_map('trim', explode("\n", $header));
foreach ($lines as $line) {
if ($line) {
@@ -275,17 +275,17 @@ class PoHeader {
*/
private function parseArithmetic($string) {
// Operator precedence table.
- $precedence = array("(" => -1, ")" => -1, "?" => 1, ":" => 1, "||" => 3, "&&" => 4, "==" => 5, "!=" => 5, "<" => 6, ">" => 6, "<=" => 6, ">=" => 6, "+" => 7, "-" => 7, "*" => 8, "/" => 8, "%" => 8);
+ $precedence = ["(" => -1, ")" => -1, "?" => 1, ":" => 1, "||" => 3, "&&" => 4, "==" => 5, "!=" => 5, "<" => 6, ">" => 6, "<=" => 6, ">=" => 6, "+" => 7, "-" => 7, "*" => 8, "/" => 8, "%" => 8];
// Right associativity.
- $right_associativity = array("?" => 1, ":" => 1);
+ $right_associativity = ["?" => 1, ":" => 1];
$tokens = $this->tokenizeFormula($string);
// Parse by converting into infix notation then back into postfix
// Operator stack - holds math operators and symbols.
- $operator_stack = array();
+ $operator_stack = [];
// Element Stack - holds data to be operated on.
- $element_stack = array();
+ $element_stack = [];
foreach ($tokens as $token) {
$current_token = $token;
@@ -373,7 +373,7 @@ class PoHeader {
*/
private function tokenizeFormula($formula) {
$formula = str_replace(" ", "", $formula);
- $tokens = array();
+ $tokens = [];
for ($i = 0; $i < strlen($formula); $i++) {
if (is_numeric($formula[$i])) {
$num = $formula[$i];
diff --git a/core/lib/Drupal/Component/Gettext/PoItem.php b/core/lib/Drupal/Component/Gettext/PoItem.php
index 6cedff1..6d76d6c 100644
--- a/core/lib/Drupal/Component/Gettext/PoItem.php
+++ b/core/lib/Drupal/Component/Gettext/PoItem.php
@@ -171,7 +171,7 @@ class PoItem {
*
* @param array $values
*/
- public function setFromArray(array $values = array()) {
+ public function setFromArray(array $values = []) {
if (isset($values['context'])) {
$this->setContext($values['context']);
}
diff --git a/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php b/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
index 37070cb..c8da6e6 100644
--- a/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
+++ b/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
@@ -18,7 +18,7 @@ class PoMemoryWriter implements PoWriterInterface {
* Constructor, initialize empty items.
*/
function __construct() {
- $this->_items = array();
+ $this->_items = [];
}
/**
diff --git a/core/lib/Drupal/Component/Gettext/PoStreamReader.php b/core/lib/Drupal/Component/Gettext/PoStreamReader.php
index faaa95f..c44f9a1 100644
--- a/core/lib/Drupal/Component/Gettext/PoStreamReader.php
+++ b/core/lib/Drupal/Component/Gettext/PoStreamReader.php
@@ -39,7 +39,7 @@ class PoStreamReader implements PoStreamInterface, PoReaderInterface {
*
* @var array
*/
- private $_current_item = array();
+ private $_current_item = [];
/**
* Current plural index for plural translations.
@@ -261,14 +261,14 @@ class PoStreamReader implements PoStreamInterface, PoReaderInterface {
$this->_line_number++;
// Initialize common values for error logging.
- $log_vars = array(
+ $log_vars = [
'%uri' => $this->getURI(),
'%line' => $this->_line_number,
- );
+ ];
// Trim away the linefeed. \\n might appear at the end of the string if
// another line continuing the same string follows. We can remove that.
- $line = trim(strtr($line, array("\\\n" => "")));
+ $line = trim(strtr($line, ["\\\n" => ""]));
if (!strncmp('#', $line, 1)) {
// Lines starting with '#' are comments.
@@ -282,7 +282,7 @@ class PoStreamReader implements PoStreamInterface, PoReaderInterface {
$this->setItemFromArray($this->_current_item);
// Start a new entry for the comment.
- $this->_current_item = array();
+ $this->_current_item = [];
$this->_current_item['#'][] = substr($line, 1);
$this->_context = 'COMMENT';
@@ -319,7 +319,7 @@ class PoStreamReader implements PoStreamInterface, PoReaderInterface {
if (is_string($this->_current_item['msgid'])) {
// The first value was stored as string. Now we know the context is
// plural, it is converted to array.
- $this->_current_item['msgid'] = array($this->_current_item['msgid']);
+ $this->_current_item['msgid'] = [$this->_current_item['msgid']];
}
$this->_current_item['msgid'][] = $quoted;
@@ -334,7 +334,7 @@ class PoStreamReader implements PoStreamInterface, PoReaderInterface {
$this->setItemFromArray($this->_current_item);
// Start a new context for the msgid.
- $this->_current_item = array();
+ $this->_current_item = [];
}
elseif ($this->_context == 'MSGID') {
// We are currently already in the context, meaning we passed an id with no data.
@@ -363,7 +363,7 @@ class PoStreamReader implements PoStreamInterface, PoReaderInterface {
if (($this->_context == 'MSGSTR') || ($this->_context == 'MSGSTR_ARR')) {
// We are currently in string context, save current item.
$this->setItemFromArray($this->_current_item);
- $this->_current_item = array();
+ $this->_current_item = [];
}
elseif (!empty($this->_current_item['msgctxt'])) {
// A context cannot apply to another context.
@@ -421,7 +421,7 @@ class PoStreamReader implements PoStreamInterface, PoReaderInterface {
return FALSE;
}
if (!isset($this->_current_item['msgstr']) || !is_array($this->_current_item['msgstr'])) {
- $this->_current_item['msgstr'] = array();
+ $this->_current_item['msgstr'] = [];
}
$this->_current_item['msgstr'][$this->_current_plural_index] = $quoted;
@@ -500,7 +500,7 @@ class PoStreamReader implements PoStreamInterface, PoReaderInterface {
// Empty line read or EOF of PO stream, close out the last entry.
if (($this->_context == 'MSGSTR') || ($this->_context == 'MSGSTR_ARR')) {
$this->setItemFromArray($this->_current_item);
- $this->_current_item = array();
+ $this->_current_item = [];
}
elseif ($this->_context != 'COMMENT') {
$this->_errors[] = SafeMarkup::format('The translation stream %uri ended unexpectedly at line %line.', $log_vars);
diff --git a/core/lib/Drupal/Component/Graph/Graph.php b/core/lib/Drupal/Component/Graph/Graph.php
index 5d8d5ca..b155faa 100644
--- a/core/lib/Drupal/Component/Graph/Graph.php
+++ b/core/lib/Drupal/Component/Graph/Graph.php
@@ -56,13 +56,13 @@ class Graph {
* identifier.
*/
public function searchAndSort() {
- $state = array(
+ $state = [
// The order of last visit of the depth first search. This is the reverse
// of the topological order if the graph is acyclic.
- 'last_visit_order' => array(),
+ 'last_visit_order' => [],
// The components of the graph.
- 'components' => array(),
- );
+ 'components' => [],
+ ];
// Perform the actual search.
foreach ($this->graph as $start => $data) {
$this->depthFirstSearch($state, $start);
@@ -71,7 +71,7 @@ class Graph {
// We do such a numbering that every component starts with 0. This is useful
// for module installs as we can install every 0 weighted module in one
// request, and then every 1 weighted etc.
- $component_weights = array();
+ $component_weights = [];
foreach ($state['last_visit_order'] as $vertex) {
$component = $this->graph[$vertex]['component'];
@@ -108,7 +108,7 @@ class Graph {
return;
}
// Mark $start as visited.
- $this->graph[$start]['paths'] = array();
+ $this->graph[$start]['paths'] = [];
// Assign $start to the current component.
$this->graph[$start]['component'] = $component;
diff --git a/core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php b/core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php
index 5dc159f..5795638 100644
--- a/core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php
+++ b/core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php
@@ -83,7 +83,7 @@ class FileReadOnlyStorage implements PhpStorageInterface {
* {@inheritdoc}
*/
public function listAll() {
- $names = array();
+ $names = [];
if (file_exists($this->directory)) {
foreach (new \DirectoryIterator($this->directory) as $fileinfo) {
if (!$fileinfo->isDot()) {
diff --git a/core/lib/Drupal/Component/PhpStorage/FileStorage.php b/core/lib/Drupal/Component/PhpStorage/FileStorage.php
index f23c0c0..e82ec2d 100644
--- a/core/lib/Drupal/Component/PhpStorage/FileStorage.php
+++ b/core/lib/Drupal/Component/PhpStorage/FileStorage.php
@@ -238,7 +238,7 @@ EOF;
* {@inheritdoc}
*/
public function listAll() {
- $names = array();
+ $names = [];
if (file_exists($this->directory)) {
foreach (new \DirectoryIterator($this->directory) as $fileinfo) {
if (!$fileinfo->isDot()) {
diff --git a/core/lib/Drupal/Component/Plugin/Context/Context.php b/core/lib/Drupal/Component/Plugin/Context/Context.php
index 3713d48..8a225d4 100644
--- a/core/lib/Drupal/Component/Plugin/Context/Context.php
+++ b/core/lib/Drupal/Component/Plugin/Context/Context.php
@@ -79,7 +79,7 @@ class Context implements ContextInterface {
if (empty($this->contextDefinition['class'])) {
throw new ContextException("An error was encountered while trying to validate the context.");
}
- return array(new Type($this->contextDefinition['class']));
+ return [new Type($this->contextDefinition['class'])];
}
/**
diff --git a/core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php b/core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
index 96318ac..b9f6e02 100644
--- a/core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
+++ b/core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
@@ -67,7 +67,7 @@ abstract class ContextAwarePluginBase extends PluginBase implements ContextAware
*/
public function getContextDefinitions() {
$definition = $this->getPluginDefinition();
- return !empty($definition['context']) ? $definition['context'] : array();
+ return !empty($definition['context']) ? $definition['context'] : [];
}
/**
@@ -114,7 +114,7 @@ abstract class ContextAwarePluginBase extends PluginBase implements ContextAware
* {@inheritdoc}
*/
public function getContextValues() {
- $values = array();
+ $values = [];
foreach ($this->getContextDefinitions() as $name => $definition) {
$values[$name] = isset($this->context[$name]) ? $this->context[$name]->getContextValue() : NULL;
}
diff --git a/core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php b/core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php
index 0c97c6d..f49ab99 100644
--- a/core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php
+++ b/core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php
@@ -12,7 +12,7 @@ abstract class DeriverBase implements DeriverInterface {
*
* @var array
*/
- protected $derivatives = array();
+ protected $derivatives = [];
/**
* {@inheritdoc}
diff --git a/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php b/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php
index 0cee170..6b47af0 100644
--- a/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php
+++ b/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php
@@ -21,7 +21,7 @@ class DerivativeDiscoveryDecorator implements DiscoveryInterface {
* @var \Drupal\Component\Plugin\Derivative\DeriverInterface[]
* Keys are base plugin IDs.
*/
- protected $derivers = array();
+ protected $derivers = [];
/**
* The decorated plugin discovery.
@@ -94,7 +94,7 @@ class DerivativeDiscoveryDecorator implements DiscoveryInterface {
* DiscoveryInterface::getDefinitions().
*/
protected function getDerivatives(array $base_plugin_definitions) {
- $plugin_definitions = array();
+ $plugin_definitions = [];
foreach ($base_plugin_definitions as $base_plugin_id => $plugin_definition) {
$deriver = $this->getDeriver($base_plugin_id, $plugin_definition);
if ($deriver) {
@@ -137,7 +137,7 @@ class DerivativeDiscoveryDecorator implements DiscoveryInterface {
return explode(':', $plugin_id, 2);
}
- return array($plugin_id, NULL);
+ return [$plugin_id, NULL];
}
/**
@@ -239,7 +239,7 @@ class DerivativeDiscoveryDecorator implements DiscoveryInterface {
// Use this definition as defaults if a plugin already defined itself as
// this derivative, but filter out empty values first.
$filtered_base = array_filter($base_plugin_definition);
- $derivative_definition = $filtered_base + ($derivative_definition ?: array());
+ $derivative_definition = $filtered_base + ($derivative_definition ?: []);
// Add back any empty keys that the derivative didn't have.
return $derivative_definition + $base_plugin_definition;
}
@@ -248,7 +248,7 @@ class DerivativeDiscoveryDecorator implements DiscoveryInterface {
* Passes through all unknown calls onto the decorated object.
*/
public function __call($method, $args) {
- return call_user_func_array(array($this->decorated, $method), $args);
+ return call_user_func_array([$this->decorated, $method], $args);
}
}
diff --git a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php
index f7ee671..2818602 100644
--- a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php
+++ b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php
@@ -15,7 +15,7 @@ class StaticDiscovery implements DiscoveryInterface {
*/
public function getDefinitions() {
if (!$this->definitions) {
- $this->definitions = array();
+ $this->definitions = [];
}
return $this->definitions;
}
diff --git a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php
index 889d146..968dcb9 100644
--- a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php
+++ b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php
@@ -61,7 +61,7 @@ class StaticDiscoveryDecorator extends StaticDiscovery {
* Passes through all unknown calls onto the decorated object
*/
public function __call($method, $args) {
- return call_user_func_array(array($this->decorated, $method), $args);
+ return call_user_func_array([$this->decorated, $method], $args);
}
}
diff --git a/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php b/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php
index 2cca811..1f203fb 100644
--- a/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php
+++ b/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php
@@ -49,7 +49,7 @@ class DefaultFactory implements FactoryInterface {
/**
* {@inheritdoc}
*/
- public function createInstance($plugin_id, array $configuration = array()) {
+ public function createInstance($plugin_id, array $configuration = []) {
$plugin_definition = $this->discovery->getDefinition($plugin_id);
$plugin_class = static::getPluginClass($plugin_id, $plugin_definition, $this->interface);
return new $plugin_class($configuration, $plugin_id, $plugin_definition);
diff --git a/core/lib/Drupal/Component/Plugin/Factory/FactoryInterface.php b/core/lib/Drupal/Component/Plugin/Factory/FactoryInterface.php
index f1d07ff..8cf046b 100644
--- a/core/lib/Drupal/Component/Plugin/Factory/FactoryInterface.php
+++ b/core/lib/Drupal/Component/Plugin/Factory/FactoryInterface.php
@@ -21,6 +21,6 @@ interface FactoryInterface {
* @throws \Drupal\Component\Plugin\Exception\PluginException
* If the instance cannot be created, such as if the ID is invalid.
*/
- public function createInstance($plugin_id, array $configuration = array());
+ public function createInstance($plugin_id, array $configuration = []);
}
diff --git a/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php b/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php
index 9954422..8a42ce3 100644
--- a/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php
+++ b/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php
@@ -13,7 +13,7 @@ class ReflectionFactory extends DefaultFactory {
/**
* {@inheritdoc}
*/
- public function createInstance($plugin_id, array $configuration = array()) {
+ public function createInstance($plugin_id, array $configuration = []) {
$plugin_definition = $this->discovery->getDefinition($plugin_id);
$plugin_class = static::getPluginClass($plugin_id, $plugin_definition, $this->interface);
@@ -51,7 +51,7 @@ class ReflectionFactory extends DefaultFactory {
*/
protected function getInstanceArguments(\ReflectionClass $reflector, $plugin_id, $plugin_definition, array $configuration) {
- $arguments = array();
+ $arguments = [];
foreach ($reflector->getMethod('__construct')->getParameters() as $param) {
$param_name = $param->getName();
diff --git a/core/lib/Drupal/Component/Plugin/FallbackPluginManagerInterface.php b/core/lib/Drupal/Component/Plugin/FallbackPluginManagerInterface.php
index 7af6c8a..0a85e67 100644
--- a/core/lib/Drupal/Component/Plugin/FallbackPluginManagerInterface.php
+++ b/core/lib/Drupal/Component/Plugin/FallbackPluginManagerInterface.php
@@ -18,6 +18,6 @@ interface FallbackPluginManagerInterface {
* @return string
* The id of an existing plugin to use when the plugin does not exist.
*/
- public function getFallbackPluginId($plugin_id, array $configuration = array());
+ public function getFallbackPluginId($plugin_id, array $configuration = []);
}
diff --git a/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php b/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php
index 1d90af7..b55b04e 100644
--- a/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php
+++ b/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php
@@ -14,14 +14,14 @@ abstract class LazyPluginCollection implements \IteratorAggregate, \Countable {
*
* @var array
*/
- protected $pluginInstances = array();
+ protected $pluginInstances = [];
/**
* Stores the IDs of all potential plugin instances.
*
* @var array
*/
- protected $instanceIDs = array();
+ protected $instanceIDs = [];
/**
* Initializes and stores a plugin.
@@ -53,7 +53,7 @@ abstract class LazyPluginCollection implements \IteratorAggregate, \Countable {
* Clears all instantiated plugins.
*/
public function clear() {
- $this->pluginInstances = array();
+ $this->pluginInstances = [];
}
/**
diff --git a/core/lib/Drupal/Component/Plugin/PluginManagerBase.php b/core/lib/Drupal/Component/Plugin/PluginManagerBase.php
index 5fb32a2..34416ff 100644
--- a/core/lib/Drupal/Component/Plugin/PluginManagerBase.php
+++ b/core/lib/Drupal/Component/Plugin/PluginManagerBase.php
@@ -68,7 +68,7 @@ abstract class PluginManagerBase implements PluginManagerInterface {
/**
* {@inheritdoc}
*/
- public function createInstance($plugin_id, array $configuration = array()) {
+ public function createInstance($plugin_id, array $configuration = []) {
// If this PluginManager has fallback capabilities catch
// PluginNotFoundExceptions.
if ($this instanceof FallbackPluginManagerInterface) {
diff --git a/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php b/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php
index c20168d..3cd8d68 100644
--- a/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php
+++ b/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php
@@ -44,7 +44,7 @@ class PhpTransliteration implements TransliterationInterface {
*
* @var array
*/
- protected $languageOverrides = array();
+ protected $languageOverrides = [];
/**
* Non-language-specific transliteration tables.
@@ -56,7 +56,7 @@ class PhpTransliteration implements TransliterationInterface {
*
* @var array
*/
- protected $genericMap = array();
+ protected $genericMap = [];
/**
* Constructs a transliteration object.
@@ -83,9 +83,9 @@ class PhpTransliteration implements TransliterationInterface {
// few characters that aren't accented letters mixed in. So define the
// ranges and the excluded characters.
$range1 = $code > 0x00bf && $code < 0x017f;
- $exclusions_range1 = array(0x00d0, 0x00d7, 0x00f0, 0x00f7, 0x0138, 0x014a, 0x014b);
+ $exclusions_range1 = [0x00d0, 0x00d7, 0x00f0, 0x00f7, 0x0138, 0x014a, 0x014b];
$range2 = $code > 0x01cc && $code < 0x0250;
- $exclusions_range2 = array(0x01DD, 0x01f7, 0x021c, 0x021d, 0x0220, 0x0221, 0x0241, 0x0242, 0x0245);
+ $exclusions_range2 = [0x01DD, 0x01f7, 0x021c, 0x021d, 0x0220, 0x0221, 0x0241, 0x0242, 0x0245];
$replacement = $character;
if (($range1 && !in_array($code, $exclusions_range1)) || ($range2 && !in_array($code, $exclusions_range2))) {
@@ -246,7 +246,7 @@ class PhpTransliteration implements TransliterationInterface {
include $file;
}
if (!isset($overrides) || !is_array($overrides)) {
- $overrides = array($langcode => array());
+ $overrides = [$langcode => []];
}
$this->languageOverrides[$langcode] = $overrides[$langcode];
}
@@ -274,7 +274,7 @@ class PhpTransliteration implements TransliterationInterface {
include $file;
}
if (!isset($base) || !is_array($base)) {
- $base = array();
+ $base = [];
}
// Save this data.
diff --git a/core/lib/Drupal/Component/Transliteration/data/de.php b/core/lib/Drupal/Component/Transliteration/data/de.php
index a0b7e78..49a08c5 100644
--- a/core/lib/Drupal/Component/Transliteration/data/de.php
+++ b/core/lib/Drupal/Component/Transliteration/data/de.php
@@ -5,11 +5,11 @@
* German transliteration data for the PhpTransliteration class.
*/
-$overrides['de'] = array(
+$overrides['de'] = [
0xC4 => 'Ae',
0xD6 => 'Oe',
0xDC => 'Ue',
0xE4 => 'ae',
0xF6 => 'oe',
0xFC => 'ue',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/dk.php b/core/lib/Drupal/Component/Transliteration/data/dk.php
index 4a3056a..e46b013 100644
--- a/core/lib/Drupal/Component/Transliteration/data/dk.php
+++ b/core/lib/Drupal/Component/Transliteration/data/dk.php
@@ -5,9 +5,9 @@
* Danish transliteration data for the PhpTransliteration class.
*/
-$overrides['dk'] = array(
+$overrides['dk'] = [
0xC5 => 'Aa',
0xD8 => 'Oe',
0xE5 => 'aa',
0xF8 => 'oe',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/eo.php b/core/lib/Drupal/Component/Transliteration/data/eo.php
index 565af19..e115866 100644
--- a/core/lib/Drupal/Component/Transliteration/data/eo.php
+++ b/core/lib/Drupal/Component/Transliteration/data/eo.php
@@ -5,7 +5,7 @@
* Esperanto transliteration data for the PhpTransliteration class.
*/
-$overrides['eo'] = array(
+$overrides['eo'] = [
0x18 => 'Cx',
0x19 => 'cx',
0x11C => 'Gx',
@@ -18,4 +18,4 @@ $overrides['eo'] = array(
0x15D => 'sx',
0x16C => 'Ux',
0x16D => 'ux',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/kg.php b/core/lib/Drupal/Component/Transliteration/data/kg.php
index 1f8ad05..549f075 100644
--- a/core/lib/Drupal/Component/Transliteration/data/kg.php
+++ b/core/lib/Drupal/Component/Transliteration/data/kg.php
@@ -5,7 +5,7 @@
* Kyrgyz transliteration data for the PhpTransliteration class.
*/
-$overrides['kg'] = array(
+$overrides['kg'] = [
0x41 => 'E',
0x416 => 'C',
0x419 => 'J',
@@ -28,4 +28,4 @@ $overrides['kg'] = array(
0x4AF => 'w',
0x4E8 => 'Q',
0x4E9 => 'q',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x00.php b/core/lib/Drupal/Component/Transliteration/data/x00.php
index 8685680..fd7c3f7 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x00.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x00.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
// Note: to save memory plain ASCII mappings have been left out.
0x80 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0x90 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
@@ -15,4 +15,4 @@ $base = array(
0xD0 => 'D', 'N', 'O', 'O', 'O', 'O', 'O', '*', 'O', 'U', 'U', 'U', 'U', 'Y', 'TH', 'ss',
0xE0 => 'a', 'a', 'a', 'a', 'a', 'a', 'ae', 'c', 'e', 'e', 'e', 'e', 'i', 'i', 'i', 'i',
0xF0 => 'd', 'n', 'o', 'o', 'o', 'o', 'o', '/', 'o', 'u', 'u', 'u', 'u', 'y', 'th', 'y',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x01.php b/core/lib/Drupal/Component/Transliteration/data/x01.php
index 535692a..a30aaa0 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x01.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x01.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'A', 'a', 'A', 'a', 'A', 'a', 'C', 'c', 'C', 'c', 'C', 'c', 'C', 'c', 'D', 'd',
0x10 => 'D', 'd', 'E', 'e', 'E', 'e', 'E', 'e', 'E', 'e', 'E', 'e', 'G', 'g', 'G', 'g',
0x20 => 'G', 'g', 'G', 'g', 'H', 'h', 'H', 'h', 'I', 'i', 'I', 'i', 'I', 'i', 'I', 'i',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'i', 'O', 'o', 'U', 'u', 'U', 'u', 'U', 'u', 'U', 'u', 'U', 'u', '@', 'A', 'a',
0xE0 => 'A', 'a', 'AE', 'ae', 'G', 'g', 'G', 'g', 'K', 'k', 'O', 'o', 'O', 'o', 'ZH', 'zh',
0xF0 => 'j', 'DZ', 'Dz', 'dz', 'G', 'g', 'HV', 'W', 'N', 'n', 'A', 'a', 'AE', 'ae', 'O', 'o',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x02.php b/core/lib/Drupal/Component/Transliteration/data/x02.php
index b57d54b..ba94207 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x02.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x02.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'A', 'a', 'A', 'a', 'E', 'e', 'E', 'e', 'I', 'i', 'I', 'i', 'O', 'o', 'O', 'o',
0x10 => 'R', 'r', 'R', 'r', 'U', 'u', 'U', 'u', 'S', 's', 'T', 't', 'Y', 'y', 'H', 'h',
0x20 => 'N', 'd', 'OU', 'ou', 'Z', 'z', 'A', 'a', 'E', 'e', 'O', 'o', 'O', 'o', 'O', 'o',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => ':', '.', '`', '\'', '^', 'V', '+', '-', 'V', '.', '@', ',', '~', '"', 'R', 'X',
0xE0 => 'G', 'l', 's', 'x', '?', '', '', '', '', '', '', '', 'V', '=', '"', NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x03.php b/core/lib/Drupal/Component/Transliteration/data/x03.php
index 0984281..f61602d 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x03.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x03.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0x10 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0x20 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'b', 'th', 'Y', 'Y', 'Y', 'ph', 'p', '&', NULL, NULL, 'St', 'st', 'W', 'w', 'Q', 'q',
0xE0 => 'Sp', 'sp', 'Sh', 'sh', 'F', 'f', 'Kh', 'kh', 'H', 'h', 'G', 'g', 'CH', 'ch', 'Ti', 'ti',
0xF0 => 'k', 'r', 's', 'j', 'TH', 'e', NULL, 'S', 's', 'S', 'S', 's', NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x04.php b/core/lib/Drupal/Component/Transliteration/data/x04.php
index a8fee7d..1be0d43 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x04.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x04.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'E', 'E', 'D', 'G', 'E', 'Z', 'I', 'I', 'J', 'L', 'N', 'C', 'K', 'I', 'U', 'D',
0x10 => 'A', 'B', 'V', 'G', 'D', 'E', 'Z', 'Z', 'I', 'I', 'K', 'L', 'M', 'N', 'O', 'P',
0x20 => 'R', 'S', 'T', 'U', 'F', 'H', 'C', 'C', 'S', 'S', '', 'Y', '', 'E', 'U', 'A',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'A', 'a', 'A', 'a', 'AE', 'ae', 'E', 'e', '@', '@', '@', '@', 'Z', 'z', 'Z', 'z',
0xE0 => 'Dz', 'dz', 'I', 'i', 'I', 'i', 'O', 'o', 'O', 'o', 'O', 'o', 'E', 'e', 'U', 'u',
0xF0 => 'U', 'u', 'U', 'u', 'C', 'c', NULL, NULL, 'Y', 'y', NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x05.php b/core/lib/Drupal/Component/Transliteration/data/x05.php
index 29b5232..f39fa5b 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x05.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x05.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x10 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x20 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => '', 'b', 'g', 'd', 'h', 'w', 'z', 'h', 't', 'y', 'k', 'k', 'l', 'm', 'm', 'n',
0xE0 => 'n', 's', '`', 'p', 'p', 'z', 'z', 'q', 'r', 's', 't', NULL, NULL, NULL, NULL, NULL,
0xF0 => 'ww', 'wy', 'yy', '\'', '"', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x06.php b/core/lib/Drupal/Component/Transliteration/data/x06.php
index 68ea125..6999d90 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x06.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x06.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ',', NULL, NULL, NULL,
0x10 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ';', NULL, NULL, NULL, '?',
0x20 => NULL, '', 'a', 'a', 'w', 'a', 'y', 'a', 'b', 't', 't', 'th', 'j', 'h', 'kh', 'd',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => '', '', 'y', 'y\'', '.', 'ae', '', '', '', '', '', '', '', '@', '#', '',
0xE0 => '', '', '', '', '', '', '', '', '', '^', '', '', '', '', NULL, NULL,
0xF0 => '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'Sh', 'D', 'Gh', '&', '+m', NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x07.php b/core/lib/Drupal/Component/Transliteration/data/x07.php
index c141b66..3587313 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x07.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x07.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => '//', '/', ',', '!', '!', '-', ',', ',', ';', '?', '~', '{', '}', '*', NULL, '',
0x10 => '\'', '', 'b', 'g', 'g', 'd', 'dr', 'h', 'w', 'z', 'h', 't', 't', 'y', 'yh', 'k',
0x20 => 'l', 'm', 'n', 's', 's', '`', 'p', 'p', 's', 'q', 'r', 'sh', 't', NULL, NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x09.php b/core/lib/Drupal/Component/Transliteration/data/x09.php
index 88c2845..6250925 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x09.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x09.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, 'N', 'N', 'h', NULL, 'a', 'a', 'i', 'i', 'u', 'u', 'r', 'l', 'e', 'e', 'e',
0x10 => 'ai', 'o', 'o', 'o', 'au', 'ka', 'kha', 'ga', 'gha', 'na', 'ca', 'cha', 'ja', 'jha', 'na', 'ta',
0x20 => 'tha', 'da', 'dha', 'na', 'ta', 'tha', 'da', 'dha', 'na', 'na', 'pa', 'pha', 'ba', 'bha', 'ma', 'ya',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, '+', NULL, NULL, NULL, NULL, 'da', 'dha', NULL, 'ya',
0xE0 => 'r', 'l', 'L', 'LL', NULL, NULL, '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
0xF0 => 'ra', 'ra', 'Rs', 'Rs', '1/', '2/', '3/', '4/', ' 1 - 1/', '/16', '', NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x0a.php b/core/lib/Drupal/Component/Transliteration/data/x0a.php
index 5d14d3f..0dc613f 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x0a.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x0a.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, 'N', NULL, NULL, 'a', 'a', 'i', 'i', 'u', 'u', NULL, NULL, NULL, NULL, 'e',
0x10 => 'ai', NULL, NULL, 'o', 'au', 'ka', 'kha', 'ga', 'gha', 'na', 'ca', 'cha', 'ja', 'jha', 'na', 'ta',
0x20 => 'tha', 'da', 'dha', 'na', 'ta', 'tha', 'da', 'dha', 'na', NULL, 'pa', 'pha', 'ba', 'bha', 'ma', 'ya',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => '\'om', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => 'r', 'l', NULL, NULL, NULL, NULL, '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x0b.php b/core/lib/Drupal/Component/Transliteration/data/x0b.php
index e700c6d..2f95b1b 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x0b.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x0b.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, 'N', 'm', 'h', NULL, 'a', 'a', 'i', 'i', 'u', 'u', 'r', 'l', NULL, NULL, 'e',
0x10 => 'ai', NULL, NULL, 'o', 'au', 'ka', 'kha', 'ga', 'gha', 'na', 'ca', 'cha', 'ja', 'jha', 'na', 'ta',
0x20 => 'tha', 'da', 'dha', 'na', 'ta', 'tha', 'da', 'dha', 'na', NULL, 'pa', 'pha', 'ba', 'bha', 'ma', 'ya',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, '+', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
0xF0 => '10', '100', '1000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x0c.php b/core/lib/Drupal/Component/Transliteration/data/x0c.php
index 51f7f50..1638bfd 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x0c.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x0c.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, 'm', 'm', 'h', NULL, 'a', 'a', 'i', 'i', 'u', 'u', 'r', 'l', NULL, 'e', 'e',
0x10 => 'ai', NULL, 'o', 'o', 'au', 'ka', 'kha', 'ga', 'gha', 'na', 'ca', 'cha', 'ja', 'jha', 'na', 'ta',
0x20 => 'tha', 'da', 'dha', 'na', 'ta', 'tha', 'da', 'dha', 'na', NULL, 'pa', 'pha', 'ba', 'bha', 'ma', 'ya',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, '+', '+', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'la', NULL,
0xE0 => 'r', 'l', NULL, NULL, NULL, NULL, '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x0d.php b/core/lib/Drupal/Component/Transliteration/data/x0d.php
index d92a68c..8aa517b 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x0d.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x0d.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, 'm', 'h', NULL, 'a', 'a', 'i', 'i', 'u', 'u', 'r', 'l', NULL, 'e', 'e',
0x10 => 'ai', NULL, 'o', 'o', 'au', 'ka', 'kha', 'ga', 'gha', 'na', 'ca', 'cha', 'ja', 'jha', 'na', 'ta',
0x20 => 'tha', 'da', 'dha', 'na', 'ta', 'tha', 'da', 'dha', 'na', NULL, 'pa', 'pha', 'ba', 'bha', 'ma', 'ya',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ae', 'aae', 'i', 'ii', 'u', NULL, 'uu', NULL, 'R', 'e', 'ee', 'ai', 'o', 'oo', 'au', 'L',
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, 'RR', 'LL', ' . ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x0e.php b/core/lib/Drupal/Component/Transliteration/data/x0e.php
index 03fb5a9..13a589d 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x0e.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x0e.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, 'k', 'kh', 'kh', 'kh', 'kh', 'kh', 'ng', 'c', 'ch', 'ch', 's', 'ch', 'y', 'd', 't',
0x10 => 'th', 'th', 'th', 'n', 'd', 't', 'th', 'th', 'th', 'n', 'b', 'p', 'ph', 'f', 'ph', 'f',
0x20 => 'ph', 'm', 'y', 'r', 'v', 'l', 'l', 'w', 's', 's', 's', 'h', 'l', 'x', 'h', '~',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', NULL, NULL, 'hn', 'hm', NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x0f.php b/core/lib/Drupal/Component/Transliteration/data/x0f.php
index addfa75..32262e5 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x0f.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x0f.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'AUM', '', '', '', '', '', '', '', ' // ', ' * ', '', '-', ' / ', ' / ', ' // ', ' -/ ',
0x10 => ' +/ ', ' X/ ', ' /XX/ ', ' /X/ ', ',', '', '', '', '', '', '', '', '', '', '', '',
0x20 => '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '.5', '1.5', '2.5', '3.5', '4.5', '5.5',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x10.php b/core/lib/Drupal/Component/Transliteration/data/x10.php
index 9aedcce..cb1b13d 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x10.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x10.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'k', 'kh', 'g', 'gh', 'ng', 'c', 'ch', 'j', 'jh', 'ny', 'nny', 'tt', 'tth', 'dd', 'ddh', 'nn',
0x10 => 'tt', 'th', 'd', 'dh', 'n', 'p', 'ph', 'b', 'bh', 'm', 'y', 'r', 'l', 'w', 's', 'h',
0x20 => 'll', 'a', NULL, 'i', 'ii', 'u', 'uu', 'e', NULL, 'o', 'au', NULL, 'aa', 'i', 'ii', 'u',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'a', 'b', 'g', 'd', 'e', 'v', 'z', 't', 'i', 'k', 'l', 'm', 'n', 'o', 'p', 'zh',
0xE0 => 'r', 's', 't', 'u', 'p', 'k', 'gh', 'q', 'sh', 'ch', 'ts', 'dz', 'c', 'ch', 'kh', 'j',
0xF0 => 'h', 'e', 'y', 'ui', 'q', 'oe', 'f', NULL, NULL, NULL, NULL, ' // ', NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x11.php b/core/lib/Drupal/Component/Transliteration/data/x11.php
index 66d2fe6..bf1a13e 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x11.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x11.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'g', 'kk', 'n', 'd', 'tt', 'l', 'm', 'b', 'pp', 's', 'ss', '', 'j', 'jj', 'ch', 'k',
0x10 => 't', 'p', 'h', 'ng', 'nn', 'nd', 'nb', 'dg', 'rn', 'rr', 'rh', 'rN', 'mb', 'mN', 'bg', 'bn',
0x20 => '', 'bs', 'bsg', 'bst', 'bsb', 'bss', 'bsj', 'bj', 'bc', 'bt', 'bp', 'bN', 'bbN', 'sg', 'sn', 'sd',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'll', 'lmg', 'lms', 'lbs', 'lbh', 'rNp', 'lss', 'lZ', 'lk', 'lQ', 'mg', 'ml', 'mb', 'ms', 'mss', 'mZ',
0xE0 => 'mc', 'mh', 'mN', 'bl', 'bp', 'ph', 'pN', 'sg', 'sd', 'sl', 'sb', 'Z', 'g', 'ss', '', 'kh',
0xF0 => 'N', 'Ns', 'NZ', 'pb', 'pN', 'hn', 'hl', 'hm', 'hb', 'Q', NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x12.php b/core/lib/Drupal/Component/Transliteration/data/x12.php
index 1248209..43fdd36 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x12.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x12.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ha', 'hu', 'hi', 'haa', 'hee', 'he', 'ho', NULL, 'la', 'lu', 'li', 'laa', 'lee', 'le', 'lo', 'lwa',
0x10 => 'hha', 'hhu', 'hhi', 'hhaa', 'hhee', 'hhe', 'hho', 'hhwa', 'ma', 'mu', 'mi', 'maa', 'mee', 'me', 'mo', 'mwa',
0x20 => 'sza', 'szu', 'szi', 'szaa', 'szee', 'sze', 'szo', 'szwa', 'ra', 'ru', 'ri', 'raa', 'ree', 're', 'ro', 'rwa',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => '`a', '`u', '`i', '`aa', '`ee', '`e', '`o', NULL, 'za', 'zu', 'zi', 'zaa', 'zee', 'ze', 'zo', 'zwa',
0xE0 => 'zha', 'zhu', 'zhi', 'zhaa', 'zhee', 'zhe', 'zho', 'zhwa', 'ya', 'yu', 'yi', 'yaa', 'yee', 'ye', 'yo', NULL,
0xF0 => 'da', 'du', 'di', 'daa', 'dee', 'de', 'do', 'dwa', 'dda', 'ddu', 'ddi', 'ddaa', 'ddee', 'dde', 'ddo', 'ddwa',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x13.php b/core/lib/Drupal/Component/Transliteration/data/x13.php
index 73976a8..a6a5936 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x13.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x13.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ja', 'ju', 'ji', 'jaa', 'jee', 'je', 'jo', 'jwa', 'ga', 'gu', 'gi', 'gaa', 'gee', 'ge', 'go', NULL,
0x10 => 'gwa', NULL, 'gwi', 'gwaa', 'gwee', 'gwe', NULL, NULL, 'gga', 'ggu', 'ggi', 'ggaa', 'ggee', 'gge', 'ggo', NULL,
0x20 => 'tha', 'thu', 'thi', 'thaa', 'thee', 'the', 'tho', 'thwa', 'cha', 'chu', 'chi', 'chaa', 'chee', 'che', 'cho', 'chwa',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'so', 'su', 'sv', 'da', 'ta', 'de', 'te', 'di', 'ti', 'do', 'du', 'dv', 'dla', 'tla', 'tle', 'tli',
0xE0 => 'tlo', 'tlu', 'tlv', 'tsa', 'tse', 'tsi', 'tso', 'tsu', 'tsv', 'wa', 'we', 'wi', 'wo', 'wu', 'wv', 'ya',
0xF0 => 'ye', 'yi', 'yo', 'yu', 'yv', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x14.php b/core/lib/Drupal/Component/Transliteration/data/x14.php
index 8b4995e..e752a07 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x14.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x14.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, 'ai', 'aai', 'i', 'ii', 'u', 'uu', 'oo', 'ee', 'i', 'a', 'aa', 'we', 'we', 'wi', 'wi',
0x10 => 'wii', 'wii', 'wo', 'wo', 'woo', 'woo', 'woo', 'wa', 'wa', 'waa', 'waa', 'waa', 'ai', 'w', '\'', 't',
0x20 => 'k', 'sh', 's', 'n', 'w', 'n', NULL, 'w', 'c', '?', 'l', 'en', 'in', 'on', 'an', 'pai',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'n', 'ng', 'nh', 'lai', 'laai', 'li', 'lii', 'lu', 'luu', 'loo', 'la', 'laa', 'lwe', 'lwe', 'lwi', 'lwi',
0xE0 => 'lwii', 'lwii', 'lwo', 'lwo', 'lwoo', 'lwoo', 'lwa', 'lwa', 'lwaa', 'lwaa', 'l', 'l', 'l', 'sai', 'saai', 'si',
0xF0 => 'sii', 'su', 'suu', 'soo', 'sa', 'saa', 'swe', 'swe', 'swi', 'swi', 'swii', 'swii', 'swo', 'swo', 'swoo', 'swoo',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x15.php b/core/lib/Drupal/Component/Transliteration/data/x15.php
index e40fc68..4265783 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x15.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x15.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'swa', 'swa', 'swaa', 'swaa', 'swaa', 's', 's', 'sw', 's', 'sk', 'skw', 'sW', 'spwa', 'stwa', 'skwa', 'scwa',
0x10 => 'she', 'shi', 'shii', 'sho', 'shoo', 'sha', 'shaa', 'shwe', 'shwe', 'shwi', 'shwi', 'shwii', 'shwii', 'shwo', 'shwo', 'shwoo',
0x20 => 'shwoo', 'shwa', 'shwa', 'shwaa', 'shwaa', 'sh', 'jai', 'yaai', 'ji', 'jii', 'ju', 'juu', 'yoo', 'ja', 'jaa', 'ywe',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'wu', 'wo', 'we', 'wee', 'wi', 'wa', 'hwu', 'hwo', 'hwe', 'hwee', 'hwi', 'hwa', 'thu', 'tho', 'the', 'thee',
0xE0 => 'thi', 'tha', 'ttu', 'tto', 'tte', 'ttee', 'tti', 'tta', 'pu', 'po', 'pe', 'pee', 'pi', 'pa', 'p', 'gu',
0xF0 => 'go', 'ge', 'gee', 'gi', 'ga', 'khu', 'kho', 'khe', 'khee', 'khi', 'kha', 'kku', 'kko', 'kke', 'kkee', 'kki',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x16.php b/core/lib/Drupal/Component/Transliteration/data/x16.php
index 9d97747..dbb3d60 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x16.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x16.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'kka', 'kk', 'nu', 'no', 'ne', 'nee', 'ni', 'na', 'mu', 'mo', 'me', 'mee', 'mi', 'ma', 'yu', 'yo',
0x10 => 'ye', 'yee', 'yi', 'ya', 'ju', 'ju', 'jo', 'je', 'jee', 'ji', 'ji', 'ja', 'jju', 'jjo', 'jje', 'jjee',
0x20 => 'jji', 'jja', 'lu', 'lo', 'le', 'lee', 'li', 'la', 'dlu', 'dlo', 'dle', 'dlee', 'dli', 'dla', 'lhu', 'lho',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 't', 'd', 'b', 'b', 'p', 'p', 'e', 'm', 'm', 'm', 'l', 'l', 'ng', 'ng', 'd', 'o',
0xE0 => 'ear', 'ior', 'qu', 'qu', 'qu', 's', 'yr', 'yr', 'yr', 'q', 'x', '.', ':', '+', '17', '18',
0xF0 => '19', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x17.php b/core/lib/Drupal/Component/Transliteration/data/x17.php
index f98d03a..f08a09d 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x17.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x17.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x10 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x20 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => '', '', '', '', '.', ' // ', ':', '+', '++', ' * ', ' /// ', 'KR', '\'', NULL, NULL, NULL,
0xE0 => '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x18.php b/core/lib/Drupal/Component/Transliteration/data/x18.php
index 05c85a4..b46d30d 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x18.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x18.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => ' @ ', ' ... ', ',', '. ', ': ', ' // ', '', '-', ',', '. ', '', '', '', '', '', NULL,
0x10 => '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', NULL, NULL, NULL, NULL, NULL, NULL,
0x20 => 'a', 'e', 'i', 'o', 'u', 'O', 'U', 'ee', 'n', 'ng', 'b', 'p', 'q', 'g', 'm', 'l',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x1d.php b/core/lib/Drupal/Component/Transliteration/data/x1d.php
index ab6b5d4..1d6bacf 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x1d.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x1d.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'A', 'AE', NULL, 'B', 'C', 'D', 'D', 'E', NULL, NULL, 'J', 'K', 'L', 'M', NULL, 'O',
0x10 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'P', NULL, NULL, 'T', 'U', NULL, NULL, NULL,
0x20 => 'V', 'W', 'Z', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x1e.php b/core/lib/Drupal/Component/Transliteration/data/x1e.php
index 71b45bb..592deec 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x1e.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x1e.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'A', 'a', 'B', 'b', 'B', 'b', 'B', 'b', 'C', 'c', 'D', 'd', 'D', 'd', 'D', 'd',
0x10 => 'D', 'd', 'D', 'd', 'E', 'e', 'E', 'e', 'E', 'e', 'E', 'e', 'E', 'e', 'F', 'f',
0x20 => 'G', 'g', 'H', 'h', 'H', 'h', 'H', 'h', 'H', 'h', 'H', 'h', 'I', 'i', 'I', 'i',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'O', 'o', 'O', 'o', 'O', 'o', 'O', 'o', 'O', 'o', 'O', 'o', 'O', 'o', 'O', 'o',
0xE0 => 'O', 'o', 'O', 'o', 'U', 'u', 'U', 'u', 'U', 'u', 'U', 'u', 'U', 'u', 'U', 'u',
0xF0 => 'U', 'u', 'Y', 'y', 'Y', 'y', 'Y', 'y', 'Y', 'y', 'LL', 'll', 'V', 'v', 'Y', 'y',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x1f.php b/core/lib/Drupal/Component/Transliteration/data/x1f.php
index 9e0a60e..33fa4bc 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x1f.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x1f.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A',
0x10 => 'e', 'e', 'e', 'e', 'e', 'e', NULL, NULL, 'E', 'E', 'E', 'E', 'E', 'E', NULL, NULL,
0x20 => 'e', 'e', 'e', 'e', 'e', 'e', 'e', 'e', 'E', 'E', 'E', 'E', 'E', 'E', 'E', 'E',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'i', 'i', 'i', 'i', NULL, NULL, 'i', 'i', 'I', 'I', 'I', 'I', NULL, '`\'', '`\'', '`~',
0xE0 => 'y', 'y', 'y', 'y', 'r', 'r', 'y', 'y', 'Y', 'Y', 'Y', 'Y', 'R', '"`', '"\'', '`',
0xF0 => NULL, NULL, 'o', 'o', 'o', NULL, 'o', 'o', 'O', 'O', 'O', 'O', 'O', '\'', '`', NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x20.php b/core/lib/Drupal/Component/Transliteration/data/x20.php
index e106953..a556d49 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x20.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x20.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '', '', '', '',
0x10 => '-', '-', '-', '-', '-', '-', '||', '_', '\'', '\'', ',', '\'', '"', '"', ',,', '"',
0x20 => '+', '++', '*', '*>', '.', '..', '...', '.', '
@@ -25,4 +25,4 @@ $base = array(
0xD0 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0xE0 => '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x21.php b/core/lib/Drupal/Component/Transliteration/data/x21.php
index 1da0f41..44645a9 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x21.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x21.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'a/c', 'a/s', 'C', '', '', 'c/o', 'c/u', '', '', '', 'g', 'H', 'x', 'H', 'h', '',
0x10 => 'I', 'I', 'L', 'l', 'lb', 'N', 'No', '(p)', 'P', 'P', 'Q', 'R', 'R', 'R', 'Rx', '',
0x20 => '(sm)', 'TEL', '(tm)', '', 'Z', '', 'O', 'mho', 'Z', '', 'K', 'A', 'B', 'C', 'e', 'e',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => '=', '|', '=', '|', '=', '|', '\\', '/', '\\', '/', '=', '=', '~', '~', '|', '|',
0xE0 => '-', '|', '-', '|', '-', '-', '-', '|', '-', '|', '|', '|', '|', '|', '|', '|',
0xF0 => '-', '\\', '\\', '|', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x22.php b/core/lib/Drupal/Component/Transliteration/data/x22.php
index e346ffb..fa28978 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x22.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x22.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x10 => NULL, NULL, '-', NULL, NULL, '/', '\\', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x20 => NULL, NULL, NULL, '|', '|', '||', '||', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x23.php b/core/lib/Drupal/Component/Transliteration/data/x23.php
index 3cef84f..e38c438 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x23.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x23.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x10 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x20 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '<', '>', NULL, NULL, NULL, NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x24.php b/core/lib/Drupal/Component/Transliteration/data/x24.php
index 3e7b33b..17ffeee 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x24.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x24.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0x10 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0x20 => '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0xE0 => '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x25.php b/core/lib/Drupal/Component/Transliteration/data/x25.php
index 786bfce..b24b056 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x25.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x25.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => '-', '-', '|', '|', '-', '-', '|', '|', '-', '-', '|', '|', '+', '+', '+', '+',
0x10 => '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+',
0x20 => '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => '*', '*', '*', '*', '*', '*', '*', '*', '*', '*', '*', '*', '*', '*', '*', '*',
0xE0 => '*', '*', '*', '*', '*', '*', '*', '#', '#', '#', '#', '#', '^', '^', '^', 'O',
0xF0 => '#', '#', '#', '#', '#', '#', '#', '#', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x26.php b/core/lib/Drupal/Component/Transliteration/data/x26.php
index c7dc406..3ef34ee 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x26.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x26.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0x10 => '', '', '', '', NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', '',
0x20 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x27.php b/core/lib/Drupal/Component/Transliteration/data/x27.php
index 9c001d2..f067a78 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x27.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x27.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0x10 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0x20 => '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x28.php b/core/lib/Drupal/Component/Transliteration/data/x28.php
index 456f8e4..ce1789d 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x28.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x28.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => ' ', 'a', '1', 'b', '\'', 'k', '2', 'l', '@', 'c', 'i', 'f', '/', 'm', 's', 'p',
0x10 => '"', 'e', '3', 'h', '9', 'o', '6', 'r', '^', 'd', 'j', 'g', '>', 'n', 't', 'q',
0x20 => ',', '*', '5', '<', '-', 'u', '8', 'v', '.', '%', '[', '$', '+', 'x', '!', '&',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => '[d578]', '[d1578]', '[d2578]', '[d12578]', '[d3578]', '[d13578]', '[d23578]', '[d123578]', '[d4578]', '[d14578]', '[d24578]', '[d124578]', '[d34578]', '[d134578]', '[d234578]', '[d1234578]',
0xE0 => '[d678]', '[d1678]', '[d2678]', '[d12678]', '[d3678]', '[d13678]', '[d23678]', '[d123678]', '[d4678]', '[d14678]', '[d24678]', '[d124678]', '[d34678]', '[d134678]', '[d234678]', '[d1234678]',
0xF0 => '[d5678]', '[d15678]', '[d25678]', '[d125678]', '[d35678]', '[d135678]', '[d235678]', '[d1235678]', '[d45678]', '[d145678]', '[d245678]', '[d1245678]', '[d345678]', '[d1345678]', '[d2345678]', '[d12345678]',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x29.php b/core/lib/Drupal/Component/Transliteration/data/x29.php
index 98390e6..cd18ef9 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x29.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x29.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x10 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x20 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x2a.php b/core/lib/Drupal/Component/Transliteration/data/x2a.php
index 93349c5..24013a3 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x2a.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x2a.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x10 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x20 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x2e.php b/core/lib/Drupal/Component/Transliteration/data/x2e.php
index f9b3b33..e62f56a 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x2e.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x2e.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x10 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x20 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'jin', 'chang', 'chang', 'zhang', 'men', NULL, 'fu', 'yu', 'qing', 'wei', 'ye', 'feng', 'fei', 'shi', NULL, 'shi',
0xE0 => 'shi', NULL, 'ma', 'gu', 'gui', 'yu', 'niao', 'lu', 'mai', 'huang', 'mian', 'qi', 'qi', 'chi', 'chi', 'long',
0xF0 => 'long', 'gui', 'gui', 'gui', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x2f.php b/core/lib/Drupal/Component/Transliteration/data/x2f.php
index a5e7029..ecf6f0b 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x2f.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x2f.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'yi', 'gun', 'zhu', 'pie', 'yi', 'jue', 'er', 'tou', 'ren', 'er', 'ru', 'ba', 'jiong', 'mi', 'bing', 'ji',
0x10 => 'qian', 'dao', 'li', 'bao', 'bi', 'fang', 'xi', 'shi', 'bo', 'jie', 'chang', 'si', 'you', 'kou', 'wei', 'tu',
0x20 => 'shi', 'zhi', 'sui', 'xi', 'da', 'nu', 'zi', 'mian', 'cun', 'xiao', 'you', 'shi', 'che', 'shan', 'chuan', 'gong',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'bi', 'qi', 'chi', 'long', 'gui', 'yue', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x30.php b/core/lib/Drupal/Component/Transliteration/data/x30.php
index c92c0a6..3fe8567 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x30.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x30.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => ' ', ',', '.', '"', '[JIS]', '"', '/', 'ling', '<', '>', '<<', '>>', '[', '] ', '{', '} ',
0x10 => '[(', ')] ', '@', 'X ', '[', ']', '[[', ']] ', '[', ']', '[', ']', '~ ', '"', '"', ',,',
0x20 => '@', '1', '2', '3', '4', '5', '6', '7', '8', '9', '', '', '', '', '', '',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ha', 'ha', 'hi', 'hi', 'hi', 'fu', 'fu', 'fu', 'he', 'he', 'he', 'ho', 'ho', 'ho', 'ma', 'mi',
0xE0 => 'mu', 'me', 'mo', '~ya', 'ya', '~yu', 'yu', '~yo', 'yo', 'ra', 'ri', 'ru', 're', 'ro', '~wa', 'wa',
0xF0 => 'wi', 'we', 'wo', 'n', 'u', '~ka', '~ke', 'wa', 'wi', 'we', 'wo', '', '', '"', '"', NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x31.php b/core/lib/Drupal/Component/Transliteration/data/x31.php
index 95b59f4..59cedde 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x31.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x31.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, NULL, NULL, NULL, 'b', 'p', 'm1', 'f', 'd', 't', 'n1', 'l', 'g', 'k', 'h',
0x10 => 'j', 'q', 'x', 'zhi1', 'chi1', 'shi1', 'ri1', 'zi1', 'ci1', 'si1', 'a1', 'o1', 'e1', 'eh1', 'ai1', 'ei1',
0x20 => 'ao1', 'ou1', 'an1', 'en1', 'ang1', 'eng1', 'er1', 'yi1', 'wu1', 'yu1', 'V', 'NG', 'GN', NULL, NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x32.php b/core/lib/Drupal/Component/Transliteration/data/x32.php
index 25cc5f3..20ffe76 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x32.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x32.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => '(g)', '(n)', '(d)', '(l)', '(m)', '(b)', '(s)', '()', '(j)', '(ch)', '(k)', '(t)', '(p)', '(h)', '(ga)', '(na)',
0x10 => '(da)', '(la)', '(ma)', '(ba)', '(sa)', '(a)', '(ja)', '(cha)', '(ka)', '(ta)', '(pa)', '(ha)', '(ju)', NULL, NULL, NULL,
0x20 => '(1) ', '(2) ', '(3) ', '(4) ', '(5) ', '(6) ', '(7) ', '(8) ', '(9) ', '(10) ', '(Yue) ', '(Huo) ', '(Shui) ', '(Mu) ', '(Jin) ', '(Tu) ',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'a', 'i', 'u', 'u', 'o', 'ka', 'ki', 'ku', 'ke', 'ko', 'sa', 'si', 'su', 'se', 'so', 'ta',
0xE0 => 'ti', 'tu', 'te', 'to', 'na', 'ni', 'nu', 'ne', 'no', 'ha', 'hi', 'hu', 'he', 'ho', 'ma', 'mi',
0xF0 => 'mu', 'me', 'mo', 'ya', 'yu', 'yo', 'ra', 'ri', 'ru', 're', 'ro', 'wa', 'wi', 'we', 'wo', NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x33.php b/core/lib/Drupal/Component/Transliteration/data/x33.php
index 8094290..9eae128 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x33.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x33.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'apartment', 'alpha', 'ampere', 'are', 'inning', 'inch', 'won', 'escudo', 'acre', 'ounce', 'ohm', 'kai-ri', 'carat', 'calorie', 'gallon', 'gamma',
0x10 => 'giga', 'guinea', 'curie', 'guilder', 'kilo', 'kilogram', 'kilometer', 'kilowatt', 'gram', 'gram ton', 'cruzeiro', 'krone', 'case', 'koruna', 'co-op', 'cycle',
0x20 => 'centime', 'shilling', 'centi', 'cent', 'dozen', 'desi', 'dollar', 'ton', 'nano', 'knot', 'heights', 'percent', 'parts', 'barrel', 'piaster', 'picul',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'lm', 'ln', 'log', 'lx', 'mb', 'mil', 'mol', 'pH', 'p.m.', 'PPM', 'PR', 'sr', 'Sv', 'Wb', 'V/m', 'A/m',
0xE0 => '1d', '2d', '3d', '4d', '5d', '6d', '7d', '8d', '9d', '10d', '11d', '12d', '13d', '14d', '15d', '16d',
0xF0 => '17d', '18d', '19d', '20d', '21d', '22d', '23d', '24d', '25d', '26d', '27d', '28d', '29d', '30d', '31d', NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x34.php b/core/lib/Drupal/Component/Transliteration/data/x34.php
index 1281649..ef4dcea 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x34.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x34.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'qiu', 'tian', NULL, NULL, 'kua', 'wu', 'yin', NULL, NULL, NULL, NULL, NULL, 'yi', NULL, NULL, NULL,
0x10 => NULL, NULL, NULL, NULL, NULL, NULL, 'xie', NULL, NULL, NULL, NULL, NULL, 'chou', NULL, NULL, NULL,
0x20 => NULL, 'nuo', NULL, NULL, 'dan', NULL, NULL, NULL, 'xu', 'xing', NULL, 'xiong', 'liu', 'lin', 'xiang', 'yong',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'lu', 'xing', NULL, 'nan', 'xie', NULL, 'bi', 'jie', 'su', NULL, 'gong', NULL, 'you', 'xing', 'qia', 'pi',
0xE0 => 'dian', 'fu', 'luo', 'qia', 'qia', 'tang', 'bai', 'gan', 'ci', 'xuan', 'lang', NULL, NULL, 'she', NULL, 'li',
0xF0 => 'hua', 'tou', 'pian', 'di', 'ruan', 'e', 'qie', 'yi', 'zhuo', 'rui', 'jian', NULL, 'chi', 'chong', 'xi', NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x35.php b/core/lib/Drupal/Component/Transliteration/data/x35.php
index 08b6f5d..e3e0b88 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x35.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x35.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'lue', 'deng', 'lin', 'jue', 'su', 'xiao', 'zan', NULL, NULL, 'zhu', 'zhan', 'jian', 'zou', 'chua', 'xie', 'li',
0x10 => NULL, 'chi', 'xi', 'jian', NULL, 'ji', NULL, 'fei', 'chu', 'beng', 'jie', NULL, 'ba', 'liang', 'kuai', NULL,
0x20 => 'xia', 'bie', 'jue', 'lei', 'xin', 'bai', 'yang', 'lu', 'bei', 'e', 'lu', NULL, NULL, 'che', 'nuo', 'xuan',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, 'bai', 'ai', 'zhui', 'qian', 'gou', 'dan', 'bei', 'bo', 'chu', 'li', 'xiao', 'xiu', NULL, NULL, NULL,
0xE0 => NULL, NULL, 'hong', 'ti', 'cu', 'kuo', 'lao', 'zhi', 'xie', 'xi', NULL, 'qie', 'zha', 'xi', NULL, NULL,
0xF0 => 'cong', 'ji', 'huo', 'ta', 'yan', 'xu', 'po', 'sai', NULL, NULL, NULL, 'guo', 'ye', 'xiang', 'xue', 'he',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x36.php b/core/lib/Drupal/Component/Transliteration/data/x36.php
index f015cbe..975949b 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x36.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x36.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'zuo', 'yi', 'ci', NULL, 'leng', 'xian', 'tai', 'rong', 'yi', 'zhi', 'xi', 'xian', 'ju', 'ji', 'han', NULL,
0x10 => 'pao', 'li', NULL, 'lan', 'sai', 'han', 'yan', 'qu', NULL, 'yan', 'han', 'kan', 'chi', 'nie', 'huo', NULL,
0x20 => 'bi', 'xia', 'weng', 'xuan', 'wan', 'you', 'qin', 'xu', 'nie', 'bi', 'hao', 'jing', 'ao', 'ao', NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'sou', 'can', 'dou', 'xi', 'feng', 'yi', 'suo', 'qie', 'po', 'xin', 'tong', 'xin', 'you', 'bei', 'long', NULL,
0xE0 => NULL, NULL, NULL, 'yun', 'li', 'ta', 'lan', 'man', 'qiang', 'zhou', 'yan', 'xi', 'lu', 'xi', 'sao', 'fan',
0xF0 => NULL, 'wei', 'fa', 'yi', 'nao', 'cheng', 'tan', 'ji', 'shu', 'pian', 'an', 'kua', 'cha', NULL, 'xian', 'zhi',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x37.php b/core/lib/Drupal/Component/Transliteration/data/x37.php
index b3a9b7c..f584aea 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x37.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x37.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, 'feng', 'lian', 'xun', 'xu', 'mi', 'hui', 'mu', 'yong', 'zhan', 'yi', 'nou', 'tang', 'xi', 'yun',
0x10 => 'shu', 'fu', 'yi', 'da', NULL, 'lian', 'cao', 'can', 'ju', 'lu', 'su', 'nen', 'ao', 'an', 'qian', NULL,
0x20 => 'cui', 'cong', NULL, 'ran', 'nian', 'mai', 'xin', 'yue', 'nai', 'ao', 'shen', 'ma', NULL, NULL, 'lan', 'xi',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'mang', 'bo', 'qun', 'qi', 'han', NULL, 'long', NULL, 'tiao', 'ze', 'qi', 'zan', 'mi', 'pei', 'zhan', 'xiang',
0xE0 => 'gang', NULL, 'qi', NULL, 'lu', NULL, 'yun', 'e', 'duan', 'min', 'wei', 'quan', 'sou', 'min', 'tu', NULL,
0xF0 => 'ming', 'yao', 'jue', 'li', 'kuai', 'gang', 'yuan', 'da', NULL, 'lao', 'lou', 'qian', 'ao', 'biao', 'yong', 'mang',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x38.php b/core/lib/Drupal/Component/Transliteration/data/x38.php
index b807b9c..c175ad5 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x38.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x38.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'dao', NULL, 'ao', NULL, 'xi', 'fu', 'dan', 'jiu', 'run', 'tong', 'qu', 'e', 'qi', 'ji', 'ji', 'hua',
0x10 => 'jiao', 'zui', 'biao', 'meng', 'bai', 'wei', 'yi', 'ao', 'yu', 'hao', 'dui', 'wo', 'ni', 'cuan', NULL, 'li',
0x20 => 'lu', 'niao', 'huai', 'li', NULL, 'lu', 'feng', 'mi', 'yu', NULL, 'ju', NULL, NULL, 'zhan', 'peng', 'yi',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'bian', 'rong', 'ceng', 'can', 'ding', NULL, NULL, NULL, NULL, 'di', 'tong', 'ta', 'xing', 'song', 'duo', 'xi',
0xE0 => 'tao', NULL, 'ti', 'shan', 'jian', 'zhi', 'wei', 'yin', NULL, NULL, 'huan', 'zhong', 'qi', 'zong', NULL, 'xie',
0xF0 => 'xie', 'ze', 'wei', NULL, NULL, 'ta', 'zhan', 'ning', NULL, NULL, NULL, 'yi', 'ren', 'shu', 'cha', 'zhuo',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x39.php b/core/lib/Drupal/Component/Transliteration/data/x39.php
index d96877d..b550c1c 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x39.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x39.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, 'mian', 'ji', 'fang', 'pei', 'ai', 'fan', 'ao', 'qin', 'qia', 'xiao', 'fen', 'gan', 'qiao', 'ge', 'tong',
0x10 => 'chan', 'you', 'gao', 'ben', 'fu', 'chu', 'zhu', NULL, 'zhou', NULL, 'hang', 'nin', 'jue', 'chong', 'cha', 'kong',
0x20 => 'lie', 'li', 'yu', NULL, 'yu', 'hai', 'li', 'hou', 'gong', 'ke', 'yuan', 'de', 'hui', NULL, 'guang', 'jiong',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'song', 'hui', 'yu', 'gua', 'guai', 'liu', 'e', 'zi', 'zi', 'bi', 'wa', NULL, 'lie', NULL, NULL, 'kuai',
0xE0 => NULL, 'hai', 'yin', 'zhu', 'chong', 'xian', 'xuan', NULL, 'qiu', 'pei', 'gui', 'er', 'gong', 'qiong', 'hu', 'lao',
0xF0 => 'li', 'chen', 'san', 'zhuo', 'wo', 'pou', 'keng', 'tun', 'peng', 'te', 'ta', 'zhuo', 'biao', 'gu', 'hu', NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x3a.php b/core/lib/Drupal/Component/Transliteration/data/x3a.php
index e1ae1ad..dd38ed1 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x3a.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x3a.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'bing', 'zhi', 'dong', 'dui', 'zhou', 'nei', 'lin', 'po', 'ji', 'min', 'wei', 'che', 'gou', 'bang', 'ru', 'tan',
0x10 => 'bu', 'zong', 'kui', 'lao', 'han', 'ying', 'zhi', 'jie', 'xing', 'xie', 'xun', 'shan', 'qian', 'xie', 'su', 'hai',
0x20 => 'mi', 'hun', 'pi', NULL, 'hui', 'na', 'song', 'ben', 'chou', 'jie', 'huang', 'lan', NULL, 'hu', 'dou', 'huo',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'yao', 'zhi', 'gong', 'qi', 'gen', NULL, NULL, 'hou', 'mi', 'fu', 'hu', 'guang', 'tan', 'di', NULL, 'yan',
0xE0 => NULL, NULL, 'qu', NULL, 'chang', 'ming', 'tao', 'bao', 'an', NULL, NULL, 'xian', NULL, NULL, NULL, 'mao',
0xF0 => 'lang', 'nan', 'bei', 'chen', NULL, 'fei', 'zhou', 'ji', 'jie', 'shu', NULL, 'kun', 'die', 'lu', NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x3b.php b/core/lib/Drupal/Component/Transliteration/data/x3b.php
index 4ce0a1e..8fc526c 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x3b.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x3b.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, 'yu', 'tai', 'chan', 'man', 'min', 'huan', 'wen', 'nuan', 'huan', 'hou', 'jing', 'bo', 'xian', 'li',
0x10 => 'jin', NULL, 'mang', 'piao', 'hao', 'yang', NULL, 'xian', 'su', 'wei', 'che', 'xi', 'jin', 'ceng', 'he', 'fen',
0x20 => 'shai', 'ling', NULL, 'dui', 'qi', 'pu', 'yue', 'bo', NULL, 'hui', 'die', 'yan', 'ju', 'jiao', 'nan', 'lie',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'fang', NULL, NULL, 'ta', 'cui', 'xi', 'de', 'xian', 'kuan', 'zhe', 'ta', 'hu', 'cui', 'lu', 'juan', 'lu',
0xE0 => 'qian', 'pao', 'zhen', NULL, 'li', 'cao', 'qi', NULL, NULL, 'ti', 'ling', 'qu', 'lian', 'lu', 'shu', 'gong',
0xF0 => 'zhe', 'pao', 'jin', 'qing', NULL, NULL, 'zong', 'pu', 'jin', 'biao', 'jian', 'gun', NULL, NULL, 'zao', 'lie',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x3c.php b/core/lib/Drupal/Component/Transliteration/data/x3c.php
index 31267d9..c60d936 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x3c.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x3c.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'li', 'luo', 'shen', 'mian', 'jian', 'di', 'bei', NULL, 'lian', NULL, 'xian', 'pin', 'que', 'long', 'zui', NULL,
0x10 => 'jue', 'shan', 'xue', NULL, 'xie', NULL, 'lan', 'qi', 'yi', 'nuo', 'li', 'yue', NULL, 'yi', 'chi', 'ji',
0x20 => 'hang', 'xie', 'keng', 'zi', 'he', 'xi', 'qu', 'hai', 'xia', 'hai', 'gui', 'chan', 'xun', 'xu', 'shen', 'kou',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'zha', 'yi', 'bian', NULL, 'dui', 'lan', 'yi', 'chai', 'chong', 'xuan', 'xu', 'yu', 'xiu', NULL, NULL, NULL,
0xE0 => 'ta', 'guo', NULL, NULL, NULL, 'long', 'xie', 'che', 'jian', 'tan', 'pi', 'zan', 'xuan', 'xian', 'niao', NULL,
0xF0 => NULL, NULL, NULL, NULL, 'mi', 'ji', 'nou', 'hu', 'hua', 'wang', 'you', 'ze', 'bi', 'mi', 'qiang', 'xie',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x3d.php b/core/lib/Drupal/Component/Transliteration/data/x3d.php
index f83e669..78b3131 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x3d.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x3d.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'fan', 'yi', 'tan', 'lei', 'yong', NULL, 'jin', 'she', 'yin', 'ji', NULL, 'su', NULL, NULL, NULL, 'wang',
0x10 => 'mian', 'su', 'yi', 'shai', 'xi', 'ji', 'luo', 'you', 'mao', 'zha', 'sui', 'zhi', 'bian', 'li', NULL, NULL,
0x20 => NULL, NULL, NULL, NULL, NULL, 'qiao', 'guan', 'xi', 'zhen', 'yong', 'nie', 'jun', 'xie', 'yao', 'xie', 'zhi',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'hui', NULL, 'yu', 'zong', 'yan', 'qiu', 'zhao', 'jiong', 'tai', NULL, NULL, NULL, NULL, NULL, NULL, 'tui',
0xE0 => 'lin', 'jiong', 'zha', 'xing', 'hu', NULL, 'xu', NULL, NULL, NULL, 'cui', 'qing', 'mo', NULL, 'zao', 'beng',
0xF0 => 'chi', NULL, NULL, 'yan', 'ge', 'mo', 'bei', 'juan', 'die', 'zhao', NULL, 'wu', 'yan', NULL, 'jue', 'xian',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x3e.php b/core/lib/Drupal/Component/Transliteration/data/x3e.php
index 1c2e517..f4b1fd4 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x3e.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x3e.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'tai', 'han', NULL, 'dian', 'ji', 'jie', NULL, 'zuan', NULL, 'xie', 'lai', 'fan', 'huo', 'xi', 'nie', 'mi',
0x10 => 'ran', 'cuan', 'yin', 'mi', NULL, 'jue', 'qu', 'tong', 'wan', 'zhe', 'li', 'shao', 'kong', 'xian', 'zhe', 'zhi',
0x20 => 'tiao', 'shu', 'bei', 'ye', 'pian', 'chan', 'hu', 'ken', 'jiu', 'an', 'chun', 'qian', 'bei', 'ba', 'fen', 'ke',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, 'ji', 'jun', 'zou', 'duo', 'jue', 'dai', 'bei', NULL, NULL, NULL, NULL, NULL, 'la', 'bin', 'sui',
0xE0 => 'tu', 'xue', NULL, NULL, NULL, NULL, NULL, 'duo', NULL, NULL, 'sui', 'bi', 'tu', 'se', 'can', 'tu',
0xF0 => 'mian', 'jin', 'lu', NULL, NULL, 'zhan', 'bi', 'ji', 'zen', 'xuan', 'li', NULL, NULL, 'sui', 'yong', 'shu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x3f.php b/core/lib/Drupal/Component/Transliteration/data/x3f.php
index 7b60158..1d22728 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x3f.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x3f.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, 'e', NULL, NULL, NULL, NULL, 'qiong', 'luo', 'zhen', 'tun', 'gu', 'yu', 'lei', 'bo', 'nei',
0x10 => 'pian', 'lian', 'tang', 'lian', 'wen', 'dang', 'li', 'ting', 'wa', 'zhou', 'gang', 'xing', 'ang', 'fan', 'peng', 'bo',
0x20 => 'tuo', 'shu', 'yi', 'bo', 'qie', 'tou', 'gong', 'tong', 'han', 'cheng', 'jie', 'huan', 'xing', 'dian', 'chai', 'dong',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, 'yao', 'dao', 'jia', 'lei', 'yan', 'lu', 'tui', 'ying', 'pi', 'luo', 'li', 'bie', NULL, 'mao', 'bai',
0xE0 => 'huang', NULL, 'yao', 'he', 'chun', 'he', 'ning', 'chou', 'li', 'tang', 'huan', 'bi', 'ba', 'che', 'yang', 'da',
0xF0 => 'ao', 'xue', NULL, 'zi', 'da', 'ran', 'bang', 'cuo', 'wan', 'ta', 'bao', 'gan', 'yan', 'xi', 'zhu', 'ya',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x40.php b/core/lib/Drupal/Component/Transliteration/data/x40.php
index 9e7c307..ba952e9 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x40.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x40.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'fan', 'you', 'an', 'tui', 'meng', 'she', 'jin', 'gu', 'ji', 'qiao', 'jiao', 'yan', 'xi', 'kan', 'mian', 'xuan',
0x10 => 'shan', 'wo', 'qian', 'huan', 'ren', 'zhen', 'tian', 'jue', 'xie', 'qi', 'ang', 'mei', 'gu', NULL, 'tao', 'fan',
0x20 => 'ju', 'chan', 'shun', 'bi', 'mao', 'shuo', 'gu', 'hong', 'hua', 'luo', 'hang', 'jia', 'quan', 'gai', 'huang', 'bu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, 'ban', 'he', 'gou', 'hong', 'lao', 'wu', 'bo', 'keng', 'lu', 'cu', 'lian', 'yi', 'qiao', 'shu', NULL,
0xE0 => 'xuan', 'jin', 'qin', 'hui', 'su', 'chuang', 'dun', 'long', NULL, 'nao', 'tan', 'dan', 'wei', 'gan', 'da', 'li',
0xF0 => 'ca', 'xian', 'pan', 'la', 'zhu', 'niao', 'huai', 'ying', 'xian', 'lan', 'mo', 'ba', NULL, 'gui', 'bi', 'fu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x41.php b/core/lib/Drupal/Component/Transliteration/data/x41.php
index f32b7e5..bb33c8b 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x41.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x41.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'huo', 'yi', 'liu', NULL, 'yin', 'juan', 'huo', 'cheng', 'dou', 'e', NULL, 'yan', 'zhui', 'zha', 'qi', 'yu',
0x10 => 'quan', 'huo', 'nie', 'huang', 'ju', 'she', NULL, NULL, 'peng', 'ming', 'cao', 'lou', 'li', 'chuang', NULL, 'cui',
0x20 => 'shan', 'dan', 'qi', NULL, 'lai', 'ling', 'liao', 'reng', 'yu', 'yi', 'diao', 'qi', 'yi', 'nian', 'fu', 'jian',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'li', 'ba', 'jie', 'xu', 'luo', NULL, 'yun', 'zhong', 'hu', 'yin', NULL, 'zhi', 'qian', NULL, 'gan', 'jian',
0xE0 => 'zhu', 'zhu', 'ku', 'nie', 'rui', 'ze', 'ang', 'zhi', 'gong', 'yi', 'chi', 'ji', 'zhu', 'lao', 'ren', 'rong',
0xF0 => 'zheng', 'na', 'ce', NULL, NULL, 'yi', 'jue', 'bie', 'cheng', 'jun', 'dou', 'wei', 'yi', 'zhe', 'yan', NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x42.php b/core/lib/Drupal/Component/Transliteration/data/x42.php
index 27e7338..d5043fc 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x42.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x42.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'san', 'lun', 'ping', 'zhao', 'han', 'yu', 'dai', 'zhao', 'fei', 'sha', 'ling', 'ta', 'qu', 'mang', 'ye', 'bao',
0x10 => 'gui', 'gua', 'nan', 'ge', NULL, 'shi', 'ke', 'suo', 'ci', 'zhou', 'tai', 'kuai', 'qin', 'xu', 'du', 'ce',
0x20 => 'huan', 'cong', 'sai', 'zheng', 'qian', 'jin', 'zong', 'wei', NULL, NULL, 'xi', 'na', 'pu', 'sou', 'ju', 'zhen',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'yue', 'lie', NULL, 'zhou', 'bi', 'ren', 'yu', NULL, 'chuo', 'er', 'yi', 'mi', 'qing', NULL, 'wang', 'ji',
0xE0 => 'bu', NULL, 'bie', 'fan', 'yue', 'li', 'fan', 'qu', 'fu', 'er', 'e', 'zheng', 'tian', 'yu', 'jin', 'qi',
0xF0 => 'ju', 'lai', 'che', 'bei', 'niu', 'yi', 'xu', 'mou', 'xun', 'fu', NULL, 'nin', 'ting', 'beng', 'zha', 'wei',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x43.php b/core/lib/Drupal/Component/Transliteration/data/x43.php
index 8291d9d..81efa7d 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x43.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x43.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ke', 'yao', 'ou', 'xiao', 'geng', 'tang', 'gui', 'hui', 'ta', NULL, 'yao', 'da', 'qi', 'jin', 'lue', 'mi',
0x10 => 'mi', 'jian', 'lu', 'fan', 'ou', 'mi', 'jie', 'fu', 'bie', 'huang', 'su', 'yao', 'nie', 'jin', 'lian', 'bo',
0x20 => 'jian', 'ti', 'ling', 'zuan', 'shi', 'yin', 'dao', 'chou', 'ca', 'mie', 'yan', 'lan', 'chong', 'jiao', 'shuang', 'quan',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'jue', 'di', 'pian', 'guan', 'niu', 'ren', 'zhen', 'gai', 'pi', 'tan', 'chao', 'chun', 'he', 'zhuan', 'mo', 'bie',
0xE0 => 'qi', 'shi', 'bi', 'jue', 'si', NULL, 'gua', 'na', 'hui', 'xi', 'er', 'xiu', 'mou', NULL, 'xi', 'zhi',
0xF0 => 'run', 'ju', 'die', 'zhe', 'shao', 'meng', 'bi', 'han', 'yu', 'xian', 'pang', 'neng', 'can', 'bu', NULL, 'qi',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x44.php b/core/lib/Drupal/Component/Transliteration/data/x44.php
index af44abb..8bbb726 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x44.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x44.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ji', 'zhuo', 'lu', 'jun', 'xian', 'xi', 'cai', 'wen', 'zhi', 'zi', 'kun', 'cong', 'tian', 'chu', 'di', 'chun',
0x10 => 'qiu', 'zhe', 'zha', 'rou', 'bin', 'ji', 'xi', 'zhu', 'jue', 'ge', 'ji', 'da', 'chen', 'suo', 'ruo', 'xiang',
0x20 => 'huang', 'qi', 'zhu', 'sun', 'chai', 'weng', 'ke', 'kao', 'gu', 'gai', 'fan', 'cong', 'cao', 'zhi', 'chan', 'lei',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'chun', 'ping', 'kuai', 'chou', NULL, 'tuo', 'qiong', 'cong', 'gao', 'kua', 'qu', 'qu', 'zhi', 'meng', 'li', 'zhou',
0xE0 => 'ta', 'zhi', 'gu', 'liang', 'hu', 'la', 'dian', 'ci', 'ying', NULL, NULL, 'qi', NULL, 'cha', 'mao', 'du',
0xF0 => 'yin', 'chai', 'rui', 'hen', 'ruan', 'fu', 'lai', 'xing', 'jian', 'yi', 'mei', NULL, 'mang', 'ji', 'suo', 'han',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x45.php b/core/lib/Drupal/Component/Transliteration/data/x45.php
index 0ba25ac..88a0b27 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x45.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x45.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, 'li', 'zi', 'zu', 'yao', 'ge', 'li', 'qi', 'gong', 'li', 'bing', 'suo', NULL, NULL, 'su', 'chou',
0x10 => 'jian', 'xie', 'bei', 'xu', 'jing', 'pu', 'ling', 'xiang', 'zuo', 'diao', 'chun', 'qing', 'nan', 'zhai', 'lu', 'yi',
0x20 => 'shao', 'yu', 'hua', 'li', 'pa', NULL, NULL, 'li', NULL, NULL, 'shuang', NULL, 'yi', 'ning', 'si', 'ku',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'shi', 'yi', 'bing', 'cong', 'hou', 'wan', 'di', 'ji', 'ge', 'han', 'bo', 'xiu', 'liu', 'can', 'can', 'yi',
0xE0 => 'xuan', 'yan', 'zao', 'han', 'yong', 'zong', NULL, 'kang', 'yu', 'qi', 'zhe', 'ma', NULL, NULL, 'shuang', 'jin',
0xF0 => 'guan', 'pu', 'lin', NULL, 'ting', 'jiang', 'la', 'yi', 'yong', 'ci', 'yan', 'jie', 'xun', 'wei', 'xian', 'ning',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x46.php b/core/lib/Drupal/Component/Transliteration/data/x46.php
index 3311641..032f083 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x46.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x46.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'fu', 'ge', NULL, 'mo', 'zhu', 'nai', 'xian', 'wen', 'li', 'can', 'mie', 'jian', 'ni', 'chai', 'wan', 'xu',
0x10 => 'nu', 'mai', 'zui', 'kan', 'ka', 'hang', NULL, NULL, 'yu', 'wei', 'zhu', NULL, NULL, 'yi', NULL, 'diao',
0x20 => 'fu', 'bi', 'zhu', 'zi', 'shu', 'xia', 'ni', NULL, 'jiao', 'xun', 'chong', 'nou', 'rong', 'zhi', 'sang', NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ci', 'mi', 'bian', NULL, 'na', 'yu', 'e', 'zhi', 'ren', 'xu', 'lue', 'hui', 'xun', 'nao', 'han', 'jia',
0xE0 => 'dou', 'hua', 'tu', 'ping', 'cu', 'xi', 'song', 'mi', 'xin', 'wu', 'qiong', 'zhang', 'tao', 'xing', 'jiu', 'ju',
0xF0 => 'hun', 'ti', 'man', 'yan', 'ji', 'shou', 'lei', 'wan', 'che', 'can', 'jie', 'you', 'hui', 'zha', 'su', 'ge',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x47.php b/core/lib/Drupal/Component/Transliteration/data/x47.php
index 58a79c4..4981e9f 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x47.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x47.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'nao', 'xi', NULL, 'dui', 'chi', 'wei', 'zhe', 'gun', 'chao', 'chi', 'zao', 'hui', 'luan', 'liao', 'lao', 'tuo',
0x10 => 'hui', 'wu', 'ao', 'she', 'sui', 'mai', 'tan', 'xin', 'jing', 'an', 'ta', 'chan', 'wei', 'tuan', 'ji', 'chen',
0x20 => 'che', 'yu', 'xian', 'xin', NULL, NULL, NULL, 'nao', NULL, 'yan', 'qiu', 'jiang', 'song', 'jun', 'liao', 'ju',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'li', 'yue', 'quan', 'cheng', 'fu', 'cha', 'tang', 'shi', 'hang', 'qie', 'qi', 'bo', 'na', 'tou', 'chu', 'cu',
0xE0 => 'yue', 'zhi', 'chen', 'chu', 'bi', 'meng', 'ba', 'tian', 'min', 'lie', 'feng', 'cheng', 'qiu', 'tiao', 'fu', 'kuo',
0xF0 => 'jian', NULL, NULL, NULL, 'zhen', 'qiu', 'zuo', 'chi', 'kui', 'lie', 'bei', 'du', 'wu', NULL, 'zhuo', 'lu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x48.php b/core/lib/Drupal/Component/Transliteration/data/x48.php
index 668713d..c5ee78f 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x48.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x48.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'tang', NULL, 'chu', 'liang', 'tian', 'kun', 'chang', 'jue', 'tu', 'huan', 'fei', 'bi', NULL, 'xia', 'wo', 'ji',
0x10 => 'qu', 'kui', 'hu', 'qiu', 'sui', 'cai', NULL, 'qiu', 'pi', 'pang', 'wa', 'yao', 'rong', 'xun', 'cu', 'die',
0x20 => 'chi', 'cuo', 'meng', 'xuan', 'duo', 'bie', 'zhe', 'chu', 'chan', 'gui', 'duan', 'zou', 'deng', 'lai', 'teng', 'yue',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ying', 'chan', NULL, 'li', 'suo', 'ma', 'ma', NULL, 'tang', 'pei', 'lou', 'qi', 'cuo', 'tu', 'e', 'can',
0xE0 => 'jie', 'yi', 'ji', 'dang', 'jue', 'bi', 'lei', 'yi', 'chun', 'chun', 'po', 'li', 'zai', 'tai', 'po', 'cu',
0xF0 => 'ju', 'xu', 'fan', NULL, 'xu', 'er', 'huo', 'zhu', 'ran', 'fa', 'juan', 'han', 'liang', 'zhi', 'mi', 'yu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x49.php b/core/lib/Drupal/Component/Transliteration/data/x49.php
index d9bde7a..75c9baf 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x49.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x49.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, 'cen', 'mei', 'yin', 'mian', 'tu', 'kui', NULL, NULL, 'mi', 'rong', 'yu', 'qiang', 'mi', 'ju', 'pi',
0x10 => 'jin', 'wang', 'ji', 'meng', 'jian', 'xue', 'bao', 'gan', 'chan', 'li', 'li', 'qiu', 'dun', 'ying', 'yun', 'chen',
0x20 => 'zhi', 'ran', NULL, 'lue', 'kai', 'gui', 'yue', 'hui', 'pi', 'cha', 'duo', 'chan', 'sha', 'shi', 'she', 'xing',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, 'di', 'lai', 'zhou', 'nian', 'cheng', 'jian', 'bi', 'zhuan', 'ling', 'hao', 'bang', 'tang', 'chi', 'ma', 'xian',
0xE0 => 'shuan', 'yong', 'qu', NULL, 'pu', 'hui', 'wei', 'yi', 'ye', NULL, 'che', 'hao', 'bin', NULL, 'xian', 'chan',
0xF0 => 'hun', NULL, 'han', 'ci', 'zhi', 'qi', 'kui', 'rou', NULL, 'ying', 'xiong', NULL, 'hu', 'cui', NULL, 'que',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x4a.php b/core/lib/Drupal/Component/Transliteration/data/x4a.php
index 60e658b..12d5aee 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x4a.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x4a.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'di', 'wu', 'qiu', NULL, 'yan', 'liao', 'bi', NULL, 'bin', NULL, 'yuan', 'nue', 'bao', 'ying', 'hong', 'ci',
0x10 => 'qia', 'ti', 'yu', 'lei', 'bao', NULL, 'ji', 'fu', 'xian', 'cen', 'hu', 'se', 'beng', 'qing', 'yu', 'wa',
0x20 => 'ai', 'han', 'dan', 'ge', 'di', 'huo', 'pang', NULL, 'zhui', 'ling', 'mai', 'mai', 'lian', 'xiao', 'xue', 'zhen',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'lin', 'yi', 'men', 'wu', 'qi', 'die', 'chen', 'xia', 'he', 'sang', 'gua', 'hou', 'ao', 'fu', 'qiao', 'hun',
0xE0 => 'pi', 'yan', 'si', 'xi', 'ming', 'kui', 'ge', NULL, 'ao', 'san', 'shuang', 'lou', 'zhen', 'hui', 'chan', NULL,
0xF0 => 'lin', 'na', 'han', 'du', 'jin', 'mian', 'fan', 'e', 'chao', 'hong', 'hong', 'yu', 'xue', 'pao', 'bi', 'chao',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x4b.php b/core/lib/Drupal/Component/Transliteration/data/x4b.php
index 625a880..8b542e0 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x4b.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x4b.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'you', 'yi', 'xue', 'sa', 'xu', 'li', 'li', 'yuan', 'dui', 'huo', 'sha', 'leng', 'pou', 'hu', 'guo', 'bu',
0x10 => 'rui', 'wei', 'sou', 'an', 'yu', 'xiang', 'heng', 'yang', 'xiao', 'yao', NULL, 'bi', NULL, 'heng', 'tao', 'liu',
0x20 => NULL, 'zhu', NULL, 'xi', 'zan', 'yi', 'dou', 'yuan', 'jiu', NULL, 'bo', 'ti', 'ying', NULL, 'yi', 'nian',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'hai', 'kuang', 'heng', 'kui', 'ze', 'ting', 'lang', 'bi', 'huan', 'po', 'yao', 'wan', 'ti', 'sui', 'kua', 'dui',
0xE0 => 'ao', 'jian', 'mo', 'kui', 'kuai', 'an', 'ma', 'qing', 'qiao', NULL, 'kao', 'hao', 'duo', 'xian', 'nai', 'suo',
0xF0 => 'jie', 'pi', 'pa', 'song', 'chang', 'nie', 'man', 'song', 'ci', 'xian', 'kuo', NULL, 'di', 'pou', 'tiao', 'zu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x4c.php b/core/lib/Drupal/Component/Transliteration/data/x4c.php
index aa1852c..38398a2 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x4c.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x4c.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'wo', 'fei', 'cai', 'peng', 'sai', NULL, 'rou', 'qi', 'cuo', 'pan', 'bo', 'man', 'zong', 'ci', 'kui', 'ji',
0x10 => 'lan', NULL, 'meng', 'mian', 'pan', 'lu', 'zuan', NULL, 'liu', 'yi', 'wen', 'li', 'li', 'zeng', 'zhu', 'hun',
0x20 => 'shen', 'chi', 'xing', 'wang', 'dong', 'huo', 'pi', 'hu', 'mei', 'che', 'mei', 'chao', 'ju', 'nou', NULL, 'yi',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ci', 'you', 'yuan', 'lao', 'ju', 'fu', 'nie', 'e', 'e', 'xing', 'kan', 'yan', 'tu', 'pou', 'beng', 'ming',
0xE0 => 'shui', 'yan', 'qi', 'yuan', 'bie', NULL, 'xuan', 'hou', 'huang', 'yao', 'juan', 'kui', 'e', 'ji', 'mo', 'chong',
0xF0 => 'bao', 'wu', 'zhen', 'xu', 'ta', 'chi', 'xi', 'cong', 'ma', 'kou', 'yan', 'can', NULL, 'he', 'deng', 'ran',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x4d.php b/core/lib/Drupal/Component/Transliteration/data/x4d.php
index b77e988..fb9737f 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x4d.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x4d.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'tong', 'yu', 'xiang', 'nao', 'shun', 'fen', 'pu', 'ling', 'ao', 'huan', 'yi', 'huan', 'meng', 'ying', 'lei', 'yan',
0x10 => 'bao', 'die', 'ling', 'shi', 'jiao', 'lie', 'jing', 'ju', 'ti', 'pi', 'gang', 'xiao', 'wai', 'chuai', 'di', 'huan',
0x20 => 'yao', 'li', 'mi', 'hu', 'sheng', 'jia', 'yin', 'wei', NULL, 'piao', 'lu', 'ling', 'yi', 'cai', 'shan', 'hu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x4e.php b/core/lib/Drupal/Component/Transliteration/data/x4e.php
index 868c80d..1d83344 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x4e.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x4e.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'yi', 'ding', 'kao', 'qi', 'shang', 'xia', 'han', 'wan', 'zhang', 'san', 'shang', 'xia', 'ji', 'bu', 'yu', 'mian',
0x10 => 'gai', 'chou', 'chou', 'zhuan', 'qie', 'pi', 'shi', 'shi', 'qiu', 'bing', 'ye', 'cong', 'dong', 'si', 'cheng', 'diu',
0x20 => 'qiu', 'liang', 'diu', 'you', 'liang', 'yan', 'bing', 'sang', 'gun', 'jiu', 'ge', 'ya', 'qiang', 'zhong', 'ji', 'jie',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'san', 'lun', 'bing', 'cang', 'zi', 'shi', 'ta', 'zhang', 'fu', 'xian', 'xian', 'tuo', 'hong', 'tong', 'ren', 'qian',
0xE0 => 'gan', 'ge', 'bo', 'dai', 'ling', 'yi', 'chao', 'chang', 'sa', 'shang', 'yi', 'mu', 'men', 'ren', 'jia', 'chao',
0xF0 => 'yang', 'qian', 'zhong', 'pi', 'wo', 'wu', 'jian', 'jia', 'yao', 'feng', 'cang', 'ren', 'wang', 'fen', 'di', 'fang',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x4f.php b/core/lib/Drupal/Component/Transliteration/data/x4f.php
index 01144a5..ee4723b 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x4f.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x4f.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'zhong', 'qi', 'pei', 'yu', 'diao', 'dun', 'wu', 'yi', 'xin', 'kang', 'yi', 'ji', 'ai', 'wu', 'ji', 'fu',
0x10 => 'fa', 'xiu', 'jin', 'pi', 'dan', 'fu', 'tang', 'zhong', 'you', 'huo', 'hui', 'yu', 'cui', 'chuan', 'san', 'wei',
0x20 => 'chuan', 'che', 'ya', 'xian', 'shang', 'chang', 'lun', 'cang', 'xun', 'xin', 'wei', 'zhu', 'ze', 'xian', 'nu', 'bo',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'li', 'yong', 'hun', 'jing', 'qian', 'san', 'pei', 'su', 'fu', 'xi', 'li', 'fu', 'ping', 'bao', 'yu', 'qi',
0xE0 => 'xia', 'xin', 'xiu', 'yu', 'di', 'che', 'chou', 'zhi', 'yan', 'lia', 'li', 'lai', 'si', 'jian', 'xiu', 'fu',
0xF0 => 'huo', 'ju', 'xiao', 'pai', 'jian', 'biao', 'chu', 'fei', 'feng', 'ya', 'an', 'bei', 'yu', 'xin', 'bi', 'hu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x50.php b/core/lib/Drupal/Component/Transliteration/data/x50.php
index f3e3e53..1fd5d9d 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x50.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x50.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'chang', 'zhi', 'bing', 'jiu', 'yao', 'cui', 'lia', 'wan', 'lai', 'cang', 'zong', 'ge', 'guan', 'bei', 'tian', 'shu',
0x10 => 'shu', 'men', 'dao', 'tan', 'jue', 'chui', 'xing', 'peng', 'tang', 'hou', 'yi', 'qi', 'ti', 'gan', 'jing', 'jie',
0x20 => 'sui', 'chang', 'jie', 'fang', 'zhi', 'kong', 'juan', 'zong', 'ju', 'qian', 'ni', 'lun', 'zhuo', 'wo', 'luo', 'song',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'shan', 'qiao', 'jiong', 'tui', 'zun', 'pu', 'xi', 'lao', 'chang', 'guang', 'liao', 'qi', 'cheng', 'chan', 'wei', 'ji',
0xE0 => 'bo', 'hui', 'chuan', 'tie', 'dan', 'jiao', 'jiu', 'seng', 'fen', 'xian', 'ju', 'e', 'jiao', 'jian', 'tong', 'lin',
0xF0 => 'bo', 'gu', 'xian', 'su', 'xian', 'jiang', 'min', 'ye', 'jin', 'jia', 'qiao', 'pi', 'feng', 'zhou', 'ai', 'sai',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x51.php b/core/lib/Drupal/Component/Transliteration/data/x51.php
index 3f00d5a..f5ad008 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x51.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x51.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'yi', 'jun', 'nong', 'chan', 'yi', 'dang', 'jing', 'xuan', 'kuai', 'jian', 'chu', 'dan', 'jiao', 'sha', 'zai', 'can',
0x10 => 'bin', 'an', 'ru', 'tai', 'chou', 'chai', 'lan', 'ni', 'jin', 'qian', 'meng', 'wu', 'ning', 'qiong', 'ni', 'chang',
0x20 => 'lie', 'lei', 'lu', 'kuang', 'bao', 'yu', 'biao', 'zan', 'zhi', 'si', 'you', 'hao', 'chen', 'chen', 'li', 'teng',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'yin', 'cou', 'yi', 'li', 'chuang', 'ming', 'zhun', 'cui', 'si', 'duo', 'jin', 'lin', 'lin', 'ning', 'xi', 'du',
0xE0 => 'ji', 'fan', 'fan', 'fan', 'feng', 'ju', 'chu', 'zheng', 'feng', 'mu', 'zhi', 'fu', 'feng', 'ping', 'feng', 'kai',
0xF0 => 'huang', 'kai', 'gan', 'deng', 'ping', 'qian', 'xiong', 'kuai', 'tu', 'ao', 'chu', 'ji', 'dang', 'han', 'han', 'zao',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x52.php b/core/lib/Drupal/Component/Transliteration/data/x52.php
index c09eddd..a3df0ee 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x52.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x52.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'dao', 'diao', 'dao', 'ren', 'ren', 'chuang', 'fen', 'qie', 'yi', 'ji', 'kan', 'qian', 'cun', 'chu', 'wen', 'ji',
0x10 => 'dan', 'xing', 'hua', 'wan', 'jue', 'li', 'yue', 'lie', 'liu', 'ze', 'gang', 'chuang', 'fu', 'chu', 'qu', 'ju',
0x20 => 'shan', 'min', 'ling', 'zhong', 'pan', 'bie', 'jie', 'jie', 'pao', 'li', 'shan', 'bie', 'chan', 'jing', 'gua', 'geng',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'meng', 'chi', 'lei', 'kai', 'mian', 'dong', 'xu', 'xu', 'kan', 'wu', 'yi', 'xun', 'weng', 'sheng', 'lao', 'mu',
0xE0 => 'lu', 'piao', 'shi', 'ji', 'qin', 'jiang', 'chao', 'quan', 'xiang', 'yi', 'jue', 'fan', 'juan', 'tong', 'ju', 'dan',
0xF0 => 'xie', 'mai', 'xun', 'xun', 'lu', 'li', 'che', 'rang', 'quan', 'bao', 'shao', 'yun', 'jiu', 'bao', 'gou', 'wu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x53.php b/core/lib/Drupal/Component/Transliteration/data/x53.php
index 0af1ffc..bee5a96 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x53.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x53.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'yun', 'wen', 'bi', 'gai', 'gai', 'bao', 'cong', 'yi', 'xiong', 'peng', 'ju', 'tao', 'ge', 'pu', 'e', 'pao',
0x10 => 'fu', 'gong', 'da', 'jiu', 'qiong', 'bi', 'hua', 'bei', 'nao', 'shi', 'fang', 'jiu', 'yi', 'za', 'jiang', 'kang',
0x20 => 'jiang', 'kuang', 'hu', 'xia', 'qu', 'bian', 'gui', 'qie', 'zang', 'kuang', 'fei', 'hu', 'yu', 'gui', 'kui', 'hui',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ba', 'fa', 'ruo', 'shi', 'shu', 'zhuo', 'qu', 'shou', 'bian', 'xu', 'jia', 'pan', 'sou', 'gao', 'wei', 'sou',
0xE0 => 'die', 'rui', 'cong', 'kou', 'gu', 'ju', 'ling', 'gua', 'dao', 'kou', 'zhi', 'jiao', 'zhao', 'ba', 'ding', 'ke',
0xF0 => 'tai', 'chi', 'shi', 'you', 'qiu', 'po', 'ye', 'hao', 'si', 'tan', 'chi', 'le', 'diao', 'ji', 'liao', 'hong',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x54.php b/core/lib/Drupal/Component/Transliteration/data/x54.php
index 85b0476..ae03398 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x54.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x54.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'mie', 'xu', 'mang', 'chi', 'ge', 'xuan', 'yao', 'zi', 'he', 'ji', 'diao', 'cun', 'tong', 'ming', 'hou', 'li',
0x10 => 'tu', 'xiang', 'zha', 'xia', 'ye', 'lu', 'ya', 'ma', 'ou', 'huo', 'yi', 'jun', 'chou', 'lin', 'tun', 'yin',
0x20 => 'fei', 'bi', 'qin', 'qin', 'jie', 'bu', 'fou', 'ba', 'dun', 'fen', 'e', 'han', 'ting', 'keng', 'shun', 'qi',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'kuang', 'ya', 'da', 'xiao', 'bi', 'hui', 'nian', 'hua', 'xing', 'kuai', 'duo', 'fen', 'ji', 'nong', 'mou', 'yo',
0xE0 => 'hao', 'yuan', 'long', 'pou', 'mang', 'ge', 'o', 'chi', 'shao', 'li', 'na', 'zu', 'he', 'ku', 'xiao', 'xian',
0xF0 => 'lao', 'bo', 'zhe', 'zha', 'liang', 'ba', 'mie', 'lie', 'sui', 'fu', 'bu', 'han', 'heng', 'geng', 'shuo', 'ge',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x55.php b/core/lib/Drupal/Component/Transliteration/data/x55.php
index 3f16ee5..af2d777 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x55.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x55.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'you', 'yan', 'gu', 'gu', 'bei', 'han', 'suo', 'chun', 'yi', 'ai', 'jia', 'tu', 'xian', 'wan', 'li', 'xi',
0x10 => 'tang', 'zuo', 'qiu', 'che', 'wu', 'zao', 'ya', 'dou', 'qi', 'di', 'qin', 'ma', 'mo', 'gong', 'dou', 'qu',
0x20 => 'lao', 'liang', 'suo', 'zao', 'huan', 'lang', 'sha', 'ji', 'zuo', 'wo', 'feng', 'jin', 'hu', 'qi', 'shou', 'wei',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'hai', 'ke', 'da', 'sang', 'chen', 'ru', 'sou', 'wa', 'ji', 'pang', 'wu', 'qian', 'shi', 'ge', 'zi', 'jie',
0xE0 => 'luo', 'weng', 'wa', 'si', 'chi', 'hao', 'suo', 'Jia ', 'hai', 'suo', 'qin', 'nie', 'he', 'zhi', 'sai', 'n',
0xF0 => 'ge', 'na', 'dia', 'ai', 'qiang', 'tong', 'bi', 'ao', 'ao', 'lian', 'zui', 'zhe', 'mo', 'sou', 'sou', 'tan',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x56.php b/core/lib/Drupal/Component/Transliteration/data/x56.php
index 8f34d3c..3d35d44 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x56.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x56.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'di', 'qi', 'jiao', 'chong', 'jiao', 'kai', 'tan', 'shan', 'cao', 'jia', 'ai', 'xiao', 'piao', 'lou', 'ga', 'gu',
0x10 => 'xiao', 'hu', 'hui', 'guo', 'ou', 'xian', 'ze', 'chang', 'xu', 'po', 'de', 'ma', 'ma', 'hu', 'lei', 'du',
0x20 => 'ga', 'tang', 'ye', 'beng', 'ying', 'sai', 'jiao', 'mi', 'xiao', 'hua', 'mai', 'ran', 'chuai', 'peng', 'lao', 'xiao',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'za', 'zhu', 'lan', 'nie', 'nang', 'lan', 'lo', 'wei', 'hui', 'yin', 'qiu', 'si', 'nin', 'jian', 'hui', 'xin',
0xE0 => 'yin', 'nan', 'tuan', 'tuan', 'dun', 'kang', 'yuan', 'jiong', 'pian', 'yun', 'cong', 'hu', 'hui', 'yuan', 'e', 'guo',
0xF0 => 'kun', 'cong', 'tong', 'tu', 'wei', 'lun', 'guo', 'qun', 'ri', 'ling', 'gu', 'guo', 'tai', 'guo', 'tu', 'you',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x57.php b/core/lib/Drupal/Component/Transliteration/data/x57.php
index 7983c7a..f337892 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x57.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x57.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'guo', 'yin', 'hun', 'pu', 'yu', 'han', 'yuan', 'lun', 'quan', 'yu', 'qing', 'guo', 'chuan', 'wei', 'yuan', 'quan',
0x10 => 'ku', 'fu', 'yuan', 'yuan', 'ya', 'tu', 'tu', 'tu', 'tuan', 'lue', 'hui', 'yi', 'huan', 'luan', 'luan', 'tu',
0x20 => 'ya', 'tu', 'ting', 'sheng', 'pu', 'lu', 'kuai', 'ya', 'zai', 'wei', 'ge', 'yu', 'wu', 'gui', 'pi', 'yi',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'jin', 'zhe', 'lie', 'lie', 'bu', 'cheng', 'hua', 'bu', 'shi', 'xun', 'guo', 'jiong', 'ye', 'nian', 'di', 'yu',
0xE0 => 'bu', 'ya', 'quan', 'sui', 'pi', 'qing', 'wan', 'ju', 'lun', 'zheng', 'kong', 'chong', 'dong', 'dai', 'tan', 'an',
0xF0 => 'cai', 'chu', 'beng', 'kan', 'zhi', 'duo', 'yi', 'zhi', 'yi', 'pei', 'ji', 'zhun', 'qi', 'sao', 'ju', 'ni',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x58.php b/core/lib/Drupal/Component/Transliteration/data/x58.php
index 73a217c..1e62555 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x58.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x58.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ku', 'ke', 'tang', 'kun', 'ni', 'jian', 'dui', 'jin', 'gang', 'yu', 'e', 'peng', 'gu', 'tu', 'leng', 'fang',
0x10 => 'ya', 'qian', 'kun', 'an', 'shen', 'duo', 'nao', 'tu', 'cheng', 'yin', 'hun', 'bi', 'lian', 'guo', 'die', 'zhuan',
0x20 => 'hou', 'bao', 'bao', 'yu', 'di', 'mao', 'jie', 'ruan', 'ye', 'geng', 'kan', 'zong', 'yu', 'huang', 'e', 'yao',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'xi', 'he', 'ai', 'ya', 'dao', 'hao', 'ruan', 'jin', 'lei', 'kuang', 'lu', 'yan', 'tan', 'wei', 'huai', 'long',
0xE0 => 'long', 'rui', 'li', 'lin', 'rang', 'chan', 'xun', 'yan', 'lei', 'ba', 'wan', 'shi', 'ren', 'san', 'zhuang', 'zhuang',
0xF0 => 'sheng', 'yi', 'mai', 'ke', 'zhu', 'zhuang', 'hu', 'hu', 'kun', 'yi', 'hu', 'xu', 'kun', 'shou', 'mang', 'zun',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x59.php b/core/lib/Drupal/Component/Transliteration/data/x59.php
index 5755e53..5df464c 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x59.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x59.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'shou', 'yi', 'zhi', 'gu', 'chu', 'jiang', 'feng', 'bei', 'zhai', 'bian', 'sui', 'qun', 'ling', 'fu', 'cuo', 'xia',
0x10 => 'xiong', 'xie', 'nao', 'xia', 'kui', 'xi', 'wai', 'yuan', 'mao', 'su', 'duo', 'duo', 'ye', 'qing', 'wai', 'gou',
0x20 => 'gou', 'qi', 'meng', 'meng', 'yin', 'huo', 'chen', 'da', 'ze', 'tian', 'tai', 'fu', 'guai', 'yao', 'yang', 'hang',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'jie', 'gu', 'si', 'xing', 'wei', 'zi', 'ju', 'shan', 'pin', 'ren', 'yao', 'dong', 'jiang', 'shu', 'ji', 'gai',
0xE0 => 'xiang', 'hua', 'juan', 'jiao', 'gou', 'lao', 'jian', 'jian', 'yi', 'nian', 'zhi', 'ji', 'ji', 'xian', 'heng', 'guang',
0xF0 => 'jun', 'kua', 'yan', 'ming', 'lie', 'pei', 'e', 'you', 'yan', 'cha', 'shen', 'yin', 'shi', 'gui', 'quan', 'zi',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x5a.php b/core/lib/Drupal/Component/Transliteration/data/x5a.php
index 306fce9..49b18ae 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x5a.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x5a.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'song', 'wei', 'hong', 'wa', 'lou', 'ya', 'rao', 'jiao', 'luan', 'ping', 'xian', 'shao', 'li', 'cheng', 'xie', 'mang',
0x10 => 'fu', 'suo', 'mei', 'wei', 'ke', 'chuo', 'chuo', 'ting', 'niang', 'xing', 'nan', 'yu', 'na', 'pou', 'nei', 'juan',
0x20 => 'shen', 'zhi', 'han', 'di', 'zhuang', 'e', 'pin', 'tui', 'xian', 'mian', 'wu', 'yan', 'wu', 'ai', 'yan', 'yu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'nao', 'bao', 'ai', 'pi', 'pin', 'yi', 'piao', 'yu', 'lei', 'xuan', 'man', 'yi', 'zhang', 'kang', 'yong', 'ni',
0xE0 => 'li', 'di', 'gui', 'yan', 'jin', 'zhuan', 'chang', 'ze', 'han', 'nen', 'lao', 'mo', 'zhe', 'hu', 'hu', 'ao',
0xF0 => 'nen', 'qiang', 'ma', 'pie', 'gu', 'wu', 'qiao', 'tuo', 'zhan', 'mao', 'xian', 'xian', 'mo', 'liao', 'lian', 'hua',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x5b.php b/core/lib/Drupal/Component/Transliteration/data/x5b.php
index 8f6c4ad..0c6a1b4 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x5b.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x5b.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'gui', 'deng', 'zhi', 'xu', 'yi', 'hua', 'xi', 'kui', 'rao', 'xi', 'yan', 'chan', 'jiao', 'mei', 'fan', 'fan',
0x10 => 'xian', 'yi', 'hui', 'jiao', 'fu', 'shi', 'bi', 'shan', 'sui', 'qiang', 'lian', 'huan', 'xin', 'niao', 'dong', 'yi',
0x20 => 'can', 'ai', 'niang', 'ning', 'ma', 'tiao', 'chou', 'jin', 'ci', 'yu', 'pin', 'rong', 'ru', 'nai', 'yan', 'tai',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'mei', 'qin', 'han', 'yu', 'shi', 'ning', 'jin', 'ning', 'zhi', 'yu', 'bao', 'kuan', 'ning', 'qin', 'mo', 'cha',
0xE0 => 'ju', 'gua', 'qin', 'hu', 'wu', 'liao', 'shi', 'ning', 'zhai', 'shen', 'wei', 'xie', 'kuan', 'hui', 'liao', 'jun',
0xF0 => 'huan', 'yi', 'yi', 'bao', 'qin', 'chong', 'bao', 'feng', 'cun', 'dui', 'si', 'xun', 'dao', 'lu', 'dui', 'shou',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x5c.php b/core/lib/Drupal/Component/Transliteration/data/x5c.php
index a4173f2..fd28352 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x5c.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x5c.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'po', 'feng', 'zhuan', 'fu', 'she', 'ke', 'jiang', 'jiang', 'zhuan', 'wei', 'zun', 'xun', 'shu', 'dui', 'dao', 'xiao',
0x10 => 'jie', 'shao', 'er', 'er', 'er', 'ga', 'jian', 'shu', 'chen', 'shang', 'shang', 'mo', 'ga', 'chang', 'liao', 'xian',
0x20 => 'xian', 'kun', 'you', 'wang', 'you', 'liao', 'liao', 'yao', 'mang', 'wang', 'wang', 'wang', 'ga', 'yao', 'duo', 'kui',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'gai', 'quan', 'dong', 'yi', 'mu', 'shi', 'an', 'wei', 'huan', 'zhi', 'mi', 'li', 'ji', 'tong', 'wei', 'you',
0xE0 => 'gu', 'xia', 'li', 'yao', 'jiao', 'zheng', 'luan', 'jiao', 'e', 'e', 'yu', 'xie', 'bu', 'qiao', 'qun', 'feng',
0xF0 => 'feng', 'nao', 'li', 'you', 'xian', 'hong', 'dao', 'shen', 'cheng', 'tu', 'geng', 'jun', 'hao', 'xia', 'yin', 'yu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x5d.php b/core/lib/Drupal/Component/Transliteration/data/x5d.php
index f6e5415..bfa89e1 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x5d.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x5d.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'lang', 'kan', 'lao', 'lai', 'xian', 'que', 'kong', 'chong', 'chong', 'ta', 'lin', 'hua', 'ju', 'lai', 'qi', 'min',
0x10 => 'kun', 'kun', 'zu', 'gu', 'cui', 'ya', 'ya', 'gang', 'lun', 'lun', 'leng', 'jue', 'duo', 'zheng', 'guo', 'yin',
0x20 => 'dong', 'han', 'zheng', 'wei', 'xiao', 'pi', 'yan', 'song', 'jie', 'beng', 'zu', 'ku', 'dong', 'zhan', 'gu', 'yin',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'chao', 'cuan', 'luan', 'dian', 'dian', 'nie', 'yan', 'yan', 'yan', 'kui', 'yan', 'chuan', 'kuai', 'chuan', 'zhou', 'huang',
0xE0 => 'jing', 'xun', 'chao', 'chao', 'lie', 'gong', 'zuo', 'qiao', 'ju', 'gong', 'ju', 'wu', 'pu', 'pu', 'cha', 'qiu',
0xF0 => 'qiu', 'ji', 'yi', 'si', 'ba', 'zhi', 'zhao', 'xiang', 'yi', 'jin', 'xun', 'juan', 'ba', 'xun', 'jin', 'fu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x5e.php b/core/lib/Drupal/Component/Transliteration/data/x5e.php
index 75c829d..5d02629 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x5e.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x5e.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'za', 'bi', 'shi', 'bu', 'ding', 'shuai', 'fan', 'nie', 'shi', 'fen', 'pa', 'zhi', 'xi', 'hu', 'dan', 'wei',
0x10 => 'zhang', 'tang', 'dai', 'mo', 'pei', 'pa', 'tie', 'bo', 'lian', 'zhi', 'zhou', 'bo', 'zhi', 'di', 'mo', 'yi',
0x20 => 'yi', 'ping', 'qia', 'juan', 'ru', 'shuai', 'dai', 'zheng', 'shui', 'qiao', 'zhen', 'shi', 'qun', 'xi', 'bang', 'dai',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'jiu', 'jin', 'ao', 'kuo', 'lou', 'yin', 'liao', 'dai', 'lu', 'yi', 'chu', 'chan', 'tu', 'si', 'xin', 'miao',
0xE0 => 'chang', 'wu', 'fei', 'guang', 'ku', 'kuai', 'bi', 'qiang', 'xie', 'lin', 'lin', 'liao', 'lu', 'ji', 'ying', 'xian',
0xF0 => 'ting', 'yong', 'li', 'ting', 'yin', 'xun', 'yan', 'ting', 'di', 'pai', 'jian', 'hui', 'nai', 'hui', 'gong', 'nian',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x5f.php b/core/lib/Drupal/Component/Transliteration/data/x5f.php
index 675ad3e..25fe4ac 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x5f.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x5f.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'kai', 'bian', 'yi', 'qi', 'nong', 'fen', 'ju', 'yan', 'yi', 'zang', 'bi', 'yi', 'yi', 'er', 'san', 'shi',
0x10 => 'er', 'shi', 'shi', 'gong', 'diao', 'yin', 'hu', 'fu', 'hong', 'wu', 'tui', 'chi', 'jiang', 'ba', 'shen', 'di',
0x20 => 'zhang', 'jue', 'tao', 'fu', 'di', 'mi', 'xian', 'hu', 'chao', 'nu', 'jing', 'zhen', 'yi', 'mi', 'quan', 'wan',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'tan', 'te', 'te', 'gan', 'qi', 'shi', 'cun', 'zhi', 'wang', 'mang', 'xi', 'fan', 'ying', 'tian', 'min', 'wen',
0xE0 => 'zhong', 'chong', 'wu', 'ji', 'wu', 'xi', 'jia', 'you', 'wan', 'cong', 'song', 'kuai', 'yu', 'bian', 'zhi', 'qi',
0xF0 => 'cui', 'chen', 'tai', 'tun', 'qian', 'nian', 'hun', 'xiong', 'niu', 'kuang', 'xian', 'xin', 'kang', 'hu', 'kai', 'fen',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x60.php b/core/lib/Drupal/Component/Transliteration/data/x60.php
index 8186748..27467cc 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x60.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x60.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'huai', 'tai', 'song', 'wu', 'ou', 'chang', 'chuang', 'ju', 'yi', 'bao', 'chao', 'min', 'pei', 'zuo', 'zen', 'yang',
0x10 => 'ju', 'ban', 'nu', 'nao', 'zheng', 'pa', 'bu', 'tie', 'hu', 'hu', 'ju', 'da', 'lian', 'si', 'chou', 'di',
0x20 => 'dai', 'yi', 'tu', 'you', 'fu', 'ji', 'peng', 'xing', 'yuan', 'ni', 'guai', 'fu', 'xi', 'bi', 'you', 'qie',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'yu', 'huo', 'he', 'quan', 'tan', 'ti', 'ti', 'nie', 'wang', 'chuo', 'hu', 'hun', 'xi', 'chang', 'xin', 'wei',
0xE0 => 'hui', 'e', 'suo', 'zong', 'jian', 'yong', 'dian', 'ju', 'can', 'cheng', 'de', 'bei', 'qie', 'can', 'dan', 'guan',
0xF0 => 'duo', 'nao', 'yun', 'xiang', 'zhui', 'die', 'huang', 'chun', 'qiong', 're', 'xing', 'ce', 'bian', 'min', 'zong', 'ti',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x61.php b/core/lib/Drupal/Component/Transliteration/data/x61.php
index 21b7a80..9890aff 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x61.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x61.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'qiao', 'chou', 'bei', 'xuan', 'wei', 'ge', 'qian', 'wei', 'yu', 'yu', 'bi', 'xuan', 'huan', 'min', 'bi', 'yi',
0x10 => 'mian', 'yong', 'kai', 'dang', 'yin', 'e', 'chen', 'mao', 'qia', 'ke', 'yu', 'ai', 'qie', 'yan', 'nuo', 'gan',
0x20 => 'yun', 'zong', 'sai', 'leng', 'fen', 'ying', 'kui', 'kui', 'que', 'gong', 'yun', 'su', 'su', 'qi', 'yao', 'song',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'huai', 'men', 'lan', 'ai', 'lin', 'yan', 'kuo', 'xia', 'chi', 'yu', 'yin', 'dai', 'meng', 'ai', 'meng', 'dui',
0xE0 => 'qi', 'mo', 'lan', 'men', 'chou', 'zhi', 'nuo', 'nuo', 'yan', 'yang', 'bo', 'zhi', 'kuang', 'kuang', 'you', 'fu',
0xF0 => 'liu', 'mie', 'cheng', 'hui', 'chan', 'meng', 'lan', 'huai', 'xuan', 'rang', 'chan', 'ji', 'ju', 'huan', 'she', 'yi',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x62.php b/core/lib/Drupal/Component/Transliteration/data/x62.php
index 0de5674..9f2315b 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x62.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x62.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'lian', 'nan', 'mi', 'tang', 'jue', 'gang', 'gang', 'zhuang', 'ge', 'yue', 'wu', 'jian', 'xu', 'shu', 'rong', 'xi',
0x10 => 'cheng', 'wo', 'jie', 'ge', 'jian', 'qiang', 'huo', 'qiang', 'zhan', 'dong', 'qi', 'jia', 'die', 'zei', 'jia', 'ji',
0x20 => 'zhi', 'kan', 'ji', 'kui', 'gai', 'deng', 'zhan', 'qiang', 'ge', 'jian', 'jie', 'yu', 'jian', 'yan', 'lu', 'hu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'guai', 'qian', 'ju', 'ta', 'ba', 'tuo', 'tuo', 'ao', 'ju', 'zhuo', 'pan', 'zhao', 'bai', 'bai', 'di', 'ni',
0xE0 => 'ju', 'kuo', 'long', 'jian', 'qia', 'yong', 'lan', 'ning', 'bo', 'ze', 'qian', 'hen', 'kuo', 'shi', 'jie', 'zheng',
0xF0 => 'nin', 'gong', 'gong', 'quan', 'shuan', 'cun', 'za', 'kao', 'yi', 'xie', 'ce', 'hui', 'pin', 'zhuai', 'shi', 'na',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x63.php b/core/lib/Drupal/Component/Transliteration/data/x63.php
index 9108c93..e74aa0f 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x63.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x63.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'bai', 'chi', 'gua', 'zhi', 'kuo', 'duo', 'duo', 'zhi', 'qie', 'an', 'nong', 'zhen', 'ge', 'jiao', 'kua', 'dong',
0x10 => 'na', 'tiao', 'lie', 'zha', 'lu', 'die', 'wa', 'jue', 'lie', 'ju', 'zhi', 'luan', 'ya', 'wo', 'ta', 'xie',
0x20 => 'nao', 'dang', 'jiao', 'zheng', 'ji', 'hui', 'xian', 'yu', 'ai', 'tuo', 'nuo', 'cuo', 'bo', 'geng', 'ti', 'zhen',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ti', 'nie', 'cha', 'shi', 'zong', 'zhen', 'yi', 'xun', 'yong', 'bian', 'yang', 'huan', 'yan', 'zan', 'an', 'xu',
0xE0 => 'ya', 'wo', 'ke', 'chuai', 'ji', 'ti', 'la', 'la', 'chen', 'kai', 'jiu', 'jiu', 'tu', 'jie', 'hui', 'gen',
0xF0 => 'chong', 'xiao', 'die', 'xie', 'yuan', 'qian', 'ye', 'cha', 'zha', 'bei', 'yao', 'wei', 'beng', 'lan', 'wen', 'qin',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x64.php b/core/lib/Drupal/Component/Transliteration/data/x64.php
index 68f1e05..29e7caa 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x64.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x64.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'chan', 'ge', 'lou', 'zong', 'geng', 'jiao', 'gou', 'qin', 'rong', 'que', 'chou', 'chuai', 'zhan', 'sun', 'sun', 'bo',
0x10 => 'chu', 'rong', 'bang', 'cuo', 'sao', 'ke', 'yao', 'dao', 'zhi', 'nu', 'la', 'jian', 'sou', 'qiu', 'gao', 'xian',
0x20 => 'shuo', 'sang', 'jin', 'mie', 'e', 'chui', 'nuo', 'shan', 'ta', 'zha', 'tang', 'pan', 'ban', 'da', 'li', 'tao',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'huan', 'jie', 'qin', 'kuai', 'dan', 'xie', 'ka', 'pi', 'bai', 'ao', 'ju', 'ye', 'e', 'meng', 'sou', 'mi',
0xE0 => 'ji', 'tai', 'zhuo', 'dao', 'xing', 'lan', 'ca', 'ju', 'ye', 'ru', 'ye', 'ye', 'ni', 'wo', 'ji', 'bin',
0xF0 => 'ning', 'ge', 'zhi', 'zhi', 'kuo', 'mo', 'jian', 'xie', 'lie', 'tan', 'bai', 'sou', 'lu', 'lue', 'rao', 'ti',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x65.php b/core/lib/Drupal/Component/Transliteration/data/x65.php
index ff100d4..f8b74f8 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x65.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x65.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'pan', 'yang', 'lei', 'ca', 'shu', 'zan', 'nian', 'xian', 'jun', 'huo', 'li', 'la', 'huan', 'ying', 'lu', 'long',
0x10 => 'qian', 'qian', 'zan', 'qian', 'lan', 'xian', 'ying', 'mei', 'rang', 'chan', 'ying', 'cuan', 'xie', 'she', 'luo', 'jun',
0x20 => 'mi', 'li', 'zan', 'luan', 'tan', 'zuan', 'li', 'dian', 'wa', 'dang', 'jiao', 'jue', 'lan', 'li', 'nang', 'zhi',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'zhao', 'yi', 'liu', 'shao', 'jian', 'yu', 'yi', 'qi', 'zhi', 'fan', 'piao', 'fan', 'zhan', 'kuai', 'sui', 'yu',
0xE0 => 'wu', 'ji', 'ji', 'ji', 'huo', 'ri', 'dan', 'jiu', 'zhi', 'zao', 'xie', 'tiao', 'xun', 'xu', 'ga', 'la',
0xF0 => 'gan', 'han', 'tai', 'di', 'xu', 'chan', 'shi', 'kuang', 'yang', 'shi', 'wang', 'min', 'min', 'tun', 'chun', 'wu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x66.php b/core/lib/Drupal/Component/Transliteration/data/x66.php
index edebef0..23aa7d4 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x66.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x66.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'yun', 'bei', 'ang', 'ze', 'ban', 'jie', 'kun', 'sheng', 'hu', 'fang', 'hao', 'gui', 'chang', 'xuan', 'ming', 'hun',
0x10 => 'fen', 'qin', 'hu', 'yi', 'xi', 'xin', 'yan', 'ze', 'fang', 'tan', 'shen', 'ju', 'yang', 'zan', 'bing', 'xing',
0x20 => 'ying', 'xuan', 'po', 'zhen', 'ling', 'chun', 'hao', 'mei', 'zuo', 'mo', 'bian', 'xu', 'hun', 'zhao', 'zong', 'shi',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'xing', 'shen', 'jiao', 'bao', 'jing', 'yan', 'ai', 'ye', 'ru', 'shu', 'meng', 'xun', 'yao', 'pu', 'li', 'chen',
0xE0 => 'kuang', 'die', 'liao', 'yan', 'huo', 'lu', 'xi', 'rong', 'long', 'nang', 'luo', 'luan', 'shai', 'tang', 'yan', 'zhu',
0xF0 => 'yue', 'yue', 'qu', 'ye', 'geng', 'ye', 'hu', 'he', 'shu', 'cao', 'cao', 'sheng', 'man', 'ceng', 'ceng', 'ti',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x67.php b/core/lib/Drupal/Component/Transliteration/data/x67.php
index d0e5d1a..2b5e33f 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x67.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x67.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'zui', 'can', 'xu', 'hui', 'yin', 'qie', 'fen', 'pi', 'yue', 'you', 'ruan', 'peng', 'fen', 'fu', 'ling', 'fei',
0x10 => 'qu', 'ti', 'nu', 'tiao', 'shuo', 'zhen', 'lang', 'lang', 'zui', 'ming', 'huang', 'wang', 'tun', 'chao', 'ji', 'qi',
0x20 => 'ying', 'zong', 'wang', 'tong', 'lang', 'lao', 'meng', 'long', 'mu', 'deng', 'wei', 'mo', 'ben', 'zha', 'shu', 'shu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'mou', 'gan', 'qi', 'ran', 'rou', 'mao', 'shao', 'song', 'zhe', 'xia', 'you', 'shen', 'gui', 'tuo', 'zha', 'nan',
0xE0 => 'ning', 'yong', 'di', 'zhi', 'zha', 'cha', 'dan', 'gu', 'bu', 'jiu', 'ao', 'fu', 'jian', 'ba', 'duo', 'ke',
0xF0 => 'nai', 'zhu', 'bi', 'liu', 'chai', 'shan', 'si', 'chu', 'pei', 'shi', 'guai', 'zha', 'yao', 'cheng', 'jiu', 'shi',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x68.php b/core/lib/Drupal/Component/Transliteration/data/x68.php
index 84f9447..39662ff 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x68.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x68.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'zhi', 'liu', 'mei', 'li', 'rong', 'zha', 'zao', 'biao', 'zhan', 'zhi', 'long', 'dong', 'lu', 'sheng', 'li', 'lan',
0x10 => 'yong', 'shu', 'xun', 'shuan', 'qi', 'zhen', 'qi', 'li', 'yi', 'xiang', 'zhen', 'li', 'se', 'gua', 'kan', 'ben',
0x20 => 'ren', 'xiao', 'bai', 'ren', 'bing', 'zi', 'chou', 'yi', 'ci', 'xu', 'zhu', 'jian', 'zui', 'er', 'er', 'you',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'fei', 'pai', 'bang', 'bang', 'hun', 'zong', 'cheng', 'zao', 'ji', 'li', 'peng', 'yu', 'yu', 'gu', 'jun', 'dong',
0xE0 => 'tang', 'gang', 'wang', 'di', 'cuo', 'fan', 'cheng', 'zhan', 'qi', 'yuan', 'yan', 'yu', 'quan', 'yi', 'sen', 'ren',
0xF0 => 'chui', 'leng', 'qi', 'zhuo', 'fu', 'ke', 'lai', 'zou', 'zou', 'zhao', 'guan', 'fen', 'fen', 'shen', 'qing', 'ni',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x69.php b/core/lib/Drupal/Component/Transliteration/data/x69.php
index fcc08f2..4d094cb 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x69.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x69.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'wan', 'guo', 'lu', 'hao', 'jie', 'yi', 'chou', 'ju', 'ju', 'cheng', 'zuo', 'liang', 'qiang', 'zhi', 'chui', 'ya',
0x10 => 'ju', 'bei', 'jiao', 'zhuo', 'zi', 'bin', 'peng', 'ding', 'chu', 'chang', 'men', 'hua', 'jian', 'gui', 'xi', 'du',
0x20 => 'qian', 'dao', 'gui', 'dian', 'luo', 'zhi', 'quan', 'ming', 'fu', 'geng', 'peng', 'zhan', 'yi', 'tuo', 'sen', 'duo',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'huai', 'mei', 'xu', 'gang', 'gao', 'zhuo', 'tuo', 'qiao', 'yang', 'dian', 'jia', 'kan', 'zui', 'dao', 'long', 'bin',
0xE0 => 'zhu', 'sang', 'xi', 'ji', 'lian', 'hui', 'yong', 'qian', 'guo', 'gai', 'gai', 'tuan', 'hua', 'qi', 'sen', 'cui',
0xF0 => 'peng', 'you', 'hu', 'jiang', 'hu', 'huan', 'gui', 'nie', 'yi', 'gao', 'kang', 'gui', 'gui', 'cao', 'man', 'jin',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x6a.php b/core/lib/Drupal/Component/Transliteration/data/x6a.php
index d5557b8..4a34fa6 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x6a.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x6a.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'di', 'zhuang', 'le', 'lang', 'chen', 'cong', 'li', 'xiu', 'qing', 'shuang', 'fan', 'tong', 'guan', 'ze', 'su', 'lei',
0x10 => 'lu', 'liang', 'mi', 'lou', 'chao', 'su', 'ke', 'chu', 'tang', 'biao', 'lu', 'jiu', 'zhe', 'zha', 'shu', 'zhang',
0x20 => 'man', 'mo', 'niao', 'yang', 'tiao', 'peng', 'zhu', 'sha', 'xi', 'quan', 'heng', 'jian', 'cong', 'ji', 'yan', 'qiang',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'lei', 'lei', 'sa', 'lu', 'li', 'cuan', 'lu', 'mie', 'hui', 'ou', 'lu', 'zhi', 'gao', 'du', 'yuan', 'li',
0xE0 => 'fei', 'zhuo', 'sou', 'lian', 'jiang', 'chu', 'qing', 'zhu', 'lu', 'yan', 'li', 'zhu', 'chen', 'jie', 'e', 'su',
0xF0 => 'huai', 'nie', 'yu', 'long', 'lai', 'jiao', 'xian', 'gui', 'ju', 'xiao', 'ling', 'ying', 'jian', 'yin', 'you', 'ying',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x6b.php b/core/lib/Drupal/Component/Transliteration/data/x6b.php
index 98dbdd1..0df0329 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x6b.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x6b.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'xiang', 'nong', 'bo', 'chan', 'lan', 'ju', 'shuang', 'she', 'wei', 'cong', 'quan', 'qu', 'cang', 'jiu', 'yu', 'luo',
0x10 => 'li', 'cuan', 'luan', 'dang', 'jue', 'yan', 'lan', 'lan', 'zhu', 'lei', 'li', 'ba', 'nang', 'yu', 'ling', 'guang',
0x20 => 'qian', 'ci', 'huan', 'xin', 'yu', 'yi', 'qian', 'ou', 'xu', 'chao', 'chu', 'qi', 'kai', 'yi', 'jue', 'xi',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ai', 'jie', 'du', 'yu', 'bi', 'bi', 'bi', 'pi', 'pi', 'bi', 'chan', 'mao', 'hao', 'cai', 'pi', 'lie',
0xE0 => 'jia', 'zhan', 'sai', 'mu', 'tuo', 'xun', 'er', 'rong', 'xian', 'ju', 'mu', 'hao', 'qiu', 'dou', 'sha', 'tan',
0xF0 => 'pei', 'ju', 'duo', 'cui', 'bi', 'san', 'san', 'mao', 'sai', 'shu', 'yu', 'tuo', 'he', 'jian', 'ta', 'san',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x6c.php b/core/lib/Drupal/Component/Transliteration/data/x6c.php
index 37501ff..52c6c42 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x6c.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x6c.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'lu', 'mu', 'mao', 'tong', 'rong', 'chang', 'pu', 'lu', 'zhan', 'sao', 'zhan', 'meng', 'lu', 'qu', 'die', 'shi',
0x10 => 'di', 'min', 'jue', 'mang', 'qi', 'pie', 'nai', 'qi', 'dao', 'xian', 'chuan', 'fen', 'yang', 'nei', 'bin', 'fu',
0x20 => 'shen', 'dong', 'qing', 'qi', 'yin', 'xi', 'hai', 'yang', 'an', 'ya', 'ke', 'qing', 'ya', 'dong', 'dan', 'lu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'le', 'you', 'gu', 'hong', 'gan', 'fa', 'mao', 'si', 'hu', 'ping', 'ci', 'fan', 'zhi', 'su', 'ning', 'cheng',
0xE0 => 'ling', 'pao', 'bo', 'qi', 'si', 'ni', 'ju', 'sa', 'zhu', 'sheng', 'lei', 'xuan', 'jue', 'fu', 'pan', 'min',
0xF0 => 'tai', 'yang', 'ji', 'yong', 'guan', 'beng', 'xue', 'long', 'lu', 'dan', 'luo', 'xie', 'po', 'ze', 'jing', 'yin',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x6d.php b/core/lib/Drupal/Component/Transliteration/data/x6d.php
index 7c0efb3..db01546 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x6d.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x6d.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'pan', 'jie', 'yi', 'hui', 'hui', 'zai', 'cheng', 'yin', 'wei', 'hou', 'jian', 'yang', 'lie', 'si', 'ji', 'er',
0x10 => 'xing', 'fu', 'sa', 'se', 'zhi', 'yin', 'wu', 'xi', 'kao', 'zhu', 'jiang', 'luo', 'luo', 'an', 'dong', 'ti',
0x20 => 'mou', 'lei', 'yi', 'mi', 'quan', 'jin', 'po', 'wei', 'xiao', 'xie', 'hong', 'xu', 'su', 'kuang', 'tao', 'qie',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'chang', 'shu', 'qi', 'fang', 'zhi', 'lu', 'nao', 'ju', 'tao', 'cong', 'lei', 'zhe', 'ping', 'fei', 'song', 'tian',
0xE0 => 'pi', 'dan', 'yu', 'ni', 'yu', 'lu', 'gan', 'mi', 'jing', 'ling', 'lun', 'yin', 'cui', 'qu', 'huai', 'yu',
0xF0 => 'nian', 'shen', 'biao', 'chun', 'hu', 'yuan', 'lai', 'hun', 'qing', 'yan', 'qian', 'tian', 'miao', 'zhi', 'yin', 'mi',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x6e.php b/core/lib/Drupal/Component/Transliteration/data/x6e.php
index 50c7e50..ea795fe 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x6e.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x6e.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ben', 'yuan', 'wen', 'ruo', 'fei', 'qing', 'yuan', 'ke', 'ji', 'she', 'yuan', 'se', 'lu', 'zi', 'du', 'qi',
0x10 => 'jian', 'mian', 'pi', 'xi', 'yu', 'yuan', 'shen', 'shen', 'rou', 'huan', 'zhu', 'jian', 'nuan', 'yu', 'qiu', 'ting',
0x20 => 'qu', 'du', 'fan', 'zha', 'bo', 'wo', 'wo', 'di', 'wei', 'wen', 'ru', 'xie', 'ce', 'wei', 'he', 'gang',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'jie', 'hua', 'ge', 'zi', 'tao', 'teng', 'sui', 'bi', 'jiao', 'hui', 'gun', 'yin', 'gao', 'long', 'zhi', 'yan',
0xE0 => 'she', 'man', 'ying', 'chun', 'lu', 'lan', 'luan', 'xiao', 'bin', 'tan', 'yu', 'xiu', 'hu', 'bi', 'biao', 'zhi',
0xF0 => 'jiang', 'kou', 'shen', 'shang', 'di', 'mi', 'ao', 'lu', 'hu', 'hu', 'you', 'chan', 'fan', 'yong', 'gun', 'man',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x6f.php b/core/lib/Drupal/Component/Transliteration/data/x6f.php
index bcb08f8..1b63e5c 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x6f.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x6f.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'qing', 'yu', 'piao', 'ji', 'ya', 'chao', 'qi', 'xi', 'ji', 'lu', 'lou', 'long', 'jin', 'guo', 'cong', 'lou',
0x10 => 'zhi', 'gai', 'qiang', 'li', 'yan', 'cao', 'jiao', 'cong', 'chun', 'tuan', 'ou', 'teng', 'ye', 'xi', 'mi', 'tang',
0x20 => 'mo', 'shang', 'han', 'lian', 'lan', 'wa', 'chi', 'gan', 'feng', 'xuan', 'yi', 'man', 'zi', 'mang', 'kang', 'luo',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'zhu', 'lai', 'bin', 'lian', 'mi', 'shi', 'shu', 'mi', 'ning', 'ying', 'ying', 'meng', 'jin', 'qi', 'bi', 'ji',
0xE0 => 'hao', 'ru', 'cui', 'wo', 'tao', 'yin', 'yin', 'dui', 'ci', 'huo', 'jing', 'lan', 'jun', 'ai', 'pu', 'zhuo',
0xF0 => 'wei', 'bin', 'gu', 'qian', 'ying', 'bin', 'kuo', 'fei', 'cang', 'me', 'jian', 'wei', 'luo', 'zan', 'lu', 'li',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x70.php b/core/lib/Drupal/Component/Transliteration/data/x70.php
index a04c26a..6b83772 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x70.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x70.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'you', 'yang', 'lu', 'si', 'zhi', 'ying', 'du', 'wang', 'hui', 'xie', 'pan', 'shen', 'biao', 'chan', 'mo', 'liu',
0x10 => 'jian', 'pu', 'se', 'cheng', 'gu', 'bin', 'huo', 'xian', 'lu', 'qin', 'han', 'ying', 'rong', 'li', 'jing', 'xiao',
0x20 => 'ying', 'sui', 'wei', 'xie', 'huai', 'xue', 'zhu', 'long', 'lai', 'dui', 'fan', 'hu', 'lai', 'shu', 'ling', 'ying',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'zhou', 'yao', 'shi', 'wei', 'tong', 'mie', 'zai', 'kai', 'hong', 'lao', 'xia', 'zhu', 'xuan', 'zheng', 'po', 'yan',
0xE0 => 'hui', 'guang', 'che', 'hui', 'kao', 'chen', 'fan', 'shao', 'ye', 'hui', NULL, 'tang', 'jin', 're', 'lie', 'xi',
0xF0 => 'fu', 'jiong', 'xie', 'pu', 'ting', 'zhuo', 'ting', 'wan', 'hai', 'peng', 'lang', 'yan', 'xu', 'feng', 'chi', 'rong',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x71.php b/core/lib/Drupal/Component/Transliteration/data/x71.php
index bec4af6..df33f2f 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x71.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x71.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'hu', 'xi', 'shu', 'he', 'xun', 'ku', 'juan', 'xiao', 'xi', 'yan', 'han', 'zhuang', 'jun', 'di', 'xie', 'ji',
0x10 => 'wu', 'yan', 'lu', 'han', 'yan', 'huan', 'men', 'ju', 'dao', 'bei', 'fen', 'lin', 'kun', 'hun', 'tun', 'xi',
0x20 => 'cui', 'wu', 'hong', 'chao', 'fu', 'wo', 'jiao', 'cong', 'feng', 'ping', 'qiong', 'ruo', 'xi', 'qiong', 'xin', 'chao',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'lin', 'tong', 'shao', 'fen', 'fan', 'yan', 'xun', 'lan', 'mei', 'tang', 'yi', 'jing', 'men', 'jing', 'jiao', 'ying',
0xE0 => 'yu', 'yi', 'xue', 'lan', 'tai', 'zao', 'can', 'sui', 'xi', 'que', 'cong', 'lian', 'hui', 'zhu', 'xie', 'ling',
0xF0 => 'wei', 'yi', 'xie', 'zhao', 'hui', 'da', 'nong', 'lan', 'ru', 'xian', 'kao', 'xun', 'jin', 'chou', 'dao', 'yao',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x72.php b/core/lib/Drupal/Component/Transliteration/data/x72.php
index bea999b..7a84a0c 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x72.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x72.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'he', 'lan', 'biao', 'rong', 'li', 'mo', 'bao', 'ruo', 'lu', 'la', 'ao', 'xun', 'kuang', 'shuo', 'liao', 'li',
0x10 => 'lu', 'jue', 'liao', 'yan', 'xi', 'xie', 'long', 'ye', 'can', 'rang', 'yue', 'lan', 'cong', 'jue', 'chong', 'guan',
0x20 => 'ju', 'che', 'mi', 'tang', 'lan', 'zhu', 'lan', 'ling', 'cuan', 'yu', 'zhao', 'zhao', 'pa', 'zheng', 'pao', 'cheng',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'hu', 'ling', 'fei', 'pi', 'ni', 'yao', 'you', 'gou', 'xue', 'ju', 'dan', 'bo', 'ku', 'xian', 'ning', 'huan',
0xE0 => 'hen', 'jiao', 'he', 'zhao', 'ji', 'xun', 'shan', 'ta', 'rong', 'shou', 'tong', 'lao', 'du', 'xia', 'shi', 'kuai',
0xF0 => 'zheng', 'yu', 'sun', 'yu', 'bi', 'mang', 'xi', 'juan', 'li', 'xia', 'yin', 'suan', 'lang', 'bei', 'zhi', 'yan',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x73.php b/core/lib/Drupal/Component/Transliteration/data/x73.php
index 237fe05..62f3521 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x73.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x73.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'sha', 'li', 'han', 'xian', 'jing', 'pai', 'fei', 'xiao', 'bai', 'qi', 'ni', 'biao', 'yin', 'lai', 'lie', 'jian',
0x10 => 'qiang', 'kun', 'yan', 'guo', 'zong', 'mi', 'chang', 'yi', 'zhi', 'zheng', 'ya', 'meng', 'cai', 'cu', 'she', 'lie',
0x20 => 'dian', 'luo', 'hu', 'zong', 'gui', 'wei', 'feng', 'wo', 'yuan', 'xing', 'zhu', 'mao', 'wei', 'chuan', 'xian', 'tuan',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'fa', 'long', 'jin', 'jiao', 'jian', 'li', 'guang', 'xian', 'zhou', 'gong', 'yan', 'xiu', 'yang', 'xu', 'luo', 'su',
0xE0 => 'zhu', 'qin', 'yin', 'xun', 'bao', 'er', 'xiang', 'yao', 'xia', 'hang', 'gui', 'chong', 'xu', 'ban', 'pei', 'lao',
0xF0 => 'dang', 'ying', 'hui', 'wen', 'e', 'cheng', 'di', 'wu', 'wu', 'cheng', 'jun', 'mei', 'bei', 'ting', 'xian', 'chu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x74.php b/core/lib/Drupal/Component/Transliteration/data/x74.php
index e94a71c..c7d14a4 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x74.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x74.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'han', 'xuan', 'yan', 'qiu', 'xuan', 'lang', 'li', 'xiu', 'fu', 'liu', 'ya', 'xi', 'ling', 'li', 'jin', 'lian',
0x10 => 'suo', 'suo', 'feng', 'wan', 'dian', 'pin', 'zhan', 'se', 'min', 'yu', 'ju', 'chen', 'lai', 'wen', 'sheng', 'wei',
0x20 => 'tian', 'chu', 'zuo', 'beng', 'cheng', 'hu', 'qi', 'e', 'kun', 'chang', 'qi', 'beng', 'wan', 'lu', 'cong', 'guan',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'lu', 'li', 'zan', 'lan', 'ying', 'mi', 'xiang', 'qiong', 'guan', 'dao', 'zan', 'huan', 'gua', 'bo', 'die', 'bo',
0xE0 => 'hu', 'zhi', 'piao', 'ban', 'rang', 'li', 'wa', 'Dekaguramu ', 'xiang', 'qian', 'ban', 'pen', 'fang', 'dan', 'weng', 'ou',
0xF0 => 'Deshiguramu ', 'Miriguramu ', 'wa', 'hu', 'ling', 'yi', 'ping', 'ci', 'bai', 'juan', 'chang', 'chi', 'Sarake ', 'dang', 'meng', 'bu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x75.php b/core/lib/Drupal/Component/Transliteration/data/x75.php
index fd88d44..5db5531 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x75.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x75.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'zhui', 'ping', 'bian', 'zhou', 'zhen', 'Senchigura ', 'ci', 'ying', 'qi', 'xian', 'lou', 'di', 'ou', 'meng', 'zhuan', 'beng',
0x10 => 'lin', 'zeng', 'wu', 'pi', 'dan', 'weng', 'ying', 'yan', 'gan', 'dai', 'shen', 'tian', 'tian', 'han', 'chang', 'sheng',
0x20 => 'qing', 'shen', 'chan', 'chan', 'rui', 'sheng', 'su', 'shen', 'yong', 'shuai', 'lu', 'fu', 'yong', 'beng', 'feng', 'ning',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'hui', 'tan', 'yang', 'chi', 'zhi', 'hen', 'ya', 'mei', 'dou', 'jing', 'xiao', 'tong', 'tu', 'mang', 'pi', 'xiao',
0xE0 => 'suan', 'fu', 'li', 'zhi', 'cuo', 'duo', 'wu', 'sha', 'lao', 'shou', 'huan', 'xian', 'yi', 'beng', 'zhang', 'guan',
0xF0 => 'tan', 'fei', 'ma', 'lin', 'chi', 'ji', 'tian', 'an', 'chi', 'bi', 'bi', 'min', 'gu', 'dui', 'e', 'wei',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x76.php b/core/lib/Drupal/Component/Transliteration/data/x76.php
index abfbd36..eb3eafa 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x76.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x76.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'yu', 'cui', 'ya', 'zhu', 'cu', 'dan', 'shen', 'zhong', 'chi', 'yu', 'hou', 'feng', 'la', 'yang', 'chen', 'tu',
0x10 => 'yu', 'guo', 'wen', 'huan', 'ku', 'jia', 'yin', 'yi', 'lou', 'sao', 'jue', 'chi', 'xi', 'guan', 'yi', 'wen',
0x20 => 'ji', 'chuang', 'ban', 'hui', 'liu', 'chai', 'shou', 'nue', 'dian', 'da', 'bie', 'tan', 'zhang', 'biao', 'shen', 'cu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'yan', 'jian', 'he', 'yu', 'kui', 'fan', 'gai', 'dao', 'pan', 'fu', 'qiu', 'sheng', 'dao', 'lu', 'zhan', 'meng',
0xE0 => 'li', 'jin', 'xu', 'jian', 'pan', 'guan', 'an', 'lu', 'xu', 'zhou', 'dang', 'an', 'gu', 'li', 'mu', 'ding',
0xF0 => 'gan', 'xu', 'mang', 'wang', 'zhi', 'qi', 'yuan', 'tian', 'xiang', 'dun', 'xin', 'xi', 'pan', 'feng', 'dun', 'min',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x77.php b/core/lib/Drupal/Component/Transliteration/data/x77.php
index 6a6c4b9..ecde8bb 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x77.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x77.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ming', 'sheng', 'shi', 'yun', 'mian', 'pan', 'fang', 'miao', 'dan', 'mei', 'mao', 'kan', 'xian', 'kou', 'shi', 'yang',
0x10 => 'zheng', 'yao', 'shen', 'huo', 'da', 'zhen', 'kuang', 'ju', 'shen', 'yi', 'sheng', 'mei', 'mo', 'zhu', 'zhen', 'zhen',
0x20 => 'mian', 'shi', 'yuan', 'die', 'ni', 'zi', 'zi', 'chao', 'zha', 'xuan', 'bing', 'mi', 'long', 'sui', 'tong', 'mi',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'huo', 'lu', 'meng', 'long', 'guan', 'man', 'xi', 'chu', 'tang', 'kan', 'zhu', 'mao', 'jin', 'lin', 'yu', 'shuo',
0xE0 => 'ze', 'jue', 'shi', 'yi', 'shen', 'zhi', 'hou', 'shen', 'ying', 'ju', 'zhou', 'jiao', 'cuo', 'duan', 'ai', 'jiao',
0xF0 => 'zeng', 'yue', 'ba', 'shi', 'ding', 'qi', 'ji', 'zi', 'gan', 'wu', 'zhe', 'ku', 'gang', 'xi', 'fan', 'kuang',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x78.php b/core/lib/Drupal/Component/Transliteration/data/x78.php
index b7e4041..c79005b 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x78.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x78.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'dang', 'ma', 'sha', 'dan', 'jue', 'li', 'fu', 'min', 'e', 'huo', 'kang', 'zhi', 'qi', 'kan', 'jie', 'bin',
0x10 => 'e', 'ya', 'pi', 'zhe', 'yan', 'sui', 'zhuan', 'che', 'dun', 'pan', 'yan', 'jin', 'feng', 'fa', 'mo', 'zha',
0x20 => 'ju', 'yu', 'ke', 'tuo', 'tuo', 'di', 'zhai', 'zhen', 'e', 'fu', 'mu', 'zhu', 'la', 'bian', 'nu', 'ping',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'pan', 'wei', 'yun', 'dui', 'zhe', 'ke', 'la', 'zhuan', 'qing', 'gun', 'zhuan', 'chan', 'qi', 'ao', 'peng', 'liu',
0xE0 => 'lu', 'kan', 'chuang', 'chen', 'yin', 'lei', 'biao', 'qi', 'mo', 'qi', 'cui', 'zong', 'qing', 'chuo', 'lun', 'ji',
0xF0 => 'shan', 'lao', 'qu', 'zeng', 'deng', 'jian', 'xi', 'lin', 'ding', 'tan', 'huang', 'pan', 'za', 'qiao', 'di', 'li',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x79.php b/core/lib/Drupal/Component/Transliteration/data/x79.php
index 7791564..babcfd2 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x79.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x79.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'jian', 'jiao', 'xi', 'zhang', 'qiao', 'dun', 'jian', 'yu', 'zhui', 'he', 'ke', 'ze', 'lei', 'ke', 'chu', 'ye',
0x10 => 'que', 'dang', 'yi', 'jiang', 'pi', 'pi', 'yu', 'pin', 'e', 'ai', 'ke', 'jian', 'yu', 'ruan', 'meng', 'pao',
0x20 => 'ci', 'bo', 'yang', 'ma', 'ca', 'xian', 'kuang', 'lei', 'lei', 'zhi', 'li', 'li', 'fan', 'que', 'pao', 'ying',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'yun', 'ke', 'miao', 'zhi', 'jing', 'bi', 'zhi', 'yu', 'mi', 'ku', 'ban', 'pi', 'ni', 'li', 'you', 'zu',
0xE0 => 'pi', 'bo', 'ling', 'mo', 'cheng', 'nian', 'qin', 'yang', 'zuo', 'zhi', 'zhi', 'shu', 'ju', 'zi', 'huo', 'ji',
0xF0 => 'cheng', 'tong', 'zhi', 'huo', 'he', 'yin', 'zi', 'zhi', 'jie', 'ren', 'du', 'yi', 'zhu', 'hui', 'nong', 'fu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x7a.php b/core/lib/Drupal/Component/Transliteration/data/x7a.php
index db12d9b..eebb257 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x7a.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x7a.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'xi', 'kao', 'lang', 'fu', 'xun', 'shui', 'lu', 'kun', 'gan', 'jing', 'ti', 'cheng', 'tu', 'shao', 'shui', 'ya',
0x10 => 'lun', 'lu', 'gu', 'zuo', 'ren', 'zhun', 'bang', 'bai', 'ji', 'zhi', 'zhi', 'kun', 'leng', 'peng', 'ke', 'bing',
0x20 => 'chou', 'zui', 'yu', 'su', 'lue', 'xiang', 'yi', 'xi', 'bian', 'ji', 'fu', 'pi', 'nuo', 'jie', 'zhong', 'zong',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'chu', 'hong', 'qi', 'hao', 'sheng', 'fen', 'shu', 'miao', 'qu', 'zhan', 'zhu', 'ling', 'long', 'bing', 'jing', 'jing',
0xE0 => 'zhang', 'bai', 'si', 'jun', 'hong', 'tong', 'song', 'jing', 'diao', 'yi', 'shu', 'jing', 'qu', 'jie', 'ping', 'duan',
0xF0 => 'shao', 'zhuan', 'ceng', 'deng', 'cun', 'wai', 'jing', 'kan', 'jing', 'zhu', 'zhu', 'le', 'peng', 'yu', 'chi', 'gan',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x7b.php b/core/lib/Drupal/Component/Transliteration/data/x7b.php
index 9db5911..29d7b03 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x7b.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x7b.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'mang', 'zhu', 'wan', 'du', 'ji', 'xiao', 'ba', 'suan', 'ji', 'qin', 'zhao', 'sun', 'ya', 'zhui', 'yuan', 'hu',
0x10 => 'hang', 'xiao', 'cen', 'bi', 'bi', 'jian', 'yi', 'dong', 'shan', 'sheng', 'da', 'di', 'zhu', 'na', 'chi', 'gu',
0x20 => 'li', 'qie', 'min', 'bao', 'tiao', 'si', 'fu', 'ce', 'ben', 'pei', 'da', 'zi', 'di', 'ling', 'ze', 'nu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'gu', 'kui', 'shi', 'lou', 'yun', 'he', 'tang', 'yue', 'chou', 'gao', 'fei', 'ruo', 'zheng', 'gou', 'nie', 'qian',
0xE0 => 'xiao', 'cuan', 'long', 'peng', 'du', 'li', 'bi', 'zhuo', 'chu', 'shai', 'chi', 'zhu', 'qiang', 'long', 'lan', 'jian',
0xF0 => 'bu', 'li', 'hui', 'bi', 'di', 'cong', 'yan', 'peng', 'can', 'zhuan', 'pi', 'piao', 'dou', 'yu', 'mie', 'tuan',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x7c.php b/core/lib/Drupal/Component/Transliteration/data/x7c.php
index 49aa0a6..3fff1c7 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x7c.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x7c.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ze', 'shai', 'gui', 'yi', 'hu', 'chan', 'kou', 'cu', 'ping', 'zao', 'ji', 'gui', 'su', 'lou', 'ce', 'lu',
0x10 => 'nian', 'suo', 'cuan', 'diao', 'suo', 'le', 'duan', 'liang', 'xiao', 'bo', 'mi', 'shai', 'dang', 'liao', 'dan', 'dian',
0x20 => 'fu', 'jian', 'min', 'kui', 'dai', 'jiao', 'deng', 'huang', 'sun', 'lao', 'zan', 'xiao', 'lu', 'shi', 'zan', 'qi',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'fu', 'nuo', 'bei', 'gu', 'xiu', 'gao', 'tang', 'qiu', 'jia', 'cao', 'zhuang', 'tang', 'mi', 'san', 'fen', 'zao',
0xE0 => 'kang', 'jiang', 'mo', 'san', 'san', 'nuo', 'xi', 'liang', 'jiang', 'kuai', 'bo', 'huan', 'shu', 'zong', 'xian', 'nuo',
0xF0 => 'tuan', 'nie', 'li', 'zuo', 'di', 'nie', 'tiao', 'lan', 'mi', 'si', 'jiu', 'xi', 'gong', 'zheng', 'jiu', 'you',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x7d.php b/core/lib/Drupal/Component/Transliteration/data/x7d.php
index 1cfdab2..352293d 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x7d.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x7d.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ji', 'cha', 'zhou', 'xun', 'yue', 'hong', 'yu', 'he', 'wan', 'ren', 'wen', 'wen', 'qiu', 'na', 'zi', 'tou',
0x10 => 'niu', 'fou', 'ji', 'shu', 'chun', 'pi', 'zhen', 'sha', 'hong', 'zhi', 'ji', 'fen', 'yun', 'ren', 'dan', 'jin',
0x20 => 'su', 'fang', 'suo', 'cui', 'jiu', 'za', 'ba', 'jin', 'fu', 'zhi', 'ci', 'zi', 'chou', 'hong', 'za', 'lei',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'fan', 'lu', 'xu', 'ying', 'shang', 'qi', 'xu', 'xiang', 'jian', 'ke', 'xian', 'ruan', 'mian', 'ji', 'duan', 'chong',
0xE0 => 'di', 'min', 'miao', 'yuan', 'xie', 'bao', 'si', 'qiu', 'bian', 'huan', 'geng', 'cong', 'mian', 'wei', 'fu', 'wei',
0xF0 => 'tou', 'gou', 'miao', 'xie', 'lian', 'zong', 'bian', 'yun', 'yin', 'ti', 'gua', 'zhi', 'yun', 'cheng', 'chan', 'dai',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x7e.php b/core/lib/Drupal/Component/Transliteration/data/x7e.php
index e66acc5..a278c2d 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x7e.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x7e.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'xia', 'yuan', 'zong', 'xu', 'ying', 'wei', 'geng', 'xuan', 'ying', 'jin', 'yi', 'zhui', 'ni', 'bang', 'gu', 'pan',
0x10 => 'zhou', 'jian', 'ci', 'quan', 'shuang', 'yun', 'xia', 'cui', 'xi', 'rong', 'tao', 'fu', 'yun', 'chen', 'gao', 'ru',
0x20 => 'hu', 'zai', 'teng', 'xian', 'su', 'zhen', 'zong', 'tao', 'huang', 'cai', 'bi', 'feng', 'cu', 'li', 'suo', 'yan',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'dai', 'bang', 'rong', 'jie', 'ku', 'rao', 'die', 'hang', 'hui', 'gei', 'xuan', 'jiang', 'luo', 'jue', 'jiao', 'tong',
0xE0 => 'geng', 'xiao', 'juan', 'xiu', 'xi', 'sui', 'tao', 'ji', 'ti', 'ji', 'xu', 'ling', 'ying', 'xu', 'qi', 'fei',
0xF0 => 'chuo', 'shang', 'gun', 'sheng', 'wei', 'mian', 'shou', 'beng', 'chou', 'tao', 'liu', 'quan', 'zong', 'zhan', 'wan', 'lu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x7f.php b/core/lib/Drupal/Component/Transliteration/data/x7f.php
index 7f586dd..78e3243 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x7f.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x7f.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'zhui', 'zi', 'ke', 'xiang', 'jian', 'mian', 'lan', 'ti', 'miao', 'ji', 'yun', 'hui', 'si', 'duo', 'duan', 'bian',
0x10 => 'xian', 'gou', 'zhui', 'huan', 'di', 'lu', 'bian', 'min', 'yuan', 'jin', 'fu', 'ru', 'zhen', 'feng', 'cui', 'gao',
0x20 => 'chan', 'li', 'yi', 'jian', 'bin', 'piao', 'man', 'lei', 'ying', 'suo', 'mou', 'sao', 'xie', 'liao', 'shan', 'zeng',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'zhi', 'qu', 'xi', 'xie', 'xiang', 'xi', 'xi', 'ke', 'qiao', 'hui', 'hui', 'xiao', 'sha', 'hong', 'jiang', 'di',
0xE0 => 'cui', 'fei', 'dao', 'sha', 'chi', 'zhu', 'jian', 'xuan', 'chi', 'pian', 'zong', 'wan', 'hui', 'hou', 'he', 'he',
0xF0 => 'han', 'ao', 'piao', 'yi', 'lian', 'hou', 'ao', 'lin', 'pen', 'qiao', 'ao', 'fan', 'yi', 'hui', 'xuan', 'dao',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x80.php b/core/lib/Drupal/Component/Transliteration/data/x80.php
index 33b80ca..0cbf2aa 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x80.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x80.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'yao', 'lao', 'lao', 'kao', 'mao', 'zhe', 'qi', 'gou', 'gou', 'gou', 'die', 'die', 'er', 'shua', 'ruan', 'nai',
0x10 => 'nai', 'duan', 'lei', 'ting', 'zi', 'geng', 'chao', 'hao', 'yun', 'ba', 'pi', 'yi', 'si', 'qu', 'jia', 'ju',
0x20 => 'huo', 'chu', 'lao', 'lun', 'ji', 'tang', 'ou', 'lou', 'nou', 'jiang', 'pang', 'zha', 'lou', 'ji', 'lao', 'huo',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ku', 'zhi', 'ni', 'ping', 'zi', 'fu', 'pang', 'zhen', 'xian', 'zuo', 'pei', 'jia', 'sheng', 'zhi', 'bao', 'mu',
0xE0 => 'qu', 'hu', 'ke', 'chi', 'yin', 'xu', 'yang', 'long', 'dong', 'ka', 'lu', 'jing', 'nu', 'yan', 'pang', 'kua',
0xF0 => 'yi', 'guang', 'hai', 'ge', 'dong', 'chi', 'jiao', 'xiong', 'xiong', 'er', 'an', 'heng', 'pian', 'neng', 'zi', 'gui',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x81.php b/core/lib/Drupal/Component/Transliteration/data/x81.php
index 81fb424..dd5afc1 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x81.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x81.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'cheng', 'tiao', 'zhi', 'cui', 'mei', 'xie', 'cui', 'xie', 'mai', 'mai', 'ji', 'xie', 'nin', 'kuai', 'sa', 'zang',
0x10 => 'qi', 'nao', 'mi', 'nong', 'luan', 'wan', 'bo', 'wen', 'wan', 'xiu', 'jiao', 'jing', 'you', 'heng', 'cuo', 'lie',
0x20 => 'shan', 'ting', 'mei', 'chun', 'shen', 'qian', 'de', 'juan', 'cu', 'xiu', 'xin', 'tuo', 'pao', 'cheng', 'nei', 'pu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'xun', 'nao', 'wo', 'zang', 'xian', 'biao', 'xing', 'kuan', 'la', 'yan', 'lu', 'huo', 'za', 'luo', 'qu', 'zang',
0xE0 => 'luan', 'ni', 'za', 'chen', 'qian', 'wo', 'guang', 'zang', 'lin', 'guang', 'zi', 'jiao', 'nie', 'chou', 'ji', 'gao',
0xF0 => 'chou', 'mian', 'nie', 'zhi', 'zhi', 'ge', 'jian', 'die', 'zhi', 'xiu', 'tai', 'zhen', 'jiu', 'xian', 'yu', 'cha',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x82.php b/core/lib/Drupal/Component/Transliteration/data/x82.php
index 1013057..415fdb5 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x82.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x82.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'yao', 'yu', 'chong', 'xi', 'xi', 'jiu', 'yu', 'yu', 'xing', 'ju', 'jiu', 'xin', 'she', 'she', 'she', 'jiu',
0x10 => 'shi', 'tan', 'shu', 'shi', 'tian', 'tan', 'pu', 'pu', 'guan', 'hua', 'tian', 'chuan', 'shun', 'xia', 'wu', 'zhou',
0x20 => 'dao', 'chuan', 'shan', 'yi', 'fan', 'pa', 'tai', 'fan', 'ban', 'chuan', 'hang', 'fang', 'ban', 'bi', 'lu', 'zhong',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ti', 'yuan', 'ran', 'ling', 'tai', 'shao', 'di', 'miao', 'qing', 'li', 'yong', 'ke', 'mu', 'bei', 'bao', 'gou',
0xE0 => 'min', 'yi', 'yi', 'ju', 'pie', 'ruo', 'ku', 'ning', 'ni', 'bo', 'bing', 'shan', 'xiu', 'yao', 'xian', 'ben',
0xF0 => 'hong', 'ying', 'zha', 'dong', 'ju', 'die', 'nie', 'gan', 'hu', 'ping', 'mei', 'fu', 'sheng', 'gu', 'bi', 'wei',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x83.php b/core/lib/Drupal/Component/Transliteration/data/x83.php
index 0c2a631..73fe3fc 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x83.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x83.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'fu', 'zhuo', 'mao', 'fan', 'jia', 'mao', 'mao', 'ba', 'ci', 'mo', 'zi', 'di', 'chi', 'ji', 'jing', 'long',
0x10 => 'cong', 'niao', 'yuan', 'xue', 'ying', 'qiong', 'ge', 'ming', 'li', 'rong', 'yin', 'gen', 'qian', 'chai', 'chen', 'yu',
0x20 => 'hao', 'zi', 'lie', 'wu', 'ji', 'gui', 'ci', 'jian', 'ci', 'gou', 'guang', 'mang', 'cha', 'jiao', 'jiao', 'fu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'pu', 'zai', 'gao', 'guo', 'fu', 'lun', 'chang', 'chou', 'song', 'chui', 'zhan', 'men', 'cai', 'ba', 'li', 'tu',
0xE0 => 'bo', 'han', 'bao', 'qin', 'juan', 'xi', 'qin', 'di', 'jie', 'pu', 'dang', 'jin', 'qiao', 'tai', 'geng', 'hua',
0xF0 => 'gu', 'ling', 'fei', 'qin', 'an', 'wang', 'beng', 'zhou', 'yan', 'ju', 'jian', 'lin', 'tan', 'shu', 'tian', 'dao',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x84.php b/core/lib/Drupal/Component/Transliteration/data/x84.php
index 6839979..4714535 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x84.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x84.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'hu', 'qi', 'he', 'cui', 'tao', 'chun', 'bi', 'chang', 'huan', 'fei', 'lai', 'qi', 'meng', 'ping', 'wei', 'dan',
0x10 => 'sha', 'huan', 'yan', 'yi', 'tiao', 'qi', 'wan', 'ce', 'nai', 'zhen', 'tuo', 'jiu', 'tie', 'luo', 'bi', 'yi',
0x20 => 'meng', 'bo', 'pao', 'ding', 'ying', 'ying', 'ying', 'xiao', 'sa', 'qiu', 'ke', 'xiang', 'wan', 'yu', 'yu', 'fu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ru', 'suo', 'xuan', 'bei', 'yao', 'gui', 'bi', 'zong', 'gun', 'zuo', 'tiao', 'ce', 'pei', 'lan', 'dan', 'ji',
0xE0 => 'li', 'shen', 'lang', 'yu', 'ling', 'ying', 'mo', 'diao', 'tiao', 'mao', 'tong', 'chu', 'peng', 'an', 'lian', 'cong',
0xF0 => 'xi', 'ping', 'qiu', 'jin', 'chun', 'jie', 'wei', 'tui', 'cao', 'yu', 'yi', 'zi', 'liao', 'bi', 'lu', 'xu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x85.php b/core/lib/Drupal/Component/Transliteration/data/x85.php
index 7fb87f1..a5e4cd5 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x85.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x85.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'bu', 'zhang', 'lei', 'qiang', 'man', 'yan', 'ling', 'ji', 'biao', 'gun', 'han', 'di', 'su', 'lu', 'she', 'shang',
0x10 => 'di', 'mie', 'xun', 'man', 'bo', 'di', 'cuo', 'zhe', 'shen', 'xuan', 'wei', 'hu', 'ao', 'mi', 'lou', 'cu',
0x20 => 'zhong', 'cai', 'po', 'jiang', 'mi', 'cong', 'niao', 'hui', 'juan', 'yin', 'jian', 'nian', 'shu', 'yin', 'guo', 'chen',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'miao', 'qiong', 'qie', 'xian', 'liao', 'ou', 'xian', 'su', 'lu', 'yi', 'xu', 'xie', 'li', 'yi', 'la', 'lei',
0xE0 => 'jiao', 'di', 'zhi', 'bei', 'teng', 'yao', 'mo', 'huan', 'biao', 'fan', 'sou', 'tan', 'tui', 'qiong', 'qiao', 'wei',
0xF0 => 'liu', 'hui', 'ou', 'gao', 'yun', 'bao', 'li', 'shu', 'chu', 'ai', 'lin', 'zao', 'xuan', 'qin', 'lai', 'huo',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x86.php b/core/lib/Drupal/Component/Transliteration/data/x86.php
index 8615a1d..285c2d1 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x86.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x86.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'tuo', 'wu', 'rui', 'rui', 'qi', 'heng', 'lu', 'su', 'tui', 'meng', 'yun', 'ping', 'yu', 'xun', 'ji', 'jiong',
0x10 => 'xuan', 'mo', 'qiu', 'su', 'jiong', 'feng', 'nie', 'bo', 'rang', 'yi', 'xian', 'yu', 'ju', 'lian', 'lian', 'yin',
0x20 => 'qiang', 'ying', 'long', 'tou', 'wei', 'yue', 'ling', 'qu', 'yao', 'fan', 'mei', 'han', 'kui', 'lan', 'ji', 'dang',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'qu', 'mou', 'ge', 'ci', 'hui', 'hui', 'mang', 'fu', 'yang', 'wa', 'lie', 'zhu', 'yi', 'xian', 'kuo', 'jiao',
0xE0 => 'li', 'yi', 'ping', 'qi', 'ha', 'she', 'yi', 'wang', 'mo', 'qiong', 'qie', 'gui', 'qiong', 'zhi', 'man', 'lao',
0xF0 => 'zhe', 'jia', 'nao', 'si', 'qi', 'xing', 'jie', 'qiu', 'shao', 'yong', 'jia', 'tui', 'che', 'bai', 'e', 'han',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x87.php b/core/lib/Drupal/Component/Transliteration/data/x87.php
index be4f227..c9a1208 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x87.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x87.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'shu', 'xuan', 'feng', 'shen', 'shen', 'fu', 'xian', 'zhe', 'wu', 'fu', 'li', 'lang', 'bi', 'chu', 'yuan', 'you',
0x10 => 'jie', 'dan', 'yan', 'ting', 'dian', 'tui', 'hui', 'wo', 'zhi', 'song', 'fei', 'ju', 'mi', 'qi', 'qi', 'yu',
0x20 => 'jun', 'la', 'meng', 'qiang', 'si', 'xi', 'lun', 'li', 'die', 'tiao', 'tao', 'kun', 'han', 'han', 'yu', 'bang',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'chang', 'zhang', 'mang', 'xiang', 'mo', 'zui', 'si', 'qiu', 'te', 'zhi', 'peng', 'peng', 'jiao', 'qu', 'bie', 'liao',
0xE0 => 'pan', 'gui', 'xi', 'ji', 'zhuan', 'huang', 'fei', 'lao', 'jue', 'jue', 'hui', 'yin', 'chan', 'jiao', 'shan', 'nao',
0xF0 => 'xiao', 'wu', 'chong', 'xun', 'si', 'chu', 'cheng', 'dang', 'li', 'xie', 'shan', 'yi', 'jing', 'da', 'chan', 'qi',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x88.php b/core/lib/Drupal/Component/Transliteration/data/x88.php
index 8843060..45feb58 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x88.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x88.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ci', 'xiang', 'she', 'luo', 'qin', 'ying', 'chai', 'li', 'zei', 'xuan', 'lian', 'zhu', 'ze', 'xie', 'mang', 'xie',
0x10 => 'qi', 'rong', 'jian', 'meng', 'hao', 'ru', 'huo', 'zhuo', 'jie', 'pin', 'he', 'mie', 'fan', 'lei', 'jie', 'la',
0x20 => 'min', 'li', 'chun', 'li', 'qiu', 'nie', 'lu', 'du', 'xiao', 'zhu', 'long', 'li', 'long', 'feng', 'ye', 'beng',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'juan', 'shen', 'pou', 'ge', 'yi', 'yu', 'zhen', 'liu', 'qiu', 'qun', 'ji', 'yi', 'bu', 'zhuang', 'shui', 'sha',
0xE0 => 'qun', 'li', 'lian', 'lian', 'ku', 'jian', 'fou', 'chan', 'bi', 'kun', 'tao', 'yuan', 'ling', 'chi', 'chang', 'chou',
0xF0 => 'duo', 'biao', 'liang', 'shang', 'pei', 'pei', 'fei', 'yuan', 'luo', 'guo', 'yan', 'du', 'ti', 'zhi', 'ju', 'yi',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x89.php b/core/lib/Drupal/Component/Transliteration/data/x89.php
index 0504963..fbef66d 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x89.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x89.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ji', 'zhi', 'gua', 'ken', 'qi', 'ti', 'ti', 'fu', 'chong', 'xie', 'bian', 'die', 'kun', 'duan', 'xiu', 'xiu',
0x10 => 'he', 'yuan', 'bao', 'bao', 'fu', 'yu', 'tuan', 'yan', 'hui', 'bei', 'chu', 'lu', 'pao', 'dan', 'yun', 'ta',
0x20 => 'gou', 'da', 'huai', 'rong', 'yuan', 'ru', 'nai', 'jiong', 'suo', 'ban', 'tui', 'chi', 'sang', 'niao', 'ying', 'jie',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'jin', 'qu', 'jiao', 'qiu', 'jin', 'cu', 'jue', 'zhi', 'chao', 'ji', 'gu', 'dan', 'zi', 'di', 'shang', 'hua',
0xE0 => 'quan', 'ge', 'shi', 'jie', 'gui', 'gong', 'chu', 'jie', 'hun', 'qiu', 'xing', 'su', 'ni', 'ji', 'lu', 'zhi',
0xF0 => 'zha', 'bi', 'xing', 'hu', 'shang', 'gong', 'zhi', 'xue', 'chu', 'xi', 'yi', 'li', 'jue', 'xi', 'yan', 'xi',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x8a.php b/core/lib/Drupal/Component/Transliteration/data/x8a.php
index 111894c..03abb66 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x8a.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x8a.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'yan', 'yan', 'ding', 'fu', 'qiu', 'qiu', 'jiao', 'hong', 'ji', 'fan', 'xun', 'diao', 'hong', 'chai', 'tao', 'xu',
0x10 => 'jie', 'yi', 'ren', 'xun', 'yin', 'shan', 'qi', 'tuo', 'ji', 'xun', 'yin', 'e', 'fen', 'ya', 'yao', 'song',
0x20 => 'shen', 'yin', 'xin', 'jue', 'xiao', 'ne', 'chen', 'you', 'zhi', 'xiong', 'fang', 'xin', 'chao', 'she', 'xian', 'sa',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'qian', 'zhuo', 'liang', 'jian', 'chu', 'hao', 'lun', 'shen', 'biao', 'huai', 'pian', 'yu', 'die', 'xu', 'pian', 'shi',
0xE0 => 'xuan', 'shi', 'hun', 'hua', 'e', 'zhong', 'di', 'xie', 'fu', 'pu', 'ting', 'jian', 'qi', 'yu', 'zi', 'zhuan',
0xF0 => 'xi', 'hui', 'yin', 'an', 'xian', 'nan', 'chen', 'feng', 'zhu', 'yang', 'yan', 'huang', 'xuan', 'ge', 'nuo', 'qi',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x8b.php b/core/lib/Drupal/Component/Transliteration/data/x8b.php
index 0a535f7..2cdc115 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x8b.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x8b.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'mou', 'ye', 'wei', 'xing', 'teng', 'zhou', 'shan', 'jian', 'po', 'kui', 'huang', 'huo', 'ge', 'ying', 'mi', 'xiao',
0x10 => 'mi', 'xi', 'qiang', 'chen', 'xue', 'ti', 'su', 'bang', 'chi', 'qian', 'shi', 'jiang', 'yuan', 'xie', 'he', 'tao',
0x20 => 'yao', 'yao', 'zhi', 'yu', 'biao', 'cong', 'qing', 'li', 'mo', 'mo', 'shang', 'zhe', 'miu', 'jian', 'ze', 'jie',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'bi', 'yi', 'yi', 'kuang', 'lei', 'shi', 'gua', 'shi', 'ji', 'hui', 'cheng', 'zhu', 'shen', 'hua', 'dan', 'gou',
0xE0 => 'quan', 'gui', 'xun', 'yi', 'zheng', 'gai', 'xiang', 'cha', 'hun', 'xu', 'zhou', 'jie', 'wu', 'yu', 'qiao', 'wu',
0xF0 => 'gao', 'you', 'hui', 'kuang', 'shuo', 'song', 'ei', 'qing', 'zhu', 'zou', 'nuo', 'du', 'zhuo', 'fei', 'ke', 'wei',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x8c.php b/core/lib/Drupal/Component/Transliteration/data/x8c.php
index 5e805ad..8b3d3ba 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x8c.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x8c.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'yu', 'shui', 'shen', 'diao', 'chan', 'liang', 'zhun', 'sui', 'tan', 'shen', 'yi', 'mou', 'chen', 'die', 'huang', 'jian',
0x10 => 'xie', 'xue', 'ye', 'wei', 'e', 'yu', 'xuan', 'chan', 'zi', 'an', 'yan', 'di', 'mi', 'pian', 'xu', 'mo',
0x20 => 'dang', 'su', 'xie', 'yao', 'bang', 'shi', 'qian', 'mi', 'jin', 'man', 'zhe', 'jian', 'miu', 'tan', 'zen', 'qiao',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'xun', 'zhen', 'she', 'bin', 'bin', 'qiu', 'she', 'chuan', 'zang', 'zhou', 'lai', 'zan', 'ci', 'chen', 'shang', 'tian',
0xE0 => 'pei', 'geng', 'xian', 'mai', 'jian', 'sui', 'fu', 'tan', 'cong', 'cong', 'zhi', 'ji', 'zhang', 'du', 'jin', 'xiong',
0xF0 => 'chun', 'yun', 'bao', 'zai', 'lai', 'feng', 'cang', 'ji', 'sheng', 'yi', 'zhuan', 'fu', 'gou', 'sai', 'ze', 'liao',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x8d.php b/core/lib/Drupal/Component/Transliteration/data/x8d.php
index c4b8695..07fc8d7 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x8d.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x8d.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'yi', 'bai', 'chen', 'wan', 'zhi', 'zhui', 'biao', 'yun', 'zeng', 'dan', 'zan', 'yan', 'pu', 'shan', 'wan', 'ying',
0x10 => 'jin', 'gan', 'xian', 'zang', 'bi', 'du', 'shu', 'yan', 'shang', 'xuan', 'long', 'gan', 'zang', 'bei', 'zhen', 'fu',
0x20 => 'yuan', 'gong', 'cai', 'ze', 'xian', 'bai', 'zhang', 'huo', 'zhi', 'fan', 'tan', 'pin', 'bian', 'gou', 'zhu', 'guan',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ci', 'pao', 'qia', 'zhu', 'ju', 'dian', 'zhi', 'fu', 'pan', 'ju', 'shan', 'bo', 'ni', 'ju', 'li', 'gen',
0xE0 => 'yi', 'ji', 'duo', 'xian', 'jiao', 'duo', 'zhu', 'quan', 'kua', 'zhuai', 'gui', 'qiong', 'kui', 'xiang', 'chi', 'lu',
0xF0 => 'pian', 'zhi', 'jia', 'tiao', 'cai', 'jian', 'ta', 'qiao', 'bi', 'xian', 'duo', 'ji', 'ju', 'ji', 'shu', 'tu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x8e.php b/core/lib/Drupal/Component/Transliteration/data/x8e.php
index 80ef740..c48ec1d 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x8e.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x8e.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'chu', 'jing', 'nie', 'xiao', 'bu', 'xue', 'cun', 'mu', 'shu', 'liang', 'yong', 'jiao', 'chou', 'qiao', 'mou', 'ta',
0x10 => 'jian', 'qi', 'wo', 'wei', 'chuo', 'jie', 'ji', 'nie', 'ju', 'ju', 'lun', 'lu', 'leng', 'huai', 'ju', 'chi',
0x20 => 'wan', 'quan', 'ti', 'bo', 'zu', 'qie', 'yi', 'cu', 'zong', 'cai', 'zong', 'peng', 'zhi', 'zheng', 'dian', 'zhi',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'xin', 'dai', 'xuan', 'fan', 'ren', 'shan', 'kuang', 'shu', 'tun', 'chen', 'dai', 'e', 'na', 'qi', 'mao', 'ruan',
0xE0 => 'ren', 'qian', 'zhuan', 'hong', 'hu', 'qu', 'kuang', 'di', 'ling', 'dai', 'ao', 'zhen', 'fan', 'kuang', 'yang', 'peng',
0xF0 => 'bei', 'gu', 'gu', 'pao', 'zhu', 'rong', 'e', 'ba', 'zhou', 'zhi', 'yao', 'ke', 'yi', 'zhi', 'shi', 'ping',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x8f.php b/core/lib/Drupal/Component/Transliteration/data/x8f.php
index a4cd21b..e7185a9 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x8f.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x8f.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'er', 'gong', 'ju', 'jiao', 'guang', 'he', 'kai', 'quan', 'zhou', 'zai', 'zhi', 'she', 'liang', 'yu', 'shao', 'you',
0x10 => 'wan', 'yin', 'zhe', 'wan', 'fu', 'qing', 'zhou', 'ni', 'leng', 'zhe', 'zhan', 'liang', 'zi', 'hui', 'wang', 'chuo',
0x20 => 'guo', 'kan', 'yi', 'peng', 'qian', 'gun', 'nian', 'ping', 'guan', 'bei', 'lun', 'pai', 'liang', 'ruan', 'rou', 'ji',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'yun', 'jin', 'hang', 'ya', 'fan', 'wu', 'da', 'e', 'hai', 'zhe', 'zhong', 'jin', 'yuan', 'wei', 'lian', 'chi',
0xE0 => 'che', 'ni', 'tiao', 'zhi', 'yi', 'jiong', 'jia', 'chen', 'dai', 'er', 'di', 'po', 'zhu', 'die', 'ze', 'tao',
0xF0 => 'shu', 'tuo', 'qu', 'jing', 'hui', 'dong', 'you', 'mi', 'beng', 'ji', 'nai', 'yi', 'jie', 'zhui', 'lie', 'xun',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x90.php b/core/lib/Drupal/Component/Transliteration/data/x90.php
index e2a817b..97821c45 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x90.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x90.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'tui', 'song', 'shi', 'tao', 'pang', 'hou', 'ni', 'dun', 'jiong', 'xuan', 'xun', 'bu', 'you', 'xiao', 'qiu', 'tou',
0x10 => 'zhu', 'qiu', 'di', 'di', 'tu', 'jing', 'ti', 'dou', 'yi', 'zhe', 'tong', 'guang', 'wu', 'shi', 'cheng', 'su',
0x20 => 'zao', 'qun', 'feng', 'lian', 'suo', 'hui', 'li', 'gu', 'lai', 'ben', 'cuo', 'jue', 'beng', 'huan', 'dai', 'lu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'kuai', 'zheng', 'lang', 'yun', 'yan', 'cheng', 'dou', 'xi', 'lu', 'fu', 'wu', 'fu', 'gao', 'hao', 'lang', 'jia',
0xE0 => 'geng', 'jun', 'ying', 'bo', 'xi', 'bei', 'li', 'yun', 'bu', 'xiao', 'qi', 'pi', 'qing', 'guo', 'zhou', 'tan',
0xF0 => 'zou', 'ping', 'lai', 'ni', 'chen', 'you', 'bu', 'xiang', 'dan', 'ju', 'yong', 'qiao', 'yi', 'dou', 'yan', 'mei',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x91.php b/core/lib/Drupal/Component/Transliteration/data/x91.php
index 2de4466..4f10582 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x91.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x91.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ruo', 'bei', 'e', 'shu', 'juan', 'yu', 'yun', 'hou', 'kui', 'xiang', 'xiang', 'sou', 'tang', 'ming', 'xi', 'ru',
0x10 => 'chu', 'zi', 'zou', 'ye', 'wu', 'xiang', 'yun', 'hao', 'yong', 'bi', 'mao', 'chao', 'fu', 'liao', 'yin', 'zhuan',
0x20 => 'hu', 'qiao', 'yan', 'zhang', 'man', 'qiao', 'xu', 'deng', 'bi', 'xun', 'bi', 'zeng', 'wei', 'zheng', 'mao', 'shan',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'li', 'jin', 'jin', 'qiu', 'yi', 'liao', 'dao', 'zhao', 'ding', 'po', 'qiu', 'ba', 'fu', 'zhen', 'zhi', 'ba',
0xE0 => 'luan', 'fu', 'nai', 'diao', 'shan', 'qiao', 'kou', 'chuan', 'zi', 'fan', 'hua', 'hua', 'han', 'gang', 'qi', 'mang',
0xF0 => 'ri', 'di', 'si', 'xi', 'yi', 'chai', 'shi', 'tu', 'xi', 'nu', 'qian', 'qiu', 'jian', 'pi', 'ye', 'jin',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x92.php b/core/lib/Drupal/Component/Transliteration/data/x92.php
index 037b461..2602bf6 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x92.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x92.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ba', 'fang', 'chen', 'xing', 'dou', 'yue', 'qian', 'fu', 'pi', 'na', 'xin', 'e', 'jue', 'dun', 'gou', 'yin',
0x10 => 'qian', 'ban', 'sa', 'ren', 'chao', 'niu', 'fen', 'yun', 'ji', 'qin', 'pi', 'guo', 'hong', 'yin', 'jun', 'shi',
0x20 => 'yi', 'zhong', 'xi', 'gai', 'ri', 'huo', 'tai', 'kang', 'yuan', 'lu', 'e', 'wen', 'duo', 'zi', 'ni', 'tu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'hong', 'cuan', 'feng', 'chan', 'wan', 'zhi', 'si', 'xuan', 'hua', 'yu', 'tiao', 'gong', 'zhuo', 'lue', 'xing', 'qin',
0xE0 => 'shen', 'han', 'lue', 'ye', 'chu', 'zeng', 'ju', 'xian', 'tie', 'mang', 'pu', 'li', 'pan', 'rui', 'cheng', 'gao',
0xF0 => 'li', 'te', 'bing', 'zhu', 'zhen', 'tu', 'liu', 'zui', 'ju', 'chang', 'yuan', 'jian', 'gang', 'diao', 'tao', 'chang',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x93.php b/core/lib/Drupal/Component/Transliteration/data/x93.php
index 34928a9..cecc317 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x93.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x93.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'lun', 'guo', 'ling', 'bei', 'lu', 'li', 'qiang', 'pou', 'juan', 'min', 'zui', 'peng', 'an', 'pi', 'xian', 'ya',
0x10 => 'zhui', 'lei', 'ke', 'kong', 'ta', 'kun', 'du', 'nei', 'chui', 'zi', 'zheng', 'ben', 'nie', 'zong', 'chun', 'tan',
0x20 => 'ding', 'qi', 'qian', 'zhui', 'ji', 'yu', 'jin', 'guan', 'mao', 'chang', 'tian', 'xi', 'lian', 'tao', 'gu', 'cuo',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'liu', 'di', 'san', 'zong', 'yi', 'lu', 'ao', 'keng', 'qiang', 'cui', 'qi', 'chang', 'tang', 'man', 'yong', 'chan',
0xE0 => 'feng', 'jing', 'biao', 'shu', 'lou', 'xiu', 'cong', 'long', 'zan', 'jian', 'cao', 'li', 'xia', 'xi', 'kang', 'shuang',
0xF0 => 'beng', 'zhang', 'qian', 'cheng', 'lu', 'hua', 'ji', 'pu', 'hui', 'qiang', 'po', 'lin', 'se', 'xiu', 'san', 'cheng',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x94.php b/core/lib/Drupal/Component/Transliteration/data/x94.php
index 9763fbc..1bb228a 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x94.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x94.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'kui', 'si', 'liu', 'nao', 'huang', 'pie', 'sui', 'fan', 'qiao', 'quan', 'yang', 'tang', 'xiang', 'jue', 'jiao', 'zun',
0x10 => 'liao', 'qie', 'lao', 'dui', 'xin', 'zan', 'ji', 'jian', 'zhong', 'deng', 'ya', 'ying', 'dui', 'jue', 'nou', 'zan',
0x20 => 'pu', 'tie', 'fan', 'zhang', 'ding', 'shan', 'kai', 'jian', 'fei', 'sui', 'lu', 'juan', 'hui', 'yu', 'lian', 'zhuo',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'kao', 'lao', 'er', 'mang', 'ya', 'you', 'cheng', 'jia', 'ye', 'nao', 'zhi', 'dang', 'tong', 'lu', 'diao', 'yin',
0xE0 => 'kai', 'zha', 'zhu', 'xi', 'ding', 'diu', 'xian', 'hua', 'quan', 'sha', 'ha', 'diao', 'ge', 'ming', 'zheng', 'se',
0xF0 => 'jiao', 'yi', 'chan', 'chong', 'tang', 'an', 'yin', 'ru', 'zhu', 'lao', 'pu', 'wu', 'lai', 'te', 'lian', 'keng',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x95.php b/core/lib/Drupal/Component/Transliteration/data/x95.php
index 84f2f89..fc95f36 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x95.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x95.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'xiao', 'suo', 'li', 'zeng', 'chu', 'guo', 'gao', 'e', 'xiu', 'cuo', 'lue', 'feng', 'xin', 'liu', 'kai', 'jian',
0x10 => 'rui', 'ti', 'lang', 'qin', 'ju', 'a', 'qiang', 'zhe', 'nuo', 'cuo', 'mao', 'ben', 'qi', 'de', 'ke', 'kun',
0x20 => 'chang', 'xi', 'gu', 'luo', 'chui', 'zhui', 'jin', 'zhi', 'xian', 'juan', 'huo', 'pei', 'tan', 'ding', 'jian', 'ju',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'tian', 'nie', 'ta', 'kai', 'he', 'que', 'chuang', 'guan', 'dou', 'qi', 'kui', 'tang', 'guan', 'piao', 'kan', 'xi',
0xE0 => 'hui', 'chan', 'pi', 'dang', 'huan', 'ta', 'wen', 'ta', 'men', 'shuan', 'shan', 'yan', 'han', 'bi', 'wen', 'chuang',
0xF0 => 'run', 'wei', 'xian', 'hong', 'jian', 'min', 'kang', 'men', 'zha', 'nao', 'gui', 'wen', 'ta', 'min', 'lu', 'kai',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x96.php b/core/lib/Drupal/Component/Transliteration/data/x96.php
index f665409..7f62e47 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x96.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x96.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'fa', 'ge', 'he', 'kun', 'jiu', 'yue', 'lang', 'du', 'yu', 'yan', 'chang', 'xi', 'wen', 'hun', 'yan', 'e',
0x10 => 'chan', 'lan', 'qu', 'hui', 'kuo', 'que', 'he', 'tian', 'da', 'que', 'han', 'huan', 'fu', 'fu', 'le', 'dui',
0x20 => 'xin', 'qian', 'wu', 'gai', 'zhi', 'yin', 'yang', 'dou', 'e', 'sheng', 'ban', 'pei', 'keng', 'yun', 'ruan', 'zhi',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'hu', 'za', 'luo', 'yu', 'chou', 'diao', 'sui', 'han', 'wo', 'shuang', 'guan', 'chu', 'za', 'yong', 'ji', 'xi',
0xE0 => 'chou', 'liu', 'li', 'nan', 'xue', 'za', 'ji', 'ji', 'yu', 'yu', 'xue', 'na', 'fou', 'se', 'mu', 'wen',
0xF0 => 'fen', 'pang', 'yun', 'li', 'chi', 'yang', 'ling', 'lei', 'an', 'bao', 'wu', 'dian', 'dang', 'hu', 'wu', 'diao',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x97.php b/core/lib/Drupal/Component/Transliteration/data/x97.php
index 1187fbb..f9296c7 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x97.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x97.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'xu', 'ji', 'mu', 'chen', 'xiao', 'zha', 'ting', 'zhen', 'pei', 'mei', 'ling', 'qi', 'zhou', 'huo', 'sha', 'fei',
0x10 => 'hong', 'zhan', 'yin', 'ni', 'zhu', 'tun', 'lin', 'ling', 'dong', 'ying', 'wu', 'ling', 'shuang', 'ling', 'xia', 'hong',
0x20 => 'yin', 'mai', 'mai', 'yun', 'liu', 'meng', 'bin', 'wu', 'wei', 'kuo', 'yin', 'xi', 'yi', 'ai', 'dan', 'teng',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ge', 'wei', 'qiao', 'han', 'chang', 'kuo', 'rou', 'yun', 'she', 'wei', 'ge', 'bai', 'tao', 'gou', 'yun', 'gao',
0xE0 => 'bi', 'wei', 'sui', 'du', 'wa', 'du', 'wei', 'ren', 'fu', 'han', 'wei', 'yun', 'tao', 'jiu', 'jiu', 'xian',
0xF0 => 'xie', 'xian', 'ji', 'yin', 'za', 'yun', 'shao', 'le', 'peng', 'huang', 'ying', 'yun', 'peng', 'an', 'yin', 'xiang',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x98.php b/core/lib/Drupal/Component/Transliteration/data/x98.php
index 8e1ff92..cb1ec6a 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x98.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x98.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'hu', 'ye', 'ding', 'qing', 'kui', 'xiang', 'shun', 'han', 'xu', 'yi', 'xu', 'e', 'song', 'kui', 'qi', 'hang',
0x10 => 'yu', 'wan', 'ban', 'dun', 'di', 'dan', 'pan', 'po', 'ling', 'che', 'jing', 'lei', 'he', 'qiao', 'e', 'e',
0x20 => 'wei', 'xie', 'kuo', 'shen', 'yi', 'shen', 'hai', 'dui', 'yu', 'ping', 'lei', 'fu', 'jia', 'tou', 'hui', 'kui',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'zhan', 'biao', 'sa', 'ju', 'si', 'sou', 'yao', 'liu', 'piao', 'biao', 'biao', 'fei', 'fan', 'fei', 'fei', 'shi',
0xE0 => 'shi', 'can', 'ji', 'ding', 'si', 'tuo', 'zhan', 'sun', 'xiang', 'tun', 'ren', 'yu', 'juan', 'chi', 'yin', 'fan',
0xF0 => 'fan', 'sun', 'yin', 'tou', 'yi', 'zuo', 'bi', 'jie', 'tao', 'liu', 'ci', 'tie', 'si', 'bao', 'shi', 'duo',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x99.php b/core/lib/Drupal/Component/Transliteration/data/x99.php
index 7e99ac0..6f6fb47 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x99.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x99.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'hai', 'ren', 'tian', 'jiao', 'jia', 'bing', 'yao', 'tong', 'ci', 'xiang', 'yang', 'juan', 'er', 'yan', 'le', 'xi',
0x10 => 'can', 'bo', 'nei', 'e', 'bu', 'jun', 'dou', 'su', 'yu', 'shi', 'yao', 'hun', 'guo', 'shi', 'jian', 'zhui',
0x20 => 'bing', 'xian', 'bu', 'ye', 'tan', 'fei', 'zhang', 'wei', 'guan', 'e', 'nuan', 'yun', 'hu', 'huang', 'tie', 'hui',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'zhu', 'nu', 'ju', 'pi', 'zang', 'jia', 'ling', 'zhen', 'tai', 'fu', 'yang', 'shi', 'bi', 'tuo', 'tuo', 'si',
0xE0 => 'liu', 'ma', 'pian', 'tao', 'zhi', 'rong', 'teng', 'dong', 'xun', 'quan', 'shen', 'jiong', 'er', 'hai', 'bo', 'zhu',
0xF0 => 'yin', 'luo', 'zhou', 'dan', 'xie', 'liu', 'ju', 'song', 'qin', 'mang', 'lang', 'han', 'tu', 'xuan', 'tui', 'jun',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x9a.php b/core/lib/Drupal/Component/Transliteration/data/x9a.php
index 3c85540..cd57659 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x9a.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x9a.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'e', 'cheng', 'xing', 'ai', 'lu', 'zhui', 'zhou', 'she', 'pian', 'kun', 'tao', 'lai', 'zong', 'ke', 'qi', 'qi',
0x10 => 'yan', 'fei', 'sao', 'yan', 'ge', 'yao', 'wu', 'pian', 'cong', 'pian', 'qian', 'fei', 'huang', 'qian', 'huo', 'yu',
0x20 => 'ti', 'quan', 'xia', 'zong', 'kui', 'rou', 'si', 'gua', 'tuo', 'gui', 'sou', 'qian', 'cheng', 'zhi', 'liu', 'peng',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'xiao', 'du', 'zang', 'sui', 'ti', 'bin', 'kuan', 'lu', 'gao', 'gao', 'qiao', 'kao', 'qiao', 'lao', 'sao', 'biao',
0xE0 => 'kun', 'kun', 'di', 'fang', 'xiu', 'ran', 'mao', 'dan', 'kun', 'bin', 'fa', 'tiao', 'pi', 'zi', 'fa', 'ran',
0xF0 => 'ti', 'bao', 'bi', 'mao', 'fu', 'er', 'rong', 'qu', 'gong', 'xiu', 'kuo', 'ji', 'peng', 'zhua', 'shao', 'suo',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x9b.php b/core/lib/Drupal/Component/Transliteration/data/x9b.php
index 9617f97..2cbbd7e 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x9b.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x9b.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ti', 'li', 'bin', 'zong', 'di', 'peng', 'song', 'zheng', 'quan', 'zong', 'shun', 'jian', 'tuo', 'hu', 'la', 'jiu',
0x10 => 'qi', 'lian', 'zhen', 'bin', 'peng', 'ma', 'san', 'man', 'man', 'seng', 'xu', 'lie', 'qian', 'qian', 'nang', 'huan',
0x20 => 'kuo', 'ning', 'bin', 'lie', 'rang', 'dou', 'dou', 'nao', 'hong', 'xi', 'dou', 'han', 'dou', 'dou', 'jiu', 'chang',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'zou', 'xi', 'yong', 'ni', 'zi', 'qi', 'zheng', 'xiang', 'nei', 'chun', 'ji', 'diao', 'qie', 'gu', 'zhou', 'dong',
0xE0 => 'lai', 'fei', 'ni', 'yi', 'kun', 'lu', 'jiu', 'chang', 'jing', 'lun', 'ling', 'zou', 'li', 'meng', 'zong', 'zhi',
0xF0 => 'nian', 'hu', 'yu', 'di', 'shi', 'shen', 'hun', 'ti', 'hou', 'xing', 'zhu', 'la', 'zong', 'zei', 'bian', 'bian',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x9c.php b/core/lib/Drupal/Component/Transliteration/data/x9c.php
index 76be43e..4ca423c 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x9c.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x9c.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'huan', 'quan', 'zei', 'wei', 'wei', 'yu', 'chun', 'rou', 'die', 'huang', 'lian', 'yan', 'qiu', 'qiu', 'jian', 'bi',
0x10 => 'e', 'yang', 'fu', 'sai', 'gan', 'xia', 'tuo', 'hu', 'shi', 'ruo', 'xuan', 'wen', 'qian', 'hao', 'wu', 'fang',
0x20 => 'sao', 'liu', 'ma', 'shi', 'shi', 'guan', 'zi', 'teng', 'ta', 'yao', 'e', 'yong', 'qian', 'qi', 'wen', 'ruo',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'yao', 'pang', 'jian', 'le', 'biao', 'xue', 'bie', 'man', 'min', 'yong', 'wei', 'xi', 'gui', 'shan', 'lin', 'zun',
0xE0 => 'hu', 'gan', 'li', 'zhan', 'guan', 'niao', 'yi', 'fu', 'li', 'jiu', 'bu', 'yan', 'fu', 'diao', 'ji', 'feng',
0xF0 => 'ru', 'gan', 'shi', 'feng', 'ming', 'bao', 'yuan', 'zhi', 'hu', 'qin', 'fu', 'ban', 'wen', 'jian', 'shi', 'yu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x9d.php b/core/lib/Drupal/Component/Transliteration/data/x9d.php
index 21e9977..d3b4d78 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x9d.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x9d.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'fou', 'yao', 'jue', 'jue', 'pi', 'huan', 'zhen', 'bao', 'yan', 'ya', 'zheng', 'fang', 'feng', 'wen', 'ou', 'dai',
0x10 => 'ge', 'ru', 'ling', 'mie', 'fu', 'tuo', 'min', 'li', 'bian', 'zhi', 'ge', 'yuan', 'ci', 'qu', 'xiao', 'chi',
0x20 => 'dan', 'ju', 'yao', 'gu', 'dong', 'yu', 'yang', 'rong', 'ya', 'tie', 'yu', 'tian', 'ying', 'dui', 'wu', 'er',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'chen', 'ji', 'tuan', 'zhe', 'ao', 'yao', 'yi', 'ou', 'chi', 'zhi', 'liu', 'yong', 'lu', 'bi', 'shuang', 'zhuo',
0xE0 => 'yu', 'wu', 'jue', 'yin', 'ti', 'si', 'jiao', 'yi', 'hua', 'bi', 'ying', 'su', 'huang', 'fan', 'jiao', 'liao',
0xF0 => 'yan', 'gao', 'jiu', 'xian', 'xian', 'tu', 'mai', 'zun', 'yu', 'ying', 'lu', 'tuan', 'xian', 'xue', 'yi', 'pi',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x9e.php b/core/lib/Drupal/Component/Transliteration/data/x9e.php
index b50dd0f..db7e7f0 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x9e.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x9e.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'chu', 'luo', 'xi', 'yi', 'ji', 'ze', 'yu', 'zhan', 'ye', 'yang', 'pi', 'ning', 'hu', 'mi', 'ying', 'meng',
0x10 => 'di', 'yue', 'yu', 'lei', 'bao', 'lu', 'he', 'long', 'shuang', 'yue', 'ying', 'guan', 'qu', 'li', 'luan', 'niao',
0x20 => 'jiu', 'ji', 'yuan', 'ming', 'shi', 'ou', 'ya', 'cang', 'bao', 'zhen', 'gu', 'dong', 'lu', 'ya', 'xiao', 'yang',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'chi', 'hei', 'hei', 'yi', 'qian', 'dan', 'xi', 'tun', 'mo', 'mo', 'qian', 'dai', 'chu', 'you', 'dian', 'yi',
0xE0 => 'xia', 'yan', 'qu', 'mei', 'yan', 'qing', 'yue', 'li', 'dang', 'du', 'can', 'yan', 'yan', 'yan', 'dan', 'an',
0xF0 => 'zhen', 'dai', 'can', 'yi', 'mei', 'zhan', 'yan', 'du', 'lu', 'zhi', 'fen', 'fu', 'fu', 'mian', 'mian', 'yuan',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/x9f.php b/core/lib/Drupal/Component/Transliteration/data/x9f.php
index 49f08e5..13ecd6e 100644
--- a/core/lib/Drupal/Component/Transliteration/data/x9f.php
+++ b/core/lib/Drupal/Component/Transliteration/data/x9f.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'cu', 'qu', 'chao', 'wa', 'zhu', 'zhi', 'meng', 'ao', 'bie', 'tuo', 'bi', 'yuan', 'chao', 'tuo', 'ding', 'mi',
0x10 => 'nai', 'ding', 'zi', 'gu', 'gu', 'dong', 'fen', 'tao', 'yuan', 'pi', 'chang', 'gao', 'qi', 'yuan', 'tang', 'teng',
0x20 => 'shu', 'shu', 'fen', 'fei', 'wen', 'ba', 'diao', 'tuo', 'zhong', 'qu', 'sheng', 'shi', 'you', 'shi', 'ting', 'wu',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xa0.php b/core/lib/Drupal/Component/Transliteration/data/xa0.php
index b7fee62..ca55187 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xa0.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xa0.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'it', 'ix', 'i', 'ip', 'iet', 'iex', 'ie', 'iep', 'at', 'ax', 'a', 'ap', 'uox', 'uo', 'uop', 'ot',
0x10 => 'ox', 'o', 'op', 'ex', 'e', 'wu', 'bit', 'bix', 'bi', 'bip', 'biet', 'biex', 'bie', 'biep', 'bat', 'bax',
0x20 => 'ba', 'bap', 'buox', 'buo', 'buop', 'bot', 'box', 'bo', 'bop', 'bex', 'be', 'bep', 'but', 'bux', 'bu', 'bup',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'fip', 'fat', 'fax', 'fa', 'fap', 'fox', 'fo', 'fop', 'fut', 'fux', 'fu', 'fup', 'furx', 'fur', 'fyt', 'fyx',
0xE0 => 'fy', 'fyp', 'vit', 'vix', 'vi', 'vip', 'viet', 'viex', 'vie', 'viep', 'vat', 'vax', 'va', 'vap', 'vot', 'vox',
0xF0 => 'vo', 'vop', 'vex', 'vep', 'vut', 'vux', 'vu', 'vup', 'vurx', 'vur', 'vyt', 'vyx', 'vy', 'vyp', 'vyrx', 'vyr',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xa1.php b/core/lib/Drupal/Component/Transliteration/data/xa1.php
index 66cc446..19ca96e 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xa1.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xa1.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'dit', 'dix', 'di', 'dip', 'diex', 'die', 'diep', 'dat', 'dax', 'da', 'dap', 'duox', 'duo', 'dot', 'dox', 'do',
0x10 => 'dop', 'dex', 'de', 'dep', 'dut', 'dux', 'du', 'dup', 'durx', 'dur', 'tit', 'tix', 'ti', 'tip', 'tiex', 'tie',
0x20 => 'tiep', 'tat', 'tax', 'ta', 'tap', 'tuot', 'tuox', 'tuo', 'tuop', 'tot', 'tox', 'to', 'top', 'tex', 'te', 'tep',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'lu', 'lup', 'lurx', 'lur', 'lyt', 'lyx', 'ly', 'lyp', 'lyrx', 'lyr', 'git', 'gix', 'gi', 'gip', 'giet', 'giex',
0xE0 => 'gie', 'giep', 'gat', 'gax', 'ga', 'gap', 'guot', 'guox', 'guo', 'guop', 'got', 'gox', 'go', 'gop', 'get', 'gex',
0xF0 => 'ge', 'gep', 'gut', 'gux', 'gu', 'gup', 'gurx', 'gur', 'kit', 'kix', 'ki', 'kip', 'kiex', 'kie', 'kiep', 'kat',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xa2.php b/core/lib/Drupal/Component/Transliteration/data/xa2.php
index 95d4c8c..0603d5f 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xa2.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xa2.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'kax', 'ka', 'kap', 'kuox', 'kuo', 'kuop', 'kot', 'kox', 'ko', 'kop', 'ket', 'kex', 'ke', 'kep', 'kut', 'kux',
0x10 => 'ku', 'kup', 'kurx', 'kur', 'ggit', 'ggix', 'ggi', 'ggiex', 'ggie', 'ggiep', 'ggat', 'ggax', 'gga', 'ggap', 'gguot', 'gguox',
0x20 => 'gguo', 'gguop', 'ggot', 'ggox', 'ggo', 'ggop', 'gget', 'ggex', 'gge', 'ggep', 'ggut', 'ggux', 'ggu', 'ggup', 'ggurx', 'ggur',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'zzit', 'zzix', 'zzi', 'zzip', 'zziet', 'zziex', 'zzie', 'zziep', 'zzat', 'zzax', 'zza', 'zzap', 'zzox', 'zzo', 'zzop', 'zzex',
0xE0 => 'zze', 'zzep', 'zzux', 'zzu', 'zzup', 'zzurx', 'zzur', 'zzyt', 'zzyx', 'zzy', 'zzyp', 'zzyrx', 'zzyr', 'nzit', 'nzix', 'nzi',
0xF0 => 'nzip', 'nziex', 'nzie', 'nziep', 'nzat', 'nzax', 'nza', 'nzap', 'nzuox', 'nzuo', 'nzox', 'nzop', 'nzex', 'nze', 'nzux', 'nzu',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xa3.php b/core/lib/Drupal/Component/Transliteration/data/xa3.php
index a63b281..207736f 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xa3.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xa3.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'nzup', 'nzurx', 'nzur', 'nzyt', 'nzyx', 'nzy', 'nzyp', 'nzyrx', 'nzyr', 'sit', 'six', 'si', 'sip', 'siex', 'sie', 'siep',
0x10 => 'sat', 'sax', 'sa', 'sap', 'suox', 'suo', 'suop', 'sot', 'sox', 'so', 'sop', 'sex', 'se', 'sep', 'sut', 'sux',
0x20 => 'su', 'sup', 'surx', 'sur', 'syt', 'syx', 'sy', 'syp', 'syrx', 'syr', 'ssit', 'ssix', 'ssi', 'ssip', 'ssiex', 'ssie',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'rop', 'rex', 're', 'rep', 'rut', 'rux', 'ru', 'rup', 'rurx', 'rur', 'ryt', 'ryx', 'ry', 'ryp', 'ryrx', 'ryr',
0xE0 => 'jit', 'jix', 'ji', 'jip', 'jiet', 'jiex', 'jie', 'jiep', 'juot', 'juox', 'juo', 'juop', 'jot', 'jox', 'jo', 'jop',
0xF0 => 'jut', 'jux', 'ju', 'jup', 'jurx', 'jur', 'jyt', 'jyx', 'jy', 'jyp', 'jyrx', 'jyr', 'qit', 'qix', 'qi', 'qip',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xa4.php b/core/lib/Drupal/Component/Transliteration/data/xa4.php
index 2210454..736b03c 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xa4.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xa4.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'qiet', 'qiex', 'qie', 'qiep', 'quot', 'quox', 'quo', 'quop', 'qot', 'qox', 'qo', 'qop', 'qut', 'qux', 'qu', 'qup',
0x10 => 'qurx', 'qur', 'qyt', 'qyx', 'qy', 'qyp', 'qyrx', 'qyr', 'jjit', 'jjix', 'jji', 'jjip', 'jjiet', 'jjiex', 'jjie', 'jjiep',
0x20 => 'jjuox', 'jjuo', 'jjuop', 'jjot', 'jjox', 'jjo', 'jjop', 'jjut', 'jjux', 'jju', 'jjup', 'jjurx', 'jjur', 'jjyt', 'jjyx', 'jjy',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xac.php b/core/lib/Drupal/Component/Transliteration/data/xac.php
index 87c2d14..7ece9df 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xac.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xac.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ga', 'gag', 'gakk', 'gags', 'gan', 'ganj', 'ganh', 'gad', 'gal', 'galg', 'galm', 'galb', 'gals', 'galt', 'galp', 'galh',
0x10 => 'gam', 'gab', 'gabs', 'gas', 'gass', 'gang', 'gaj', 'gach', 'gak', 'gat', 'gap', 'gah', 'gae', 'gaeg', 'gaekk', 'gaegs',
0x20 => 'gaen', 'gaenj', 'gaenh', 'gaed', 'gael', 'gaelg', 'gaelm', 'gaelb', 'gaels', 'gaelt', 'gaelp', 'gaelh', 'gaem', 'gaeb', 'gaebs', 'gaes',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'gyels', 'gyelt', 'gyelp', 'gyelh', 'gyem', 'gyeb', 'gyebs', 'gyes', 'gyess', 'gyeng', 'gyej', 'gyech', 'gyek', 'gyet', 'gyep', 'gyeh',
0xE0 => 'go', 'gog', 'gokk', 'gogs', 'gon', 'gonj', 'gonh', 'god', 'gol', 'golg', 'golm', 'golb', 'gols', 'golt', 'golp', 'golh',
0xF0 => 'gom', 'gob', 'gobs', 'gos', 'goss', 'gong', 'goj', 'goch', 'gok', 'got', 'gop', 'goh', 'gwa', 'gwag', 'gwakk', 'gwags',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xad.php b/core/lib/Drupal/Component/Transliteration/data/xad.php
index 4e8eb27..8dd61de 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xad.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xad.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'gwan', 'gwanj', 'gwanh', 'gwad', 'gwal', 'gwalg', 'gwalm', 'gwalb', 'gwals', 'gwalt', 'gwalp', 'gwalh', 'gwam', 'gwab', 'gwabs', 'gwas',
0x10 => 'gwass', 'gwang', 'gwaj', 'gwach', 'gwak', 'gwat', 'gwap', 'gwah', 'gwae', 'gwaeg', 'gwaekk', 'gwaegs', 'gwaen', 'gwaenj', 'gwaenh', 'gwaed',
0x20 => 'gwael', 'gwaelg', 'gwaelm', 'gwaelb', 'gwaels', 'gwaelt', 'gwaelp', 'gwaelh', 'gwaem', 'gwaeb', 'gwaebs', 'gwaes', 'gwaess', 'gwaeng', 'gwaej', 'gwaech',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'gwim', 'gwib', 'gwibs', 'gwis', 'gwiss', 'gwing', 'gwij', 'gwich', 'gwik', 'gwit', 'gwip', 'gwih', 'gyu', 'gyug', 'gyukk', 'gyugs',
0xE0 => 'gyun', 'gyunj', 'gyunh', 'gyud', 'gyul', 'gyulg', 'gyulm', 'gyulb', 'gyuls', 'gyult', 'gyulp', 'gyulh', 'gyum', 'gyub', 'gyubs', 'gyus',
0xF0 => 'gyuss', 'gyung', 'gyuj', 'gyuch', 'gyuk', 'gyut', 'gyup', 'gyuh', 'geu', 'geug', 'geukk', 'geugs', 'geun', 'geunj', 'geunh', 'geud',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xae.php b/core/lib/Drupal/Component/Transliteration/data/xae.php
index 52f7f5c..1584a5c 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xae.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xae.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'geul', 'geulg', 'geulm', 'geulb', 'geuls', 'geult', 'geulp', 'geulh', 'geum', 'geub', 'geubs', 'geus', 'geuss', 'geung', 'geuj', 'geuch',
0x10 => 'geuk', 'geut', 'geup', 'geuh', 'gui', 'guig', 'guikk', 'guigs', 'guin', 'guinj', 'guinh', 'guid', 'guil', 'guilg', 'guilm', 'guilb',
0x20 => 'guils', 'guilt', 'guilp', 'guilh', 'guim', 'guib', 'guibs', 'guis', 'guiss', 'guing', 'guij', 'guich', 'guik', 'guit', 'guip', 'guih',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'kkeoss', 'kkeong', 'kkeoj', 'kkeoch', 'kkeok', 'kkeot', 'kkeop', 'kkeoh', 'kke', 'kkeg', 'kkekk', 'kkegs', 'kken', 'kkenj', 'kkenh', 'kked',
0xE0 => 'kkel', 'kkelg', 'kkelm', 'kkelb', 'kkels', 'kkelt', 'kkelp', 'kkelh', 'kkem', 'kkeb', 'kkebs', 'kkes', 'kkess', 'kkeng', 'kkej', 'kkech',
0xF0 => 'kkek', 'kket', 'kkep', 'kkeh', 'kkyeo', 'kkyeog', 'kkyeokk', 'kkyeogs', 'kkyeon', 'kkyeonj', 'kkyeonh', 'kkyeod', 'kkyeol', 'kkyeolg', 'kkyeolm', 'kkyeolb',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xaf.php b/core/lib/Drupal/Component/Transliteration/data/xaf.php
index e5f37fe..26c61c5 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xaf.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xaf.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'kkyeols', 'kkyeolt', 'kkyeolp', 'kkyeolh', 'kkyeom', 'kkyeob', 'kkyeobs', 'kkyeos', 'kkyeoss', 'kkyeong', 'kkyeoj', 'kkyeoch', 'kkyeok', 'kkyeot', 'kkyeop', 'kkyeoh',
0x10 => 'kkye', 'kkyeg', 'kkyekk', 'kkyegs', 'kkyen', 'kkyenj', 'kkyenh', 'kkyed', 'kkyel', 'kkyelg', 'kkyelm', 'kkyelb', 'kkyels', 'kkyelt', 'kkyelp', 'kkyelh',
0x20 => 'kkyem', 'kkyeb', 'kkyebs', 'kkyes', 'kkyess', 'kkyeng', 'kkyej', 'kkyech', 'kkyek', 'kkyet', 'kkyep', 'kkyeh', 'kko', 'kkog', 'kkokk', 'kkogs',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'kkuk', 'kkut', 'kkup', 'kkuh', 'kkwo', 'kkwog', 'kkwokk', 'kkwogs', 'kkwon', 'kkwonj', 'kkwonh', 'kkwod', 'kkwol', 'kkwolg', 'kkwolm', 'kkwolb',
0xE0 => 'kkwols', 'kkwolt', 'kkwolp', 'kkwolh', 'kkwom', 'kkwob', 'kkwobs', 'kkwos', 'kkwoss', 'kkwong', 'kkwoj', 'kkwoch', 'kkwok', 'kkwot', 'kkwop', 'kkwoh',
0xF0 => 'kkwe', 'kkweg', 'kkwekk', 'kkwegs', 'kkwen', 'kkwenj', 'kkwenh', 'kkwed', 'kkwel', 'kkwelg', 'kkwelm', 'kkwelb', 'kkwels', 'kkwelt', 'kkwelp', 'kkwelh',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xb0.php b/core/lib/Drupal/Component/Transliteration/data/xb0.php
index 96071fd..0ebe370 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xb0.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xb0.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'kkwem', 'kkweb', 'kkwebs', 'kkwes', 'kkwess', 'kkweng', 'kkwej', 'kkwech', 'kkwek', 'kkwet', 'kkwep', 'kkweh', 'kkwi', 'kkwig', 'kkwikk', 'kkwigs',
0x10 => 'kkwin', 'kkwinj', 'kkwinh', 'kkwid', 'kkwil', 'kkwilg', 'kkwilm', 'kkwilb', 'kkwils', 'kkwilt', 'kkwilp', 'kkwilh', 'kkwim', 'kkwib', 'kkwibs', 'kkwis',
0x20 => 'kkwiss', 'kkwing', 'kkwij', 'kkwich', 'kkwik', 'kkwit', 'kkwip', 'kkwih', 'kkyu', 'kkyug', 'kkyukk', 'kkyugs', 'kkyun', 'kkyunj', 'kkyunh', 'kkyud',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'nya', 'nyag', 'nyakk', 'nyags', 'nyan', 'nyanj', 'nyanh', 'nyad', 'nyal', 'nyalg', 'nyalm', 'nyalb', 'nyals', 'nyalt', 'nyalp', 'nyalh',
0xE0 => 'nyam', 'nyab', 'nyabs', 'nyas', 'nyass', 'nyang', 'nyaj', 'nyach', 'nyak', 'nyat', 'nyap', 'nyah', 'nyae', 'nyaeg', 'nyaekk', 'nyaegs',
0xF0 => 'nyaen', 'nyaenj', 'nyaenh', 'nyaed', 'nyael', 'nyaelg', 'nyaelm', 'nyaelb', 'nyaels', 'nyaelt', 'nyaelp', 'nyaelh', 'nyaem', 'nyaeb', 'nyaebs', 'nyaes',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xb1.php b/core/lib/Drupal/Component/Transliteration/data/xb1.php
index d90ecfc..2f4d010 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xb1.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xb1.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'nyaess', 'nyaeng', 'nyaej', 'nyaech', 'nyaek', 'nyaet', 'nyaep', 'nyaeh', 'neo', 'neog', 'neokk', 'neogs', 'neon', 'neonj', 'neonh', 'neod',
0x10 => 'neol', 'neolg', 'neolm', 'neolb', 'neols', 'neolt', 'neolp', 'neolh', 'neom', 'neob', 'neobs', 'neos', 'neoss', 'neong', 'neoj', 'neoch',
0x20 => 'neok', 'neot', 'neop', 'neoh', 'ne', 'neg', 'nekk', 'negs', 'nen', 'nenj', 'nenh', 'ned', 'nel', 'nelg', 'nelm', 'nelb',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'noen', 'noenj', 'noenh', 'noed', 'noel', 'noelg', 'noelm', 'noelb', 'noels', 'noelt', 'noelp', 'noelh', 'noem', 'noeb', 'noebs', 'noes',
0xE0 => 'noess', 'noeng', 'noej', 'noech', 'noek', 'noet', 'noep', 'noeh', 'nyo', 'nyog', 'nyokk', 'nyogs', 'nyon', 'nyonj', 'nyonh', 'nyod',
0xF0 => 'nyol', 'nyolg', 'nyolm', 'nyolb', 'nyols', 'nyolt', 'nyolp', 'nyolh', 'nyom', 'nyob', 'nyobs', 'nyos', 'nyoss', 'nyong', 'nyoj', 'nyoch',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xb2.php b/core/lib/Drupal/Component/Transliteration/data/xb2.php
index 1dced88..ef3617b 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xb2.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xb2.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'nyok', 'nyot', 'nyop', 'nyoh', 'nu', 'nug', 'nukk', 'nugs', 'nun', 'nunj', 'nunh', 'nud', 'nul', 'nulg', 'nulm', 'nulb',
0x10 => 'nuls', 'nult', 'nulp', 'nulh', 'num', 'nub', 'nubs', 'nus', 'nuss', 'nung', 'nuj', 'nuch', 'nuk', 'nut', 'nup', 'nuh',
0x20 => 'nwo', 'nwog', 'nwokk', 'nwogs', 'nwon', 'nwonj', 'nwonh', 'nwod', 'nwol', 'nwolg', 'nwolm', 'nwolb', 'nwols', 'nwolt', 'nwolp', 'nwolh',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'nil', 'nilg', 'nilm', 'nilb', 'nils', 'nilt', 'nilp', 'nilh', 'nim', 'nib', 'nibs', 'nis', 'niss', 'ning', 'nij', 'nich',
0xE0 => 'nik', 'nit', 'nip', 'nih', 'da', 'dag', 'dakk', 'dags', 'dan', 'danj', 'danh', 'dad', 'dal', 'dalg', 'dalm', 'dalb',
0xF0 => 'dals', 'dalt', 'dalp', 'dalh', 'dam', 'dab', 'dabs', 'das', 'dass', 'dang', 'daj', 'dach', 'dak', 'dat', 'dap', 'dah',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xb3.php b/core/lib/Drupal/Component/Transliteration/data/xb3.php
index 37a9a07..6b79807 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xb3.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xb3.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'dae', 'daeg', 'daekk', 'daegs', 'daen', 'daenj', 'daenh', 'daed', 'dael', 'daelg', 'daelm', 'daelb', 'daels', 'daelt', 'daelp', 'daelh',
0x10 => 'daem', 'daeb', 'daebs', 'daes', 'daess', 'daeng', 'daej', 'daech', 'daek', 'daet', 'daep', 'daeh', 'dya', 'dyag', 'dyakk', 'dyags',
0x20 => 'dyan', 'dyanj', 'dyanh', 'dyad', 'dyal', 'dyalg', 'dyalm', 'dyalb', 'dyals', 'dyalt', 'dyalp', 'dyalh', 'dyam', 'dyab', 'dyabs', 'dyas',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'dols', 'dolt', 'dolp', 'dolh', 'dom', 'dob', 'dobs', 'dos', 'doss', 'dong', 'doj', 'doch', 'dok', 'dot', 'dop', 'doh',
0xE0 => 'dwa', 'dwag', 'dwakk', 'dwags', 'dwan', 'dwanj', 'dwanh', 'dwad', 'dwal', 'dwalg', 'dwalm', 'dwalb', 'dwals', 'dwalt', 'dwalp', 'dwalh',
0xF0 => 'dwam', 'dwab', 'dwabs', 'dwas', 'dwass', 'dwang', 'dwaj', 'dwach', 'dwak', 'dwat', 'dwap', 'dwah', 'dwae', 'dwaeg', 'dwaekk', 'dwaegs',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xb4.php b/core/lib/Drupal/Component/Transliteration/data/xb4.php
index 2c46b3a..0ae19d4 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xb4.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xb4.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'dwaen', 'dwaenj', 'dwaenh', 'dwaed', 'dwael', 'dwaelg', 'dwaelm', 'dwaelb', 'dwaels', 'dwaelt', 'dwaelp', 'dwaelh', 'dwaem', 'dwaeb', 'dwaebs', 'dwaes',
0x10 => 'dwaess', 'dwaeng', 'dwaej', 'dwaech', 'dwaek', 'dwaet', 'dwaep', 'dwaeh', 'doe', 'doeg', 'doekk', 'doegs', 'doen', 'doenj', 'doenh', 'doed',
0x20 => 'doel', 'doelg', 'doelm', 'doelb', 'doels', 'doelt', 'doelp', 'doelh', 'doem', 'doeb', 'doebs', 'does', 'doess', 'doeng', 'doej', 'doech',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'dyum', 'dyub', 'dyubs', 'dyus', 'dyuss', 'dyung', 'dyuj', 'dyuch', 'dyuk', 'dyut', 'dyup', 'dyuh', 'deu', 'deug', 'deukk', 'deugs',
0xE0 => 'deun', 'deunj', 'deunh', 'deud', 'deul', 'deulg', 'deulm', 'deulb', 'deuls', 'deult', 'deulp', 'deulh', 'deum', 'deub', 'deubs', 'deus',
0xF0 => 'deuss', 'deung', 'deuj', 'deuch', 'deuk', 'deut', 'deup', 'deuh', 'dui', 'duig', 'duikk', 'duigs', 'duin', 'duinj', 'duinh', 'duid',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xb5.php b/core/lib/Drupal/Component/Transliteration/data/xb5.php
index ee61e54..22be8a0 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xb5.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xb5.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'duil', 'duilg', 'duilm', 'duilb', 'duils', 'duilt', 'duilp', 'duilh', 'duim', 'duib', 'duibs', 'duis', 'duiss', 'duing', 'duij', 'duich',
0x10 => 'duik', 'duit', 'duip', 'duih', 'di', 'dig', 'dikk', 'digs', 'din', 'dinj', 'dinh', 'did', 'dil', 'dilg', 'dilm', 'dilb',
0x20 => 'dils', 'dilt', 'dilp', 'dilh', 'dim', 'dib', 'dibs', 'dis', 'diss', 'ding', 'dij', 'dich', 'dik', 'dit', 'dip', 'dih',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ttess', 'tteng', 'ttej', 'ttech', 'ttek', 'ttet', 'ttep', 'tteh', 'ttyeo', 'ttyeog', 'ttyeokk', 'ttyeogs', 'ttyeon', 'ttyeonj', 'ttyeonh', 'ttyeod',
0xE0 => 'ttyeol', 'ttyeolg', 'ttyeolm', 'ttyeolb', 'ttyeols', 'ttyeolt', 'ttyeolp', 'ttyeolh', 'ttyeom', 'ttyeob', 'ttyeobs', 'ttyeos', 'ttyeoss', 'ttyeong', 'ttyeoj', 'ttyeoch',
0xF0 => 'ttyeok', 'ttyeot', 'ttyeop', 'ttyeoh', 'ttye', 'ttyeg', 'ttyekk', 'ttyegs', 'ttyen', 'ttyenj', 'ttyenh', 'ttyed', 'ttyel', 'ttyelg', 'ttyelm', 'ttyelb',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xb6.php b/core/lib/Drupal/Component/Transliteration/data/xb6.php
index 5b209ee..9a40cdc 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xb6.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xb6.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ttyels', 'ttyelt', 'ttyelp', 'ttyelh', 'ttyem', 'ttyeb', 'ttyebs', 'ttyes', 'ttyess', 'ttyeng', 'ttyej', 'ttyech', 'ttyek', 'ttyet', 'ttyep', 'ttyeh',
0x10 => 'tto', 'ttog', 'ttokk', 'ttogs', 'tton', 'ttonj', 'ttonh', 'ttod', 'ttol', 'ttolg', 'ttolm', 'ttolb', 'ttols', 'ttolt', 'ttolp', 'ttolh',
0x20 => 'ttom', 'ttob', 'ttobs', 'ttos', 'ttoss', 'ttong', 'ttoj', 'ttoch', 'ttok', 'ttot', 'ttop', 'ttoh', 'ttwa', 'ttwag', 'ttwakk', 'ttwags',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ttwok', 'ttwot', 'ttwop', 'ttwoh', 'ttwe', 'ttweg', 'ttwekk', 'ttwegs', 'ttwen', 'ttwenj', 'ttwenh', 'ttwed', 'ttwel', 'ttwelg', 'ttwelm', 'ttwelb',
0xE0 => 'ttwels', 'ttwelt', 'ttwelp', 'ttwelh', 'ttwem', 'ttweb', 'ttwebs', 'ttwes', 'ttwess', 'ttweng', 'ttwej', 'ttwech', 'ttwek', 'ttwet', 'ttwep', 'ttweh',
0xF0 => 'ttwi', 'ttwig', 'ttwikk', 'ttwigs', 'ttwin', 'ttwinj', 'ttwinh', 'ttwid', 'ttwil', 'ttwilg', 'ttwilm', 'ttwilb', 'ttwils', 'ttwilt', 'ttwilp', 'ttwilh',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xb7.php b/core/lib/Drupal/Component/Transliteration/data/xb7.php
index c19b876..419dbe1 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xb7.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xb7.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ttwim', 'ttwib', 'ttwibs', 'ttwis', 'ttwiss', 'ttwing', 'ttwij', 'ttwich', 'ttwik', 'ttwit', 'ttwip', 'ttwih', 'ttyu', 'ttyug', 'ttyukk', 'ttyugs',
0x10 => 'ttyun', 'ttyunj', 'ttyunh', 'ttyud', 'ttyul', 'ttyulg', 'ttyulm', 'ttyulb', 'ttyuls', 'ttyult', 'ttyulp', 'ttyulh', 'ttyum', 'ttyub', 'ttyubs', 'ttyus',
0x20 => 'ttyuss', 'ttyung', 'ttyuj', 'ttyuch', 'ttyuk', 'ttyut', 'ttyup', 'ttyuh', 'tteu', 'tteug', 'tteukk', 'tteugs', 'tteun', 'tteunj', 'tteunh', 'tteud',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'lyae', 'lyaeg', 'lyaekk', 'lyaegs', 'lyaen', 'lyaenj', 'lyaenh', 'lyaed', 'lyael', 'lyaelg', 'lyaelm', 'lyaelb', 'lyaels', 'lyaelt', 'lyaelp', 'lyaelh',
0xE0 => 'lyaem', 'lyaeb', 'lyaebs', 'lyaes', 'lyaess', 'lyaeng', 'lyaej', 'lyaech', 'lyaek', 'lyaet', 'lyaep', 'lyaeh', 'leo', 'leog', 'leokk', 'leogs',
0xF0 => 'leon', 'leonj', 'leonh', 'leod', 'leol', 'leolg', 'leolm', 'leolb', 'leols', 'leolt', 'leolp', 'leolh', 'leom', 'leob', 'leobs', 'leos',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xb8.php b/core/lib/Drupal/Component/Transliteration/data/xb8.php
index 3743ce2..0abd8a0 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xb8.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xb8.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'leoss', 'leong', 'leoj', 'leoch', 'leok', 'leot', 'leop', 'leoh', 'le', 'leg', 'lekk', 'legs', 'len', 'lenj', 'lenh', 'led',
0x10 => 'lel', 'lelg', 'lelm', 'lelb', 'lels', 'lelt', 'lelp', 'lelh', 'lem', 'leb', 'lebs', 'les', 'less', 'leng', 'lej', 'lech',
0x20 => 'lek', 'let', 'lep', 'leh', 'lyeo', 'lyeog', 'lyeokk', 'lyeogs', 'lyeon', 'lyeonj', 'lyeonh', 'lyeod', 'lyeol', 'lyeolg', 'lyeolm', 'lyeolb',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'lyon', 'lyonj', 'lyonh', 'lyod', 'lyol', 'lyolg', 'lyolm', 'lyolb', 'lyols', 'lyolt', 'lyolp', 'lyolh', 'lyom', 'lyob', 'lyobs', 'lyos',
0xE0 => 'lyoss', 'lyong', 'lyoj', 'lyoch', 'lyok', 'lyot', 'lyop', 'lyoh', 'lu', 'lug', 'lukk', 'lugs', 'lun', 'lunj', 'lunh', 'lud',
0xF0 => 'lul', 'lulg', 'lulm', 'lulb', 'luls', 'lult', 'lulp', 'lulh', 'lum', 'lub', 'lubs', 'lus', 'luss', 'lung', 'luj', 'luch',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xb9.php b/core/lib/Drupal/Component/Transliteration/data/xb9.php
index 0307106..9b5fcd1 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xb9.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xb9.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'luk', 'lut', 'lup', 'luh', 'lwo', 'lwog', 'lwokk', 'lwogs', 'lwon', 'lwonj', 'lwonh', 'lwod', 'lwol', 'lwolg', 'lwolm', 'lwolb',
0x10 => 'lwols', 'lwolt', 'lwolp', 'lwolh', 'lwom', 'lwob', 'lwobs', 'lwos', 'lwoss', 'lwong', 'lwoj', 'lwoch', 'lwok', 'lwot', 'lwop', 'lwoh',
0x20 => 'lwe', 'lweg', 'lwekk', 'lwegs', 'lwen', 'lwenj', 'lwenh', 'lwed', 'lwel', 'lwelg', 'lwelm', 'lwelb', 'lwels', 'lwelt', 'lwelp', 'lwelh',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'mal', 'malg', 'malm', 'malb', 'mals', 'malt', 'malp', 'malh', 'mam', 'mab', 'mabs', 'mas', 'mass', 'mang', 'maj', 'mach',
0xE0 => 'mak', 'mat', 'map', 'mah', 'mae', 'maeg', 'maekk', 'maegs', 'maen', 'maenj', 'maenh', 'maed', 'mael', 'maelg', 'maelm', 'maelb',
0xF0 => 'maels', 'maelt', 'maelp', 'maelh', 'maem', 'maeb', 'maebs', 'maes', 'maess', 'maeng', 'maej', 'maech', 'maek', 'maet', 'maep', 'maeh',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xba.php b/core/lib/Drupal/Component/Transliteration/data/xba.php
index 3087897..5a5448a 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xba.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xba.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'mya', 'myag', 'myakk', 'myags', 'myan', 'myanj', 'myanh', 'myad', 'myal', 'myalg', 'myalm', 'myalb', 'myals', 'myalt', 'myalp', 'myalh',
0x10 => 'myam', 'myab', 'myabs', 'myas', 'myass', 'myang', 'myaj', 'myach', 'myak', 'myat', 'myap', 'myah', 'myae', 'myaeg', 'myaekk', 'myaegs',
0x20 => 'myaen', 'myaenj', 'myaenh', 'myaed', 'myael', 'myaelg', 'myaelm', 'myaelb', 'myaels', 'myaelt', 'myaelp', 'myaelh', 'myaem', 'myaeb', 'myaebs', 'myaes',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'mwals', 'mwalt', 'mwalp', 'mwalh', 'mwam', 'mwab', 'mwabs', 'mwas', 'mwass', 'mwang', 'mwaj', 'mwach', 'mwak', 'mwat', 'mwap', 'mwah',
0xE0 => 'mwae', 'mwaeg', 'mwaekk', 'mwaegs', 'mwaen', 'mwaenj', 'mwaenh', 'mwaed', 'mwael', 'mwaelg', 'mwaelm', 'mwaelb', 'mwaels', 'mwaelt', 'mwaelp', 'mwaelh',
0xF0 => 'mwaem', 'mwaeb', 'mwaebs', 'mwaes', 'mwaess', 'mwaeng', 'mwaej', 'mwaech', 'mwaek', 'mwaet', 'mwaep', 'mwaeh', 'moe', 'moeg', 'moekk', 'moegs',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xbb.php b/core/lib/Drupal/Component/Transliteration/data/xbb.php
index 0f582fa..1b1ab3c 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xbb.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xbb.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'moen', 'moenj', 'moenh', 'moed', 'moel', 'moelg', 'moelm', 'moelb', 'moels', 'moelt', 'moelp', 'moelh', 'moem', 'moeb', 'moebs', 'moes',
0x10 => 'moess', 'moeng', 'moej', 'moech', 'moek', 'moet', 'moep', 'moeh', 'myo', 'myog', 'myokk', 'myogs', 'myon', 'myonj', 'myonh', 'myod',
0x20 => 'myol', 'myolg', 'myolm', 'myolb', 'myols', 'myolt', 'myolp', 'myolh', 'myom', 'myob', 'myobs', 'myos', 'myoss', 'myong', 'myoj', 'myoch',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'meum', 'meub', 'meubs', 'meus', 'meuss', 'meung', 'meuj', 'meuch', 'meuk', 'meut', 'meup', 'meuh', 'mui', 'muig', 'muikk', 'muigs',
0xE0 => 'muin', 'muinj', 'muinh', 'muid', 'muil', 'muilg', 'muilm', 'muilb', 'muils', 'muilt', 'muilp', 'muilh', 'muim', 'muib', 'muibs', 'muis',
0xF0 => 'muiss', 'muing', 'muij', 'muich', 'muik', 'muit', 'muip', 'muih', 'mi', 'mig', 'mikk', 'migs', 'min', 'minj', 'minh', 'mid',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xbc.php b/core/lib/Drupal/Component/Transliteration/data/xbc.php
index e145545..df91ce6 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xbc.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xbc.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'mil', 'milg', 'milm', 'milb', 'mils', 'milt', 'milp', 'milh', 'mim', 'mib', 'mibs', 'mis', 'miss', 'ming', 'mij', 'mich',
0x10 => 'mik', 'mit', 'mip', 'mih', 'ba', 'bag', 'bakk', 'bags', 'ban', 'banj', 'banh', 'bad', 'bal', 'balg', 'balm', 'balb',
0x20 => 'bals', 'balt', 'balp', 'balh', 'bam', 'bab', 'babs', 'bas', 'bass', 'bang', 'baj', 'bach', 'bak', 'bat', 'bap', 'bah',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'byeoss', 'byeong', 'byeoj', 'byeoch', 'byeok', 'byeot', 'byeop', 'byeoh', 'bye', 'byeg', 'byekk', 'byegs', 'byen', 'byenj', 'byenh', 'byed',
0xE0 => 'byel', 'byelg', 'byelm', 'byelb', 'byels', 'byelt', 'byelp', 'byelh', 'byem', 'byeb', 'byebs', 'byes', 'byess', 'byeng', 'byej', 'byech',
0xF0 => 'byek', 'byet', 'byep', 'byeh', 'bo', 'bog', 'bokk', 'bogs', 'bon', 'bonj', 'bonh', 'bod', 'bol', 'bolg', 'bolm', 'bolb',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xbd.php b/core/lib/Drupal/Component/Transliteration/data/xbd.php
index 539bb31..5cb779c 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xbd.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xbd.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'bols', 'bolt', 'bolp', 'bolh', 'bom', 'bob', 'bobs', 'bos', 'boss', 'bong', 'boj', 'boch', 'bok', 'bot', 'bop', 'boh',
0x10 => 'bwa', 'bwag', 'bwakk', 'bwags', 'bwan', 'bwanj', 'bwanh', 'bwad', 'bwal', 'bwalg', 'bwalm', 'bwalb', 'bwals', 'bwalt', 'bwalp', 'bwalh',
0x20 => 'bwam', 'bwab', 'bwabs', 'bwas', 'bwass', 'bwang', 'bwaj', 'bwach', 'bwak', 'bwat', 'bwap', 'bwah', 'bwae', 'bwaeg', 'bwaekk', 'bwaegs',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'bwek', 'bwet', 'bwep', 'bweh', 'bwi', 'bwig', 'bwikk', 'bwigs', 'bwin', 'bwinj', 'bwinh', 'bwid', 'bwil', 'bwilg', 'bwilm', 'bwilb',
0xE0 => 'bwils', 'bwilt', 'bwilp', 'bwilh', 'bwim', 'bwib', 'bwibs', 'bwis', 'bwiss', 'bwing', 'bwij', 'bwich', 'bwik', 'bwit', 'bwip', 'bwih',
0xF0 => 'byu', 'byug', 'byukk', 'byugs', 'byun', 'byunj', 'byunh', 'byud', 'byul', 'byulg', 'byulm', 'byulb', 'byuls', 'byult', 'byulp', 'byulh',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xbe.php b/core/lib/Drupal/Component/Transliteration/data/xbe.php
index 7d3bf6e..3800036 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xbe.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xbe.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'byum', 'byub', 'byubs', 'byus', 'byuss', 'byung', 'byuj', 'byuch', 'byuk', 'byut', 'byup', 'byuh', 'beu', 'beug', 'beukk', 'beugs',
0x10 => 'beun', 'beunj', 'beunh', 'beud', 'beul', 'beulg', 'beulm', 'beulb', 'beuls', 'beult', 'beulp', 'beulh', 'beum', 'beub', 'beubs', 'beus',
0x20 => 'beuss', 'beung', 'beuj', 'beuch', 'beuk', 'beut', 'beup', 'beuh', 'bui', 'buig', 'buikk', 'buigs', 'buin', 'buinj', 'buinh', 'buid',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ppeo', 'ppeog', 'ppeokk', 'ppeogs', 'ppeon', 'ppeonj', 'ppeonh', 'ppeod', 'ppeol', 'ppeolg', 'ppeolm', 'ppeolb', 'ppeols', 'ppeolt', 'ppeolp', 'ppeolh',
0xE0 => 'ppeom', 'ppeob', 'ppeobs', 'ppeos', 'ppeoss', 'ppeong', 'ppeoj', 'ppeoch', 'ppeok', 'ppeot', 'ppeop', 'ppeoh', 'ppe', 'ppeg', 'ppekk', 'ppegs',
0xF0 => 'ppen', 'ppenj', 'ppenh', 'pped', 'ppel', 'ppelg', 'ppelm', 'ppelb', 'ppels', 'ppelt', 'ppelp', 'ppelh', 'ppem', 'ppeb', 'ppebs', 'ppes',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xbf.php b/core/lib/Drupal/Component/Transliteration/data/xbf.php
index 5681ed1..e355651 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xbf.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xbf.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ppess', 'ppeng', 'ppej', 'ppech', 'ppek', 'ppet', 'ppep', 'ppeh', 'ppyeo', 'ppyeog', 'ppyeokk', 'ppyeogs', 'ppyeon', 'ppyeonj', 'ppyeonh', 'ppyeod',
0x10 => 'ppyeol', 'ppyeolg', 'ppyeolm', 'ppyeolb', 'ppyeols', 'ppyeolt', 'ppyeolp', 'ppyeolh', 'ppyeom', 'ppyeob', 'ppyeobs', 'ppyeos', 'ppyeoss', 'ppyeong', 'ppyeoj', 'ppyeoch',
0x20 => 'ppyeok', 'ppyeot', 'ppyeop', 'ppyeoh', 'ppye', 'ppyeg', 'ppyekk', 'ppyegs', 'ppyen', 'ppyenj', 'ppyenh', 'ppyed', 'ppyel', 'ppyelg', 'ppyelm', 'ppyelb',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ppun', 'ppunj', 'ppunh', 'ppud', 'ppul', 'ppulg', 'ppulm', 'ppulb', 'ppuls', 'ppult', 'ppulp', 'ppulh', 'ppum', 'ppub', 'ppubs', 'ppus',
0xE0 => 'ppuss', 'ppung', 'ppuj', 'ppuch', 'ppuk', 'pput', 'ppup', 'ppuh', 'ppwo', 'ppwog', 'ppwokk', 'ppwogs', 'ppwon', 'ppwonj', 'ppwonh', 'ppwod',
0xF0 => 'ppwol', 'ppwolg', 'ppwolm', 'ppwolb', 'ppwols', 'ppwolt', 'ppwolp', 'ppwolh', 'ppwom', 'ppwob', 'ppwobs', 'ppwos', 'ppwoss', 'ppwong', 'ppwoj', 'ppwoch',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xc0.php b/core/lib/Drupal/Component/Transliteration/data/xc0.php
index 89512d1..003544e 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xc0.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xc0.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ppwok', 'ppwot', 'ppwop', 'ppwoh', 'ppwe', 'ppweg', 'ppwekk', 'ppwegs', 'ppwen', 'ppwenj', 'ppwenh', 'ppwed', 'ppwel', 'ppwelg', 'ppwelm', 'ppwelb',
0x10 => 'ppwels', 'ppwelt', 'ppwelp', 'ppwelh', 'ppwem', 'ppweb', 'ppwebs', 'ppwes', 'ppwess', 'ppweng', 'ppwej', 'ppwech', 'ppwek', 'ppwet', 'ppwep', 'ppweh',
0x20 => 'ppwi', 'ppwig', 'ppwikk', 'ppwigs', 'ppwin', 'ppwinj', 'ppwinh', 'ppwid', 'ppwil', 'ppwilg', 'ppwilm', 'ppwilb', 'ppwils', 'ppwilt', 'ppwilp', 'ppwilh',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'sael', 'saelg', 'saelm', 'saelb', 'saels', 'saelt', 'saelp', 'saelh', 'saem', 'saeb', 'saebs', 'saes', 'saess', 'saeng', 'saej', 'saech',
0xE0 => 'saek', 'saet', 'saep', 'saeh', 'sya', 'syag', 'syakk', 'syags', 'syan', 'syanj', 'syanh', 'syad', 'syal', 'syalg', 'syalm', 'syalb',
0xF0 => 'syals', 'syalt', 'syalp', 'syalh', 'syam', 'syab', 'syabs', 'syas', 'syass', 'syang', 'syaj', 'syach', 'syak', 'syat', 'syap', 'syah',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xc1.php b/core/lib/Drupal/Component/Transliteration/data/xc1.php
index ae62f66..217d877 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xc1.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xc1.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'syae', 'syaeg', 'syaekk', 'syaegs', 'syaen', 'syaenj', 'syaenh', 'syaed', 'syael', 'syaelg', 'syaelm', 'syaelb', 'syaels', 'syaelt', 'syaelp', 'syaelh',
0x10 => 'syaem', 'syaeb', 'syaebs', 'syaes', 'syaess', 'syaeng', 'syaej', 'syaech', 'syaek', 'syaet', 'syaep', 'syaeh', 'seo', 'seog', 'seokk', 'seogs',
0x20 => 'seon', 'seonj', 'seonh', 'seod', 'seol', 'seolg', 'seolm', 'seolb', 'seols', 'seolt', 'seolp', 'seolh', 'seom', 'seob', 'seobs', 'seos',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'swaels', 'swaelt', 'swaelp', 'swaelh', 'swaem', 'swaeb', 'swaebs', 'swaes', 'swaess', 'swaeng', 'swaej', 'swaech', 'swaek', 'swaet', 'swaep', 'swaeh',
0xE0 => 'soe', 'soeg', 'soekk', 'soegs', 'soen', 'soenj', 'soenh', 'soed', 'soel', 'soelg', 'soelm', 'soelb', 'soels', 'soelt', 'soelp', 'soelh',
0xF0 => 'soem', 'soeb', 'soebs', 'soes', 'soess', 'soeng', 'soej', 'soech', 'soek', 'soet', 'soep', 'soeh', 'syo', 'syog', 'syokk', 'syogs',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xc2.php b/core/lib/Drupal/Component/Transliteration/data/xc2.php
index e540707..76a5738 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xc2.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xc2.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'syon', 'syonj', 'syonh', 'syod', 'syol', 'syolg', 'syolm', 'syolb', 'syols', 'syolt', 'syolp', 'syolh', 'syom', 'syob', 'syobs', 'syos',
0x10 => 'syoss', 'syong', 'syoj', 'syoch', 'syok', 'syot', 'syop', 'syoh', 'su', 'sug', 'sukk', 'sugs', 'sun', 'sunj', 'sunh', 'sud',
0x20 => 'sul', 'sulg', 'sulm', 'sulb', 'suls', 'sult', 'sulp', 'sulh', 'sum', 'sub', 'subs', 'sus', 'suss', 'sung', 'suj', 'such',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'suim', 'suib', 'suibs', 'suis', 'suiss', 'suing', 'suij', 'suich', 'suik', 'suit', 'suip', 'suih', 'si', 'sig', 'sikk', 'sigs',
0xE0 => 'sin', 'sinj', 'sinh', 'sid', 'sil', 'silg', 'silm', 'silb', 'sils', 'silt', 'silp', 'silh', 'sim', 'sib', 'sibs', 'sis',
0xF0 => 'siss', 'sing', 'sij', 'sich', 'sik', 'sit', 'sip', 'sih', 'ssa', 'ssag', 'ssakk', 'ssags', 'ssan', 'ssanj', 'ssanh', 'ssad',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xc3.php b/core/lib/Drupal/Component/Transliteration/data/xc3.php
index 4fd9755..24c8c24 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xc3.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xc3.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ssal', 'ssalg', 'ssalm', 'ssalb', 'ssals', 'ssalt', 'ssalp', 'ssalh', 'ssam', 'ssab', 'ssabs', 'ssas', 'ssass', 'ssang', 'ssaj', 'ssach',
0x10 => 'ssak', 'ssat', 'ssap', 'ssah', 'ssae', 'ssaeg', 'ssaekk', 'ssaegs', 'ssaen', 'ssaenj', 'ssaenh', 'ssaed', 'ssael', 'ssaelg', 'ssaelm', 'ssaelb',
0x20 => 'ssaels', 'ssaelt', 'ssaelp', 'ssaelh', 'ssaem', 'ssaeb', 'ssaebs', 'ssaes', 'ssaess', 'ssaeng', 'ssaej', 'ssaech', 'ssaek', 'ssaet', 'ssaep', 'ssaeh',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'ssyess', 'ssyeng', 'ssyej', 'ssyech', 'ssyek', 'ssyet', 'ssyep', 'ssyeh', 'sso', 'ssog', 'ssokk', 'ssogs', 'sson', 'ssonj', 'ssonh', 'ssod',
0xE0 => 'ssol', 'ssolg', 'ssolm', 'ssolb', 'ssols', 'ssolt', 'ssolp', 'ssolh', 'ssom', 'ssob', 'ssobs', 'ssos', 'ssoss', 'ssong', 'ssoj', 'ssoch',
0xF0 => 'ssok', 'ssot', 'ssop', 'ssoh', 'sswa', 'sswag', 'sswakk', 'sswags', 'sswan', 'sswanj', 'sswanh', 'sswad', 'sswal', 'sswalg', 'sswalm', 'sswalb',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xc4.php b/core/lib/Drupal/Component/Transliteration/data/xc4.php
index 0e9034f..5e0b970 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xc4.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xc4.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'sswals', 'sswalt', 'sswalp', 'sswalh', 'sswam', 'sswab', 'sswabs', 'sswas', 'sswass', 'sswang', 'sswaj', 'sswach', 'sswak', 'sswat', 'sswap', 'sswah',
0x10 => 'sswae', 'sswaeg', 'sswaekk', 'sswaegs', 'sswaen', 'sswaenj', 'sswaenh', 'sswaed', 'sswael', 'sswaelg', 'sswaelm', 'sswaelb', 'sswaels', 'sswaelt', 'sswaelp', 'sswaelh',
0x20 => 'sswaem', 'sswaeb', 'sswaebs', 'sswaes', 'sswaess', 'sswaeng', 'sswaej', 'sswaech', 'sswaek', 'sswaet', 'sswaep', 'sswaeh', 'ssoe', 'ssoeg', 'ssoekk', 'ssoegs',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'sswik', 'sswit', 'sswip', 'sswih', 'ssyu', 'ssyug', 'ssyukk', 'ssyugs', 'ssyun', 'ssyunj', 'ssyunh', 'ssyud', 'ssyul', 'ssyulg', 'ssyulm', 'ssyulb',
0xE0 => 'ssyuls', 'ssyult', 'ssyulp', 'ssyulh', 'ssyum', 'ssyub', 'ssyubs', 'ssyus', 'ssyuss', 'ssyung', 'ssyuj', 'ssyuch', 'ssyuk', 'ssyut', 'ssyup', 'ssyuh',
0xF0 => 'sseu', 'sseug', 'sseukk', 'sseugs', 'sseun', 'sseunj', 'sseunh', 'sseud', 'sseul', 'sseulg', 'sseulm', 'sseulb', 'sseuls', 'sseult', 'sseulp', 'sseulh',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xc5.php b/core/lib/Drupal/Component/Transliteration/data/xc5.php
index 21085ce..f679928 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xc5.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xc5.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'sseum', 'sseub', 'sseubs', 'sseus', 'sseuss', 'sseung', 'sseuj', 'sseuch', 'sseuk', 'sseut', 'sseup', 'sseuh', 'ssui', 'ssuig', 'ssuikk', 'ssuigs',
0x10 => 'ssuin', 'ssuinj', 'ssuinh', 'ssuid', 'ssuil', 'ssuilg', 'ssuilm', 'ssuilb', 'ssuils', 'ssuilt', 'ssuilp', 'ssuilh', 'ssuim', 'ssuib', 'ssuibs', 'ssuis',
0x20 => 'ssuiss', 'ssuing', 'ssuij', 'ssuich', 'ssuik', 'ssuit', 'ssuip', 'ssuih', 'ssi', 'ssig', 'ssikk', 'ssigs', 'ssin', 'ssinj', 'ssinh', 'ssid',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'e', 'eg', 'ekk', 'egs', 'en', 'enj', 'enh', 'ed', 'el', 'elg', 'elm', 'elb', 'els', 'elt', 'elp', 'elh',
0xE0 => 'em', 'eb', 'ebs', 'es', 'ess', 'eng', 'ej', 'ech', 'ek', 'et', 'ep', 'eh', 'yeo', 'yeog', 'yeokk', 'yeogs',
0xF0 => 'yeon', 'yeonj', 'yeonh', 'yeod', 'yeol', 'yeolg', 'yeolm', 'yeolb', 'yeols', 'yeolt', 'yeolp', 'yeolh', 'yeom', 'yeob', 'yeobs', 'yeos',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xc6.php b/core/lib/Drupal/Component/Transliteration/data/xc6.php
index 7cd53f2..fc2d896 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xc6.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xc6.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'yeoss', 'yeong', 'yeoj', 'yeoch', 'yeok', 'yeot', 'yeop', 'yeoh', 'ye', 'yeg', 'yekk', 'yegs', 'yen', 'yenj', 'yenh', 'yed',
0x10 => 'yel', 'yelg', 'yelm', 'yelb', 'yels', 'yelt', 'yelp', 'yelh', 'yem', 'yeb', 'yebs', 'yes', 'yess', 'yeng', 'yej', 'yech',
0x20 => 'yek', 'yet', 'yep', 'yeh', 'o', 'og', 'okk', 'ogs', 'on', 'onj', 'onh', 'od', 'ol', 'olg', 'olm', 'olb',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'won', 'wonj', 'wonh', 'wod', 'wol', 'wolg', 'wolm', 'wolb', 'wols', 'wolt', 'wolp', 'wolh', 'wom', 'wob', 'wobs', 'wos',
0xE0 => 'woss', 'wong', 'woj', 'woch', 'wok', 'wot', 'wop', 'woh', 'we', 'weg', 'wekk', 'wegs', 'wen', 'wenj', 'wenh', 'wed',
0xF0 => 'wel', 'welg', 'welm', 'welb', 'wels', 'welt', 'welp', 'welh', 'wem', 'web', 'webs', 'wes', 'wess', 'weng', 'wej', 'wech',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xc7.php b/core/lib/Drupal/Component/Transliteration/data/xc7.php
index f362ad4..405fd16 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xc7.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xc7.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'wek', 'wet', 'wep', 'weh', 'wi', 'wig', 'wikk', 'wigs', 'win', 'winj', 'winh', 'wid', 'wil', 'wilg', 'wilm', 'wilb',
0x10 => 'wils', 'wilt', 'wilp', 'wilh', 'wim', 'wib', 'wibs', 'wis', 'wiss', 'wing', 'wij', 'wich', 'wik', 'wit', 'wip', 'wih',
0x20 => 'yu', 'yug', 'yukk', 'yugs', 'yun', 'yunj', 'yunh', 'yud', 'yul', 'yulg', 'yulm', 'yulb', 'yuls', 'yult', 'yulp', 'yulh',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'jyal', 'jyalg', 'jyalm', 'jyalb', 'jyals', 'jyalt', 'jyalp', 'jyalh', 'jyam', 'jyab', 'jyabs', 'jyas', 'jyass', 'jyang', 'jyaj', 'jyach',
0xE0 => 'jyak', 'jyat', 'jyap', 'jyah', 'jyae', 'jyaeg', 'jyaekk', 'jyaegs', 'jyaen', 'jyaenj', 'jyaenh', 'jyaed', 'jyael', 'jyaelg', 'jyaelm', 'jyaelb',
0xF0 => 'jyaels', 'jyaelt', 'jyaelp', 'jyaelh', 'jyaem', 'jyaeb', 'jyaebs', 'jyaes', 'jyaess', 'jyaeng', 'jyaej', 'jyaech', 'jyaek', 'jyaet', 'jyaep', 'jyaeh',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xc8.php b/core/lib/Drupal/Component/Transliteration/data/xc8.php
index 656a070..952a139 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xc8.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xc8.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'jeo', 'jeog', 'jeokk', 'jeogs', 'jeon', 'jeonj', 'jeonh', 'jeod', 'jeol', 'jeolg', 'jeolm', 'jeolb', 'jeols', 'jeolt', 'jeolp', 'jeolh',
0x10 => 'jeom', 'jeob', 'jeobs', 'jeos', 'jeoss', 'jeong', 'jeoj', 'jeoch', 'jeok', 'jeot', 'jeop', 'jeoh', 'je', 'jeg', 'jekk', 'jegs',
0x20 => 'jen', 'jenj', 'jenh', 'jed', 'jel', 'jelg', 'jelm', 'jelb', 'jels', 'jelt', 'jelp', 'jelh', 'jem', 'jeb', 'jebs', 'jes',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'joels', 'joelt', 'joelp', 'joelh', 'joem', 'joeb', 'joebs', 'joes', 'joess', 'joeng', 'joej', 'joech', 'joek', 'joet', 'joep', 'joeh',
0xE0 => 'jyo', 'jyog', 'jyokk', 'jyogs', 'jyon', 'jyonj', 'jyonh', 'jyod', 'jyol', 'jyolg', 'jyolm', 'jyolb', 'jyols', 'jyolt', 'jyolp', 'jyolh',
0xF0 => 'jyom', 'jyob', 'jyobs', 'jyos', 'jyoss', 'jyong', 'jyoj', 'jyoch', 'jyok', 'jyot', 'jyop', 'jyoh', 'ju', 'jug', 'jukk', 'jugs',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xc9.php b/core/lib/Drupal/Component/Transliteration/data/xc9.php
index 5fd5eb5..0d990f7 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xc9.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xc9.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'jun', 'junj', 'junh', 'jud', 'jul', 'julg', 'julm', 'julb', 'juls', 'jult', 'julp', 'julh', 'jum', 'jub', 'jubs', 'jus',
0x10 => 'juss', 'jung', 'juj', 'juch', 'juk', 'jut', 'jup', 'juh', 'jwo', 'jwog', 'jwokk', 'jwogs', 'jwon', 'jwonj', 'jwonh', 'jwod',
0x20 => 'jwol', 'jwolg', 'jwolm', 'jwolb', 'jwols', 'jwolt', 'jwolp', 'jwolh', 'jwom', 'jwob', 'jwobs', 'jwos', 'jwoss', 'jwong', 'jwoj', 'jwoch',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'jim', 'jib', 'jibs', 'jis', 'jiss', 'jing', 'jij', 'jich', 'jik', 'jit', 'jip', 'jih', 'jja', 'jjag', 'jjakk', 'jjags',
0xE0 => 'jjan', 'jjanj', 'jjanh', 'jjad', 'jjal', 'jjalg', 'jjalm', 'jjalb', 'jjals', 'jjalt', 'jjalp', 'jjalh', 'jjam', 'jjab', 'jjabs', 'jjas',
0xF0 => 'jjass', 'jjang', 'jjaj', 'jjach', 'jjak', 'jjat', 'jjap', 'jjah', 'jjae', 'jjaeg', 'jjaekk', 'jjaegs', 'jjaen', 'jjaenj', 'jjaenh', 'jjaed',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xca.php b/core/lib/Drupal/Component/Transliteration/data/xca.php
index 7ebaa75..be314ec 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xca.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xca.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'jjael', 'jjaelg', 'jjaelm', 'jjaelb', 'jjaels', 'jjaelt', 'jjaelp', 'jjaelh', 'jjaem', 'jjaeb', 'jjaebs', 'jjaes', 'jjaess', 'jjaeng', 'jjaej', 'jjaech',
0x10 => 'jjaek', 'jjaet', 'jjaep', 'jjaeh', 'jjya', 'jjyag', 'jjyakk', 'jjyags', 'jjyan', 'jjyanj', 'jjyanh', 'jjyad', 'jjyal', 'jjyalg', 'jjyalm', 'jjyalb',
0x20 => 'jjyals', 'jjyalt', 'jjyalp', 'jjyalh', 'jjyam', 'jjyab', 'jjyabs', 'jjyas', 'jjyass', 'jjyang', 'jjyaj', 'jjyach', 'jjyak', 'jjyat', 'jjyap', 'jjyah',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'jjoss', 'jjong', 'jjoj', 'jjoch', 'jjok', 'jjot', 'jjop', 'jjoh', 'jjwa', 'jjwag', 'jjwakk', 'jjwags', 'jjwan', 'jjwanj', 'jjwanh', 'jjwad',
0xE0 => 'jjwal', 'jjwalg', 'jjwalm', 'jjwalb', 'jjwals', 'jjwalt', 'jjwalp', 'jjwalh', 'jjwam', 'jjwab', 'jjwabs', 'jjwas', 'jjwass', 'jjwang', 'jjwaj', 'jjwach',
0xF0 => 'jjwak', 'jjwat', 'jjwap', 'jjwah', 'jjwae', 'jjwaeg', 'jjwaekk', 'jjwaegs', 'jjwaen', 'jjwaenj', 'jjwaenh', 'jjwaed', 'jjwael', 'jjwaelg', 'jjwaelm', 'jjwaelb',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xcb.php b/core/lib/Drupal/Component/Transliteration/data/xcb.php
index cbd291a..c396fcd 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xcb.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xcb.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'jjwaels', 'jjwaelt', 'jjwaelp', 'jjwaelh', 'jjwaem', 'jjwaeb', 'jjwaebs', 'jjwaes', 'jjwaess', 'jjwaeng', 'jjwaej', 'jjwaech', 'jjwaek', 'jjwaet', 'jjwaep', 'jjwaeh',
0x10 => 'jjoe', 'jjoeg', 'jjoekk', 'jjoegs', 'jjoen', 'jjoenj', 'jjoenh', 'jjoed', 'jjoel', 'jjoelg', 'jjoelm', 'jjoelb', 'jjoels', 'jjoelt', 'jjoelp', 'jjoelh',
0x20 => 'jjoem', 'jjoeb', 'jjoebs', 'jjoes', 'jjoess', 'jjoeng', 'jjoej', 'jjoech', 'jjoek', 'jjoet', 'jjoep', 'jjoeh', 'jjyo', 'jjyog', 'jjyokk', 'jjyogs',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'jjyuk', 'jjyut', 'jjyup', 'jjyuh', 'jjeu', 'jjeug', 'jjeukk', 'jjeugs', 'jjeun', 'jjeunj', 'jjeunh', 'jjeud', 'jjeul', 'jjeulg', 'jjeulm', 'jjeulb',
0xE0 => 'jjeuls', 'jjeult', 'jjeulp', 'jjeulh', 'jjeum', 'jjeub', 'jjeubs', 'jjeus', 'jjeuss', 'jjeung', 'jjeuj', 'jjeuch', 'jjeuk', 'jjeut', 'jjeup', 'jjeuh',
0xF0 => 'jjui', 'jjuig', 'jjuikk', 'jjuigs', 'jjuin', 'jjuinj', 'jjuinh', 'jjuid', 'jjuil', 'jjuilg', 'jjuilm', 'jjuilb', 'jjuils', 'jjuilt', 'jjuilp', 'jjuilh',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xcc.php b/core/lib/Drupal/Component/Transliteration/data/xcc.php
index d543b26..4dc25f2 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xcc.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xcc.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'jjuim', 'jjuib', 'jjuibs', 'jjuis', 'jjuiss', 'jjuing', 'jjuij', 'jjuich', 'jjuik', 'jjuit', 'jjuip', 'jjuih', 'jji', 'jjig', 'jjikk', 'jjigs',
0x10 => 'jjin', 'jjinj', 'jjinh', 'jjid', 'jjil', 'jjilg', 'jjilm', 'jjilb', 'jjils', 'jjilt', 'jjilp', 'jjilh', 'jjim', 'jjib', 'jjibs', 'jjis',
0x20 => 'jjiss', 'jjing', 'jjij', 'jjich', 'jjik', 'jjit', 'jjip', 'jjih', 'cha', 'chag', 'chakk', 'chags', 'chan', 'chanj', 'chanh', 'chad',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'chyeo', 'chyeog', 'chyeokk', 'chyeogs', 'chyeon', 'chyeonj', 'chyeonh', 'chyeod', 'chyeol', 'chyeolg', 'chyeolm', 'chyeolb', 'chyeols', 'chyeolt', 'chyeolp', 'chyeolh',
0xE0 => 'chyeom', 'chyeob', 'chyeobs', 'chyeos', 'chyeoss', 'chyeong', 'chyeoj', 'chyeoch', 'chyeok', 'chyeot', 'chyeop', 'chyeoh', 'chye', 'chyeg', 'chyekk', 'chyegs',
0xF0 => 'chyen', 'chyenj', 'chyenh', 'chyed', 'chyel', 'chyelg', 'chyelm', 'chyelb', 'chyels', 'chyelt', 'chyelp', 'chyelh', 'chyem', 'chyeb', 'chyebs', 'chyes',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xcd.php b/core/lib/Drupal/Component/Transliteration/data/xcd.php
index 6f730e5..21f2ed7 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xcd.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xcd.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'chyess', 'chyeng', 'chyej', 'chyech', 'chyek', 'chyet', 'chyep', 'chyeh', 'cho', 'chog', 'chokk', 'chogs', 'chon', 'chonj', 'chonh', 'chod',
0x10 => 'chol', 'cholg', 'cholm', 'cholb', 'chols', 'cholt', 'cholp', 'cholh', 'chom', 'chob', 'chobs', 'chos', 'choss', 'chong', 'choj', 'choch',
0x20 => 'chok', 'chot', 'chop', 'choh', 'chwa', 'chwag', 'chwakk', 'chwags', 'chwan', 'chwanj', 'chwanh', 'chwad', 'chwal', 'chwalg', 'chwalm', 'chwalb',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'chwen', 'chwenj', 'chwenh', 'chwed', 'chwel', 'chwelg', 'chwelm', 'chwelb', 'chwels', 'chwelt', 'chwelp', 'chwelh', 'chwem', 'chweb', 'chwebs', 'chwes',
0xE0 => 'chwess', 'chweng', 'chwej', 'chwech', 'chwek', 'chwet', 'chwep', 'chweh', 'chwi', 'chwig', 'chwikk', 'chwigs', 'chwin', 'chwinj', 'chwinh', 'chwid',
0xF0 => 'chwil', 'chwilg', 'chwilm', 'chwilb', 'chwils', 'chwilt', 'chwilp', 'chwilh', 'chwim', 'chwib', 'chwibs', 'chwis', 'chwiss', 'chwing', 'chwij', 'chwich',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xce.php b/core/lib/Drupal/Component/Transliteration/data/xce.php
index 099354e..08dff78 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xce.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xce.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'chwik', 'chwit', 'chwip', 'chwih', 'chyu', 'chyug', 'chyukk', 'chyugs', 'chyun', 'chyunj', 'chyunh', 'chyud', 'chyul', 'chyulg', 'chyulm', 'chyulb',
0x10 => 'chyuls', 'chyult', 'chyulp', 'chyulh', 'chyum', 'chyub', 'chyubs', 'chyus', 'chyuss', 'chyung', 'chyuj', 'chyuch', 'chyuk', 'chyut', 'chyup', 'chyuh',
0x20 => 'cheu', 'cheug', 'cheukk', 'cheugs', 'cheun', 'cheunj', 'cheunh', 'cheud', 'cheul', 'cheulg', 'cheulm', 'cheulb', 'cheuls', 'cheult', 'cheulp', 'cheulh',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'kyael', 'kyaelg', 'kyaelm', 'kyaelb', 'kyaels', 'kyaelt', 'kyaelp', 'kyaelh', 'kyaem', 'kyaeb', 'kyaebs', 'kyaes', 'kyaess', 'kyaeng', 'kyaej', 'kyaech',
0xE0 => 'kyaek', 'kyaet', 'kyaep', 'kyaeh', 'keo', 'keog', 'keokk', 'keogs', 'keon', 'keonj', 'keonh', 'keod', 'keol', 'keolg', 'keolm', 'keolb',
0xF0 => 'keols', 'keolt', 'keolp', 'keolh', 'keom', 'keob', 'keobs', 'keos', 'keoss', 'keong', 'keoj', 'keoch', 'keok', 'keot', 'keop', 'keoh',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xcf.php b/core/lib/Drupal/Component/Transliteration/data/xcf.php
index 434113f..2a0a946 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xcf.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xcf.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ke', 'keg', 'kekk', 'kegs', 'ken', 'kenj', 'kenh', 'ked', 'kel', 'kelg', 'kelm', 'kelb', 'kels', 'kelt', 'kelp', 'kelh',
0x10 => 'kem', 'keb', 'kebs', 'kes', 'kess', 'keng', 'kej', 'kech', 'kek', 'ket', 'kep', 'keh', 'kyeo', 'kyeog', 'kyeokk', 'kyeogs',
0x20 => 'kyeon', 'kyeonj', 'kyeonh', 'kyeod', 'kyeol', 'kyeolg', 'kyeolm', 'kyeolb', 'kyeols', 'kyeolt', 'kyeolp', 'kyeolh', 'kyeom', 'kyeob', 'kyeobs', 'kyeos',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'kyols', 'kyolt', 'kyolp', 'kyolh', 'kyom', 'kyob', 'kyobs', 'kyos', 'kyoss', 'kyong', 'kyoj', 'kyoch', 'kyok', 'kyot', 'kyop', 'kyoh',
0xE0 => 'ku', 'kug', 'kukk', 'kugs', 'kun', 'kunj', 'kunh', 'kud', 'kul', 'kulg', 'kulm', 'kulb', 'kuls', 'kult', 'kulp', 'kulh',
0xF0 => 'kum', 'kub', 'kubs', 'kus', 'kuss', 'kung', 'kuj', 'kuch', 'kuk', 'kut', 'kup', 'kuh', 'kwo', 'kwog', 'kwokk', 'kwogs',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xd0.php b/core/lib/Drupal/Component/Transliteration/data/xd0.php
index 848b49c..3c94c68 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xd0.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xd0.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'kwon', 'kwonj', 'kwonh', 'kwod', 'kwol', 'kwolg', 'kwolm', 'kwolb', 'kwols', 'kwolt', 'kwolp', 'kwolh', 'kwom', 'kwob', 'kwobs', 'kwos',
0x10 => 'kwoss', 'kwong', 'kwoj', 'kwoch', 'kwok', 'kwot', 'kwop', 'kwoh', 'kwe', 'kweg', 'kwekk', 'kwegs', 'kwen', 'kwenj', 'kwenh', 'kwed',
0x20 => 'kwel', 'kwelg', 'kwelm', 'kwelb', 'kwels', 'kwelt', 'kwelp', 'kwelh', 'kwem', 'kweb', 'kwebs', 'kwes', 'kwess', 'kweng', 'kwej', 'kwech',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'tam', 'tab', 'tabs', 'tas', 'tass', 'tang', 'taj', 'tach', 'tak', 'tat', 'tap', 'tah', 'tae', 'taeg', 'taekk', 'taegs',
0xE0 => 'taen', 'taenj', 'taenh', 'taed', 'tael', 'taelg', 'taelm', 'taelb', 'taels', 'taelt', 'taelp', 'taelh', 'taem', 'taeb', 'taebs', 'taes',
0xF0 => 'taess', 'taeng', 'taej', 'taech', 'taek', 'taet', 'taep', 'taeh', 'tya', 'tyag', 'tyakk', 'tyags', 'tyan', 'tyanj', 'tyanh', 'tyad',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xd1.php b/core/lib/Drupal/Component/Transliteration/data/xd1.php
index c6504f4..418f207 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xd1.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xd1.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'tyal', 'tyalg', 'tyalm', 'tyalb', 'tyals', 'tyalt', 'tyalp', 'tyalh', 'tyam', 'tyab', 'tyabs', 'tyas', 'tyass', 'tyang', 'tyaj', 'tyach',
0x10 => 'tyak', 'tyat', 'tyap', 'tyah', 'tyae', 'tyaeg', 'tyaekk', 'tyaegs', 'tyaen', 'tyaenj', 'tyaenh', 'tyaed', 'tyael', 'tyaelg', 'tyaelm', 'tyaelb',
0x20 => 'tyaels', 'tyaelt', 'tyaelp', 'tyaelh', 'tyaem', 'tyaeb', 'tyaebs', 'tyaes', 'tyaess', 'tyaeng', 'tyaej', 'tyaech', 'tyaek', 'tyaet', 'tyaep', 'tyaeh',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'twass', 'twang', 'twaj', 'twach', 'twak', 'twat', 'twap', 'twah', 'twae', 'twaeg', 'twaekk', 'twaegs', 'twaen', 'twaenj', 'twaenh', 'twaed',
0xE0 => 'twael', 'twaelg', 'twaelm', 'twaelb', 'twaels', 'twaelt', 'twaelp', 'twaelh', 'twaem', 'twaeb', 'twaebs', 'twaes', 'twaess', 'twaeng', 'twaej', 'twaech',
0xF0 => 'twaek', 'twaet', 'twaep', 'twaeh', 'toe', 'toeg', 'toekk', 'toegs', 'toen', 'toenj', 'toenh', 'toed', 'toel', 'toelg', 'toelm', 'toelb',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xd2.php b/core/lib/Drupal/Component/Transliteration/data/xd2.php
index 741c229..d749276 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xd2.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xd2.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'toels', 'toelt', 'toelp', 'toelh', 'toem', 'toeb', 'toebs', 'toes', 'toess', 'toeng', 'toej', 'toech', 'toek', 'toet', 'toep', 'toeh',
0x10 => 'tyo', 'tyog', 'tyokk', 'tyogs', 'tyon', 'tyonj', 'tyonh', 'tyod', 'tyol', 'tyolg', 'tyolm', 'tyolb', 'tyols', 'tyolt', 'tyolp', 'tyolh',
0x20 => 'tyom', 'tyob', 'tyobs', 'tyos', 'tyoss', 'tyong', 'tyoj', 'tyoch', 'tyok', 'tyot', 'tyop', 'tyoh', 'tu', 'tug', 'tukk', 'tugs',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'teuk', 'teut', 'teup', 'teuh', 'tui', 'tuig', 'tuikk', 'tuigs', 'tuin', 'tuinj', 'tuinh', 'tuid', 'tuil', 'tuilg', 'tuilm', 'tuilb',
0xE0 => 'tuils', 'tuilt', 'tuilp', 'tuilh', 'tuim', 'tuib', 'tuibs', 'tuis', 'tuiss', 'tuing', 'tuij', 'tuich', 'tuik', 'tuit', 'tuip', 'tuih',
0xF0 => 'ti', 'tig', 'tikk', 'tigs', 'tin', 'tinj', 'tinh', 'tid', 'til', 'tilg', 'tilm', 'tilb', 'tils', 'tilt', 'tilp', 'tilh',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xd3.php b/core/lib/Drupal/Component/Transliteration/data/xd3.php
index 54aab18..d56ee58 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xd3.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xd3.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'tim', 'tib', 'tibs', 'tis', 'tiss', 'ting', 'tij', 'tich', 'tik', 'tit', 'tip', 'tih', 'pa', 'pag', 'pakk', 'pags',
0x10 => 'pan', 'panj', 'panh', 'pad', 'pal', 'palg', 'palm', 'palb', 'pals', 'palt', 'palp', 'palh', 'pam', 'pab', 'pabs', 'pas',
0x20 => 'pass', 'pang', 'paj', 'pach', 'pak', 'pat', 'pap', 'pah', 'pae', 'paeg', 'paekk', 'paegs', 'paen', 'paenj', 'paenh', 'paed',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'pye', 'pyeg', 'pyekk', 'pyegs', 'pyen', 'pyenj', 'pyenh', 'pyed', 'pyel', 'pyelg', 'pyelm', 'pyelb', 'pyels', 'pyelt', 'pyelp', 'pyelh',
0xE0 => 'pyem', 'pyeb', 'pyebs', 'pyes', 'pyess', 'pyeng', 'pyej', 'pyech', 'pyek', 'pyet', 'pyep', 'pyeh', 'po', 'pog', 'pokk', 'pogs',
0xF0 => 'pon', 'ponj', 'ponh', 'pod', 'pol', 'polg', 'polm', 'polb', 'pols', 'polt', 'polp', 'polh', 'pom', 'pob', 'pobs', 'pos',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xd4.php b/core/lib/Drupal/Component/Transliteration/data/xd4.php
index 0df6410..dcbf3ec 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xd4.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xd4.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'poss', 'pong', 'poj', 'poch', 'pok', 'pot', 'pop', 'poh', 'pwa', 'pwag', 'pwakk', 'pwags', 'pwan', 'pwanj', 'pwanh', 'pwad',
0x10 => 'pwal', 'pwalg', 'pwalm', 'pwalb', 'pwals', 'pwalt', 'pwalp', 'pwalh', 'pwam', 'pwab', 'pwabs', 'pwas', 'pwass', 'pwang', 'pwaj', 'pwach',
0x20 => 'pwak', 'pwat', 'pwap', 'pwah', 'pwae', 'pwaeg', 'pwaekk', 'pwaegs', 'pwaen', 'pwaenj', 'pwaenh', 'pwaed', 'pwael', 'pwaelg', 'pwaelm', 'pwaelb',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'pwin', 'pwinj', 'pwinh', 'pwid', 'pwil', 'pwilg', 'pwilm', 'pwilb', 'pwils', 'pwilt', 'pwilp', 'pwilh', 'pwim', 'pwib', 'pwibs', 'pwis',
0xE0 => 'pwiss', 'pwing', 'pwij', 'pwich', 'pwik', 'pwit', 'pwip', 'pwih', 'pyu', 'pyug', 'pyukk', 'pyugs', 'pyun', 'pyunj', 'pyunh', 'pyud',
0xF0 => 'pyul', 'pyulg', 'pyulm', 'pyulb', 'pyuls', 'pyult', 'pyulp', 'pyulh', 'pyum', 'pyub', 'pyubs', 'pyus', 'pyuss', 'pyung', 'pyuj', 'pyuch',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xd5.php b/core/lib/Drupal/Component/Transliteration/data/xd5.php
index 2dbeada..0b3efb1 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xd5.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xd5.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'pyuk', 'pyut', 'pyup', 'pyuh', 'peu', 'peug', 'peukk', 'peugs', 'peun', 'peunj', 'peunh', 'peud', 'peul', 'peulg', 'peulm', 'peulb',
0x10 => 'peuls', 'peult', 'peulp', 'peulh', 'peum', 'peub', 'peubs', 'peus', 'peuss', 'peung', 'peuj', 'peuch', 'peuk', 'peut', 'peup', 'peuh',
0x20 => 'pui', 'puig', 'puikk', 'puigs', 'puin', 'puinj', 'puinh', 'puid', 'puil', 'puilg', 'puilm', 'puilb', 'puils', 'puilt', 'puilp', 'puilh',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'heol', 'heolg', 'heolm', 'heolb', 'heols', 'heolt', 'heolp', 'heolh', 'heom', 'heob', 'heobs', 'heos', 'heoss', 'heong', 'heoj', 'heoch',
0xE0 => 'heok', 'heot', 'heop', 'heoh', 'he', 'heg', 'hekk', 'hegs', 'hen', 'henj', 'henh', 'hed', 'hel', 'helg', 'helm', 'helb',
0xF0 => 'hels', 'helt', 'help', 'helh', 'hem', 'heb', 'hebs', 'hes', 'hess', 'heng', 'hej', 'hech', 'hek', 'het', 'hep', 'heh',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xd6.php b/core/lib/Drupal/Component/Transliteration/data/xd6.php
index e86914f..ae1dcf7 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xd6.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xd6.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'hyeo', 'hyeog', 'hyeokk', 'hyeogs', 'hyeon', 'hyeonj', 'hyeonh', 'hyeod', 'hyeol', 'hyeolg', 'hyeolm', 'hyeolb', 'hyeols', 'hyeolt', 'hyeolp', 'hyeolh',
0x10 => 'hyeom', 'hyeob', 'hyeobs', 'hyeos', 'hyeoss', 'hyeong', 'hyeoj', 'hyeoch', 'hyeok', 'hyeot', 'hyeop', 'hyeoh', 'hye', 'hyeg', 'hyekk', 'hyegs',
0x20 => 'hyen', 'hyenj', 'hyenh', 'hyed', 'hyel', 'hyelg', 'hyelm', 'hyelb', 'hyels', 'hyelt', 'hyelp', 'hyelh', 'hyem', 'hyeb', 'hyebs', 'hyes',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'huls', 'hult', 'hulp', 'hulh', 'hum', 'hub', 'hubs', 'hus', 'huss', 'hung', 'huj', 'huch', 'huk', 'hut', 'hup', 'huh',
0xE0 => 'hwo', 'hwog', 'hwokk', 'hwogs', 'hwon', 'hwonj', 'hwonh', 'hwod', 'hwol', 'hwolg', 'hwolm', 'hwolb', 'hwols', 'hwolt', 'hwolp', 'hwolh',
0xF0 => 'hwom', 'hwob', 'hwobs', 'hwos', 'hwoss', 'hwong', 'hwoj', 'hwoch', 'hwok', 'hwot', 'hwop', 'hwoh', 'hwe', 'hweg', 'hwekk', 'hwegs',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xd7.php b/core/lib/Drupal/Component/Transliteration/data/xd7.php
index af74c89..c0f75b5 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xd7.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xd7.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'hwen', 'hwenj', 'hwenh', 'hwed', 'hwel', 'hwelg', 'hwelm', 'hwelb', 'hwels', 'hwelt', 'hwelp', 'hwelh', 'hwem', 'hweb', 'hwebs', 'hwes',
0x10 => 'hwess', 'hweng', 'hwej', 'hwech', 'hwek', 'hwet', 'hwep', 'hweh', 'hwi', 'hwig', 'hwikk', 'hwigs', 'hwin', 'hwinj', 'hwinh', 'hwid',
0x20 => 'hwil', 'hwilg', 'hwilm', 'hwilb', 'hwils', 'hwilt', 'hwilp', 'hwilh', 'hwim', 'hwib', 'hwibs', 'hwis', 'hwiss', 'hwing', 'hwij', 'hwich',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xf9.php b/core/lib/Drupal/Component/Transliteration/data/xf9.php
index efc8499..29eaa3b 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xf9.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xf9.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'qi', 'geng', 'che', 'jia', 'hua', 'chuan', 'ju', 'gui', 'gui', 'qi', 'jin', 'la', 'nai', 'lan', 'lai', 'luo',
0x10 => 'luo', 'luo', 'luo', 'luo', 'le', 'luo', 'lao', 'luo', 'luo', 'lao', 'luo', 'luan', 'luan', 'lan', 'lan', 'lan',
0x20 => 'luan', 'lan', 'lan', 'lan', 'lan', 'la', 'la', 'la', 'lang', 'lang', 'lang', 'lang', 'lang', 'lai', 'leng', 'lao',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'lei', 'liu', 'lu', 'lu', 'lun', 'lun', 'lun', 'lun', 'lu', 'li', 'li', 'lu', 'long', 'li', 'li', 'lu',
0xE0 => 'yi', 'li', 'li', 'ni', 'li', 'li', 'li', 'li', 'li', 'li', 'li', 'ni', 'ni', 'lin', 'lin', 'lin',
0xF0 => 'lin', 'lin', 'lin', 'lin', 'lin', 'lin', 'lin', 'li', 'li', 'li', 'zhuang', 'zhi', 'shi', 'shen', 'cha', 'ci',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xfa.php b/core/lib/Drupal/Component/Transliteration/data/xfa.php
index 7ba4ae8..d5b92f6 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xfa.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xfa.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'qie', 'du', 'ta', 'tang', 'zhai', 'dong', 'bao', 'fu', 'xing', 'jiang', 'jian', 'kuo', 'wu', 'hu', NULL, NULL,
0x10 => 'zhong', NULL, 'qing', NULL, NULL, 'xi', 'zhu', 'yi', 'li', 'shen', 'xiang', 'fu', 'jing', 'jing', 'yu', NULL,
0x20 => 'qiu', NULL, 'zhu', NULL, NULL, 'yi', 'dou', NULL, NULL, NULL, 'fan', 'si', 'guan', 'he', NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, 'he', 'xie', 'jie', NULL, 'qian', 'beng', 'e', 'pang', NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xfb.php b/core/lib/Drupal/Component/Transliteration/data/xfb.php
index 7dd47ae..aa734cd 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xfb.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xfb.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'ff', 'fi', 'fl', 'ffi', 'ffl', 'st', 'st', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x10 => NULL, NULL, NULL, 'mn', 'me', 'mi', 'vn', 'mkh', NULL, NULL, NULL, NULL, NULL, 'y', '', 'yy',
0x20 => '`', '', 'd', 'h', 'k', 'l', 'm', 'r', 't', '+', 's', 's', 's', 's', 'a', 'a',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, 'ng', 'ng', 'ng', 'ng', '', '', '', '', '', '', '', 'v', 'v',
0xE0 => '', '', '', '', '', '', '', '', 'y', 'y', 'ya', 'ya', '', '', 'yw', 'yw',
0xF0 => '', '', '', '', '', '', '', '', '', 'yy', 'yy', 'yy', 'y', 'y', 'y', 'y',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xfc.php b/core/lib/Drupal/Component/Transliteration/data/xfc.php
index 959ef1e..aac2f66 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xfc.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xfc.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'yj', 'yh', 'ym', 'yy', 'yy', 'bj', 'bh', 'bkh', 'bm', 'by', 'by', 'tj', 'th', 'tkh', 'tm', 'ty',
0x10 => 'ty', 'thj', 'thm', 'thy', 'thy', 'jh', 'jm', 'hj', 'hm', 'khj', 'khh', 'khm', 'sj', 'sh', 'skh', 'sm',
0x20 => 'sh', 'sm', 'dj', 'dh', 'dkh', 'dm', 'th', 'tm', 'zm', '', '', 'ghj', 'ghm', 'fj', 'fh', 'fkh',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'mkh', 'mm', 'nj', 'nh', 'nkh', 'nm', 'nh', 'hj', 'hm', 'h', 'yj', 'yh', 'ykh', 'ym', 'yh', 'ym',
0xE0 => 'yh', 'bm', 'bh', 'tm', 'th', 'thm', 'thh', 'sm', 'sh', 'shm', 'shh', 'kl', 'km', 'lm', 'nm', 'nh',
0xF0 => 'ym', 'yh', 'a', 'u', 'i', 'ty', 'ty', '', '', 'ghy', 'ghy', 'sy', 'sy', 'shy', 'shy', 'hy',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xfd.php b/core/lib/Drupal/Component/Transliteration/data/xfd.php
index 26372c4..a970732 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xfd.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xfd.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => 'hy', 'jy', 'jy', 'khy', 'khy', 'sy', 'sy', 'dy', 'dy', 'shj', 'shh', 'shkh', 'shm', 'shr', 'sr', 'sr',
0x10 => 'dr', 'ty', 'ty', '', '', 'ghy', 'ghy', 'sy', 'sy', 'shy', 'shy', 'hy', 'hy', 'jy', 'jy', 'khy',
0x20 => 'khy', 'sy', 'sy', 'dy', 'dy', 'shj', 'shh', 'shkh', 'shm', 'shr', 'sr', 'sr', 'dr', 'shj', 'shh', 'shkh',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xE0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0xF0 => '', '', 'allh', 'akbr', 'mhmd', '', 'rswl', '', 'wslm', 'sly', '', 'jl jlalh', 'ryal', NULL, NULL, NULL,
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xfe.php b/core/lib/Drupal/Component/Transliteration/data/xfe.php
index c53867b..d054020 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xfe.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xfe.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0x10 => ',', ',', '.', ':', ';', '!', '?', NULL, NULL, '...', NULL, NULL, NULL, NULL, NULL, NULL,
0x20 => '', '', '', '~', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
@@ -22,4 +22,4 @@ $base = array(
0xD0 => 'gh', 'f', 'f', 'f', 'f', 'q', 'q', 'q', 'q', 'k', 'k', 'k', 'k', 'l', 'l', 'l',
0xE0 => 'l', 'm', 'm', 'm', 'm', 'n', 'n', 'n', 'n', 'h', 'h', 'h', 'h', 'w', 'w', 'y',
0xF0 => 'y', 'y', 'y', 'y', 'y', 'la', 'la', 'la', 'la', 'la', 'la', 'la', 'la', NULL, NULL, '',
-);
+];
diff --git a/core/lib/Drupal/Component/Transliteration/data/xff.php b/core/lib/Drupal/Component/Transliteration/data/xff.php
index 8085298..3f669bd 100644
--- a/core/lib/Drupal/Component/Transliteration/data/xff.php
+++ b/core/lib/Drupal/Component/Transliteration/data/xff.php
@@ -5,7 +5,7 @@
* Generic transliteration data for the PhpTransliteration class.
*/
-$base = array(
+$base = [
0x00 => NULL, '!', '"', '#', '$', '%', '&', '\'', '(', ')', '*', '+', ',', '-', '.', '/',
0x10 => '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=', '>', '?',
0x20 => '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O',
@@ -22,4 +22,4 @@ $base = array(
0xD0 => NULL, NULL, 'yo', 'u', 'wo', 'we', 'wi', 'yu', NULL, NULL, 'eu', 'ui', 'i', NULL, NULL, NULL,
0xE0 => '/C', 'PS', '!', '-', '|', 'Y=', 'W=', NULL, '|', '-', '|', '-', '|', '#', 'O', NULL,
0xF0 => NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '{', '|', '}', '', '', '', '',
-);
+];
diff --git a/core/lib/Drupal/Component/Utility/ArgumentsResolver.php b/core/lib/Drupal/Component/Utility/ArgumentsResolver.php
index e04cc35..0bd53b2 100644
--- a/core/lib/Drupal/Component/Utility/ArgumentsResolver.php
+++ b/core/lib/Drupal/Component/Utility/ArgumentsResolver.php
@@ -49,7 +49,7 @@ class ArgumentsResolver implements ArgumentsResolverInterface {
* {@inheritdoc}
*/
public function getArguments(callable $callable) {
- $arguments = array();
+ $arguments = [];
foreach ($this->getReflector($callable)->getParameters() as $parameter) {
$arguments[] = $this->getArgument($parameter);
}
diff --git a/core/lib/Drupal/Component/Utility/Color.php b/core/lib/Drupal/Component/Utility/Color.php
index d53261c..aa296e9 100644
--- a/core/lib/Drupal/Component/Utility/Color.php
+++ b/core/lib/Drupal/Component/Utility/Color.php
@@ -56,11 +56,11 @@ class Color {
$c = hexdec($hex);
- return array(
+ return [
'red' => $c >> 16 & 0xFF,
'green' => $c >> 8 & 0xFF,
'blue' => $c & 0xFF,
- );
+ ];
}
/**
diff --git a/core/lib/Drupal/Component/Utility/DiffArray.php b/core/lib/Drupal/Component/Utility/DiffArray.php
index 719049e..825648e 100644
--- a/core/lib/Drupal/Component/Utility/DiffArray.php
+++ b/core/lib/Drupal/Component/Utility/DiffArray.php
@@ -25,7 +25,7 @@ class DiffArray {
* in array2.
*/
public static function diffAssocRecursive(array $array1, array $array2) {
- $difference = array();
+ $difference = [];
foreach ($array1 as $key => $value) {
if (is_array($value)) {
diff --git a/core/lib/Drupal/Component/Utility/Html.php b/core/lib/Drupal/Component/Utility/Html.php
index 5456cfa..75bb62f 100644
--- a/core/lib/Drupal/Component/Utility/Html.php
+++ b/core/lib/Drupal/Component/Utility/Html.php
@@ -14,7 +14,7 @@ class Html {
*
* @var array
*/
- protected static $classes = array();
+ protected static $classes = [];
/**
* An array of the initial IDs used in one request.
@@ -89,13 +89,13 @@ class Html {
* @return string
* The cleaned identifier.
*/
- public static function cleanCssIdentifier($identifier, array $filter = array(
+ public static function cleanCssIdentifier($identifier, array $filter = [
' ' => '-',
'_' => '-',
'/' => '-',
'[' => '-',
']' => '',
- )) {
+ ]) {
// We could also use strtr() here but its much slower than str_replace(). In
// order to keep '__' to stay '__' we first replace it with a different
// placeholder after checking that it is not defined as a filter.
@@ -120,10 +120,10 @@ class Html {
// We strip out any character not in the above list.
$identifier = preg_replace('/[^\x{002D}\x{0030}-\x{0039}\x{0041}-\x{005A}\x{005F}\x{0061}-\x{007A}\x{00A1}-\x{FFFF}]/u', '', $identifier);
// Identifiers cannot start with a digit, two hyphens, or a hyphen followed by a digit.
- $identifier = preg_replace(array(
+ $identifier = preg_replace([
'/^[0-9]/',
'/^(-[0-9])|^(--)/'
- ), array('_', '__'), $identifier);
+ ], ['_', '__'], $identifier);
return $identifier;
}
@@ -176,7 +176,7 @@ class Html {
// @todo Remove all that code once we switch over to random IDs only,
// see https://www.drupal.org/node/1090592.
if (!isset(static::$seenIdsInit)) {
- static::$seenIdsInit = array();
+ static::$seenIdsInit = [];
}
if (!isset(static::$seenIds)) {
static::$seenIds = static::$seenIdsInit;
@@ -279,7 +279,7 @@ EOD;
// PHP's \DOMDocument serialization adds extra whitespace when the markup
// of the wrapping document contains newlines, so ensure we remove all
// newlines before injecting the actual HTML body to be processed.
- $document = strtr($document, array("\n" => '', '!html' => $html));
+ $document = strtr($document, ["\n" => '', '!html' => $html]);
$dom = new \DOMDocument();
// Ignore warnings during HTML soup loading.
diff --git a/core/lib/Drupal/Component/Utility/NestedArray.php b/core/lib/Drupal/Component/Utility/NestedArray.php
index 0b7cf4f..c11d6a6 100644
--- a/core/lib/Drupal/Component/Utility/NestedArray.php
+++ b/core/lib/Drupal/Component/Utility/NestedArray.php
@@ -150,7 +150,7 @@ class NestedArray {
// PHP auto-creates container arrays and NULL entries without error if $ref
// is NULL, but throws an error if $ref is set, but not an array.
if ($force && isset($ref) && !is_array($ref)) {
- $ref = array();
+ $ref = [];
}
$ref = &$ref[$parent];
}
@@ -322,7 +322,7 @@ class NestedArray {
* @see NestedArray::mergeDeep()
*/
public static function mergeDeepArray(array $arrays, $preserve_integer_keys = FALSE) {
- $result = array();
+ $result = [];
foreach ($arrays as $array) {
foreach ($array as $key => $value) {
// Renumber integer keys as array_merge_recursive() does unless
@@ -333,7 +333,7 @@ class NestedArray {
}
// Recurse when both values are arrays.
elseif (isset($result[$key]) && is_array($result[$key]) && is_array($value)) {
- $result[$key] = self::mergeDeepArray(array($result[$key], $value), $preserve_integer_keys);
+ $result[$key] = self::mergeDeepArray([$result[$key], $value], $preserve_integer_keys);
}
// Otherwise, use the latter value, overriding any previous value.
else {
diff --git a/core/lib/Drupal/Component/Utility/Random.php b/core/lib/Drupal/Component/Utility/Random.php
index 1aeeb95..3c98b83 100644
--- a/core/lib/Drupal/Component/Utility/Random.php
+++ b/core/lib/Drupal/Component/Utility/Random.php
@@ -24,14 +24,14 @@ class Random {
*
* @var array
*/
- protected $strings = array();
+ protected $strings = [];
/**
* A list of unique names generated by name().
*
* @var array
*/
- protected $names = array();
+ protected $names = [];
/**
* Generates a random string of ASCII characters of codes 32 to 126.
@@ -141,9 +141,9 @@ class Random {
public function word($length) {
mt_srand((double) microtime() * 1000000);
- $vowels = array("a", "e", "i", "o", "u");
- $cons = array("b", "c", "d", "g", "h", "j", "k", "l", "m", "n", "p", "r", "s", "t", "u", "v", "w", "tr",
- "cr", "br", "fr", "th", "dr", "ch", "ph", "wr", "st", "sp", "sw", "pr", "sl", "cl", "sh");
+ $vowels = ["a", "e", "i", "o", "u"];
+ $cons = ["b", "c", "d", "g", "h", "j", "k", "l", "m", "n", "p", "r", "s", "t", "u", "v", "w", "tr",
+ "cr", "br", "fr", "th", "dr", "ch", "ph", "wr", "st", "sp", "sw", "pr", "sl", "cl", "sh"];
$num_vowels = count($vowels);
$num_cons = count($cons);
@@ -190,7 +190,7 @@ class Random {
* Nonsense latin words which form sentence(s).
*/
public function sentences($min_word_count, $capitalize = FALSE) {
- $dictionary = array("abbas", "abdo", "abico", "abigo", "abluo", "accumsan",
+ $dictionary = ["abbas", "abdo", "abico", "abigo", "abluo", "accumsan",
"acsi", "ad", "adipiscing", "aliquam", "aliquip", "amet", "antehabeo",
"appellatio", "aptent", "at", "augue", "autem", "bene", "blandit",
"brevitas", "caecus", "camur", "capto", "causa", "cogo", "comis",
@@ -219,7 +219,7 @@ class Random {
"utrum", "uxor", "valde", "valetudo", "validus", "vel", "velit",
"veniam", "venio", "vereor", "vero", "verto", "vicis", "vindico",
"virtus", "voco", "volutpat", "vulpes", "vulputate", "wisi", "ymo",
- "zelus");
+ "zelus"];
$dictionary_flipped = array_flip($dictionary);
$greeking = '';
diff --git a/core/lib/Drupal/Component/Utility/Tags.php b/core/lib/Drupal/Component/Utility/Tags.php
index 3f8ed13..ac0ce60 100644
--- a/core/lib/Drupal/Component/Utility/Tags.php
+++ b/core/lib/Drupal/Component/Utility/Tags.php
@@ -25,7 +25,7 @@ class Tags {
preg_match_all($regexp, $tags, $matches);
$typed_tags = array_unique($matches[1]);
- $tags = array();
+ $tags = [];
foreach ($typed_tags as $tag) {
// If a user has escaped a term (to demonstrate that it is a group,
// or includes a comma or quote character), we remove the escape
@@ -65,7 +65,7 @@ class Tags {
* The imploded string.
*/
public static function implode($tags) {
- $encoded_tags = array();
+ $encoded_tags = [];
foreach ($tags as $tag) {
$encoded_tags[] = self::encode($tag);
}
diff --git a/core/lib/Drupal/Component/Utility/Timer.php b/core/lib/Drupal/Component/Utility/Timer.php
index 959eeb3..b8dc026 100644
--- a/core/lib/Drupal/Component/Utility/Timer.php
+++ b/core/lib/Drupal/Component/Utility/Timer.php
@@ -9,7 +9,7 @@ namespace Drupal\Component\Utility;
*/
class Timer {
- static protected $timers = array();
+ static protected $timers = [];
/**
* Starts the timer with the specified name.
diff --git a/core/lib/Drupal/Component/Utility/Unicode.php b/core/lib/Drupal/Component/Utility/Unicode.php
index f6b4668..98db804 100644
--- a/core/lib/Drupal/Component/Utility/Unicode.php
+++ b/core/lib/Drupal/Component/Utility/Unicode.php
@@ -125,7 +125,7 @@ EOD;
* The new status of multibyte support.
*/
public static function setStatus($status) {
- if (!in_array($status, array(static::STATUS_SINGLEBYTE, static::STATUS_MULTIBYTE, static::STATUS_ERROR))) {
+ if (!in_array($status, [static::STATUS_SINGLEBYTE, static::STATUS_MULTIBYTE, static::STATUS_ERROR])) {
throw new \InvalidArgumentException('Invalid status value for unicode support.');
}
static::$status = $status;
@@ -189,7 +189,7 @@ EOD;
* The name of the encoding, or FALSE if no byte order mark was present.
*/
public static function encodingFromBOM($data) {
- static $bomMap = array(
+ static $bomMap = [
"\xEF\xBB\xBF" => 'UTF-8',
"\xFE\xFF" => 'UTF-16BE',
"\xFF\xFE" => 'UTF-16LE',
@@ -200,7 +200,7 @@ EOD;
"\x2B\x2F\x76\x2B" => 'UTF-7',
"\x2B\x2F\x76\x2F" => 'UTF-7',
"\x2B\x2F\x76\x38\x2D" => 'UTF-7',
- );
+ ];
foreach ($bomMap as $bom => $encoding) {
if (strpos($data, $bom) === 0) {
@@ -542,7 +542,7 @@ EOD;
}
if ($wordsafe) {
- $matches = array();
+ $matches = [];
// Find the last word boundary, if there is one within $min_wordsafe_length
// to $max_length characters. preg_match() is always greedy, so it will
// find the longest string possible.
diff --git a/core/lib/Drupal/Component/Utility/UrlHelper.php b/core/lib/Drupal/Component/Utility/UrlHelper.php
index 1395d81..04c217b 100644
--- a/core/lib/Drupal/Component/Utility/UrlHelper.php
+++ b/core/lib/Drupal/Component/Utility/UrlHelper.php
@@ -14,7 +14,7 @@ class UrlHelper {
*
* @var array
*/
- protected static $allowedProtocols = array('http', 'https');
+ protected static $allowedProtocols = ['http', 'https'];
/**
* Parses an array into a valid, rawurlencoded query string.
@@ -43,7 +43,7 @@ class UrlHelper {
* @ingroup php_wrappers
*/
public static function buildQuery(array $query, $parent = '') {
- $params = array();
+ $params = [];
foreach ($query as $key => $value) {
$key = ($parent ? $parent . '[' . rawurlencode($key) . ']' : rawurlencode($key));
@@ -79,7 +79,7 @@ class UrlHelper {
* @return
* An array containing query parameters.
*/
- public static function filterQueryParameters(array $query, array $exclude = array(), $parent = '') {
+ public static function filterQueryParameters(array $query, array $exclude = [], $parent = '') {
// If $exclude is empty, there is nothing to filter.
if (empty($exclude)) {
return $query;
@@ -88,7 +88,7 @@ class UrlHelper {
$exclude = array_flip($exclude);
}
- $params = array();
+ $params = [];
foreach ($query as $key => $value) {
$string_key = ($parent ? $parent . '[' . $key . ']' : $key);
if (isset($exclude[$string_key])) {
@@ -134,11 +134,11 @@ class UrlHelper {
* @ingroup php_wrappers
*/
public static function parse($url) {
- $options = array(
+ $options = [
'path' => NULL,
- 'query' => array(),
+ 'query' => [],
'fragment' => '',
- );
+ ];
// External URLs: not using parse_url() here, so we do not have to rebuild
// the scheme, host, and path without having any use for it.
@@ -294,7 +294,7 @@ class UrlHelper {
* @param array $protocols
* An array of protocols, for example http, https and irc.
*/
- public static function setAllowedProtocols(array $protocols = array()) {
+ public static function setAllowedProtocols(array $protocols = []) {
static::$allowedProtocols = $protocols;
}
diff --git a/core/lib/Drupal/Component/Utility/UserAgent.php b/core/lib/Drupal/Component/Utility/UserAgent.php
index 2fc67d6..c80c44e 100644
--- a/core/lib/Drupal/Component/Utility/UserAgent.php
+++ b/core/lib/Drupal/Component/Utility/UserAgent.php
@@ -36,7 +36,7 @@ class UserAgent {
* The selected language code or FALSE if no valid language can be
* identified.
*/
- public static function getBestMatchingLangcode($http_accept_language, $langcodes, $mappings = array()) {
+ public static function getBestMatchingLangcode($http_accept_language, $langcodes, $mappings = []) {
// The Accept-Language header contains information about the language
// preferences configured in the user's user agent / operating system.
// RFC 2616 (section 14.4) defines the Accept-Language header as follows:
@@ -44,7 +44,7 @@ class UserAgent {
// 1#( language-range [ ";" "q" "=" qvalue ] )
// language-range = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) | "*" )
// Samples: "hu, en-us;q=0.66, en;q=0.33", "hu,en-us;q=0.5"
- $ua_langcodes = array();
+ $ua_langcodes = [];
if (preg_match_all('@(?<=[, ]|^)([a-zA-Z-]+|\*)(?:;q=([0-9.]+))?(?:$|\s*,\s*)@', trim($http_accept_language), $matches, PREG_SET_ORDER)) {
foreach ($matches as $match) {
if ($mappings) {
diff --git a/core/lib/Drupal/Component/Utility/Variable.php b/core/lib/Drupal/Component/Utility/Variable.php
index 5a83079..c6c6935 100644
--- a/core/lib/Drupal/Component/Utility/Variable.php
+++ b/core/lib/Drupal/Component/Utility/Variable.php
@@ -43,7 +43,7 @@ class Variable {
// If the string contains a line break or a single quote, use the
// double quote export mode. Encode backslash, dollar symbols, and
// double quotes and transform some common control characters.
- $var = str_replace(array('\\', '$', '"', "\n", "\r", "\t"), array('\\\\', '\$', '\"', '\n', '\r', '\t'), $var);
+ $var = str_replace(['\\', '$', '"', "\n", "\r", "\t"], ['\\\\', '\$', '\"', '\n', '\r', '\t'], $var);
$output = '"' . $var . '"';
}
else {
diff --git a/core/lib/Drupal/Component/Utility/Xss.php b/core/lib/Drupal/Component/Utility/Xss.php
index d9f24b4..f5e99fe 100644
--- a/core/lib/Drupal/Component/Utility/Xss.php
+++ b/core/lib/Drupal/Component/Utility/Xss.php
@@ -16,7 +16,7 @@ class Xss {
*
* @see \Drupal\Component\Utility\Xss::filterAdmin()
*/
- protected static $adminTags = array('a', 'abbr', 'acronym', 'address', 'article', 'aside', 'b', 'bdi', 'bdo', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'command', 'dd', 'del', 'details', 'dfn', 'div', 'dl', 'dt', 'em', 'figcaption', 'figure', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr', 'i', 'img', 'ins', 'kbd', 'li', 'mark', 'menu', 'meter', 'nav', 'ol', 'output', 'p', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'small', 'span', 'strong', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'time', 'tr', 'tt', 'u', 'ul', 'var', 'wbr');
+ protected static $adminTags = ['a', 'abbr', 'acronym', 'address', 'article', 'aside', 'b', 'bdi', 'bdo', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'command', 'dd', 'del', 'details', 'dfn', 'div', 'dl', 'dt', 'em', 'figcaption', 'figure', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr', 'i', 'img', 'ins', 'kbd', 'li', 'mark', 'menu', 'meter', 'nav', 'ol', 'output', 'p', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'small', 'span', 'strong', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'time', 'tr', 'tt', 'u', 'ul', 'var', 'wbr'];
/**
* The default list of HTML tags allowed by filter().
@@ -25,7 +25,7 @@ class Xss {
*
* @see \Drupal\Component\Utility\Xss::filter()
*/
- protected static $htmlTags = array('a', 'em', 'strong', 'cite', 'blockquote', 'code', 'ul', 'ol', 'li', 'dl', 'dt', 'dd');
+ protected static $htmlTags = ['a', 'em', 'strong', 'cite', 'blockquote', 'code', 'ul', 'ol', 'li', 'dl', 'dt', 'dd'];
/**
* Filters HTML to prevent cross-site-scripting (XSS) vulnerabilities.
@@ -196,7 +196,7 @@ class Xss {
* Cleaned up version of the HTML attributes.
*/
protected static function attributes($attributes) {
- $attributes_array = array();
+ $attributes_array = [];
$mode = 0;
$attribute_name = '';
$skip = FALSE;
@@ -221,12 +221,12 @@ class Xss {
// such attributes.
// @see \Drupal\Component\Utility\UrlHelper::filterBadProtocol()
// @see http://www.w3.org/TR/html4/index/attributes.html
- $skip_protocol_filtering = substr($attribute_name, 0, 5) === 'data-' || in_array($attribute_name, array(
+ $skip_protocol_filtering = substr($attribute_name, 0, 5) === 'data-' || in_array($attribute_name, [
'title',
'alt',
'rel',
'property',
- ));
+ ]);
$working = $mode = 1;
$attributes = preg_replace('/^[-a-zA-Z][-a-zA-Z0-9]*/', '', $attributes);
diff --git a/core/lib/Drupal/Core/Access/AccessManager.php b/core/lib/Drupal/Core/Access/AccessManager.php
index 95e7721..b7b7c0b 100644
--- a/core/lib/Drupal/Core/Access/AccessManager.php
+++ b/core/lib/Drupal/Core/Access/AccessManager.php
@@ -78,7 +78,7 @@ class AccessManager implements AccessManagerInterface {
/**
* {@inheritdoc}
*/
- public function checkNamedRoute($route_name, array $parameters = array(), AccountInterface $account = NULL, $return_as_object = FALSE) {
+ public function checkNamedRoute($route_name, array $parameters = [], AccountInterface $account = NULL, $return_as_object = FALSE) {
try {
$route = $this->routeProvider->getRouteByName($route_name, $parameters);
@@ -120,7 +120,7 @@ class AccessManager implements AccessManagerInterface {
$account = $this->currentUser;
}
$route = $route_match->getRouteObject();
- $checks = $route->getOption('_access_checks') ?: array();
+ $checks = $route->getOption('_access_checks') ?: [];
// Filter out checks which require the incoming request.
if (!isset($request)) {
diff --git a/core/lib/Drupal/Core/Access/AccessManagerInterface.php b/core/lib/Drupal/Core/Access/AccessManagerInterface.php
index fc2a0e8..bbb1ec9 100644
--- a/core/lib/Drupal/Core/Access/AccessManagerInterface.php
+++ b/core/lib/Drupal/Core/Access/AccessManagerInterface.php
@@ -33,7 +33,7 @@ interface AccessManagerInterface {
* returned, i.e. TRUE means access is explicitly allowed, FALSE means
* access is either explicitly forbidden or "no opinion".
*/
- public function checkNamedRoute($route_name, array $parameters = array(), AccountInterface $account = NULL, $return_as_object = FALSE);
+ public function checkNamedRoute($route_name, array $parameters = [], AccountInterface $account = NULL, $return_as_object = FALSE);
/**
* Execute access checks against the incoming request.
diff --git a/core/lib/Drupal/Core/Access/AccessResult.php b/core/lib/Drupal/Core/Access/AccessResult.php
index d87872a..1cd6b8b 100644
--- a/core/lib/Drupal/Core/Access/AccessResult.php
+++ b/core/lib/Drupal/Core/Access/AccessResult.php
@@ -261,7 +261,7 @@ abstract class AccessResult implements AccessResultInterface, RefinableCacheable
* @return $this
*/
public function cachePerPermissions() {
- $this->addCacheContexts(array('user.permissions'));
+ $this->addCacheContexts(['user.permissions']);
return $this;
}
@@ -271,7 +271,7 @@ abstract class AccessResult implements AccessResultInterface, RefinableCacheable
* @return $this
*/
public function cachePerUser() {
- $this->addCacheContexts(array('user'));
+ $this->addCacheContexts(['user']);
return $this;
}
diff --git a/core/lib/Drupal/Core/Access/CheckProvider.php b/core/lib/Drupal/Core/Access/CheckProvider.php
index c68cf38..d6ba1cf 100644
--- a/core/lib/Drupal/Core/Access/CheckProvider.php
+++ b/core/lib/Drupal/Core/Access/CheckProvider.php
@@ -20,7 +20,7 @@ class CheckProvider implements CheckProviderInterface, ContainerAwareInterface {
*
* @var array
*/
- protected $checkIds = array();
+ protected $checkIds = [];
/**
* Array of access check objects keyed by service id.
@@ -34,12 +34,12 @@ class CheckProvider implements CheckProviderInterface, ContainerAwareInterface {
*
* @var array
*/
- protected $checkMethods = array();
+ protected $checkMethods = [];
/**
* Array of access checks which only will be run on the incoming request.
*/
- protected $checksNeedsRequest = array();
+ protected $checksNeedsRequest = [];
/**
* An array to map static requirement keys to service IDs.
@@ -58,7 +58,7 @@ class CheckProvider implements CheckProviderInterface, ContainerAwareInterface {
/**
* {@inheritdoc}
*/
- public function addCheckService($service_id, $service_method, array $applies_checks = array(), $needs_incoming_request = FALSE) {
+ public function addCheckService($service_id, $service_method, array $applies_checks = [], $needs_incoming_request = FALSE) {
$this->checkIds[] = $service_id;
$this->checkMethods[$service_id] = $service_method;
if ($needs_incoming_request) {
@@ -102,7 +102,7 @@ class CheckProvider implements CheckProviderInterface, ContainerAwareInterface {
if (!($check instanceof AccessInterface)) {
throw new AccessException('All access checks must implement AccessInterface.');
}
- if (!is_callable(array($check, $this->checkMethods[$service_id]))) {
+ if (!is_callable([$check, $this->checkMethods[$service_id]])) {
throw new AccessException(sprintf('Access check method %s in service %s must be callable.', $this->checkMethods[$service_id], $service_id));
}
@@ -122,7 +122,7 @@ class CheckProvider implements CheckProviderInterface, ContainerAwareInterface {
* route.
*/
protected function applies(Route $route) {
- $checks = array();
+ $checks = [];
// Iterate through map requirements from appliesTo() on access checkers.
// Only iterate through all checkIds if this is not used.
@@ -151,7 +151,7 @@ class CheckProvider implements CheckProviderInterface, ContainerAwareInterface {
}
// Set them here, so we can use the isset() check above.
- $this->dynamicRequirementMap = array();
+ $this->dynamicRequirementMap = [];
foreach ($this->checkIds as $service_id) {
if (empty($this->checks[$service_id])) {
diff --git a/core/lib/Drupal/Core/Access/CheckProviderInterface.php b/core/lib/Drupal/Core/Access/CheckProviderInterface.php
index bb0dd4a..a94a92c 100644
--- a/core/lib/Drupal/Core/Access/CheckProviderInterface.php
+++ b/core/lib/Drupal/Core/Access/CheckProviderInterface.php
@@ -37,7 +37,7 @@ interface CheckProviderInterface {
* @param bool $needs_incoming_request
* (optional) True if access-check method only acts on an incoming request.
*/
- public function addCheckService($service_id, $service_method, array $applies_checks = array(), $needs_incoming_request = FALSE);
+ public function addCheckService($service_id, $service_method, array $applies_checks = [], $needs_incoming_request = FALSE);
/**
* Lazy-loads access check services.
diff --git a/core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php b/core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php
index 5548c7f..563355a 100644
--- a/core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php
+++ b/core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php
@@ -64,7 +64,7 @@ class CsrfRequestHeaderAccessCheck implements AccessCheckInterface {
$methods = explode('|', $requirements['_method']);
// CSRF protection only applies to write operations, so we can filter
// out any routes that require reading methods only.
- $write_methods = array_diff($methods, array('GET', 'HEAD', 'OPTIONS', 'TRACE'));
+ $write_methods = array_diff($methods, ['GET', 'HEAD', 'OPTIONS', 'TRACE']);
if (empty($write_methods)) {
return FALSE;
}
@@ -93,7 +93,7 @@ class CsrfRequestHeaderAccessCheck implements AccessCheckInterface {
// 1. this is a write operation
// 2. the user was successfully authenticated and
// 3. the request comes with a session cookie.
- if (!in_array($method, array('GET', 'HEAD', 'OPTIONS', 'TRACE'))
+ if (!in_array($method, ['GET', 'HEAD', 'OPTIONS', 'TRACE'])
&& $account->isAuthenticated()
&& $this->sessionConfiguration->hasSession($request)
) {
diff --git a/core/lib/Drupal/Core/Action/ConfigurableActionBase.php b/core/lib/Drupal/Core/Action/ConfigurableActionBase.php
index 2bbc912..3d372fe 100644
--- a/core/lib/Drupal/Core/Action/ConfigurableActionBase.php
+++ b/core/lib/Drupal/Core/Action/ConfigurableActionBase.php
@@ -24,7 +24,7 @@ abstract class ConfigurableActionBase extends ActionBase implements Configurable
* {@inheritdoc}
*/
public function defaultConfiguration() {
- return array();
+ return [];
}
/**
@@ -51,7 +51,7 @@ abstract class ConfigurableActionBase extends ActionBase implements Configurable
* {@inheritdoc}
*/
public function calculateDependencies() {
- return array();
+ return [];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/AddCssCommand.php b/core/lib/Drupal/Core/Ajax/AddCssCommand.php
index fbb5ce4..80ee17a 100644
--- a/core/lib/Drupal/Core/Ajax/AddCssCommand.php
+++ b/core/lib/Drupal/Core/Ajax/AddCssCommand.php
@@ -39,10 +39,10 @@ class AddCssCommand implements CommandInterface {
*/
public function render() {
- return array(
+ return [
'command' => 'add_css',
'data' => $this->styles,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/AfterCommand.php b/core/lib/Drupal/Core/Ajax/AfterCommand.php
index 05060a6..41e232d 100644
--- a/core/lib/Drupal/Core/Ajax/AfterCommand.php
+++ b/core/lib/Drupal/Core/Ajax/AfterCommand.php
@@ -23,13 +23,13 @@ class AfterCommand extends InsertCommand {
*/
public function render() {
- return array(
+ return [
'command' => 'insert',
'method' => 'after',
'selector' => $this->selector,
'data' => $this->getRenderedContent(),
'settings' => $this->settings,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/AjaxResponse.php b/core/lib/Drupal/Core/Ajax/AjaxResponse.php
index 4b12578..4d1c123 100644
--- a/core/lib/Drupal/Core/Ajax/AjaxResponse.php
+++ b/core/lib/Drupal/Core/Ajax/AjaxResponse.php
@@ -21,7 +21,7 @@ class AjaxResponse extends JsonResponse implements AttachmentsInterface {
*
* @var array
*/
- protected $commands = array();
+ protected $commands = [];
/**
* Add an AJAX command to the response.
diff --git a/core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php b/core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php
index 45aa45e..ee5208b 100644
--- a/core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php
+++ b/core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php
@@ -167,7 +167,7 @@ class AjaxResponseAttachmentsProcessor implements AttachmentsResponseProcessorIn
}
// Prepend commands to add the assets, preserving their relative order.
- $resource_commands = array();
+ $resource_commands = [];
if ($css_assets) {
$css_render_array = $this->cssCollectionRenderer->render($css_assets);
$resource_commands[] = new AddCssCommand($this->renderer->renderPlain($css_render_array));
diff --git a/core/lib/Drupal/Core/Ajax/AlertCommand.php b/core/lib/Drupal/Core/Ajax/AlertCommand.php
index 46388d0..360036f 100644
--- a/core/lib/Drupal/Core/Ajax/AlertCommand.php
+++ b/core/lib/Drupal/Core/Ajax/AlertCommand.php
@@ -31,10 +31,10 @@ class AlertCommand implements CommandInterface {
*/
public function render() {
- return array(
+ return [
'command' => 'alert',
'text' => $this->text,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/AppendCommand.php b/core/lib/Drupal/Core/Ajax/AppendCommand.php
index e183091..34c751d 100644
--- a/core/lib/Drupal/Core/Ajax/AppendCommand.php
+++ b/core/lib/Drupal/Core/Ajax/AppendCommand.php
@@ -23,13 +23,13 @@ class AppendCommand extends InsertCommand {
*/
public function render() {
- return array(
+ return [
'command' => 'insert',
'method' => 'append',
'selector' => $this->selector,
'data' => $this->getRenderedContent(),
'settings' => $this->settings,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/BaseCommand.php b/core/lib/Drupal/Core/Ajax/BaseCommand.php
index f150657..eeb36cf 100644
--- a/core/lib/Drupal/Core/Ajax/BaseCommand.php
+++ b/core/lib/Drupal/Core/Ajax/BaseCommand.php
@@ -38,10 +38,10 @@ class BaseCommand implements CommandInterface {
* {@inheritdoc}
*/
public function render() {
- return array(
+ return [
'command' => $this->command,
'data' => $this->data,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/BeforeCommand.php b/core/lib/Drupal/Core/Ajax/BeforeCommand.php
index 04290e0..8de47c8 100644
--- a/core/lib/Drupal/Core/Ajax/BeforeCommand.php
+++ b/core/lib/Drupal/Core/Ajax/BeforeCommand.php
@@ -23,13 +23,13 @@ class BeforeCommand extends InsertCommand {
*/
public function render() {
- return array(
+ return [
'command' => 'insert',
'method' => 'before',
'selector' => $this->selector,
'data' => $this->getRenderedContent(),
'settings' => $this->settings,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/ChangedCommand.php b/core/lib/Drupal/Core/Ajax/ChangedCommand.php
index b128cfc..0027d7c 100644
--- a/core/lib/Drupal/Core/Ajax/ChangedCommand.php
+++ b/core/lib/Drupal/Core/Ajax/ChangedCommand.php
@@ -50,11 +50,11 @@ class ChangedCommand implements CommandInterface {
*/
public function render() {
- return array(
+ return [
'command' => 'changed',
'selector' => $this->selector,
'asterisk' => $this->asterisk,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php b/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php
index fa58208..1feeb0c 100644
--- a/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php
+++ b/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php
@@ -40,11 +40,11 @@ class CloseDialogCommand implements CommandInterface {
* {@inheritdoc}
*/
public function render() {
- return array(
+ return [
'command' => 'closeDialog',
'selector' => $this->selector,
'persist' => $this->persist,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/CssCommand.php b/core/lib/Drupal/Core/Ajax/CssCommand.php
index b12cc09..016c813 100644
--- a/core/lib/Drupal/Core/Ajax/CssCommand.php
+++ b/core/lib/Drupal/Core/Ajax/CssCommand.php
@@ -32,7 +32,7 @@ class CssCommand implements CommandInterface {
*
* @var array
*/
- protected $css = array();
+ protected $css = [];
/**
* Constructs a CssCommand object.
@@ -42,7 +42,7 @@ class CssCommand implements CommandInterface {
* @param array $css
* An array of CSS property/value pairs to set.
*/
- public function __construct($selector, array $css = array()) {
+ public function __construct($selector, array $css = []) {
$this->selector = $selector;
$this->css = $css;
}
@@ -67,11 +67,11 @@ class CssCommand implements CommandInterface {
*/
public function render() {
- return array(
+ return [
'command' => 'css',
'selector' => $this->selector,
'argument' => $this->css,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/DataCommand.php b/core/lib/Drupal/Core/Ajax/DataCommand.php
index 92b87bd..a1bee21 100644
--- a/core/lib/Drupal/Core/Ajax/DataCommand.php
+++ b/core/lib/Drupal/Core/Ajax/DataCommand.php
@@ -62,12 +62,12 @@ class DataCommand implements CommandInterface {
*/
public function render() {
- return array(
+ return [
'command' => 'data',
'selector' => $this->selector,
'name' => $this->name,
'value' => $this->value,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/HtmlCommand.php b/core/lib/Drupal/Core/Ajax/HtmlCommand.php
index 39635c3..e39f08f 100644
--- a/core/lib/Drupal/Core/Ajax/HtmlCommand.php
+++ b/core/lib/Drupal/Core/Ajax/HtmlCommand.php
@@ -23,13 +23,13 @@ class HtmlCommand extends InsertCommand {
*/
public function render() {
- return array(
+ return [
'command' => 'insert',
'method' => 'html',
'selector' => $this->selector,
'data' => $this->getRenderedContent(),
'settings' => $this->settings,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/InsertCommand.php b/core/lib/Drupal/Core/Ajax/InsertCommand.php
index 00cb616..1813e50 100644
--- a/core/lib/Drupal/Core/Ajax/InsertCommand.php
+++ b/core/lib/Drupal/Core/Ajax/InsertCommand.php
@@ -66,13 +66,13 @@ class InsertCommand implements CommandInterface, CommandWithAttachedAssetsInterf
*/
public function render() {
- return array(
+ return [
'command' => 'insert',
'method' => NULL,
'selector' => $this->selector,
'data' => $this->getRenderedContent(),
'settings' => $this->settings,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/InvokeCommand.php b/core/lib/Drupal/Core/Ajax/InvokeCommand.php
index 4195888..46e37ff 100644
--- a/core/lib/Drupal/Core/Ajax/InvokeCommand.php
+++ b/core/lib/Drupal/Core/Ajax/InvokeCommand.php
@@ -51,7 +51,7 @@ class InvokeCommand implements CommandInterface {
* @param array $arguments
* An optional array of arguments to pass to the method.
*/
- public function __construct($selector, $method, array $arguments = array()) {
+ public function __construct($selector, $method, array $arguments = []) {
$this->selector = $selector;
$this->method = $method;
$this->arguments = $arguments;
@@ -62,12 +62,12 @@ class InvokeCommand implements CommandInterface {
*/
public function render() {
- return array(
+ return [
'command' => 'invoke',
'selector' => $this->selector,
'method' => $this->method,
'args' => $this->arguments,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/OpenDialogCommand.php b/core/lib/Drupal/Core/Ajax/OpenDialogCommand.php
index 30b65fa..2b0fcdd 100644
--- a/core/lib/Drupal/Core/Ajax/OpenDialogCommand.php
+++ b/core/lib/Drupal/Core/Ajax/OpenDialogCommand.php
@@ -70,9 +70,9 @@ class OpenDialogCommand implements CommandInterface, CommandWithAttachedAssetsIn
* on the content of the dialog. If left empty, the settings will be
* populated automatically from the current request.
*/
- public function __construct($selector, $title, $content, array $dialog_options = array(), $settings = NULL) {
+ public function __construct($selector, $title, $content, array $dialog_options = [], $settings = NULL) {
$title = PlainTextOutput::renderFromHtml($title);
- $dialog_options += array('title' => $title);
+ $dialog_options += ['title' => $title];
$this->selector = $selector;
$this->content = $content;
$this->dialogOptions = $dialog_options;
@@ -128,13 +128,13 @@ class OpenDialogCommand implements CommandInterface, CommandWithAttachedAssetsIn
public function render() {
// For consistency ensure the modal option is set to TRUE or FALSE.
$this->dialogOptions['modal'] = isset($this->dialogOptions['modal']) && $this->dialogOptions['modal'];
- return array(
+ return [
'command' => 'openDialog',
'selector' => $this->selector,
'settings' => $this->settings,
'data' => $this->getRenderedContent(),
'dialogOptions' => $this->dialogOptions,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/OpenModalDialogCommand.php b/core/lib/Drupal/Core/Ajax/OpenModalDialogCommand.php
index edb4fe3..53d6e82 100644
--- a/core/lib/Drupal/Core/Ajax/OpenModalDialogCommand.php
+++ b/core/lib/Drupal/Core/Ajax/OpenModalDialogCommand.php
@@ -29,7 +29,7 @@ class OpenModalDialogCommand extends OpenDialogCommand {
* on the content of the dialog. If left empty, the settings will be
* populated automatically from the current request.
*/
- public function __construct($title, $content, array $dialog_options = array(), $settings = NULL) {
+ public function __construct($title, $content, array $dialog_options = [], $settings = NULL) {
$dialog_options['modal'] = TRUE;
parent::__construct('#drupal-modal', $title, $content, $dialog_options, $settings);
}
diff --git a/core/lib/Drupal/Core/Ajax/PrependCommand.php b/core/lib/Drupal/Core/Ajax/PrependCommand.php
index 5e41bae..e3902b8 100644
--- a/core/lib/Drupal/Core/Ajax/PrependCommand.php
+++ b/core/lib/Drupal/Core/Ajax/PrependCommand.php
@@ -23,13 +23,13 @@ class PrependCommand extends InsertCommand {
*/
public function render() {
- return array(
+ return [
'command' => 'insert',
'method' => 'prepend',
'selector' => $this->selector,
'data' => $this->getRenderedContent(),
'settings' => $this->settings,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/RedirectCommand.php b/core/lib/Drupal/Core/Ajax/RedirectCommand.php
index 7dbf26e..572c62f 100644
--- a/core/lib/Drupal/Core/Ajax/RedirectCommand.php
+++ b/core/lib/Drupal/Core/Ajax/RedirectCommand.php
@@ -31,10 +31,10 @@ class RedirectCommand implements CommandInterface {
* Implements \Drupal\Core\Ajax\CommandInterface:render().
*/
public function render() {
- return array(
+ return [
'command' => 'redirect',
'url' => $this->url,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/RemoveCommand.php b/core/lib/Drupal/Core/Ajax/RemoveCommand.php
index c52211d..d7f86dd 100644
--- a/core/lib/Drupal/Core/Ajax/RemoveCommand.php
+++ b/core/lib/Drupal/Core/Ajax/RemoveCommand.php
@@ -38,10 +38,10 @@ class RemoveCommand implements CommandInterface {
* Implements Drupal\Core\Ajax\CommandInterface:render().
*/
public function render() {
- return array(
+ return [
'command' => 'remove',
'selector' => $this->selector,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/ReplaceCommand.php b/core/lib/Drupal/Core/Ajax/ReplaceCommand.php
index 8ccb7c1..25927b7 100644
--- a/core/lib/Drupal/Core/Ajax/ReplaceCommand.php
+++ b/core/lib/Drupal/Core/Ajax/ReplaceCommand.php
@@ -24,13 +24,13 @@ class ReplaceCommand extends InsertCommand {
*/
public function render() {
- return array(
+ return [
'command' => 'insert',
'method' => 'replaceWith',
'selector' => $this->selector,
'data' => $this->getRenderedContent(),
'settings' => $this->settings,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/RestripeCommand.php b/core/lib/Drupal/Core/Ajax/RestripeCommand.php
index 331e1bf..33b7e25 100644
--- a/core/lib/Drupal/Core/Ajax/RestripeCommand.php
+++ b/core/lib/Drupal/Core/Ajax/RestripeCommand.php
@@ -40,10 +40,10 @@ class RestripeCommand implements CommandInterface {
*/
public function render() {
- return array(
+ return [
'command' => 'restripe',
'selector' => $this->selector,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php b/core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php
index 9e7836b..f24f97c 100644
--- a/core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php
+++ b/core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php
@@ -52,12 +52,12 @@ class SetDialogOptionCommand implements CommandInterface {
* {@inheritdoc}
*/
public function render() {
- return array(
+ return [
'command' => 'setDialogOption',
'selector' => $this->selector,
'optionName' => $this->optionName,
'optionValue' => $this->optionValue,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Ajax/SettingsCommand.php b/core/lib/Drupal/Core/Ajax/SettingsCommand.php
index 154ab9c..ca41720 100644
--- a/core/lib/Drupal/Core/Ajax/SettingsCommand.php
+++ b/core/lib/Drupal/Core/Ajax/SettingsCommand.php
@@ -54,11 +54,11 @@ class SettingsCommand implements CommandInterface {
*/
public function render() {
- return array(
+ return [
'command' => 'settings',
'settings' => $this->settings,
'merge' => $this->merge,
- );
+ ];
}
}
diff --git a/core/lib/Drupal/Core/Annotation/ContextDefinition.php b/core/lib/Drupal/Core/Annotation/ContextDefinition.php
index abe14e5..0ff61e6 100644
--- a/core/lib/Drupal/Core/Annotation/ContextDefinition.php
+++ b/core/lib/Drupal/Core/Annotation/ContextDefinition.php
@@ -99,11 +99,11 @@ class ContextDefinition extends Plugin {
* ContextDefinitionInterface implementing class.
*/
public function __construct(array $values) {
- $values += array(
+ $values += [
'required' => TRUE,
'multiple' => FALSE,
'default_value' => NULL,
- );
+ ];
// Annotation classes extract data from passed annotation classes directly
// used in the classes they pass to.
foreach (['label', 'description'] as $key) {
diff --git a/core/lib/Drupal/Core/Annotation/Translation.php b/core/lib/Drupal/Core/Annotation/Translation.php
index 4fcfb9e..90fe5e0 100644
--- a/core/lib/Drupal/Core/Annotation/Translation.php
+++ b/core/lib/Drupal/Core/Annotation/Translation.php
@@ -74,12 +74,12 @@ class Translation extends AnnotationBase {
*/
public function __construct(array $values) {
$string = $values['value'];
- $arguments = isset($values['arguments']) ? $values['arguments'] : array();
- $options = array();
+ $arguments = isset($values['arguments']) ? $values['arguments'] : [];
+ $options = [];
if (!empty($values['context'])) {
- $options = array(
+ $options = [
'context' => $values['context'],
- );
+ ];
}
$this->translation = new TranslatableMarkup($string, $arguments, $options);
}
diff --git a/core/lib/Drupal/Core/Archiver/ArchiverInterface.php b/core/lib/Drupal/Core/Archiver/ArchiverInterface.php
index 38c62cb..2e63536 100644
--- a/core/lib/Drupal/Core/Archiver/ArchiverInterface.php
+++ b/core/lib/Drupal/Core/Archiver/ArchiverInterface.php
@@ -47,7 +47,7 @@ interface ArchiverInterface {
* @return \Drupal\Core\Archiver\ArchiverInterface
* The called object.
*/
- public function extract($path, array $files = array());
+ public function extract($path, array $files = []);
/**
* Lists all files in the archive.
diff --git a/core/lib/Drupal/Core/Archiver/ArchiverManager.php b/core/lib/Drupal/Core/Archiver/ArchiverManager.php
index ee2dad5..7cd11f9 100644
--- a/core/lib/Drupal/Core/Archiver/ArchiverManager.php
+++ b/core/lib/Drupal/Core/Archiver/ArchiverManager.php
@@ -36,7 +36,7 @@ class ArchiverManager extends DefaultPluginManager {
/**
* {@inheritdoc}
*/
- public function createInstance($plugin_id, array $configuration = array()) {
+ public function createInstance($plugin_id, array $configuration = []) {
$plugin_definition = $this->getDefinition($plugin_id);
$plugin_class = DefaultFactory::getPluginClass($plugin_id, $plugin_definition, 'Drupal\Core\Archiver\ArchiverInterface');
return new $plugin_class($configuration['filepath']);
diff --git a/core/lib/Drupal/Core/Archiver/Tar.php b/core/lib/Drupal/Core/Archiver/Tar.php
index 33f4de6..3b33ddd 100644
--- a/core/lib/Drupal/Core/Archiver/Tar.php
+++ b/core/lib/Drupal/Core/Archiver/Tar.php
@@ -52,7 +52,7 @@ class Tar implements ArchiverInterface {
/**
* {@inheritdoc}
*/
- public function extract($path, array $files = array()) {
+ public function extract($path, array $files = []) {
if ($files) {
$this->tar->extractList($files, $path);
}
@@ -67,7 +67,7 @@ class Tar implements ArchiverInterface {
* {@inheritdoc}
*/
public function listContents() {
- $files = array();
+ $files = [];
foreach ($this->tar->listContent() as $file_data) {
$files[] = $file_data['filename'];
}
diff --git a/core/lib/Drupal/Core/Archiver/Zip.php b/core/lib/Drupal/Core/Archiver/Zip.php
index 640bcde..fd769c1 100644
--- a/core/lib/Drupal/Core/Archiver/Zip.php
+++ b/core/lib/Drupal/Core/Archiver/Zip.php
@@ -29,7 +29,7 @@ class Zip implements ArchiverInterface {
public function __construct($file_path) {
$this->zip = new \ZipArchive();
if ($this->zip->open($file_path) !== TRUE) {
- throw new ArchiverException(t('Cannot open %file_path', array('%file_path' => $file_path)));
+ throw new ArchiverException(t('Cannot open %file_path', ['%file_path' => $file_path]));
}
}
@@ -54,7 +54,7 @@ class Zip implements ArchiverInterface {
/**
* {@inheritdoc}
*/
- public function extract($path, array $files = array()) {
+ public function extract($path, array $files = []) {
if ($files) {
$this->zip->extractTo($path, $files);
}
@@ -69,7 +69,7 @@ class Zip implements ArchiverInterface {
* {@inheritdoc}
*/
public function listContents() {
- $files = array();
+ $files = [];
for ($i = 0; $i < $this->zip->numFiles; $i++) {
$files[] = $this->zip->getNameIndex($i);
}
diff --git a/core/lib/Drupal/Core/Asset/CssCollectionGrouper.php b/core/lib/Drupal/Core/Asset/CssCollectionGrouper.php
index 2c4122d..4dedfa6 100644
--- a/core/lib/Drupal/Core/Asset/CssCollectionGrouper.php
+++ b/core/lib/Drupal/Core/Asset/CssCollectionGrouper.php
@@ -20,7 +20,7 @@ class CssCollectionGrouper implements AssetCollectionGrouperInterface {
* type, media, and browsers, if needed to accommodate other items in between.
*/
public function group(array $css_assets) {
- $groups = array();
+ $groups = [];
// If a group can contain multiple items, we track the information that must
// be the same for each item in the group, so that when we iterate the next
// item, we can determine if it can be put into the current group, or if a
@@ -52,7 +52,7 @@ class CssCollectionGrouper implements AssetCollectionGrouperInterface {
// Group file items if their 'preprocess' flag is TRUE.
// Help ensure maximum reuse of aggregate files by only grouping
// together items that share the same 'group' value.
- $group_keys = $item['preprocess'] ? array($item['type'], $item['group'], $item['media'], $item['browsers']) : FALSE;
+ $group_keys = $item['preprocess'] ? [$item['type'], $item['group'], $item['media'], $item['browsers']] : FALSE;
break;
case 'external':
@@ -71,7 +71,7 @@ class CssCollectionGrouper implements AssetCollectionGrouperInterface {
// the group.
$groups[$i] = $item;
unset($groups[$i]['data'], $groups[$i]['weight'], $groups[$i]['basename']);
- $groups[$i]['items'] = array();
+ $groups[$i]['items'] = [];
$current_group_keys = $group_keys ? $group_keys : NULL;
}
diff --git a/core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php b/core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php
index eb47cb2..5f23af4 100644
--- a/core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php
+++ b/core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php
@@ -80,8 +80,8 @@ class CssCollectionOptimizer implements AssetCollectionOptimizerInterface {
// Drupal contrib can override this default CSS aggregator to keep the same
// grouping, optimizing and dumping, but change the strategy that is used to
// determine when the aggregate should be rebuilt (e.g. mtime, HTTPS …).
- $map = $this->state->get('drupal_css_cache_files') ?: array();
- $css_assets = array();
+ $map = $this->state->get('drupal_css_cache_files') ?: [];
+ $css_assets = [];
foreach ($css_groups as $order => $css_group) {
// We have to return a single asset, not a group of assets. It is now up
// to one of the pieces of code in the switch statement below to set the
@@ -155,7 +155,7 @@ class CssCollectionOptimizer implements AssetCollectionOptimizerInterface {
* A hash to uniquely identify the given group of CSS assets.
*/
protected function generateHash(array $css_group) {
- $css_data = array();
+ $css_data = [];
foreach ($css_group['items'] as $css_file) {
$css_data[] = $css_file['data'];
}
@@ -181,7 +181,7 @@ class CssCollectionOptimizer implements AssetCollectionOptimizerInterface {
file_unmanaged_delete($uri);
}
};
- file_scan_directory('public://css', '/.*/', array('callback' => $delete_stale));
+ file_scan_directory('public://css', '/.*/', ['callback' => $delete_stale]);
}
}
diff --git a/core/lib/Drupal/Core/Asset/CssCollectionRenderer.php b/core/lib/Drupal/Core/Asset/CssCollectionRenderer.php
index 63721e6..c3c83e1 100644
--- a/core/lib/Drupal/Core/Asset/CssCollectionRenderer.php
+++ b/core/lib/Drupal/Core/Asset/CssCollectionRenderer.php
@@ -74,7 +74,7 @@ class CssCollectionRenderer implements AssetCollectionRendererInterface {
* {@inheritdoc}
*/
public function render(array $css_assets) {
- $elements = array();
+ $elements = [];
// A dummy query-string is added to filenames, to gain control over
// browser-caching. The string changes on every update or full cache
@@ -83,22 +83,22 @@ class CssCollectionRenderer implements AssetCollectionRendererInterface {
$query_string = $this->state->get('system.css_js_query_string') ?: '0';
// Defaults for LINK and STYLE elements.
- $link_element_defaults = array(
+ $link_element_defaults = [
'#type' => 'html_tag',
'#tag' => 'link',
- '#attributes' => array(
+ '#attributes' => [
'rel' => 'stylesheet',
- ),
- );
- $style_element_defaults = array(
+ ],
+ ];
+ $style_element_defaults = [
'#type' => 'html_tag',
'#tag' => 'style',
- );
+ ];
// For filthy IE hack.
$current_ie_group_keys = NULL;
$get_ie_group_key = function ($css_asset) {
- return array($css_asset['type'], $css_asset['preprocess'], $css_asset['group'], $css_asset['media'], $css_asset['browsers']);
+ return [$css_asset['type'], $css_asset['preprocess'], $css_asset['group'], $css_asset['media'], $css_asset['browsers']];
};
// Loop through all CSS assets, by key, to allow for the special IE
@@ -151,7 +151,7 @@ class CssCollectionRenderer implements AssetCollectionRendererInterface {
// The file CSS asset can be aggregated, but hasn't been: combine
// multiple items into as few STYLE tags as possible.
else {
- $import = array();
+ $import = [];
// Start with the current CSS asset, iterate over subsequent CSS
// assets and find which ones have the same 'type', 'group',
// 'preprocess', 'media' and 'browsers' properties.
diff --git a/core/lib/Drupal/Core/Asset/CssOptimizer.php b/core/lib/Drupal/Core/Asset/CssOptimizer.php
index d25fb83..4ad7ba1 100644
--- a/core/lib/Drupal/Core/Asset/CssOptimizer.php
+++ b/core/lib/Drupal/Core/Asset/CssOptimizer.php
@@ -61,7 +61,7 @@ class CssOptimizer implements AssetOptimizerInterface {
$this->rewriteFileURIBasePath = $css_base_path . '/';
// Anchor all paths in the CSS with its base URL, ignoring external and absolute paths.
- return preg_replace_callback('/url\(\s*[\'"]?(?![a-z]+:|\/+)([^\'")]+)[\'"]?\s*\)/i', array($this, 'rewriteFileURI'), $contents);
+ return preg_replace_callback('/url\(\s*[\'"]?(?![a-z]+:|\/+)([^\'")]+)[\'"]?\s*\)/i', [$this, 'rewriteFileURI'], $contents);
}
/**
@@ -230,7 +230,7 @@ class CssOptimizer implements AssetOptimizerInterface {
// Replaces @import commands with the actual stylesheet content.
// This happens recursively but omits external files.
- $contents = preg_replace_callback('/@import\s*(?:url\(\s*)?[\'"]?(?![a-z]+:)(?!\/\/)([^\'"\()]+)[\'"]?\s*\)?\s*;/', array($this, 'loadNestedFile'), $contents);
+ $contents = preg_replace_callback('/@import\s*(?:url\(\s*)?[\'"]?(?![a-z]+:)(?!\/\/)([^\'"\()]+)[\'"]?\s*\)?\s*;/', [$this, 'loadNestedFile'], $contents);
return $contents;
}
diff --git a/core/lib/Drupal/Core/Asset/JsCollectionGrouper.php b/core/lib/Drupal/Core/Asset/JsCollectionGrouper.php
index 710e3c0..9d29c40 100644
--- a/core/lib/Drupal/Core/Asset/JsCollectionGrouper.php
+++ b/core/lib/Drupal/Core/Asset/JsCollectionGrouper.php
@@ -19,7 +19,7 @@ class JsCollectionGrouper implements AssetCollectionGrouperInterface {
* type and browsers, if needed to accommodate other items in between.
*/
public function group(array $js_assets) {
- $groups = array();
+ $groups = [];
// If a group can contain multiple items, we track the information that must
// be the same for each item in the group, so that when we iterate the next
// item, we can determine if it can be put into the current group, or if a
@@ -38,7 +38,7 @@ class JsCollectionGrouper implements AssetCollectionGrouperInterface {
// Group file items if their 'preprocess' flag is TRUE.
// Help ensure maximum reuse of aggregate files by only grouping
// together items that share the same 'group' value.
- $group_keys = $item['preprocess'] ? array($item['type'], $item['group'], $item['browsers']) : FALSE;
+ $group_keys = $item['preprocess'] ? [$item['type'], $item['group'], $item['browsers']] : FALSE;
break;
case 'external':
@@ -56,7 +56,7 @@ class JsCollectionGrouper implements AssetCollectionGrouperInterface {
// unique to the item and should not be carried over to the group.
$groups[$index] = $item;
unset($groups[$index]['data'], $groups[$index]['weight']);
- $groups[$index]['items'] = array();
+ $groups[$index]['items'] = [];
$current_group_keys = $group_keys ? $group_keys : NULL;
}
diff --git a/core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php b/core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php
index 566722d..4d49d87 100644
--- a/core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php
+++ b/core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php
@@ -81,8 +81,8 @@ class JsCollectionOptimizer implements AssetCollectionOptimizerInterface {
// Drupal contrib can override this default JS aggregator to keep the same
// grouping, optimizing and dumping, but change the strategy that is used to
// determine when the aggregate should be rebuilt (e.g. mtime, HTTPS …).
- $map = $this->state->get('system.js_cache_files') ?: array();
- $js_assets = array();
+ $map = $this->state->get('system.js_cache_files') ?: [];
+ $js_assets = [];
foreach ($js_groups as $order => $js_group) {
// We have to return a single asset, not a group of assets. It is now up
// to one of the pieces of code in the switch statement below to set the
@@ -159,7 +159,7 @@ class JsCollectionOptimizer implements AssetCollectionOptimizerInterface {
* A hash to uniquely identify the given group of JavaScript assets.
*/
protected function generateHash(array $js_group) {
- $js_data = array();
+ $js_data = [];
foreach ($js_group['items'] as $js_file) {
$js_data[] = $js_file['data'];
}
@@ -184,7 +184,7 @@ class JsCollectionOptimizer implements AssetCollectionOptimizerInterface {
file_unmanaged_delete($uri);
}
};
- file_scan_directory('public://js', '/.*/', array('callback' => $delete_stale));
+ file_scan_directory('public://js', '/.*/', ['callback' => $delete_stale]);
}
}
diff --git a/core/lib/Drupal/Core/Asset/JsCollectionRenderer.php b/core/lib/Drupal/Core/Asset/JsCollectionRenderer.php
index 2e47d0f..d3a062c 100644
--- a/core/lib/Drupal/Core/Asset/JsCollectionRenderer.php
+++ b/core/lib/Drupal/Core/Asset/JsCollectionRenderer.php
@@ -37,7 +37,7 @@ class JsCollectionRenderer implements AssetCollectionRendererInterface {
* logic for grouping and aggregating files.
*/
public function render(array $js_assets) {
- $elements = array();
+ $elements = [];
// A dummy query-string is added to filenames, to gain control over
// browser-caching. The string changes on every update or full cache
@@ -47,11 +47,11 @@ class JsCollectionRenderer implements AssetCollectionRendererInterface {
$default_query_string = $this->state->get('system.css_js_query_string') ?: '0';
// Defaults for each SCRIPT element.
- $element_defaults = array(
+ $element_defaults = [
'#type' => 'html_tag',
'#tag' => 'script',
'#value' => '',
- );
+ ];
// Loop through all JS assets.
foreach ($js_assets as $js_asset) {
@@ -62,12 +62,12 @@ class JsCollectionRenderer implements AssetCollectionRendererInterface {
// Element properties that depend on item type.
switch ($js_asset['type']) {
case 'setting':
- $element['#attributes'] = array(
+ $element['#attributes'] = [
// This type attribute prevents this from being parsed as an
// inline script.
'type' => 'application/json',
'data-drupal-selector' => 'drupal-settings-json',
- );
+ ];
$element['#value'] = Json::encode($js_asset['data']);
break;
diff --git a/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php b/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php
index 799ee07..b4c716d 100644
--- a/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php
+++ b/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php
@@ -69,7 +69,7 @@ class LibraryDiscoveryParser {
* Thrown when a js file defines a positive weight.
*/
public function buildByExtension($extension) {
- $libraries = array();
+ $libraries = [];
if ($extension === 'core') {
$path = 'core';
@@ -92,7 +92,7 @@ class LibraryDiscoveryParser {
if (!isset($library['js']) && !isset($library['css']) && !isset($library['drupalSettings'])) {
throw new IncompleteLibraryDefinitionException(sprintf("Incomplete library definition for definition '%s' in extension '%s'", $id, $extension));
}
- $library += array('dependencies' => array(), 'js' => array(), 'css' => array());
+ $library += ['dependencies' => [], 'js' => [], 'css' => []];
if (isset($library['header']) && !is_bool($library['header'])) {
throw new \LogicException(sprintf("The 'header' key in the library definition '%s' in extension '%s' is invalid: it must be a boolean.", $id, $extension));
@@ -116,14 +116,14 @@ class LibraryDiscoveryParser {
// Assign Drupal's license to libraries that don't have license info.
if (!isset($library['license'])) {
- $library['license'] = array(
+ $library['license'] = [
'name' => 'GNU-GPL-2.0-or-later',
'url' => 'https://www.drupal.org/licensing/faq',
'gpl-compatible' => TRUE,
- );
+ ];
}
- foreach (array('js', 'css') as $type) {
+ foreach (['js', 'css'] as $type) {
// Prepare (flatten) the SMACSS-categorized definitions.
// @todo After Asset(ic) changes, retain the definitions as-is and
// properly resolve dependencies for all (css) libraries per category,
@@ -145,7 +145,7 @@ class LibraryDiscoveryParser {
unset($library[$type][$source]);
// Allow to omit the options hashmap in YAML declarations.
if (!is_array($options)) {
- $options = array();
+ $options = [];
}
if ($type == 'js' && isset($options['weight']) && $options['weight'] > 0) {
throw new \UnexpectedValueException("The $extension/$id library defines a positive weight for '$source'. Only negative weights are allowed (but should be avoided). Instead of a positive weight, specify accurate dependencies for this library.");
diff --git a/core/lib/Drupal/Core/Batch/BatchStorage.php b/core/lib/Drupal/Core/Batch/BatchStorage.php
index 789703c..82f5b65 100644
--- a/core/lib/Drupal/Core/Batch/BatchStorage.php
+++ b/core/lib/Drupal/Core/Batch/BatchStorage.php
@@ -58,10 +58,10 @@ class BatchStorage implements BatchStorageInterface {
// Ensure that a session is started before using the CSRF token generator.
$this->session->start();
try {
- $batch = $this->connection->query("SELECT batch FROM {batch} WHERE bid = :bid AND token = :token", array(
+ $batch = $this->connection->query("SELECT batch FROM {batch} WHERE bid = :bid AND token = :token", [
':bid' => $id,
':token' => $this->csrfToken->get($id),
- ))->fetchField();
+ ])->fetchField();
}
catch (\Exception $e) {
$this->catchException($e);
@@ -93,7 +93,7 @@ class BatchStorage implements BatchStorageInterface {
public function update(array $batch) {
try {
$this->connection->update('batch')
- ->fields(array('batch' => serialize($batch)))
+ ->fields(['batch' => serialize($batch)])
->condition('bid', $batch['id'])
->execute();
}
@@ -150,12 +150,12 @@ class BatchStorage implements BatchStorageInterface {
*/
protected function doCreate(array $batch) {
$this->connection->insert('batch')
- ->fields(array(
+ ->fields([
'bid' => $batch['id'],
'timestamp' => REQUEST_TIME,
'token' => $this->csrfToken->get($batch['id']),
'batch' => serialize($batch),
- ))
+ ])
->execute();
}
diff --git a/core/lib/Drupal/Core/Block/BlockBase.php b/core/lib/Drupal/Core/Block/BlockBase.php
index 4d47afa..ee90783 100644
--- a/core/lib/Drupal/Core/Block/BlockBase.php
+++ b/core/lib/Drupal/Core/Block/BlockBase.php
@@ -82,19 +82,19 @@ abstract class BlockBase extends ContextAwarePluginBase implements BlockPluginIn
* An associative array with the default configuration.
*/
protected function baseConfigurationDefaults() {
- return array(
+ return [
'id' => $this->getPluginId(),
'label' => '',
'provider' => $this->pluginDefinition['provider'],
'label_display' => static::BLOCK_LABEL_VISIBLE,
- );
+ ];
}
/**
* {@inheritdoc}
*/
public function defaultConfiguration() {
- return array();
+ return [];
}
/**
@@ -108,7 +108,7 @@ abstract class BlockBase extends ContextAwarePluginBase implements BlockPluginIn
* {@inheritdoc}
*/
public function calculateDependencies() {
- return array();
+ return [];
}
/**
@@ -151,29 +151,29 @@ abstract class BlockBase extends ContextAwarePluginBase implements BlockPluginIn
*/
public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
$definition = $this->getPluginDefinition();
- $form['provider'] = array(
+ $form['provider'] = [
'#type' => 'value',
'#value' => $definition['provider'],
- );
+ ];
- $form['admin_label'] = array(
+ $form['admin_label'] = [
'#type' => 'item',
'#title' => $this->t('Block description'),
'#plain_text' => $definition['admin_label'],
- );
- $form['label'] = array(
+ ];
+ $form['label'] = [
'#type' => 'textfield',
'#title' => $this->t('Title'),
'#maxlength' => 255,
'#default_value' => $this->label(),
'#required' => TRUE,
- );
- $form['label_display'] = array(
+ ];
+ $form['label_display'] = [
'#type' => 'checkbox',
'#title' => $this->t('Display title'),
'#default_value' => ($this->configuration['label_display'] === static::BLOCK_LABEL_VISIBLE),
'#return_value' => static::BLOCK_LABEL_VISIBLE,
- );
+ ];
// Add context mapping UI form elements.
$contexts = $form_state->getTemporaryValue('gathered_contexts') ?: [];
@@ -187,7 +187,7 @@ abstract class BlockBase extends ContextAwarePluginBase implements BlockPluginIn
* {@inheritdoc}
*/
public function blockForm($form, FormStateInterface $form_state) {
- return array();
+ return [];
}
/**
diff --git a/core/lib/Drupal/Core/Block/BlockManager.php b/core/lib/Drupal/Core/Block/BlockManager.php
index 3c88bdc..a837340 100644
--- a/core/lib/Drupal/Core/Block/BlockManager.php
+++ b/core/lib/Drupal/Core/Block/BlockManager.php
@@ -74,7 +74,7 @@ class BlockManager extends DefaultPluginManager implements BlockManagerInterface
/**
* {@inheritdoc}
*/
- public function getFallbackPluginId($plugin_id, array $configuration = array()) {
+ public function getFallbackPluginId($plugin_id, array $configuration = []) {
return 'broken';
}
diff --git a/core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php b/core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php
index bb651cc..f418a5e 100644
--- a/core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php
+++ b/core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php
@@ -29,7 +29,7 @@ class BreadcrumbManager implements ChainBreadcrumbBuilderInterface {
*
* @var array
*/
- protected $builders = array();
+ protected $builders = [];
/**
* Holds the array of breadcrumb builders sorted by priority.
@@ -71,7 +71,7 @@ class BreadcrumbManager implements ChainBreadcrumbBuilderInterface {
*/
public function build(RouteMatchInterface $route_match) {
$breadcrumb = new Breadcrumb();
- $context = array('builder' => NULL);
+ $context = ['builder' => NULL];
// Call the build method of registered breadcrumb builders,
// until one of them returns an array.
foreach ($this->getSortedBuilders() as $builder) {
@@ -107,7 +107,7 @@ class BreadcrumbManager implements ChainBreadcrumbBuilderInterface {
// Sort the builders according to priority.
krsort($this->builders);
// Merge nested builders from $this->builders into $this->sortedBuilders.
- $this->sortedBuilders = array();
+ $this->sortedBuilders = [];
foreach ($this->builders as $builders) {
$this->sortedBuilders = array_merge($this->sortedBuilders, $builders);
}
diff --git a/core/lib/Drupal/Core/Cache/ApcuBackend.php b/core/lib/Drupal/Core/Cache/ApcuBackend.php
index 5338a74..d7847ff 100644
--- a/core/lib/Drupal/Core/Cache/ApcuBackend.php
+++ b/core/lib/Drupal/Core/Cache/ApcuBackend.php
@@ -80,13 +80,13 @@ class ApcuBackend implements CacheBackendInterface {
*/
public function getMultiple(&$cids, $allow_invalid = FALSE) {
// Translate the requested cache item IDs to APCu keys.
- $map = array();
+ $map = [];
foreach ($cids as $cid) {
$map[$this->getApcuKey($cid)] = $cid;
}
$result = apcu_fetch(array_keys($map));
- $cache = array();
+ $cache = [];
if ($result) {
foreach ($result as $key => $item) {
$item = $this->prepareItem($item, $allow_invalid);
@@ -140,7 +140,7 @@ class ApcuBackend implements CacheBackendInterface {
return FALSE;
}
- $cache->tags = $cache->tags ? explode(' ', $cache->tags) : array();
+ $cache->tags = $cache->tags ? explode(' ', $cache->tags) : [];
// Check expire time.
$cache->valid = $cache->expire == Cache::PERMANENT || $cache->expire >= REQUEST_TIME;
@@ -160,7 +160,7 @@ class ApcuBackend implements CacheBackendInterface {
/**
* {@inheritdoc}
*/
- public function set($cid, $data, $expire = CacheBackendInterface::CACHE_PERMANENT, array $tags = array()) {
+ public function set($cid, $data, $expire = CacheBackendInterface::CACHE_PERMANENT, array $tags = []) {
assert('\Drupal\Component\Assertion\Inspector::assertAllStrings($tags)', 'Cache tags must be strings.');
$tags = array_unique($tags);
$cache = new \stdClass();
@@ -180,9 +180,9 @@ class ApcuBackend implements CacheBackendInterface {
/**
* {@inheritdoc}
*/
- public function setMultiple(array $items = array()) {
+ public function setMultiple(array $items = []) {
foreach ($items as $cid => $item) {
- $this->set($cid, $item['data'], isset($item['expire']) ? $item['expire'] : CacheBackendInterface::CACHE_PERMANENT, isset($item['tags']) ? $item['tags'] : array());
+ $this->set($cid, $item['data'], isset($item['expire']) ? $item['expire'] : CacheBackendInterface::CACHE_PERMANENT, isset($item['tags']) ? $item['tags'] : []);
}
}
@@ -197,7 +197,7 @@ class ApcuBackend implements CacheBackendInterface {
* {@inheritdoc}
*/
public function deleteMultiple(array $cids) {
- apcu_delete(array_map(array($this, 'getApcuKey'), $cids));
+ apcu_delete(array_map([$this, 'getApcuKey'], $cids));
}
/**
@@ -225,7 +225,7 @@ class ApcuBackend implements CacheBackendInterface {
* {@inheritdoc}
*/
public function invalidate($cid) {
- $this->invalidateMultiple(array($cid));
+ $this->invalidateMultiple([$cid]);
}
/**
diff --git a/core/lib/Drupal/Core/Cache/BackendChain.php b/core/lib/Drupal/Core/Cache/BackendChain.php
index 851978b..a8cef19 100644
--- a/core/lib/Drupal/Core/Cache/BackendChain.php
+++ b/core/lib/Drupal/Core/Cache/BackendChain.php
@@ -26,7 +26,7 @@ class BackendChain implements CacheBackendInterface, CacheTagsInvalidatorInterfa
*
* @var array
*/
- protected $backends = array();
+ protected $backends = [];
/**
* Constructs a DatabaseBackend object.
@@ -91,7 +91,7 @@ class BackendChain implements CacheBackendInterface, CacheTagsInvalidatorInterfa
* {@inheritdoc}
*/
public function getMultiple(&$cids, $allow_invalid = FALSE) {
- $return = array();
+ $return = [];
foreach ($this->backends as $index => $backend) {
$items = $backend->getMultiple($cids, $allow_invalid);
@@ -121,7 +121,7 @@ class BackendChain implements CacheBackendInterface, CacheTagsInvalidatorInterfa
/**
* {@inheritdoc}
*/
- public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = array()) {
+ public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = []) {
foreach ($this->backends as $backend) {
$backend->set($cid, $data, $expire, $tags);
}
diff --git a/core/lib/Drupal/Core/Cache/Cache.php b/core/lib/Drupal/Core/Cache/Cache.php
index d905132..f02a4e7 100644
--- a/core/lib/Drupal/Core/Cache/Cache.php
+++ b/core/lib/Drupal/Core/Cache/Cache.php
@@ -152,7 +152,7 @@ class Cache {
* An array of cache backend objects keyed by cache bins.
*/
public static function getBins() {
- $bins = array();
+ $bins = [];
$container = \Drupal::getContainer();
foreach ($container->getParameter('cache_bins') as $service_id => $bin) {
$bins[$bin] = $container->get($service_id);
@@ -178,7 +178,7 @@ class Cache {
*/
public static function keyFromQuery(SelectInterface $query) {
$query->preExecute();
- $keys = array((string) $query, $query->getArguments());
+ $keys = [(string) $query, $query->getArguments()];
return hash('sha256', serialize($keys));
}
diff --git a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php
index 68c5b5a..a8ce888 100644
--- a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php
+++ b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php
@@ -96,7 +96,7 @@ interface CacheBackendInterface {
* @see \Drupal\Core\Cache\CacheBackendInterface::get()
* @see \Drupal\Core\Cache\CacheBackendInterface::getMultiple()
*/
- public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = array());
+ public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = []);
/**
* Store multiple items in the persistent cache.
diff --git a/core/lib/Drupal/Core/Cache/CacheCollector.php b/core/lib/Drupal/Core/Cache/CacheCollector.php
index 2db4608..acbbf00 100644
--- a/core/lib/Drupal/Core/Cache/CacheCollector.php
+++ b/core/lib/Drupal/Core/Cache/CacheCollector.php
@@ -56,21 +56,21 @@ abstract class CacheCollector implements CacheCollectorInterface, DestructableIn
*
* @var array
*/
- protected $keysToPersist = array();
+ protected $keysToPersist = [];
/**
* An array of keys to remove from the cache on service termination.
*
* @var array
*/
- protected $keysToRemove = array();
+ protected $keysToRemove = [];
/**
* Storage for the data itself.
*
* @var array
*/
- protected $storage = array();
+ protected $storage = [];
/**
* Stores the cache creation time.
@@ -110,7 +110,7 @@ abstract class CacheCollector implements CacheCollectorInterface, DestructableIn
* @param array $tags
* (optional) The tags to specify for the cache item.
*/
- public function __construct($cid, CacheBackendInterface $cache, LockBackendInterface $lock, array $tags = array()) {
+ public function __construct($cid, CacheBackendInterface $cache, LockBackendInterface $lock, array $tags = []) {
assert('\Drupal\Component\Assertion\Inspector::assertAllStrings($tags)', 'Cache tags must be strings.');
$this->cid = $cid;
$this->cache = $cache;
@@ -216,7 +216,7 @@ abstract class CacheCollector implements CacheCollectorInterface, DestructableIn
* TRUE.
*/
protected function updateCache($lock = TRUE) {
- $data = array();
+ $data = [];
foreach ($this->keysToPersist as $offset => $persist) {
if ($persist) {
$data[$offset] = $this->storage[$offset];
@@ -256,8 +256,8 @@ abstract class CacheCollector implements CacheCollectorInterface, DestructableIn
}
}
- $this->keysToPersist = array();
- $this->keysToRemove = array();
+ $this->keysToPersist = [];
+ $this->keysToRemove = [];
}
/**
@@ -288,9 +288,9 @@ abstract class CacheCollector implements CacheCollectorInterface, DestructableIn
* {@inheritdoc}
*/
public function reset() {
- $this->storage = array();
- $this->keysToPersist = array();
- $this->keysToRemove = array();
+ $this->storage = [];
+ $this->keysToPersist = [];
+ $this->keysToRemove = [];
$this->cacheLoaded = FALSE;
}
diff --git a/core/lib/Drupal/Core/Cache/CacheFactory.php b/core/lib/Drupal/Core/Cache/CacheFactory.php
index d9b39e4..d029cc1 100644
--- a/core/lib/Drupal/Core/Cache/CacheFactory.php
+++ b/core/lib/Drupal/Core/Cache/CacheFactory.php
@@ -42,7 +42,7 @@ class CacheFactory implements CacheFactoryInterface, ContainerAwareInterface {
* (optional) A mapping of bin to backend service name. Mappings in
* $settings take precedence over this.
*/
- public function __construct(Settings $settings, array $default_bin_backends = array()) {
+ public function __construct(Settings $settings, array $default_bin_backends = []) {
$this->settings = $settings;
$this->defaultBinBackends = $default_bin_backends;
}
diff --git a/core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php b/core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php
index cfc64f2..ceb8f49 100644
--- a/core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php
+++ b/core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php
@@ -16,7 +16,7 @@ class CacheTagsInvalidator implements CacheTagsInvalidatorInterface {
*
* @var \Drupal\Core\Cache\CacheTagsInvalidatorInterface[]
*/
- protected $invalidators = array();
+ protected $invalidators = [];
/**
* {@inheritdoc}
@@ -66,7 +66,7 @@ class CacheTagsInvalidator implements CacheTagsInvalidatorInterface {
* interface, keyed by their cache bin.
*/
protected function getInvalidatorCacheBins() {
- $bins = array();
+ $bins = [];
foreach ($this->container->getParameter('cache_bins') as $service_id => $bin) {
$service = $this->container->get($service_id);
if ($service instanceof CacheTagsInvalidatorInterface) {
diff --git a/core/lib/Drupal/Core/Cache/ChainedFastBackend.php b/core/lib/Drupal/Core/Cache/ChainedFastBackend.php
index 62839c2..9f6be9d 100644
--- a/core/lib/Drupal/Core/Cache/ChainedFastBackend.php
+++ b/core/lib/Drupal/Core/Cache/ChainedFastBackend.php
@@ -99,7 +99,7 @@ class ChainedFastBackend implements CacheBackendInterface, CacheTagsInvalidatorI
* {@inheritdoc}
*/
public function get($cid, $allow_invalid = FALSE) {
- $cids = array($cid);
+ $cids = [$cid];
$cache = $this->getMultiple($cids, $allow_invalid);
return reset($cache);
}
@@ -109,7 +109,7 @@ class ChainedFastBackend implements CacheBackendInterface, CacheTagsInvalidatorI
*/
public function getMultiple(&$cids, $allow_invalid = FALSE) {
$cids_copy = $cids;
- $cache = array();
+ $cache = [];
// If we can determine the time at which the last write to the consistent
// backend occurred (we might not be able to if it has been recently
@@ -142,7 +142,7 @@ class ChainedFastBackend implements CacheBackendInterface, CacheTagsInvalidatorI
}
catch (\Exception $e) {
$cids = $cids_copy;
- $items = array();
+ $items = [];
}
// Even if items were successfully fetched from the fast backend, they
@@ -176,7 +176,7 @@ class ChainedFastBackend implements CacheBackendInterface, CacheTagsInvalidatorI
/**
* {@inheritdoc}
*/
- public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = array()) {
+ public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = []) {
$this->consistentBackend->set($cid, $data, $expire, $tags);
$this->markAsOutdated();
// Don't write the cache tags to the fast backend as any cache tag
@@ -202,7 +202,7 @@ class ChainedFastBackend implements CacheBackendInterface, CacheTagsInvalidatorI
* {@inheritdoc}
*/
public function delete($cid) {
- $this->consistentBackend->deleteMultiple(array($cid));
+ $this->consistentBackend->deleteMultiple([$cid]);
$this->markAsOutdated();
}
@@ -226,7 +226,7 @@ class ChainedFastBackend implements CacheBackendInterface, CacheTagsInvalidatorI
* {@inheritdoc}
*/
public function invalidate($cid) {
- $this->invalidateMultiple(array($cid));
+ $this->invalidateMultiple([$cid]);
}
/**
diff --git a/core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php b/core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php
index 00dc9b5..e4da328 100644
--- a/core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php
+++ b/core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php
@@ -43,7 +43,7 @@ class ChainedFastBackendFactory implements CacheFactoryInterface {
public function __construct(Settings $settings = NULL, $consistent_service_name = NULL, $fast_service_name = NULL) {
// Default the consistent backend to the site's default backend.
if (!isset($consistent_service_name)) {
- $cache_settings = isset($settings) ? $settings->get('cache') : array();
+ $cache_settings = isset($settings) ? $settings->get('cache') : [];
$consistent_service_name = isset($cache_settings['default']) ? $cache_settings['default'] : 'cache.backend.database';
}
diff --git a/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php b/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php
index 0e89fb9..9a555f8 100644
--- a/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php
+++ b/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php
@@ -71,7 +71,7 @@ class CacheContextsManager {
* An array of available cache contexts and corresponding labels.
*/
public function getLabels($include_calculated_cache_contexts = FALSE) {
- $with_labels = array();
+ $with_labels = [];
foreach ($this->contexts as $context) {
$service = $this->getService($context);
if (!$include_calculated_cache_contexts && $service instanceof CalculatedCacheContextInterface) {
diff --git a/core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php b/core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php
index a13b763..952dc14 100644
--- a/core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php
+++ b/core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php
@@ -50,7 +50,7 @@ class LanguagesCacheContext implements CalculatedCacheContextInterface {
*/
public function getContext($type = NULL) {
if ($type === NULL) {
- $context_parts = array();
+ $context_parts = [];
if ($this->languageManager->isMultilingual()) {
foreach ($this->languageManager->getLanguageTypes() as $type) {
$context_parts[] = $this->languageManager->getCurrentLanguage($type)->getId();
diff --git a/core/lib/Drupal/Core/Cache/DatabaseBackend.php b/core/lib/Drupal/Core/Cache/DatabaseBackend.php
index a96d183..d53c51c 100644
--- a/core/lib/Drupal/Core/Cache/DatabaseBackend.php
+++ b/core/lib/Drupal/Core/Cache/DatabaseBackend.php
@@ -59,7 +59,7 @@ class DatabaseBackend implements CacheBackendInterface {
* {@inheritdoc}
*/
public function get($cid, $allow_invalid = FALSE) {
- $cids = array($cid);
+ $cids = [$cid];
$cache = $this->getMultiple($cids, $allow_invalid);
return reset($cache);
}
@@ -68,7 +68,7 @@ class DatabaseBackend implements CacheBackendInterface {
* {@inheritdoc}
*/
public function getMultiple(&$cids, $allow_invalid = FALSE) {
- $cid_mapping = array();
+ $cid_mapping = [];
foreach ($cids as $cid) {
$cid_mapping[$this->normalizeCid($cid)] = $cid;
}
@@ -79,14 +79,14 @@ class DatabaseBackend implements CacheBackendInterface {
// is used here only due to the performance overhead we would incur
// otherwise. When serving an uncached page, the overhead of using
// ::select() is a much smaller proportion of the request.
- $result = array();
+ $result = [];
try {
- $result = $this->connection->query('SELECT cid, data, created, expire, serialized, tags, checksum FROM {' . $this->connection->escapeTable($this->bin) . '} WHERE cid IN ( :cids[] ) ORDER BY cid', array(':cids[]' => array_keys($cid_mapping)));
+ $result = $this->connection->query('SELECT cid, data, created, expire, serialized, tags, checksum FROM {' . $this->connection->escapeTable($this->bin) . '} WHERE cid IN ( :cids[] ) ORDER BY cid', [':cids[]' => array_keys($cid_mapping)]);
}
catch (\Exception $e) {
// Nothing to do.
}
- $cache = array();
+ $cache = [];
foreach ($result as $item) {
// Map the cache ID back to the original.
$item->cid = $cid_mapping[$item->cid];
@@ -119,7 +119,7 @@ class DatabaseBackend implements CacheBackendInterface {
return FALSE;
}
- $cache->tags = $cache->tags ? explode(' ', $cache->tags) : array();
+ $cache->tags = $cache->tags ? explode(' ', $cache->tags) : [];
// Check expire time.
$cache->valid = $cache->expire == Cache::PERMANENT || $cache->expire >= REQUEST_TIME;
@@ -144,7 +144,7 @@ class DatabaseBackend implements CacheBackendInterface {
/**
* {@inheritdoc}
*/
- public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = array()) {
+ public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = []) {
$this->setMultiple([
$cid => [
'data' => $data,
@@ -186,26 +186,26 @@ class DatabaseBackend implements CacheBackendInterface {
* @see \Drupal\Core\Cache\CacheBackendInterface::setMultiple()
*/
protected function doSetMultiple(array $items) {
- $values = array();
+ $values = [];
foreach ($items as $cid => $item) {
- $item += array(
+ $item += [
'expire' => CacheBackendInterface::CACHE_PERMANENT,
- 'tags' => array(),
- );
+ 'tags' => [],
+ ];
assert('\Drupal\Component\Assertion\Inspector::assertAllStrings($item[\'tags\'])', 'Cache Tags must be strings.');
$item['tags'] = array_unique($item['tags']);
// Sort the cache tags so that they are stored consistently in the DB.
sort($item['tags']);
- $fields = array(
+ $fields = [
'cid' => $this->normalizeCid($cid),
'expire' => $item['expire'],
'created' => round(microtime(TRUE), 3),
'tags' => implode(' ', $item['tags']),
'checksum' => $this->checksumProvider->getCurrentChecksum($item['tags']),
- );
+ ];
if (!is_string($item['data'])) {
$fields['data'] = serialize($item['data']);
@@ -223,7 +223,7 @@ class DatabaseBackend implements CacheBackendInterface {
$query = $this->connection
->upsert($this->bin)
->key('cid')
- ->fields(array('cid', 'expire', 'created', 'tags', 'checksum', 'data', 'serialized'));
+ ->fields(['cid', 'expire', 'created', 'tags', 'checksum', 'data', 'serialized']);
foreach ($values as $fields) {
// Only pass the values since the order of $fields matches the order of
// the insert fields. This is a performance optimization to avoid
@@ -238,14 +238,14 @@ class DatabaseBackend implements CacheBackendInterface {
* {@inheritdoc}
*/
public function delete($cid) {
- $this->deleteMultiple(array($cid));
+ $this->deleteMultiple([$cid]);
}
/**
* {@inheritdoc}
*/
public function deleteMultiple(array $cids) {
- $cids = array_values(array_map(array($this, 'normalizeCid'), $cids));
+ $cids = array_values(array_map([$this, 'normalizeCid'], $cids));
try {
// Delete in chunks when a large array is passed.
foreach (array_chunk($cids, 1000) as $cids_chunk) {
@@ -285,19 +285,19 @@ class DatabaseBackend implements CacheBackendInterface {
* {@inheritdoc}
*/
public function invalidate($cid) {
- $this->invalidateMultiple(array($cid));
+ $this->invalidateMultiple([$cid]);
}
/**
* {@inheritdoc}
*/
public function invalidateMultiple(array $cids) {
- $cids = array_values(array_map(array($this, 'normalizeCid'), $cids));
+ $cids = array_values(array_map([$this, 'normalizeCid'], $cids));
try {
// Update in chunks when a large array is passed.
foreach (array_chunk($cids, 1000) as $cids_chunk) {
$this->connection->update($this->bin)
- ->fields(array('expire' => REQUEST_TIME - 1))
+ ->fields(['expire' => REQUEST_TIME - 1])
->condition('cid', $cids_chunk, 'IN')
->execute();
}
@@ -313,7 +313,7 @@ class DatabaseBackend implements CacheBackendInterface {
public function invalidateAll() {
try {
$this->connection->update($this->bin)
- ->fields(array('expire' => REQUEST_TIME - 1))
+ ->fields(['expire' => REQUEST_TIME - 1])
->execute();
}
catch (\Exception $e) {
@@ -419,62 +419,62 @@ class DatabaseBackend implements CacheBackendInterface {
* Defines the schema for the {cache_*} bin tables.
*/
public function schemaDefinition() {
- $schema = array(
+ $schema = [
'description' => 'Storage for the cache API.',
- 'fields' => array(
- 'cid' => array(
+ 'fields' => [
+ 'cid' => [
'description' => 'Primary Key: Unique cache ID.',
'type' => 'varchar_ascii',
'length' => 255,
'not null' => TRUE,
'default' => '',
'binary' => TRUE,
- ),
- 'data' => array(
+ ],
+ 'data' => [
'description' => 'A collection of data to cache.',
'type' => 'blob',
'not null' => FALSE,
'size' => 'big',
- ),
- 'expire' => array(
+ ],
+ 'expire' => [
'description' => 'A Unix timestamp indicating when the cache entry should expire, or ' . Cache::PERMANENT . ' for never.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
- ),
- 'created' => array(
+ ],
+ 'created' => [
'description' => 'A timestamp with millisecond precision indicating when the cache entry was created.',
'type' => 'numeric',
'precision' => 14,
'scale' => 3,
'not null' => TRUE,
'default' => 0,
- ),
- 'serialized' => array(
+ ],
+ 'serialized' => [
'description' => 'A flag to indicate whether content is serialized (1) or not (0).',
'type' => 'int',
'size' => 'small',
'not null' => TRUE,
'default' => 0,
- ),
- 'tags' => array(
+ ],
+ 'tags' => [
'description' => 'Space-separated list of cache tags for this entry.',
'type' => 'text',
'size' => 'big',
'not null' => FALSE,
- ),
- 'checksum' => array(
+ ],
+ 'checksum' => [
'description' => 'The tag invalidation checksum when this entry was saved.',
'type' => 'varchar_ascii',
'length' => 255,
'not null' => TRUE,
- ),
- ),
- 'indexes' => array(
- 'expire' => array('expire'),
- ),
- 'primary key' => array('cid'),
- );
+ ],
+ ],
+ 'indexes' => [
+ 'expire' => ['expire'],
+ ],
+ 'primary key' => ['cid'],
+ ];
return $schema;
}
diff --git a/core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php b/core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php
index a133d88..450b441 100644
--- a/core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php
+++ b/core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php
@@ -22,7 +22,7 @@ class DatabaseCacheTagsChecksum implements CacheTagsChecksumInterface, CacheTags
*
* @var array
*/
- protected $tagCache = array();
+ protected $tagCache = [];
/**
* A list of tags that have already been invalidated in this request.
@@ -31,7 +31,7 @@ class DatabaseCacheTagsChecksum implements CacheTagsChecksumInterface, CacheTags
*
* @var array
*/
- protected $invalidatedTags = array();
+ protected $invalidatedTags = [];
/**
* Constructs a DatabaseCacheTagsChecksum object.
@@ -56,7 +56,7 @@ class DatabaseCacheTagsChecksum implements CacheTagsChecksumInterface, CacheTags
$this->invalidatedTags[$tag] = TRUE;
unset($this->tagCache[$tag]);
$this->connection->merge('cachetags')
- ->insertFields(array('invalidations' => 1))
+ ->insertFields(['invalidations' => 1])
->expression('invalidations', 'invalidations + 1')
->key('tag', $tag)
->execute();
@@ -107,9 +107,9 @@ class DatabaseCacheTagsChecksum implements CacheTagsChecksumInterface, CacheTags
$query_tags = array_diff($tags, array_keys($this->tagCache));
if ($query_tags) {
- $db_tags = array();
+ $db_tags = [];
try {
- $db_tags = $this->connection->query('SELECT tag, invalidations FROM {cachetags} WHERE tag IN ( :tags[] )', array(':tags[]' => $query_tags))
+ $db_tags = $this->connection->query('SELECT tag, invalidations FROM {cachetags} WHERE tag IN ( :tags[] )', [':tags[]' => $query_tags])
->fetchAllKeyed();
$this->tagCache += $db_tags;
}
@@ -134,8 +134,8 @@ class DatabaseCacheTagsChecksum implements CacheTagsChecksumInterface, CacheTags
* {@inheritdoc}
*/
public function reset() {
- $this->tagCache = array();
- $this->invalidatedTags = array();
+ $this->tagCache = [];
+ $this->invalidatedTags = [];
}
/**
@@ -165,25 +165,25 @@ class DatabaseCacheTagsChecksum implements CacheTagsChecksumInterface, CacheTags
* Defines the schema for the {cachetags} table.
*/
public function schemaDefinition() {
- $schema = array(
+ $schema = [
'description' => 'Cache table for tracking cache tag invalidations.',
- 'fields' => array(
- 'tag' => array(
+ 'fields' => [
+ 'tag' => [
'description' => 'Namespace-prefixed tag string.',
'type' => 'varchar_ascii',
'length' => 255,
'not null' => TRUE,
'default' => '',
- ),
- 'invalidations' => array(
+ ],
+ 'invalidations' => [
'description' => 'Number incremented when the tag is invalidated.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
- ),
- ),
- 'primary key' => array('tag'),
- );
+ ],
+ ],
+ 'primary key' => ['tag'],
+ ];
return $schema;
}
diff --git a/core/lib/Drupal/Core/Cache/ListCacheBinsPass.php b/core/lib/Drupal/Core/Cache/ListCacheBinsPass.php
index 27886ac..32bac09 100644
--- a/core/lib/Drupal/Core/Cache/ListCacheBinsPass.php
+++ b/core/lib/Drupal/Core/Cache/ListCacheBinsPass.php
@@ -16,8 +16,8 @@ class ListCacheBinsPass implements CompilerPassInterface {
* Collects the cache bins into the cache_bins parameter.
*/
public function process(ContainerBuilder $container) {
- $cache_bins = array();
- $cache_default_bin_backends = array();
+ $cache_bins = [];
+ $cache_default_bin_backends = [];
foreach ($container->findTaggedServiceIds('cache.bin') as $id => $attributes) {
$bin = substr($id, strpos($id, '.') + 1);
$cache_bins[$id] = $bin;
diff --git a/core/lib/Drupal/Core/Cache/MemoryBackend.php b/core/lib/Drupal/Core/Cache/MemoryBackend.php
index aa2409c..76bff41 100644
--- a/core/lib/Drupal/Core/Cache/MemoryBackend.php
+++ b/core/lib/Drupal/Core/Cache/MemoryBackend.php
@@ -17,7 +17,7 @@ class MemoryBackend implements CacheBackendInterface, CacheTagsInvalidatorInterf
/**
* Array to store cache objects.
*/
- protected $cache = array();
+ protected $cache = [];
/**
* {@inheritdoc}
@@ -35,7 +35,7 @@ class MemoryBackend implements CacheBackendInterface, CacheTagsInvalidatorInterf
* {@inheritdoc}
*/
public function getMultiple(&$cids, $allow_invalid = FALSE) {
- $ret = array();
+ $ret = [];
$items = array_intersect_key($this->cache, array_flip($cids));