diff --git a/README.md b/README.md index 3d87d64..129f485 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Usage ------- ```php =5.4.0", "ext-tokenizer": "*", - "php-parallel-lint/php-console-color": "^0.2 || ^0.3" + "php-parallel-lint/php-console-color": "^1.0" }, "require-dev": { "phpunit/phpunit": "^4.8.36 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", diff --git a/examples/snippet.php b/examples/snippet.php index 1bf6ac3..7f3360f 100644 --- a/examples/snippet.php +++ b/examples/snippet.php @@ -1,5 +1,5 @@ createMock('\JakubOnderka\PhpConsoleColor\ConsoleColor') - : $this->getMock('\JakubOnderka\PhpConsoleColor\ConsoleColor'); + ? $this->createMock('\PHP_Parallel_Lint\PhpConsoleColor\ConsoleColor') + : $this->getMock('\PHP_Parallel_Lint\PhpConsoleColor\ConsoleColor'); $mock->expects($this->any()) ->method('apply')