comparison vendor/psy/psysh/test/ParserTestCase.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents c2387f117808
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
90 90
91 private function parseErrorIsEOF(\PhpParser\Error $e) 91 private function parseErrorIsEOF(\PhpParser\Error $e)
92 { 92 {
93 $msg = $e->getRawMessage(); 93 $msg = $e->getRawMessage();
94 94
95 return ($msg === 'Unexpected token EOF') || (strpos($msg, 'Syntax error, unexpected EOF') !== false); 95 return ($msg === 'Unexpected token EOF') || (\strpos($msg, 'Syntax error, unexpected EOF') !== false);
96 } 96 }
97 } 97 }