projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
nikic
/
php-parser
/
test
/
PhpParser
/
ErrorTest.php
diff --git
a/vendor/nikic/php-parser/test/PhpParser/ErrorTest.php
b/vendor/nikic/php-parser/test/PhpParser/ErrorTest.php
index 4b9d73a16065f4d5b070b34d6a75059855f969c6..07a3288f5aee254aae982167a31f51cd0a83cb1a 100644
(file)
--- a/
vendor/nikic/php-parser/test/PhpParser/ErrorTest.php
+++ b/
vendor/nikic/php-parser/test/PhpParser/ErrorTest.php
@@
-94,11
+94,9
@@
class ErrorTest extends TestCase
}
}
}
}
- /**
- * @expectedException \RuntimeException
- * @expectedExceptionMessage Invalid position information
- */
public function testInvalidPosInfo() {
public function testInvalidPosInfo() {
+ $this->expectException(\RuntimeException::class);
+ $this->expectExceptionMessage('Invalid position information');
$error = new Error('Some error', [
'startFilePos' => 10,
'endFilePos' => 11,
$error = new Error('Some error', [
'startFilePos' => 10,
'endFilePos' => 11,