mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-25 20:29:10 -04:00
ALPHA 3.0.2
This commit is contained in:
0
vendor/nunomaduro/collision/LICENSE.md
vendored
Normal file → Executable file
0
vendor/nunomaduro/collision/LICENSE.md
vendored
Normal file → Executable file
3
vendor/nunomaduro/collision/composer.json
vendored
3
vendor/nunomaduro/collision/composer.json
vendored
@@ -20,7 +20,8 @@
|
||||
"jakub-onderka/php-console-highlighter": "0.3.*"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~7.0",
|
||||
"phpunit/phpunit": "~7.2",
|
||||
"phpstan/phpstan": "^0.9.2",
|
||||
"laravel/framework": "5.6.*"
|
||||
},
|
||||
"autoload-dev": {
|
||||
|
||||
@@ -28,9 +28,7 @@ use NunoMaduro\Collision\Contracts\Adapters\Phpunit\Listener as ListenerContract
|
||||
class CollisionServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Indicates if loading of the provider is deferred.
|
||||
*
|
||||
* @var bool
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $defer = true;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of PhpStorm.
|
||||
* This file is part of Collision.
|
||||
*
|
||||
* (c) Nuno Maduro <enunomaduro@gmail.com>
|
||||
*
|
||||
|
||||
@@ -40,7 +40,7 @@ class Highlighter extends BaseHighlighter implements HighlighterContract
|
||||
/**
|
||||
* Creates an instance of the Highlighter.
|
||||
*
|
||||
* @param \JakubOnderka\PhpConsoleHighlighter\ConsoleColor|null $color
|
||||
* @param \JakubOnderka\PhpConsoleColor\ConsoleColor|null $color
|
||||
*/
|
||||
public function __construct(ConsoleColor $color = null)
|
||||
{
|
||||
|
||||
2
vendor/nunomaduro/collision/src/Provider.php
vendored
2
vendor/nunomaduro/collision/src/Provider.php
vendored
@@ -33,7 +33,7 @@ class Provider implements ProviderContract
|
||||
/**
|
||||
* Holds an instance of the handler.
|
||||
*
|
||||
* @var \Whoops\Handler\HandlerInterface
|
||||
* @var \NunoMaduro\Collision\Contracts\Handler
|
||||
*/
|
||||
protected $handler;
|
||||
|
||||
|
||||
2
vendor/nunomaduro/collision/src/Writer.php
vendored
2
vendor/nunomaduro/collision/src/Writer.php
vendored
@@ -214,7 +214,7 @@ class Writer implements WriterContract
|
||||
{
|
||||
$this->render('at <fg=green>'.$frame->getFile().'</>'.':<fg=green>'.$frame->getLine().'</>');
|
||||
|
||||
$content = $this->highlighter->highlight($frame->getFileContents(), (int) $frame->getLine());
|
||||
$content = $this->highlighter->highlight((string) $frame->getFileContents(), (int) $frame->getLine());
|
||||
|
||||
$this->output->writeln($content);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user