Commit 142e846e authored by Viral Solani's avatar Viral Solani

- Add friendsofphp/php-cs-fixer

- Fix issues with the help of php-cs-fixer
- Add important scripts in composer.json
parent f7355a19
...@@ -36,4 +36,6 @@ public/img/backend/blog_images/* ...@@ -36,4 +36,6 @@ public/img/backend/blog_images/*
public/mix-manifest.json public/mix-manifest.json
public/access.log public/access.log
public/error.log public/error.log
!public/js/jquerysession.min.js !public/js/jquerysession.min.js
\ No newline at end of file output.txt
.php_cs.cache
\ No newline at end of file
...@@ -229,9 +229,13 @@ trait UserAttribute ...@@ -229,9 +229,13 @@ trait UserAttribute
if (access()->allow('login-as-user') && (!session()->has('admin_user_id') || !session()->has('temp_user_id'))) { if (access()->allow('login-as-user') && (!session()->has('admin_user_id') || !session()->has('temp_user_id'))) {
//Won't break, but don't let them "Login As" themselves //Won't break, but don't let them "Login As" themselves
if ($this->id != access()->id()) { if ($this->id != access()->id()) {
return '<a class="'.$class.'" href="'.route('admin.access.user.login-as', return '<a class="'.$class.'" href="'.route(
$this).'"><i class="fa fa-lock" data-toggle="tooltip" data-placement="top" title="'.trans('buttons.backend.access.users.login_as', 'admin.access.user.login-as',
['user' => $this->name]).'"></i>'.$name.'</a>'; $this
).'"><i class="fa fa-lock" data-toggle="tooltip" data-placement="top" title="'.trans(
'buttons.backend.access.users.login_as',
['user' => $this->name]
).'"></i>'.$name.'</a>';
} }
} }
......
...@@ -15,15 +15,12 @@ trait FaqAttribute ...@@ -15,15 +15,12 @@ trait FaqAttribute
switch ($this->status && access()->allow('edit-faq')) { switch ($this->status && access()->allow('edit-faq')) {
case 0: case 0:
return '<a href="'.route('admin.faqs.mark', [$this, 1]).'" class="btn btn-flat btn-default"><i class="fa fa-check-square" data-toggle="tooltip" data-placement="top" title="'.trans('buttons.backend.access.users.activate').'"></i></a>'; return '<a href="'.route('admin.faqs.mark', [$this, 1]).'" class="btn btn-flat btn-default"><i class="fa fa-check-square" data-toggle="tooltip" data-placement="top" title="'.trans('buttons.backend.access.users.activate').'"></i></a>';
// No break
case 1: case 1:
return '<a href="'.route('admin.faqs.mark', [$this, 0]).'" class="btn btn-flat btn-default"><i class="fa fa-square" data-toggle="tooltip" data-placement="top" title="'.trans('buttons.backend.access.users.deactivate').'"></i></a>'; return '<a href="'.route('admin.faqs.mark', [$this, 0]).'" class="btn btn-flat btn-default"><i class="fa fa-square" data-toggle="tooltip" data-placement="top" title="'.trans('buttons.backend.access.users.deactivate').'"></i></a>';
// No break
default: default:
return ''; return '';
// No break
} }
return ''; return '';
......
...@@ -23,7 +23,8 @@ class ComposerServiceProvider extends ServiceProvider ...@@ -23,7 +23,8 @@ class ComposerServiceProvider extends ServiceProvider
*/ */
View::composer( View::composer(
// This class binds the $logged_in_user variable to every view // This class binds the $logged_in_user variable to every view
'*', GlobalComposer::class '*',
GlobalComposer::class
); );
/* /*
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
"bvipul/generator": "^5.8.1", "bvipul/generator": "^5.8.1",
"codedungeon/phpunit-result-printer": "^0.19.10", "codedungeon/phpunit-result-printer": "^0.19.10",
"filp/whoops": "~2.0", "filp/whoops": "~2.0",
"friendsofphp/php-cs-fixer": "^2.10",
"fzaninotto/faker": "~1.4", "fzaninotto/faker": "~1.4",
"laravel/telescope": "^2.0", "laravel/telescope": "^2.0",
"mockery/mockery": "1.2.2", "mockery/mockery": "1.2.2",
...@@ -74,6 +75,30 @@ ...@@ -74,6 +75,30 @@
"post-autoload-dump": [ "post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover" "@php artisan package:discover"
],
"clear-all": [
"@php artisan clear-compiled",
"@php artisan cache:clear",
"@php artisan route:clear",
"@php artisan view:clear",
"@php artisan config:clear",
"composer dumpautoload -o"
],
"cache-all": [
"@php artisan config:cache",
"@php artisan route:cache"
],
"cc": [
"composer clear-all",
"composer cache-all"
],
"format": [
"./vendor/bin/php-cs-fixer fix app/ --show-progress=estimating",
"./vendor/bin/php-cs-fixer fix config/ --show-progress=estimating",
"./vendor/bin/php-cs-fixer fix database/ --show-progress=estimating",
"./vendor/bin/php-cs-fixer fix resources/ --show-progress=estimating",
"./vendor/bin/php-cs-fixer fix routes/ --show-progress=estimating",
"./vendor/bin/php-cs-fixer fix tests/ --show-progress=estimating"
] ]
}, },
"config": { "config": {
......
...@@ -4,20 +4,20 @@ ...@@ -4,20 +4,20 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "a89d37ebabe7ecdd1f650e30bdc301d2", "content-hash": "7d2cd7caa0bc96f03fb6d406c444a09f",
"packages": [ "packages": [
{ {
"name": "arcanedev/log-viewer", "name": "arcanedev/log-viewer",
"version": "4.7.1", "version": "4.7.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/ARCANEDEV/LogViewer.git", "url": "https://github.com/ARCANEDEV/LogViewer.git",
"reference": "fb9d1ac1ad6c0616c6c0e244c2cb42286554643a" "reference": "9ae1d23f67d5d1c7490c69636b34303457fb0af3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/ARCANEDEV/LogViewer/zipball/fb9d1ac1ad6c0616c6c0e244c2cb42286554643a", "url": "https://api.github.com/repos/ARCANEDEV/LogViewer/zipball/9ae1d23f67d5d1c7490c69636b34303457fb0af3",
"reference": "fb9d1ac1ad6c0616c6c0e244c2cb42286554643a", "reference": "9ae1d23f67d5d1c7490c69636b34303457fb0af3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
"log-viewer", "log-viewer",
"logviewer" "logviewer"
], ],
"time": "2019-03-19T18:28:51+00:00" "time": "2019-04-13T10:01:41+00:00"
}, },
{ {
"name": "arcanedev/no-captcha", "name": "arcanedev/no-captcha",
...@@ -991,16 +991,16 @@ ...@@ -991,16 +991,16 @@
}, },
{ {
"name": "erusev/parsedown", "name": "erusev/parsedown",
"version": "v1.7.2", "version": "1.7.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/erusev/parsedown.git", "url": "https://github.com/erusev/parsedown.git",
"reference": "d60bcdc46978357759ecb13cb4b078da783f8faf" "reference": "6d893938171a817f4e9bc9e86f2da1e370b7bcd7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/erusev/parsedown/zipball/d60bcdc46978357759ecb13cb4b078da783f8faf", "url": "https://api.github.com/repos/erusev/parsedown/zipball/6d893938171a817f4e9bc9e86f2da1e370b7bcd7",
"reference": "d60bcdc46978357759ecb13cb4b078da783f8faf", "reference": "6d893938171a817f4e9bc9e86f2da1e370b7bcd7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -1033,7 +1033,7 @@ ...@@ -1033,7 +1033,7 @@
"markdown", "markdown",
"parser" "parser"
], ],
"time": "2019-03-17T17:19:46+00:00" "time": "2019-03-17T18:48:37+00:00"
}, },
{ {
"name": "fideloper/proxy", "name": "fideloper/proxy",
...@@ -1574,16 +1574,16 @@ ...@@ -1574,16 +1574,16 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v5.8.8", "version": "v5.8.13",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "3f0a5744a866ae3ae0ca84f47080501714af01ba" "reference": "837e3823e2274d22b8e281d093391b5d9c23029a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/3f0a5744a866ae3ae0ca84f47080501714af01ba", "url": "https://api.github.com/repos/laravel/framework/zipball/837e3823e2274d22b8e281d093391b5d9c23029a",
"reference": "3f0a5744a866ae3ae0ca84f47080501714af01ba", "reference": "837e3823e2274d22b8e281d093391b5d9c23029a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -1717,7 +1717,7 @@ ...@@ -1717,7 +1717,7 @@
"framework", "framework",
"laravel" "laravel"
], ],
"time": "2019-03-26T17:19:10+00:00" "time": "2019-04-18T15:28:45+00:00"
}, },
{ {
"name": "laravel/passport", "name": "laravel/passport",
...@@ -2395,16 +2395,16 @@ ...@@ -2395,16 +2395,16 @@
}, },
{ {
"name": "nesbot/carbon", "name": "nesbot/carbon",
"version": "2.16.2", "version": "2.17.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/briannesbitt/Carbon.git", "url": "https://github.com/briannesbitt/Carbon.git",
"reference": "720a9c36927396efeeb48a972e9d129d44b6dc28" "reference": "9b49d637ad009e5e211142bc7492adcb19dbd645"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/720a9c36927396efeeb48a972e9d129d44b6dc28", "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/9b49d637ad009e5e211142bc7492adcb19dbd645",
"reference": "720a9c36927396efeeb48a972e9d129d44b6dc28", "reference": "9b49d637ad009e5e211142bc7492adcb19dbd645",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -2414,9 +2414,9 @@ ...@@ -2414,9 +2414,9 @@
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^2.14 || ^3.0", "friendsofphp/php-cs-fixer": "^2.14 || ^3.0",
"kylekatarnls/multi-tester": "^0.1", "kylekatarnls/multi-tester": "^1.1",
"phpmd/phpmd": "^2.6", "phpmd/phpmd": "^2.6",
"phpstan/phpstan": "^0.10.8", "phpstan/phpstan": "^0.11",
"phpunit/phpunit": "^7.5 || ^8.0", "phpunit/phpunit": "^7.5 || ^8.0",
"squizlabs/php_codesniffer": "^3.4" "squizlabs/php_codesniffer": "^3.4"
}, },
...@@ -2451,7 +2451,7 @@ ...@@ -2451,7 +2451,7 @@
"datetime", "datetime",
"time" "time"
], ],
"time": "2019-03-29T12:23:12+00:00" "time": "2019-04-17T08:51:36+00:00"
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",
...@@ -3196,16 +3196,16 @@ ...@@ -3196,16 +3196,16 @@
}, },
{ {
"name": "spatie/laravel-cors", "name": "spatie/laravel-cors",
"version": "1.4.0", "version": "1.5.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/laravel-cors.git", "url": "https://github.com/spatie/laravel-cors.git",
"reference": "54d85a92af8d8305e872d50e14fad4f42ce67428" "reference": "e20a929637f675fe309f3d4ad28f503d7ff6d266"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-cors/zipball/54d85a92af8d8305e872d50e14fad4f42ce67428", "url": "https://api.github.com/repos/spatie/laravel-cors/zipball/e20a929637f675fe309f3d4ad28f503d7ff6d266",
"reference": "54d85a92af8d8305e872d50e14fad4f42ce67428", "reference": "e20a929637f675fe309f3d4ad28f503d7ff6d266",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3251,7 +3251,7 @@ ...@@ -3251,7 +3251,7 @@
"request", "request",
"spatie" "spatie"
], ],
"time": "2019-02-27T08:08:54+00:00" "time": "2019-04-17T17:03:15+00:00"
}, },
{ {
"name": "swiftmailer/swiftmailer", "name": "swiftmailer/swiftmailer",
...@@ -3317,16 +3317,16 @@ ...@@ -3317,16 +3317,16 @@
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v4.2.4", "version": "v4.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "9dc2299a016497f9ee620be94524e6c0af0280a9" "reference": "e2840bb38bddad7a0feaf85931e38fdcffdb2f81"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/9dc2299a016497f9ee620be94524e6c0af0280a9", "url": "https://api.github.com/repos/symfony/console/zipball/e2840bb38bddad7a0feaf85931e38fdcffdb2f81",
"reference": "9dc2299a016497f9ee620be94524e6c0af0280a9", "reference": "e2840bb38bddad7a0feaf85931e38fdcffdb2f81",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3385,7 +3385,7 @@ ...@@ -3385,7 +3385,7 @@
], ],
"description": "Symfony Console Component", "description": "Symfony Console Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-02-23T15:17:42+00:00" "time": "2019-04-08T14:23:48+00:00"
}, },
{ {
"name": "symfony/contracts", "name": "symfony/contracts",
...@@ -3457,7 +3457,7 @@ ...@@ -3457,7 +3457,7 @@
}, },
{ {
"name": "symfony/css-selector", "name": "symfony/css-selector",
"version": "v4.2.4", "version": "v4.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/css-selector.git", "url": "https://github.com/symfony/css-selector.git",
...@@ -3510,16 +3510,16 @@ ...@@ -3510,16 +3510,16 @@
}, },
{ {
"name": "symfony/debug", "name": "symfony/debug",
"version": "v4.2.4", "version": "v4.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/debug.git", "url": "https://github.com/symfony/debug.git",
"reference": "de73f48977b8eaf7ce22814d66e43a1662cc864f" "reference": "2d279b6bb1d582dd5740d4d3251ae8c18812ed37"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/debug/zipball/de73f48977b8eaf7ce22814d66e43a1662cc864f", "url": "https://api.github.com/repos/symfony/debug/zipball/2d279b6bb1d582dd5740d4d3251ae8c18812ed37",
"reference": "de73f48977b8eaf7ce22814d66e43a1662cc864f", "reference": "2d279b6bb1d582dd5740d4d3251ae8c18812ed37",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3562,20 +3562,20 @@ ...@@ -3562,20 +3562,20 @@
], ],
"description": "Symfony Debug Component", "description": "Symfony Debug Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-03-03T18:11:24+00:00" "time": "2019-04-11T11:27:41+00:00"
}, },
{ {
"name": "symfony/event-dispatcher", "name": "symfony/event-dispatcher",
"version": "v4.2.4", "version": "v4.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/event-dispatcher.git", "url": "https://github.com/symfony/event-dispatcher.git",
"reference": "3354d2e6af986dd71f68b4e5cf4a933ab58697fb" "reference": "fbce53cd74ac509cbe74b6f227622650ab759b02"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/3354d2e6af986dd71f68b4e5cf4a933ab58697fb", "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/fbce53cd74ac509cbe74b6f227622650ab759b02",
"reference": "3354d2e6af986dd71f68b4e5cf4a933ab58697fb", "reference": "fbce53cd74ac509cbe74b6f227622650ab759b02",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3626,20 +3626,20 @@ ...@@ -3626,20 +3626,20 @@
], ],
"description": "Symfony EventDispatcher Component", "description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-02-23T15:17:42+00:00" "time": "2019-04-06T13:51:08+00:00"
}, },
{ {
"name": "symfony/finder", "name": "symfony/finder",
"version": "v4.2.4", "version": "v4.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/finder.git", "url": "https://github.com/symfony/finder.git",
"reference": "267b7002c1b70ea80db0833c3afe05f0fbde580a" "reference": "e45135658bd6c14b61850bf131c4f09a55133f69"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/267b7002c1b70ea80db0833c3afe05f0fbde580a", "url": "https://api.github.com/repos/symfony/finder/zipball/e45135658bd6c14b61850bf131c4f09a55133f69",
"reference": "267b7002c1b70ea80db0833c3afe05f0fbde580a", "reference": "e45135658bd6c14b61850bf131c4f09a55133f69",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3675,20 +3675,20 @@ ...@@ -3675,20 +3675,20 @@
], ],
"description": "Symfony Finder Component", "description": "Symfony Finder Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-02-23T15:42:05+00:00" "time": "2019-04-06T13:51:08+00:00"
}, },
{ {
"name": "symfony/http-foundation", "name": "symfony/http-foundation",
"version": "v4.2.4", "version": "v4.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-foundation.git", "url": "https://github.com/symfony/http-foundation.git",
"reference": "850a667d6254ccf6c61d853407b16f21c4579c77" "reference": "6ebbe61f48069033225c9d3fa7eb5ed116d766d6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/850a667d6254ccf6c61d853407b16f21c4579c77", "url": "https://api.github.com/repos/symfony/http-foundation/zipball/6ebbe61f48069033225c9d3fa7eb5ed116d766d6",
"reference": "850a667d6254ccf6c61d853407b16f21c4579c77", "reference": "6ebbe61f48069033225c9d3fa7eb5ed116d766d6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3729,20 +3729,20 @@ ...@@ -3729,20 +3729,20 @@
], ],
"description": "Symfony HttpFoundation Component", "description": "Symfony HttpFoundation Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-02-26T08:03:39+00:00" "time": "2019-04-17T14:56:00+00:00"
}, },
{ {
"name": "symfony/http-kernel", "name": "symfony/http-kernel",
"version": "v4.2.4", "version": "v4.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-kernel.git", "url": "https://github.com/symfony/http-kernel.git",
"reference": "895ceccaa8149f9343e6134e607c21da42d73b7a" "reference": "3db83303dbc1da9777e5ff63423b8b7fde423a1b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/895ceccaa8149f9343e6134e607c21da42d73b7a", "url": "https://api.github.com/repos/symfony/http-kernel/zipball/3db83303dbc1da9777e5ff63423b8b7fde423a1b",
"reference": "895ceccaa8149f9343e6134e607c21da42d73b7a", "reference": "3db83303dbc1da9777e5ff63423b8b7fde423a1b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3818,7 +3818,7 @@ ...@@ -3818,7 +3818,7 @@
], ],
"description": "Symfony HttpKernel Component", "description": "Symfony HttpKernel Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-03-03T19:38:09+00:00" "time": "2019-04-17T16:17:13+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
...@@ -4115,16 +4115,16 @@ ...@@ -4115,16 +4115,16 @@
}, },
{ {
"name": "symfony/process", "name": "symfony/process",
"version": "v4.2.4", "version": "v4.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/process.git", "url": "https://github.com/symfony/process.git",
"reference": "6c05edb11fbeff9e2b324b4270ecb17911a8b7ad" "reference": "8cf39fb4ccff793340c258ee7760fd40bfe745fe"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/6c05edb11fbeff9e2b324b4270ecb17911a8b7ad", "url": "https://api.github.com/repos/symfony/process/zipball/8cf39fb4ccff793340c258ee7760fd40bfe745fe",
"reference": "6c05edb11fbeff9e2b324b4270ecb17911a8b7ad", "reference": "8cf39fb4ccff793340c258ee7760fd40bfe745fe",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -4160,7 +4160,7 @@ ...@@ -4160,7 +4160,7 @@
], ],
"description": "Symfony Process Component", "description": "Symfony Process Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-01-24T22:05:03+00:00" "time": "2019-04-10T16:20:36+00:00"
}, },
{ {
"name": "symfony/psr-http-message-bridge", "name": "symfony/psr-http-message-bridge",
...@@ -4229,16 +4229,16 @@ ...@@ -4229,16 +4229,16 @@
}, },
{ {
"name": "symfony/routing", "name": "symfony/routing",
"version": "v4.2.4", "version": "v4.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/routing.git", "url": "https://github.com/symfony/routing.git",
"reference": "ff03eae644e6b1e26d4a04b2385fe3a1a7f04e42" "reference": "0e5719d216017b1a0342fa48e86467cedca1c954"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/ff03eae644e6b1e26d4a04b2385fe3a1a7f04e42", "url": "https://api.github.com/repos/symfony/routing/zipball/0e5719d216017b1a0342fa48e86467cedca1c954",
"reference": "ff03eae644e6b1e26d4a04b2385fe3a1a7f04e42", "reference": "0e5719d216017b1a0342fa48e86467cedca1c954",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -4261,7 +4261,6 @@ ...@@ -4261,7 +4261,6 @@
"suggest": { "suggest": {
"doctrine/annotations": "For using the annotation loader", "doctrine/annotations": "For using the annotation loader",
"symfony/config": "For using the all-in-one router or any loader", "symfony/config": "For using the all-in-one router or any loader",
"symfony/dependency-injection": "For loading routes from a service",
"symfony/expression-language": "For using expression matching", "symfony/expression-language": "For using expression matching",
"symfony/http-foundation": "For using a Symfony Request object", "symfony/http-foundation": "For using a Symfony Request object",
"symfony/yaml": "For using the YAML loader" "symfony/yaml": "For using the YAML loader"
...@@ -4302,20 +4301,20 @@ ...@@ -4302,20 +4301,20 @@
"uri", "uri",
"url" "url"
], ],
"time": "2019-02-23T15:17:42+00:00" "time": "2019-04-14T18:04:59+00:00"
}, },
{ {
"name": "symfony/translation", "name": "symfony/translation",
"version": "v4.2.4", "version": "v4.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/translation.git", "url": "https://github.com/symfony/translation.git",
"reference": "748464177a77011f8f4cdd076773862ce4915f8f" "reference": "46c0dede1f925383d13dc783857be2c41efd0b24"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/748464177a77011f8f4cdd076773862ce4915f8f", "url": "https://api.github.com/repos/symfony/translation/zipball/46c0dede1f925383d13dc783857be2c41efd0b24",
"reference": "748464177a77011f8f4cdd076773862ce4915f8f", "reference": "46c0dede1f925383d13dc783857be2c41efd0b24",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -4337,7 +4336,9 @@ ...@@ -4337,7 +4336,9 @@
"symfony/console": "~3.4|~4.0", "symfony/console": "~3.4|~4.0",
"symfony/dependency-injection": "~3.4|~4.0", "symfony/dependency-injection": "~3.4|~4.0",
"symfony/finder": "~2.8|~3.0|~4.0", "symfony/finder": "~2.8|~3.0|~4.0",
"symfony/http-kernel": "~3.4|~4.0",
"symfony/intl": "~3.4|~4.0", "symfony/intl": "~3.4|~4.0",
"symfony/var-dumper": "~3.4|~4.0",
"symfony/yaml": "~3.4|~4.0" "symfony/yaml": "~3.4|~4.0"
}, },
"suggest": { "suggest": {
...@@ -4375,20 +4376,20 @@ ...@@ -4375,20 +4376,20 @@
], ],
"description": "Symfony Translation Component", "description": "Symfony Translation Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-02-27T03:31:50+00:00" "time": "2019-04-10T16:20:36+00:00"
}, },
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
"version": "v4.2.4", "version": "v4.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-dumper.git", "url": "https://github.com/symfony/var-dumper.git",
"reference": "9f87189ac10b42edf7fb8edc846f1937c6d157cf" "reference": "e760a38e12b15032325e64be63f7ffc1817af617"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/9f87189ac10b42edf7fb8edc846f1937c6d157cf", "url": "https://api.github.com/repos/symfony/var-dumper/zipball/e760a38e12b15032325e64be63f7ffc1817af617",
"reference": "9f87189ac10b42edf7fb8edc846f1937c6d157cf", "reference": "e760a38e12b15032325e64be63f7ffc1817af617",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -4451,7 +4452,7 @@ ...@@ -4451,7 +4452,7 @@
"debug", "debug",
"dump" "dump"
], ],
"time": "2019-02-23T15:17:42+00:00" "time": "2019-04-17T14:57:01+00:00"
}, },
{ {
"name": "tijsverkoyen/css-to-inline-styles", "name": "tijsverkoyen/css-to-inline-styles",
...@@ -4938,6 +4939,74 @@ ...@@ -4938,6 +4939,74 @@
], ],
"time": "2019-01-28T20:25:53+00:00" "time": "2019-01-28T20:25:53+00:00"
}, },
{
"name": "doctrine/annotations",
"version": "v1.6.1",
"source": {
"type": "git",
"url": "https://github.com/doctrine/annotations.git",
"reference": "53120e0eb10355388d6ccbe462f1fea34ddadb24"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/annotations/zipball/53120e0eb10355388d6ccbe462f1fea34ddadb24",
"reference": "53120e0eb10355388d6ccbe462f1fea34ddadb24",
"shasum": ""
},
"require": {
"doctrine/lexer": "1.*",
"php": "^7.1"
},
"require-dev": {
"doctrine/cache": "1.*",
"phpunit/phpunit": "^6.4"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.6.x-dev"
}
},
"autoload": {
"psr-4": {
"Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Roman Borschel",
"email": "roman@code-factory.org"
},
{
"name": "Benjamin Eberlei",
"email": "kontakt@beberlei.de"
},
{
"name": "Guilherme Blanco",
"email": "guilhermeblanco@gmail.com"
},
{
"name": "Jonathan Wage",
"email": "jonwage@gmail.com"
},
{
"name": "Johannes Schmitt",
"email": "schmittjoh@gmail.com"
}
],
"description": "Docblock Annotations Parser",
"homepage": "http://www.doctrine-project.org",
"keywords": [
"annotations",
"docblock",
"parser"
],
"time": "2019-03-25T19:12:02+00:00"
},
{ {
"name": "doctrine/instantiator", "name": "doctrine/instantiator",
"version": "1.2.0", "version": "1.2.0",
...@@ -5055,6 +5124,94 @@ ...@@ -5055,6 +5124,94 @@
], ],
"time": "2018-10-23T09:00:00+00:00" "time": "2018-10-23T09:00:00+00:00"
}, },
{
"name": "friendsofphp/php-cs-fixer",
"version": "v2.14.2",
"source": {
"type": "git",
"url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git",
"reference": "ff401e58261ffc5934a58f795b3f95b355e276cb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/ff401e58261ffc5934a58f795b3f95b355e276cb",
"reference": "ff401e58261ffc5934a58f795b3f95b355e276cb",
"shasum": ""
},
"require": {
"composer/semver": "^1.4",
"composer/xdebug-handler": "^1.2",
"doctrine/annotations": "^1.2",
"ext-json": "*",
"ext-tokenizer": "*",
"php": "^5.6 || ^7.0",
"php-cs-fixer/diff": "^1.3",
"symfony/console": "^3.4.17 || ^4.1.6",
"symfony/event-dispatcher": "^3.0 || ^4.0",
"symfony/filesystem": "^3.0 || ^4.0",
"symfony/finder": "^3.0 || ^4.0",
"symfony/options-resolver": "^3.0 || ^4.0",
"symfony/polyfill-php70": "^1.0",
"symfony/polyfill-php72": "^1.4",
"symfony/process": "^3.0 || ^4.0",
"symfony/stopwatch": "^3.0 || ^4.0"
},
"require-dev": {
"johnkary/phpunit-speedtrap": "^1.1 || ^2.0 || ^3.0",
"justinrainbow/json-schema": "^5.0",
"keradus/cli-executor": "^1.2",
"mikey179/vfsstream": "^1.6",
"php-coveralls/php-coveralls": "^2.1",
"php-cs-fixer/accessible-object": "^1.0",
"php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.0.1",
"php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.0.1",
"phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1",
"phpunitgoodpractices/traits": "^1.5.1",
"symfony/phpunit-bridge": "^4.0"
},
"suggest": {
"ext-mbstring": "For handling non-UTF8 characters in cache signature.",
"php-cs-fixer/phpunit-constraint-isidenticalstring": "For IsIdenticalString constraint.",
"php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "For XmlMatchesXsd constraint.",
"symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible."
},
"bin": [
"php-cs-fixer"
],
"type": "application",
"autoload": {
"psr-4": {
"PhpCsFixer\\": "src/"
},
"classmap": [
"tests/Test/AbstractFixerTestCase.php",
"tests/Test/AbstractIntegrationCaseFactory.php",
"tests/Test/AbstractIntegrationTestCase.php",
"tests/Test/Assert/AssertTokensTrait.php",
"tests/Test/IntegrationCase.php",
"tests/Test/IntegrationCaseFactory.php",
"tests/Test/IntegrationCaseFactoryInterface.php",
"tests/Test/InternalIntegrationCaseFactory.php",
"tests/TestCase.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Dariusz Rumiński",
"email": "dariusz.ruminski@gmail.com"
},
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
}
],
"description": "A tool to automatically fix PHP code style",
"time": "2019-02-17T17:44:13+00:00"
},
{ {
"name": "fzaninotto/faker", "name": "fzaninotto/faker",
"version": "v1.8.0", "version": "v1.8.0",
...@@ -5440,16 +5597,16 @@ ...@@ -5440,16 +5597,16 @@
}, },
{ {
"name": "myclabs/deep-copy", "name": "myclabs/deep-copy",
"version": "1.8.1", "version": "1.9.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/myclabs/DeepCopy.git", "url": "https://github.com/myclabs/DeepCopy.git",
"reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8" "reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8", "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72",
"reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8", "reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -5484,43 +5641,40 @@ ...@@ -5484,43 +5641,40 @@
"object", "object",
"object graph" "object graph"
], ],
"time": "2018-06-11T23:09:50+00:00" "time": "2019-04-07T13:18:21+00:00"
}, },
{ {
"name": "nette/bootstrap", "name": "nette/bootstrap",
"version": "v2.4.6", "version": "v3.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/bootstrap.git", "url": "https://github.com/nette/bootstrap.git",
"reference": "268816e3f1bb7426c3a4ceec2bd38a036b532543" "reference": "e1075af05c211915e03e0c86542f3ba5433df4a3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/bootstrap/zipball/268816e3f1bb7426c3a4ceec2bd38a036b532543", "url": "https://api.github.com/repos/nette/bootstrap/zipball/e1075af05c211915e03e0c86542f3ba5433df4a3",
"reference": "268816e3f1bb7426c3a4ceec2bd38a036b532543", "reference": "e1075af05c211915e03e0c86542f3ba5433df4a3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"nette/di": "~2.4.7", "nette/di": "^3.0",
"nette/utils": "~2.4", "nette/utils": "^3.0",
"php": ">=5.6.0" "php": ">=7.1"
},
"conflict": {
"nette/nette": "<2.2"
}, },
"require-dev": { "require-dev": {
"latte/latte": "~2.2", "latte/latte": "^2.2",
"nette/application": "~2.3", "nette/application": "^3.0",
"nette/caching": "~2.3", "nette/caching": "^3.0",
"nette/database": "~2.3", "nette/database": "^3.0",
"nette/forms": "~2.3", "nette/forms": "^3.0",
"nette/http": "~2.4.0", "nette/http": "^3.0",
"nette/mail": "~2.3", "nette/mail": "^3.0",
"nette/robot-loader": "^2.4.2 || ^3.0", "nette/robot-loader": "^3.0",
"nette/safe-stream": "~2.2", "nette/safe-stream": "^2.2",
"nette/security": "~2.3", "nette/security": "^3.0",
"nette/tester": "~2.0", "nette/tester": "^2.0",
"tracy/tracy": "^2.4.1" "tracy/tracy": "^2.6"
}, },
"suggest": { "suggest": {
"nette/robot-loader": "to use Configurator::createRobotLoader()", "nette/robot-loader": "to use Configurator::createRobotLoader()",
...@@ -5529,7 +5683,7 @@ ...@@ -5529,7 +5683,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.4-dev" "dev-master": "3.0-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -5553,53 +5707,57 @@ ...@@ -5553,53 +5707,57 @@
"homepage": "https://nette.org/contributors" "homepage": "https://nette.org/contributors"
} }
], ],
"description": "? Nette Bootstrap: the simple way to configure and bootstrap your Nette application.", "description": "🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.",
"homepage": "https://nette.org", "homepage": "https://nette.org",
"keywords": [ "keywords": [
"bootstrapping", "bootstrapping",
"configurator", "configurator",
"nette" "nette"
], ],
"time": "2018-05-17T12:52:20+00:00" "time": "2019-03-26T12:59:07+00:00"
}, },
{ {
"name": "nette/di", "name": "nette/di",
"version": "v2.4.15", "version": "v3.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/di.git", "url": "https://github.com/nette/di.git",
"reference": "d0561b8f77e8ef2ed6d83328860e16c81a5a8649" "reference": "19d83539245aaacb59470828919182411061841f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/di/zipball/d0561b8f77e8ef2ed6d83328860e16c81a5a8649", "url": "https://api.github.com/repos/nette/di/zipball/19d83539245aaacb59470828919182411061841f",
"reference": "d0561b8f77e8ef2ed6d83328860e16c81a5a8649", "reference": "19d83539245aaacb59470828919182411061841f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-tokenizer": "*", "ext-tokenizer": "*",
"nette/neon": "^2.3.3 || ~3.0.0", "nette/neon": "^3.0",
"nette/php-generator": "^2.6.1 || ^3.0.0", "nette/php-generator": "^3.2.2",
"nette/utils": "^2.5.0 || ~3.0.0", "nette/robot-loader": "^3.2",
"php": ">=5.6.0" "nette/schema": "^1.0",
"nette/utils": "^3.0",
"php": ">=7.1"
}, },
"conflict": { "conflict": {
"nette/bootstrap": "<2.4", "nette/bootstrap": "<3.0"
"nette/nette": "<2.2"
}, },
"require-dev": { "require-dev": {
"nette/tester": "^2.0", "nette/tester": "^2.2",
"tracy/tracy": "^2.3" "tracy/tracy": "^2.3"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.4-dev" "dev-master": "3.0-dev"
} }
}, },
"autoload": { "autoload": {
"classmap": [ "classmap": [
"src/" "src/"
],
"files": [
"src/compatibility.php"
] ]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
...@@ -5618,7 +5776,7 @@ ...@@ -5618,7 +5776,7 @@
"homepage": "https://nette.org/contributors" "homepage": "https://nette.org/contributors"
} }
], ],
"description": "? Nette Dependency Injection Container: Flexible, compiled and full-featured DIC with perfectly usable autowiring and support for all new PHP 7.1 features.", "description": "💎 Nette Dependency Injection Container: Flexible, compiled and full-featured DIC with perfectly usable autowiring and support for all new PHP 7.1 features.",
"homepage": "https://nette.org", "homepage": "https://nette.org",
"keywords": [ "keywords": [
"compiled", "compiled",
...@@ -5629,7 +5787,7 @@ ...@@ -5629,7 +5787,7 @@
"nette", "nette",
"static" "static"
], ],
"time": "2019-01-30T13:26:05+00:00" "time": "2019-04-03T19:35:46+00:00"
}, },
{ {
"name": "nette/finder", "name": "nette/finder",
...@@ -5815,26 +5973,23 @@ ...@@ -5815,26 +5973,23 @@
}, },
{ {
"name": "nette/robot-loader", "name": "nette/robot-loader",
"version": "v3.1.1", "version": "v3.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/robot-loader.git", "url": "https://github.com/nette/robot-loader.git",
"reference": "3e8d75d6d976e191bdf46752ca40a286671219d2" "reference": "0712a0e39ae7956d6a94c0ab6ad41aa842544b5c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/robot-loader/zipball/3e8d75d6d976e191bdf46752ca40a286671219d2", "url": "https://api.github.com/repos/nette/robot-loader/zipball/0712a0e39ae7956d6a94c0ab6ad41aa842544b5c",
"reference": "3e8d75d6d976e191bdf46752ca40a286671219d2", "reference": "0712a0e39ae7956d6a94c0ab6ad41aa842544b5c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-tokenizer": "*", "ext-tokenizer": "*",
"nette/finder": "^2.3 || ^3.0", "nette/finder": "^2.5",
"nette/utils": "^2.4 || ^3.0", "nette/utils": "^3.0",
"php": ">=5.6.0" "php": ">=7.1"
},
"conflict": {
"nette/nette": "<2.2"
}, },
"require-dev": { "require-dev": {
"nette/tester": "^2.0", "nette/tester": "^2.0",
...@@ -5843,7 +5998,7 @@ ...@@ -5843,7 +5998,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "3.1-dev" "dev-master": "3.2-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -5876,27 +6031,81 @@ ...@@ -5876,27 +6031,81 @@
"nette", "nette",
"trait" "trait"
], ],
"time": "2019-03-01T20:23:02+00:00" "time": "2019-03-08T21:57:24+00:00"
},
{
"name": "nette/schema",
"version": "v1.0.0",
"source": {
"type": "git",
"url": "https://github.com/nette/schema.git",
"reference": "6241d8d4da39e825dd6cb5bfbe4242912f4d7e4d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/schema/zipball/6241d8d4da39e825dd6cb5bfbe4242912f4d7e4d",
"reference": "6241d8d4da39e825dd6cb5bfbe4242912f4d7e4d",
"shasum": ""
},
"require": {
"nette/utils": "^3.0.1",
"php": ">=7.1"
},
"require-dev": {
"nette/tester": "^2.2",
"tracy/tracy": "^2.3"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"autoload": {
"classmap": [
"src/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause",
"GPL-2.0",
"GPL-3.0"
],
"authors": [
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
},
{
"name": "Nette Community",
"homepage": "https://nette.org/contributors"
}
],
"description": "📐 Nette Schema: validating data structures against a given Schema.",
"homepage": "https://nette.org",
"keywords": [
"config",
"nette"
],
"time": "2019-04-03T15:53:25+00:00"
}, },
{ {
"name": "nette/utils", "name": "nette/utils",
"version": "v2.5.3", "version": "v3.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/utils.git", "url": "https://github.com/nette/utils.git",
"reference": "17b9f76f2abd0c943adfb556e56f2165460b15ce" "reference": "bd961f49b211997202bda1d0fbc410905be370d4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/utils/zipball/17b9f76f2abd0c943adfb556e56f2165460b15ce", "url": "https://api.github.com/repos/nette/utils/zipball/bd961f49b211997202bda1d0fbc410905be370d4",
"reference": "17b9f76f2abd0c943adfb556e56f2165460b15ce", "reference": "bd961f49b211997202bda1d0fbc410905be370d4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.6.0" "php": ">=7.1"
},
"conflict": {
"nette/nette": "<2.2"
}, },
"require-dev": { "require-dev": {
"nette/tester": "~2.0", "nette/tester": "~2.0",
...@@ -5905,7 +6114,7 @@ ...@@ -5905,7 +6114,7 @@
"suggest": { "suggest": {
"ext-gd": "to use Image", "ext-gd": "to use Image",
"ext-iconv": "to use Strings::webalize() and toAscii()", "ext-iconv": "to use Strings::webalize() and toAscii()",
"ext-intl": "for script transliteration in Strings::webalize() and toAscii()", "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()",
"ext-json": "to use Nette\\Utils\\Json", "ext-json": "to use Nette\\Utils\\Json",
"ext-mbstring": "to use Strings::lower() etc...", "ext-mbstring": "to use Strings::lower() etc...",
"ext-xml": "to use Strings::length() etc. when mbstring is not available" "ext-xml": "to use Strings::length() etc. when mbstring is not available"
...@@ -5913,15 +6122,12 @@ ...@@ -5913,15 +6122,12 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.5-dev" "dev-master": "3.0-dev"
} }
}, },
"autoload": { "autoload": {
"classmap": [ "classmap": [
"src/" "src/"
],
"files": [
"src/loader.php"
] ]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
...@@ -5940,7 +6146,7 @@ ...@@ -5940,7 +6146,7 @@
"homepage": "https://nette.org/contributors" "homepage": "https://nette.org/contributors"
} }
], ],
"description": "? Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.",
"homepage": "https://nette.org", "homepage": "https://nette.org",
"keywords": [ "keywords": [
"array", "array",
...@@ -5958,7 +6164,7 @@ ...@@ -5958,7 +6164,7 @@
"utility", "utility",
"validation" "validation"
], ],
"time": "2018-09-18T10:22:16+00:00" "time": "2019-03-22T01:00:30+00:00"
}, },
{ {
"name": "nunomaduro/larastan", "name": "nunomaduro/larastan",
...@@ -6129,16 +6335,16 @@ ...@@ -6129,16 +6335,16 @@
}, },
{ {
"name": "orchestra/testbench-core", "name": "orchestra/testbench-core",
"version": "v3.8.1", "version": "v3.8.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/orchestral/testbench-core.git", "url": "https://github.com/orchestral/testbench-core.git",
"reference": "51192972746beb3766327bb84838998d3a59e99c" "reference": "598caa6f7813b8a29b2f1b69912b40659dcef79b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/orchestral/testbench-core/zipball/51192972746beb3766327bb84838998d3a59e99c", "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/598caa6f7813b8a29b2f1b69912b40659dcef79b",
"reference": "51192972746beb3766327bb84838998d3a59e99c", "reference": "598caa6f7813b8a29b2f1b69912b40659dcef79b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -6146,12 +6352,13 @@ ...@@ -6146,12 +6352,13 @@
"php": ">=7.1" "php": ">=7.1"
}, },
"require-dev": { "require-dev": {
"laravel/framework": "~5.8.0", "laravel/framework": "~5.8.3",
"laravel/laravel": "dev-master",
"mockery/mockery": "^1.0", "mockery/mockery": "^1.0",
"phpunit/phpunit": "^7.5 || ^8.0" "phpunit/phpunit": "^7.5 || ^8.0"
}, },
"suggest": { "suggest": {
"laravel/framework": "Required for testing (~5.8.0).", "laravel/framework": "Required for testing (~5.8.3).",
"mockery/mockery": "Allow to use Mockery for testing (^1.0).", "mockery/mockery": "Allow to use Mockery for testing (^1.0).",
"orchestra/testbench-browser-kit": "Allow to use legacy Laravel BrowserKit for testing (^3.8).", "orchestra/testbench-browser-kit": "Allow to use legacy Laravel BrowserKit for testing (^3.8).",
"orchestra/testbench-dusk": "Allow to use Laravel Dusk for testing (^3.8).", "orchestra/testbench-dusk": "Allow to use Laravel Dusk for testing (^3.8).",
...@@ -6189,7 +6396,7 @@ ...@@ -6189,7 +6396,7 @@
"orchestral", "orchestral",
"testing" "testing"
], ],
"time": "2019-02-28T00:40:46+00:00" "time": "2019-04-10T12:50:29+00:00"
}, },
{ {
"name": "phar-io/manifest", "name": "phar-io/manifest",
...@@ -6293,6 +6500,57 @@ ...@@ -6293,6 +6500,57 @@
"description": "Library for handling version information and constraints", "description": "Library for handling version information and constraints",
"time": "2018-07-08T19:19:57+00:00" "time": "2018-07-08T19:19:57+00:00"
}, },
{
"name": "php-cs-fixer/diff",
"version": "v1.3.0",
"source": {
"type": "git",
"url": "https://github.com/PHP-CS-Fixer/diff.git",
"reference": "78bb099e9c16361126c86ce82ec4405ebab8e756"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/78bb099e9c16361126c86ce82ec4405ebab8e756",
"reference": "78bb099e9c16361126c86ce82ec4405ebab8e756",
"shasum": ""
},
"require": {
"php": "^5.6 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7.23 || ^6.4.3",
"symfony/process": "^3.3"
},
"type": "library",
"autoload": {
"classmap": [
"src/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Kore Nordmann",
"email": "mail@kore-nordmann.de"
},
{
"name": "Sebastian Bergmann",
"email": "sebastian@phpunit.de"
},
{
"name": "SpacePossum"
}
],
"description": "sebastian/diff v2 backport support for PHP5.6",
"homepage": "https://github.com/PHP-CS-Fixer",
"keywords": [
"diff"
],
"time": "2018-02-15T16:58:55+00:00"
},
{ {
"name": "phpdocumentor/reflection-common", "name": "phpdocumentor/reflection-common",
"version": "1.0.1", "version": "1.0.1",
...@@ -7529,18 +7787,231 @@ ...@@ -7529,18 +7787,231 @@
"homepage": "https://github.com/sebastianbergmann/version", "homepage": "https://github.com/sebastianbergmann/version",
"time": "2016-10-03T07:35:21+00:00" "time": "2016-10-03T07:35:21+00:00"
}, },
{
"name": "symfony/filesystem",
"version": "v4.2.7",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
"reference": "e16b9e471703b2c60b95f14d31c1239f68f11601"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/e16b9e471703b2c60b95f14d31c1239f68f11601",
"reference": "e16b9e471703b2c60b95f14d31c1239f68f11601",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"symfony/polyfill-ctype": "~1.8"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.2-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\Filesystem\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony Filesystem Component",
"homepage": "https://symfony.com",
"time": "2019-02-07T11:40:08+00:00"
},
{
"name": "symfony/options-resolver",
"version": "v4.2.7",
"source": {
"type": "git",
"url": "https://github.com/symfony/options-resolver.git",
"reference": "fd4a5f27b7cd085b489247b9890ebca9f3e10044"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/fd4a5f27b7cd085b489247b9890ebca9f3e10044",
"reference": "fd4a5f27b7cd085b489247b9890ebca9f3e10044",
"shasum": ""
},
"require": {
"php": "^7.1.3"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.2-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\OptionsResolver\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony OptionsResolver Component",
"homepage": "https://symfony.com",
"keywords": [
"config",
"configuration",
"options"
],
"time": "2019-04-10T16:20:36+00:00"
},
{
"name": "symfony/polyfill-php70",
"version": "v1.11.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php70.git",
"reference": "bc4858fb611bda58719124ca079baff854149c89"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/bc4858fb611bda58719124ca079baff854149c89",
"reference": "bc4858fb611bda58719124ca079baff854149c89",
"shasum": ""
},
"require": {
"paragonie/random_compat": "~1.0|~2.0|~9.99",
"php": ">=5.3.3"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.11-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Php70\\": ""
},
"files": [
"bootstrap.php"
],
"classmap": [
"Resources/stubs"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"polyfill",
"portable",
"shim"
],
"time": "2019-02-06T07:57:58+00:00"
},
{
"name": "symfony/stopwatch",
"version": "v4.2.7",
"source": {
"type": "git",
"url": "https://github.com/symfony/stopwatch.git",
"reference": "b1a5f646d56a3290230dbc8edf2a0d62cda23f67"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/stopwatch/zipball/b1a5f646d56a3290230dbc8edf2a0d62cda23f67",
"reference": "b1a5f646d56a3290230dbc8edf2a0d62cda23f67",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"symfony/contracts": "^1.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.2-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\Stopwatch\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony Stopwatch Component",
"homepage": "https://symfony.com",
"time": "2019-01-16T20:31:39+00:00"
},
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v4.2.4", "version": "v4.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "761fa560a937fd7686e5274ff89dcfa87a5047df" "reference": "6712daf03ee25b53abb14e7e8e0ede1a770efdb1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/761fa560a937fd7686e5274ff89dcfa87a5047df", "url": "https://api.github.com/repos/symfony/yaml/zipball/6712daf03ee25b53abb14e7e8e0ede1a770efdb1",
"reference": "761fa560a937fd7686e5274ff89dcfa87a5047df", "reference": "6712daf03ee25b53abb14e7e8e0ede1a770efdb1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -7586,20 +8057,20 @@ ...@@ -7586,20 +8057,20 @@
], ],
"description": "Symfony Yaml Component", "description": "Symfony Yaml Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-02-23T15:17:42+00:00" "time": "2019-03-30T15:58:42+00:00"
}, },
{ {
"name": "theseer/tokenizer", "name": "theseer/tokenizer",
"version": "1.1.0", "version": "1.1.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/theseer/tokenizer.git", "url": "https://github.com/theseer/tokenizer.git",
"reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b" "reference": "1c42705be2b6c1de5904f8afacef5895cab44bf8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b", "url": "https://api.github.com/repos/theseer/tokenizer/zipball/1c42705be2b6c1de5904f8afacef5895cab44bf8",
"reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b", "reference": "1c42705be2b6c1de5904f8afacef5895cab44bf8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -7626,7 +8097,7 @@ ...@@ -7626,7 +8097,7 @@
} }
], ],
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
"time": "2017-04-07T12:08:54+00:00" "time": "2019-04-04T09:56:43+00:00"
}, },
{ {
"name": "webmozart/assert", "name": "webmozart/assert",
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
window.Laravel = {!! json_encode([ 'csrfToken' => csrf_token() ]) !!}; window.Laravel = {!! json_encode([ 'csrfToken' => csrf_token() ]) !!};
</script> </script>
<?php <?php
if(!empty($google_analytics)){ if (!empty($google_analytics)) {
echo $google_analytics; echo $google_analytics;
} }
?> ?>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
]); ?> ]); ?>
</script> </script>
<?php <?php
if(!empty($google_analytics)){ if (!empty($google_analytics)) {
echo $google_analytics; echo $google_analytics;
} }
?> ?>
......
...@@ -12,7 +12,8 @@ class PermissionTest extends TestCase ...@@ -12,7 +12,8 @@ class PermissionTest extends TestCase
{ {
$permission = Permission::find(1); $permission = Permission::find(1);
$this->assertInstanceOf( $this->assertInstanceOf(
'Illuminate\Database\Eloquent\Collection', $permission->roles 'Illuminate\Database\Eloquent\Collection',
$permission->roles
); );
} }
} }
...@@ -10,7 +10,8 @@ class RoleTest extends TestCase ...@@ -10,7 +10,8 @@ class RoleTest extends TestCase
public function a_role_has_users() public function a_role_has_users()
{ {
$this->assertInstanceOf( $this->assertInstanceOf(
'Illuminate\Database\Eloquent\Collection', $this->adminRole->users 'Illuminate\Database\Eloquent\Collection',
$this->adminRole->users
); );
} }
...@@ -18,7 +19,8 @@ class RoleTest extends TestCase ...@@ -18,7 +19,8 @@ class RoleTest extends TestCase
public function a_role_has_permissions() public function a_role_has_permissions()
{ {
$this->assertInstanceOf( $this->assertInstanceOf(
'Illuminate\Database\Eloquent\Collection', $this->adminRole->permissions 'Illuminate\Database\Eloquent\Collection',
$this->adminRole->permissions
); );
} }
} }
...@@ -10,7 +10,8 @@ class UserTest extends TestCase ...@@ -10,7 +10,8 @@ class UserTest extends TestCase
public function a_user_has_a_roles() public function a_user_has_a_roles()
{ {
$this->assertInstanceOf( $this->assertInstanceOf(
'Illuminate\Database\Eloquent\Collection', $this->admin->roles 'Illuminate\Database\Eloquent\Collection',
$this->admin->roles
); );
} }
...@@ -18,7 +19,8 @@ class UserTest extends TestCase ...@@ -18,7 +19,8 @@ class UserTest extends TestCase
public function a_user_has_a_permissions() public function a_user_has_a_permissions()
{ {
$this->assertInstanceOf( $this->assertInstanceOf(
'Illuminate\Database\Eloquent\Collection', $this->admin->permissions 'Illuminate\Database\Eloquent\Collection',
$this->admin->permissions
); );
} }
...@@ -26,7 +28,8 @@ class UserTest extends TestCase ...@@ -26,7 +28,8 @@ class UserTest extends TestCase
public function a_user_has_a_providers() public function a_user_has_a_providers()
{ {
$this->assertInstanceOf( $this->assertInstanceOf(
'Illuminate\Database\Eloquent\Collection', $this->admin->providers 'Illuminate\Database\Eloquent\Collection',
$this->admin->providers
); );
} }
...@@ -34,7 +37,8 @@ class UserTest extends TestCase ...@@ -34,7 +37,8 @@ class UserTest extends TestCase
public function a_user_has_a_sessions() public function a_user_has_a_sessions()
{ {
$this->assertInstanceOf( $this->assertInstanceOf(
'Illuminate\Database\Eloquent\Collection', $this->admin->sessions 'Illuminate\Database\Eloquent\Collection',
$this->admin->sessions
); );
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment