From 7246a1b198a36cd083f85122aefa8f253b9fb532 Mon Sep 17 00:00:00 2001 From: Matthias Wirtz <2990373+swiffer@users.noreply.github.com> Date: Thu, 25 Jul 2019 17:37:15 +0200 Subject: [PATCH] remove usage of curly braces https://wiki.php.net/rfc/deprecate_curly_braces_array_access --- src/Installer/PluginInstaller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Installer/PluginInstaller.php b/src/Installer/PluginInstaller.php index 82c4e80..6d699eb 100644 --- a/src/Installer/PluginInstaller.php +++ b/src/Installer/PluginInstaller.php @@ -167,7 +167,7 @@ public static function determinePlugins($packages, $pluginsDir = 'plugins', $ven } $name = $info->getFilename(); - if ($name{0} === '.') { + if ($name[0] === '.') { continue; }