diff vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 5fb285c0d0e3
children 129ea1e6d783
line wrap: on
line diff
--- a/vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php	Thu Apr 26 11:26:54 2018 +0100
+++ b/vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php	Tue Jul 10 15:07:59 2018 +0100
@@ -198,6 +198,10 @@
         return preg_match('/^-?[0-9]+$/', $stringValue) ? $stringValue . '.0' : $stringValue;
     }
 
+    protected function pScalar_EncapsedStringPart(Scalar\EncapsedStringPart $node) {
+        throw new \LogicException('Cannot directly print EncapsedStringPart');
+    }
+
     // Assignments
 
     protected function pExpr_Assign(Expr\Assign $node) {