diff options
Diffstat (limited to 'vendor/filp/whoops')
8 files changed, 46 insertions, 10 deletions
diff --git a/vendor/filp/whoops/LICENSE.md b/vendor/filp/whoops/LICENSE.md index 17707b3037..80407e711f 100644 --- a/vendor/filp/whoops/LICENSE.md +++ b/vendor/filp/whoops/LICENSE.md @@ -1,4 +1,4 @@ -#The MIT License +# The MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/filp/whoops/composer.json b/vendor/filp/whoops/composer.json index 0a4dca4be1..7b2c3a6e50 100644 --- a/vendor/filp/whoops/composer.json +++ b/vendor/filp/whoops/composer.json @@ -17,8 +17,8 @@ }, "require-dev": { "phpunit/phpunit": "^4.8.35 || ^5.7", - "mockery/mockery": "0.9.*", - "symfony/var-dumper": "^2.6 || ^3.0" + "mockery/mockery": "^0.9 || ^1.0", + "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0" }, "suggest": { "symfony/var-dumper": "Pretty print complex values better with var-dumper available", @@ -36,7 +36,7 @@ }, "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "2.1-dev" } } } diff --git a/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php b/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php index 1a0fcc8328..08197b4d35 100644 --- a/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php +++ b/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php @@ -96,6 +96,7 @@ class PrettyPageHandler extends Handler "phpstorm" => "phpstorm://open?file=%file&line=%line", "idea" => "idea://open?file=%file&line=%line", "vscode" => "vscode://file/%file:%line", + "atom" => "atom://core/open/file?filename=%file&line=%line", ]; /** diff --git a/vendor/filp/whoops/src/Whoops/Handler/XmlResponseHandler.php b/vendor/filp/whoops/src/Whoops/Handler/XmlResponseHandler.php index b6f93c5761..0d0a577e5d 100644 --- a/vendor/filp/whoops/src/Whoops/Handler/XmlResponseHandler.php +++ b/vendor/filp/whoops/src/Whoops/Handler/XmlResponseHandler.php @@ -67,7 +67,7 @@ class XmlResponseHandler extends Handler */ private static function addDataToNode(\SimpleXMLElement $node, $data) { - assert('is_array($data) || $node instanceof Traversable'); + assert(is_array($data) || $data instanceof Traversable); foreach ($data as $key => $value) { if (is_numeric($key)) { @@ -98,7 +98,7 @@ class XmlResponseHandler extends Handler */ private static function toXml($data) { - assert('is_array($data) || $node instanceof Traversable'); + assert(is_array($data) || $data instanceof Traversable); $node = simplexml_load_string("<?xml version='1.0' encoding='utf-8'?><root />"); diff --git a/vendor/filp/whoops/src/Whoops/Resources/css/whoops.base.css b/vendor/filp/whoops/src/Whoops/Resources/css/whoops.base.css index 0289f122c4..8c08bbc9a7 100644 --- a/vendor/filp/whoops/src/Whoops/Resources/css/whoops.base.css +++ b/vendor/filp/whoops/src/Whoops/Resources/css/whoops.base.css @@ -459,6 +459,39 @@ kbd { } } +/* Stack panels */ +@media (max-width: 600px) { + .panel { + position: static; + width: 100%; + } +} + +/* Stack details tables */ +@media (max-width: 400px) { + .data-table, + .data-table tbody, + .data-table tbody tr, + .data-table tbody td { + display: block; + width: 100%; + } + + .data-table tbody tr:first-child { + padding-top: 0; + } + + .data-table tbody td:first-child, + .data-table tbody td:last-child { + padding-left: 0; + padding-right: 0; + } + + .data-table tbody td:last-child { + padding-top: 3px; + } +} + .tooltipped { position: relative } diff --git a/vendor/filp/whoops/src/Whoops/Resources/views/frame_list.html.php b/vendor/filp/whoops/src/Whoops/Resources/views/frame_list.html.php index 7e8fa3d4e1..a4bc338c2b 100644 --- a/vendor/filp/whoops/src/Whoops/Resources/views/frame_list.html.php +++ b/vendor/filp/whoops/src/Whoops/Resources/views/frame_list.html.php @@ -14,4 +14,4 @@ --><span class="frame-line"><?php echo (int) $frame->getLine() ?></span> </div> </div> -<?php endforeach; ?> +<?php endforeach; diff --git a/vendor/filp/whoops/src/Whoops/Resources/views/layout.html.php b/vendor/filp/whoops/src/Whoops/Resources/views/layout.html.php index 76911d0dff..6b676cc6dd 100644 --- a/vendor/filp/whoops/src/Whoops/Resources/views/layout.html.php +++ b/vendor/filp/whoops/src/Whoops/Resources/views/layout.html.php @@ -8,6 +8,7 @@ <head> <meta charset="utf-8"> <meta name="robots" content="noindex,nofollow"/> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/> <title><?php echo $tpl->escape($page_title) ?></title> <style><?php echo $stylesheet ?></style> diff --git a/vendor/filp/whoops/src/Whoops/Resources/views/panel_left.html.php b/vendor/filp/whoops/src/Whoops/Resources/views/panel_left.html.php index 3d96546a3f..7e652e4698 100644 --- a/vendor/filp/whoops/src/Whoops/Resources/views/panel_left.html.php +++ b/vendor/filp/whoops/src/Whoops/Resources/views/panel_left.html.php @@ -1,3 +1,4 @@ -<?php $tpl->render($header_outer) ?> -<?php $tpl->render($frames_description) ?> -<?php $tpl->render($frames_container) ?>
\ No newline at end of file +<?php +$tpl->render($header_outer); +$tpl->render($frames_description); +$tpl->render($frames_container); |
