diff --git a/composer.lock b/composer.lock index 0511d5a..57a73bc 100644 --- a/composer.lock +++ b/composer.lock @@ -8,29 +8,29 @@ "packages": [ { "name": "classpreloader/classpreloader", - "version": "2.0.0", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/ClassPreloader/ClassPreloader.git", - "reference": "8c3c14b10309e3b40bce833913a6c0c0b8c8f962" + "reference": "9b10b913c2bdf90c3d2e0d726b454fb7f77c552a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ClassPreloader/ClassPreloader/zipball/8c3c14b10309e3b40bce833913a6c0c0b8c8f962", - "reference": "8c3c14b10309e3b40bce833913a6c0c0b8c8f962", + "url": "https://api.github.com/repos/ClassPreloader/ClassPreloader/zipball/9b10b913c2bdf90c3d2e0d726b454fb7f77c552a", + "reference": "9b10b913c2bdf90c3d2e0d726b454fb7f77c552a", "shasum": "" }, "require": { - "nikic/php-parser": "~1.3", + "nikic/php-parser": "^1.0|^2.0", "php": ">=5.5.9" }, "require-dev": { - "phpunit/phpunit": "~4.0" + "phpunit/phpunit": "^4.8|^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -58,7 +58,7 @@ "class", "preload" ], - "time": "2015-06-28 21:39:13" + "time": "2015-11-09 22:51:51" }, { "name": "danielstjules/stringy", @@ -363,20 +363,20 @@ }, { "name": "laravel/framework", - "version": "v5.1.23", + "version": "v5.1.24", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "a4ea877d2bb6a68796b244a741594968796c1c4e" + "reference": "875baf2d1645ce23e2ec0bf94fa7bb3e7fbfd6ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/a4ea877d2bb6a68796b244a741594968796c1c4e", - "reference": "a4ea877d2bb6a68796b244a741594968796c1c4e", + "url": "https://api.github.com/repos/laravel/framework/zipball/875baf2d1645ce23e2ec0bf94fa7bb3e7fbfd6ed", + "reference": "875baf2d1645ce23e2ec0bf94fa7bb3e7fbfd6ed", "shasum": "" }, "require": { - "classpreloader/classpreloader": "~2.0", + "classpreloader/classpreloader": "~2.0|~3.0", "danielstjules/stringy": "~1.8", "doctrine/inflector": "~1.0", "ext-mbstring": "*", @@ -386,9 +386,9 @@ "monolog/monolog": "~1.11", "mtdowling/cron-expression": "~1.0", "nesbot/carbon": "~1.19", - "paragonie/random_compat": "^1.0.6", + "paragonie/random_compat": "~1.1", "php": ">=5.5.9", - "psy/psysh": "~0.5.1", + "psy/psysh": "0.6.*", "swiftmailer/swiftmailer": "~5.1", "symfony/console": "2.7.*", "symfony/css-selector": "2.7.*", @@ -488,7 +488,7 @@ "framework", "laravel" ], - "time": "2015-11-03 16:32:33" + "time": "2015-11-11 22:45:42" }, { "name": "league/flysystem", @@ -697,16 +697,16 @@ }, { "name": "ndrx/profiler", - "version": "v0.5.4", + "version": "v0.6.0", "source": { "type": "git", "url": "https://github.com/ndrx-io/profiler.git", - "reference": "c91305cbce5aa60a8e73ab5d8f773f4d10dfbcf2" + "reference": "a6c06215eadd7947b68eab7df4028e7efa9b0c2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ndrx-io/profiler/zipball/c91305cbce5aa60a8e73ab5d8f773f4d10dfbcf2", - "reference": "c91305cbce5aa60a8e73ab5d8f773f4d10dfbcf2", + "url": "https://api.github.com/repos/ndrx-io/profiler/zipball/a6c06215eadd7947b68eab7df4028e7efa9b0c2e", + "reference": "a6c06215eadd7947b68eab7df4028e7efa9b0c2e", "shasum": "" }, "require": { @@ -752,7 +752,7 @@ "ndrx", "profiler" ], - "time": "2015-11-11 19:39:01" + "time": "2015-11-12 22:08:51" }, { "name": "nesbot/carbon", @@ -1034,29 +1034,29 @@ }, { "name": "psy/psysh", - "version": "v0.5.2", + "version": "v0.6.1", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "aaf8772ade08b5f0f6830774a5d5c2f800415975" + "reference": "0f04df0b23663799a8941fae13cd8e6299bde3ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/aaf8772ade08b5f0f6830774a5d5c2f800415975", - "reference": "aaf8772ade08b5f0f6830774a5d5c2f800415975", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/0f04df0b23663799a8941fae13cd8e6299bde3ed", + "reference": "0f04df0b23663799a8941fae13cd8e6299bde3ed", "shasum": "" }, "require": { "dnoegel/php-xdg-base-dir": "0.1", "jakub-onderka/php-console-highlighter": "0.3.*", - "nikic/php-parser": "^1.2.1", + "nikic/php-parser": "^1.2.1|~2.0", "php": ">=5.3.9", "symfony/console": "~2.3.10|^2.4.2|~3.0", "symfony/var-dumper": "~2.7|~3.0" }, "require-dev": { "fabpot/php-cs-fixer": "~1.5", - "phpunit/phpunit": "~3.7|~4.0", + "phpunit/phpunit": "~3.7|~4.0|~5.0", "squizlabs/php_codesniffer": "~2.0", "symfony/finder": "~2.1|~3.0" }, @@ -1072,15 +1072,15 @@ "type": "library", "extra": { "branch-alias": { - "dev-develop": "0.6.x-dev" + "dev-develop": "0.7.x-dev" } }, "autoload": { "files": [ "src/Psy/functions.php" ], - "psr-0": { - "Psy\\": "src/" + "psr-4": { + "Psy\\": "src/Psy/" } }, "notification-url": "https://packagist.org/downloads/", @@ -1102,7 +1102,7 @@ "interactive", "shell" ], - "time": "2015-07-16 15:26:57" + "time": "2015-11-12 16:18:56" }, { "name": "swiftmailer/swiftmailer", diff --git a/src/Collectors/Data/Event.php b/src/Collectors/Data/Event.php index 69d21a4..c112339 100644 --- a/src/Collectors/Data/Event.php +++ b/src/Collectors/Data/Event.php @@ -33,15 +33,4 @@ protected function registerListeners() $this->stream(); }); } - - /** - * Write data in the datasource and clean current buffer - * @return mixed - */ - public function stream() - { - $patch = $this->jsonPatch->generate($this->getPath(), JsonPatch::ACTION_ADD, $this->data, true); - $this->dataSource->save($this->process, [$patch]); - $this->data = []; - } } \ No newline at end of file diff --git a/src/Collectors/Data/Route.php b/src/Collectors/Data/Route.php index 0228759..382a15f 100644 --- a/src/Collectors/Data/Route.php +++ b/src/Collectors/Data/Route.php @@ -7,7 +7,6 @@ */ namespace Ndrx\Profiler\Laravel\Collectors\Data; -use Illuminate\Foundation\Console\RouteListCommand; use Illuminate\Support\Facades\App; /** @@ -30,7 +29,6 @@ public function resolve() $middleware = array_unique(array_values($route->middleware())); $this->data[] = array( - 'host' => $route->domain(), 'method' => implode('|', $route->methods()), 'uri' => $route->uri(), 'name' => $route->getName(),