Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / psy / psysh / src / VarDumper / Dumper.php
similarity index 94%
rename from vendor/psy/psysh/src/Psy/VarDumper/Dumper.php
rename to vendor/psy/psysh/src/VarDumper/Dumper.php
index 42c8832cd9d73ea888e9779a4676d8e7ce8649a3..a6e9e87596fb011939956c9ff11597e6904f4ad1 100644 (file)
@@ -3,7 +3,7 @@
 /*
  * This file is part of Psy Shell.
  *
- * (c) 2012-2017 Justin Hileman
+ * (c) 2012-2018 Justin Hileman
  *
  * For the full copyright and license information, please view the LICENSE
  * file that was distributed with this source code.
@@ -25,7 +25,7 @@ class Dumper extends CliDumper
 
     protected static $onlyControlCharsRx = '/^[\x00-\x1F\x7F]+$/';
     protected static $controlCharsRx     = '/([\x00-\x1F\x7F]+)/';
-    protected static $controlCharsMap    = array(
+    protected static $controlCharsMap    = [
         "\0"   => '\0',
         "\t"   => '\t',
         "\n"   => '\n',
@@ -33,7 +33,7 @@ class Dumper extends CliDumper
         "\f"   => '\f',
         "\r"   => '\r',
         "\033" => '\e',
-    );
+    ];
 
     public function __construct(OutputFormatter $formatter, $forceArrayIndexes = false)
     {
@@ -64,7 +64,7 @@ class Dumper extends CliDumper
         }
     }
 
-    protected function style($style, $value, $attr = array())
+    protected function style($style, $value, $attr = [])
     {
         if ('ref' === $style) {
             $value = strtr($value, '@', '#');