Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / psy / psysh / src / CodeCleaner / LeavePsyshAlonePass.php
similarity index 92%
rename from vendor/psy/psysh/src/Psy/CodeCleaner/LeavePsyshAlonePass.php
rename to vendor/psy/psysh/src/CodeCleaner/LeavePsyshAlonePass.php
index e6a3bbde88b02dc906d3a673330fc141a0b6238e..08f6fbee0cd4c85c97e6b1eee2c28f1ea7fd8632 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.
@@ -30,7 +30,7 @@ class LeavePsyshAlonePass extends CodeCleanerPass
     public function enterNode(Node $node)
     {
         if ($node instanceof Variable && $node->name === '__psysh__') {
-            throw new RuntimeException('Don\'t mess with $__psysh__. Bad things will happen.');
+            throw new RuntimeException('Don\'t mess with $__psysh__; bad things will happen');
         }
     }
 }