composer update

This commit is contained in:
Manish Verma
2018-12-05 10:50:52 +05:30
parent 9eabcacfa7
commit 4addd1e9c6
3328 changed files with 156676 additions and 138988 deletions

View File

@@ -8,7 +8,9 @@ class HighlighterTest extends \PHPUnit_Framework_TestCase
protected function getConsoleColorMock()
{
$mock = $this->getMock('\JakubOnderka\PhpConsoleColor\ConsoleColor');
$mock = method_exists($this, 'createMock')
? $this->createMock('\JakubOnderka\PhpConsoleColor\ConsoleColor')
: $this->getMock('\JakubOnderka\PhpConsoleColor\ConsoleColor');
$mock->expects($this->any())
->method('apply')
@@ -260,4 +262,13 @@ EOL
''
);
}
}
public function testWhitespace()
{
$this->compare(
' '
,
'<token_html> </token_html>'
);
}
}

View File

@@ -1,2 +0,0 @@
<?php
$loader = require_once __DIR__ . '/../vendor/autoload.php';