X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=vendor%2Ftwig%2Ftwig%2Ftest%2FTwig%2FTests%2FExtension%2FCoreTest.php;h=ca69b4af65034f6c090b4256cb9ce9b43900f865;hb=refs%2Fheads%2Ft2;hp=c5429d48773f84e6d5666d807259836b104792ea;hpb=eba34333e3c89f208d2f72fa91351ad019a71583;p=yaffs-website diff --git a/vendor/twig/twig/test/Twig/Tests/Extension/CoreTest.php b/vendor/twig/twig/test/Twig/Tests/Extension/CoreTest.php index c5429d487..ca69b4af6 100644 --- a/vendor/twig/twig/test/Twig/Tests/Extension/CoreTest.php +++ b/vendor/twig/twig/test/Twig/Tests/Extension/CoreTest.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -class Twig_Tests_Extension_CoreTest extends PHPUnit_Framework_TestCase +class Twig_Tests_Extension_CoreTest extends \PHPUnit\Framework\TestCase { /** * @dataProvider getRandomFunctionTestData @@ -264,7 +264,7 @@ class Twig_Tests_Extension_CoreTest extends PHPUnit_Framework_TestCase array(array(), new CoreTestIterator($i, $keys, true), count($keys) + 10), array('de', 'abcdef', 3, 2), array(array(), new SimpleXMLElement('12'), 3), - array(array(), new ArrayIterator(array(1, 2)), 3) + array(array(), new ArrayIterator(array(1, 2)), 3), ); } } @@ -344,7 +344,7 @@ final class CoreTestIterator implements Iterator { ++$this->position; if ($this->position === $this->maxPosition) { - throw new LogicException(sprintf('Code should not iterate beyond %d.', $this->maxPosition)); + throw new LogicException(sprintf('Code should not iterate beyond %d.', $this->maxPosition)); } }