Commit f3dadd96 authored by Viral Solani's avatar Viral Solani

Upgrade to laravel 5.8

parent edef02f2
...@@ -145,3 +145,7 @@ ...@@ -145,3 +145,7 @@
127.0.0.1 - - [07/Mar/2019:18:15:03 +0530] "GET /login HTTP/1.1" 200 12126 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36" 127.0.0.1 - - [07/Mar/2019:18:15:03 +0530] "GET /login HTTP/1.1" 200 12126 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36"
127.0.0.1 - - [07/Mar/2019:18:15:07 +0530] "POST /login HTTP/1.1" 302 1459 "http://laraveladminpanel.local/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36" 127.0.0.1 - - [07/Mar/2019:18:15:07 +0530] "POST /login HTTP/1.1" 302 1459 "http://laraveladminpanel.local/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36"
127.0.0.1 - - [07/Mar/2019:18:15:07 +0530] "GET /admin/dashboard HTTP/1.1" 200 21420 "http://laraveladminpanel.local/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36" 127.0.0.1 - - [07/Mar/2019:18:15:07 +0530] "GET /admin/dashboard HTTP/1.1" 200 21420 "http://laraveladminpanel.local/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36"
127.0.0.1 - - [07/Mar/2019:19:47:51 +0530] "GET /admin/dashboard HTTP/1.1" 302 1697 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36"
127.0.0.1 - - [07/Mar/2019:19:47:53 +0530] "GET /login HTTP/1.1" 200 2671 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36"
127.0.0.1 - - [07/Mar/2019:19:48:00 +0530] "POST /login HTTP/1.1" 302 1470 "http://laraveladminpanel.local/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36"
127.0.0.1 - - [07/Mar/2019:19:48:00 +0530] "GET /admin/dashboard HTTP/1.1" 200 3839 "http://laraveladminpanel.local/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36"
...@@ -58,20 +58,6 @@ class AppServiceProvider extends ServiceProvider ...@@ -58,20 +58,6 @@ class AppServiceProvider extends ServiceProvider
* Sets third party service providers that are only needed on local/testing environments * Sets third party service providers that are only needed on local/testing environments
*/ */
if ($this->app->environment() != 'production') { if ($this->app->environment() != 'production') {
/**
* Loader for registering facades.
*/
$loader = \Illuminate\Foundation\AliasLoader::getInstance();
/*
* Load third party local providers
*/
$this->app->register(\Barryvdh\Debugbar\ServiceProvider::class);
/*
* Load third party local aliases
*/
$loader->alias('Debugbar', \Barryvdh\Debugbar\Facade::class);
} }
} }
} }
...@@ -19,26 +19,25 @@ ...@@ -19,26 +19,25 @@
"doctrine/dbal": "^2.9", "doctrine/dbal": "^2.9",
"fideloper/proxy": "^4.0", "fideloper/proxy": "^4.0",
"hieu-le/active": "^3.5", "hieu-le/active": "^3.5",
"laravel/framework": "5.7.*", "laravel/framework": "5.8.*",
"laravel/socialite": "^3.0", "laravel/socialite": "^3.0",
"laravel/tinker": "~1.0", "laravel/tinker": "~1.0",
"laravelcollective/html": "^5.4.0", "laravelcollective/html": "^5.4.0",
"spatie/laravel-cors": "^1.2", "spatie/laravel-cors": "^1.2",
"tymon/jwt-auth": "1.0.0-rc.3", "tymon/jwt-auth": "2.0.x-dev",
"unisharp/laravel-filemanager": "~1.8", "unisharp/laravel-filemanager": "~1.8",
"yajra/laravel-datatables-oracle": "~8.0" "yajra/laravel-datatables-oracle": "~9.0"
}, },
"require-dev": { "require-dev": {
"laravel/telescope": "^1.0", "laravel/telescope": "^2.0",
"barryvdh/laravel-debugbar": "^3.0",
"bvipul/generator": "^5.6", "bvipul/generator": "^5.6",
"codedungeon/phpunit-result-printer": "^0.19.10", "codedungeon/phpunit-result-printer": "^0.19.10",
"filp/whoops": "~2.0", "filp/whoops": "~2.0",
"fzaninotto/faker": "~1.4", "fzaninotto/faker": "~1.4",
"laravel/browser-kit-testing": "^4.0.0", "mockery/mockery": "1.2.2",
"mockery/mockery": "0.9.*", "nunomaduro/larastan": "^0.3.15",
"nunomaduro/larastan": "^0.3.8",
"phpunit/phpunit": "~7.0", "phpunit/phpunit": "~7.0",
"laravel/browser-kit-testing": "^4.0.0",
"xethron/migrations-generator": "2.0.2" "xethron/migrations-generator": "2.0.2"
}, },
"autoload": { "autoload": {
......
...@@ -4,32 +4,32 @@ ...@@ -4,32 +4,32 @@
"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": "1d37cb9b189b4665a510add5ece624b4", "content-hash": "5790ba5301540200afd2ead5034f9abd",
"packages": [ "packages": [
{ {
"name": "arcanedev/log-viewer", "name": "arcanedev/log-viewer",
"version": "4.6.3", "version": "4.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/ARCANEDEV/LogViewer.git", "url": "https://github.com/ARCANEDEV/LogViewer.git",
"reference": "bc5ff72393bbadbb10aca7d5862b0cc542d8d0df" "reference": "3cb039a166d644894def0776d4fb94d8b920e2dc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/ARCANEDEV/LogViewer/zipball/bc5ff72393bbadbb10aca7d5862b0cc542d8d0df", "url": "https://api.github.com/repos/ARCANEDEV/LogViewer/zipball/3cb039a166d644894def0776d4fb94d8b920e2dc",
"reference": "bc5ff72393bbadbb10aca7d5862b0cc542d8d0df", "reference": "3cb039a166d644894def0776d4fb94d8b920e2dc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"arcanedev/support": "~4.4.0", "arcanedev/support": "~4.5.0",
"php": ">=7.1.3", "php": ">=7.1.3",
"psr/log": "~1.0" "psr/log": "~1.0"
}, },
"require-dev": { "require-dev": {
"mockery/mockery": "~1.0", "mockery/mockery": "~1.0",
"orchestra/testbench": "~3.7.0", "orchestra/testbench": "~3.8.0",
"phpunit/phpcov": "~5.0", "phpunit/phpcov": "~5.0|~6.0",
"phpunit/phpunit": "~7.0" "phpunit/phpunit": "~7.0|~8.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
"log-viewer", "log-viewer",
"logviewer" "logviewer"
], ],
"time": "2018-12-04T09:25:29+00:00" "time": "2019-02-27T19:05:04+00:00"
}, },
{ {
"name": "arcanedev/no-captcha", "name": "arcanedev/no-captcha",
...@@ -141,27 +141,27 @@ ...@@ -141,27 +141,27 @@
}, },
{ {
"name": "arcanedev/support", "name": "arcanedev/support",
"version": "4.4.0", "version": "4.5.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/ARCANEDEV/Support.git", "url": "https://github.com/ARCANEDEV/Support.git",
"reference": "9f4d9947563c6bec10ea7fa7954129e012216af9" "reference": "2bb6e901404a12caa440520676b6507569d20715"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/ARCANEDEV/Support/zipball/9f4d9947563c6bec10ea7fa7954129e012216af9", "url": "https://api.github.com/repos/ARCANEDEV/Support/zipball/2bb6e901404a12caa440520676b6507569d20715",
"reference": "9f4d9947563c6bec10ea7fa7954129e012216af9", "reference": "2bb6e901404a12caa440520676b6507569d20715",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"illuminate/filesystem": "~5.7.0", "illuminate/filesystem": "~5.8.0",
"illuminate/support": "~5.7.0", "illuminate/support": "~5.8.0",
"php": ">=7.1.3" "php": ">=7.1.3"
}, },
"require-dev": { "require-dev": {
"orchestra/testbench": "~3.7.0", "orchestra/testbench": "~3.8.0",
"phpunit/phpcov": "~5.0", "phpunit/phpcov": "~5.0|~6.0",
"phpunit/phpunit": "~7.0" "phpunit/phpunit": "~7.0|~8.0"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
"laravel", "laravel",
"support" "support"
], ],
"time": "2018-09-04T17:19:43+00:00" "time": "2019-02-27T18:33:30+00:00"
}, },
{ {
"name": "creativeorange/gravatar", "name": "creativeorange/gravatar",
...@@ -1303,45 +1303,45 @@ ...@@ -1303,45 +1303,45 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v5.7.28", "version": "v5.8.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "8e69728f1c80a024588adbd24c65c4fcf9aa9192" "reference": "d36d74acd3added5abbe7e7a84342b54bb0b0521"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/8e69728f1c80a024588adbd24c65c4fcf9aa9192", "url": "https://api.github.com/repos/laravel/framework/zipball/d36d74acd3added5abbe7e7a84342b54bb0b0521",
"reference": "8e69728f1c80a024588adbd24c65c4fcf9aa9192", "reference": "d36d74acd3added5abbe7e7a84342b54bb0b0521",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"doctrine/inflector": "^1.1", "doctrine/inflector": "^1.1",
"dragonmantank/cron-expression": "^2.0", "dragonmantank/cron-expression": "^2.0",
"egulias/email-validator": "^2.0",
"erusev/parsedown": "^1.7", "erusev/parsedown": "^1.7",
"ext-json": "*",
"ext-mbstring": "*", "ext-mbstring": "*",
"ext-openssl": "*", "ext-openssl": "*",
"laravel/nexmo-notification-channel": "^1.0",
"laravel/slack-notification-channel": "^1.0",
"league/flysystem": "^1.0.8", "league/flysystem": "^1.0.8",
"monolog/monolog": "^1.12", "monolog/monolog": "^1.12",
"nesbot/carbon": "^1.26.3", "nesbot/carbon": "^1.26.3 || ^2.0",
"opis/closure": "^3.1", "opis/closure": "^3.1",
"php": "^7.1.3", "php": "^7.1.3",
"psr/container": "^1.0", "psr/container": "^1.0",
"psr/simple-cache": "^1.0", "psr/simple-cache": "^1.0",
"ramsey/uuid": "^3.7", "ramsey/uuid": "^3.7",
"swiftmailer/swiftmailer": "^6.0", "swiftmailer/swiftmailer": "^6.0",
"symfony/console": "^4.1", "symfony/console": "^4.2",
"symfony/debug": "^4.1", "symfony/debug": "^4.2",
"symfony/finder": "^4.1", "symfony/finder": "^4.2",
"symfony/http-foundation": "^4.1", "symfony/http-foundation": "^4.2",
"symfony/http-kernel": "^4.1", "symfony/http-kernel": "^4.2",
"symfony/process": "^4.1", "symfony/process": "^4.2",
"symfony/routing": "^4.1", "symfony/routing": "^4.2",
"symfony/var-dumper": "^4.1", "symfony/var-dumper": "^4.2",
"tijsverkoyen/css-to-inline-styles": "^2.2.1", "tijsverkoyen/css-to-inline-styles": "^2.2.1",
"vlucas/phpdotenv": "^2.2" "vlucas/phpdotenv": "^3.3"
}, },
"conflict": { "conflict": {
"tightenco/collect": "<5.5.33" "tightenco/collect": "<5.5.33"
...@@ -1384,12 +1384,12 @@ ...@@ -1384,12 +1384,12 @@
"league/flysystem-cached-adapter": "^1.0", "league/flysystem-cached-adapter": "^1.0",
"mockery/mockery": "^1.0", "mockery/mockery": "^1.0",
"moontoast/math": "^1.1", "moontoast/math": "^1.1",
"orchestra/testbench-core": "3.7.*", "orchestra/testbench-core": "3.8.*",
"pda/pheanstalk": "^3.0|^4.0", "pda/pheanstalk": "^4.0",
"phpunit/phpunit": "^7.5", "phpunit/phpunit": "^7.5|^8.0",
"predis/predis": "^1.1.1", "predis/predis": "^1.1.1",
"symfony/css-selector": "^4.1", "symfony/css-selector": "^4.2",
"symfony/dom-crawler": "^4.1", "symfony/dom-crawler": "^4.2",
"true/punycode": "^2.1" "true/punycode": "^2.1"
}, },
"suggest": { "suggest": {
...@@ -1407,17 +1407,18 @@ ...@@ -1407,17 +1407,18 @@
"league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).", "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).",
"moontoast/math": "Required to use ordered UUIDs (^1.1).", "moontoast/math": "Required to use ordered UUIDs (^1.1).",
"nexmo/client": "Required to use the Nexmo transport (^1.0).", "nexmo/client": "Required to use the Nexmo transport (^1.0).",
"pda/pheanstalk": "Required to use the beanstalk queue driver (^3.0|^4.0).", "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).",
"predis/predis": "Required to use the redis cache and queue drivers (^1.0).", "predis/predis": "Required to use the redis cache and queue drivers (^1.0).",
"pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^3.0).", "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^3.0).",
"symfony/css-selector": "Required to use some of the crawler integration testing tools (^4.1).", "symfony/css-selector": "Required to use some of the crawler integration testing tools (^4.2).",
"symfony/dom-crawler": "Required to use most of the crawler integration testing tools (^4.1).", "symfony/dom-crawler": "Required to use most of the crawler integration testing tools (^4.2).",
"symfony/psr-http-message-bridge": "Required to psr7 bridging features (^1.0)." "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^1.1).",
"wildbit/swiftmailer-postmark": "Required to use Postmark mail driver (^3.0)."
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "5.7-dev" "dev-master": "5.8-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -1445,121 +1446,7 @@ ...@@ -1445,121 +1446,7 @@
"framework", "framework",
"laravel" "laravel"
], ],
"time": "2019-02-26T15:41:34+00:00" "time": "2019-03-05T13:51:19+00:00"
},
{
"name": "laravel/nexmo-notification-channel",
"version": "v1.0.1",
"source": {
"type": "git",
"url": "https://github.com/laravel/nexmo-notification-channel.git",
"reference": "03edd42a55b306ff980c9950899d5a2b03260d48"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/nexmo-notification-channel/zipball/03edd42a55b306ff980c9950899d5a2b03260d48",
"reference": "03edd42a55b306ff980c9950899d5a2b03260d48",
"shasum": ""
},
"require": {
"nexmo/client": "^1.0",
"php": "^7.1.3"
},
"require-dev": {
"illuminate/notifications": "~5.7",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^7.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
},
"laravel": {
"providers": [
"Illuminate\\Notifications\\NexmoChannelServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"Illuminate\\Notifications\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Taylor Otwell",
"email": "taylor@laravel.com"
}
],
"description": "Nexmo Notification Channel for laravel.",
"keywords": [
"laravel",
"nexmo",
"notifications"
],
"time": "2018-12-04T12:57:08+00:00"
},
{
"name": "laravel/slack-notification-channel",
"version": "v1.0.3",
"source": {
"type": "git",
"url": "https://github.com/laravel/slack-notification-channel.git",
"reference": "6e164293b754a95f246faf50ab2bbea3e4923cc9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/slack-notification-channel/zipball/6e164293b754a95f246faf50ab2bbea3e4923cc9",
"reference": "6e164293b754a95f246faf50ab2bbea3e4923cc9",
"shasum": ""
},
"require": {
"guzzlehttp/guzzle": "^6.0",
"php": "^7.1.3"
},
"require-dev": {
"illuminate/notifications": "~5.7",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^7.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
},
"laravel": {
"providers": [
"Illuminate\\Notifications\\SlackChannelServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"Illuminate\\Notifications\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Taylor Otwell",
"email": "taylor@laravel.com"
}
],
"description": "Slack Notification Channel for laravel.",
"keywords": [
"laravel",
"notifications",
"slack"
],
"time": "2018-12-12T13:12:06+00:00"
}, },
{ {
"name": "laravel/socialite", "name": "laravel/socialite",
...@@ -1689,35 +1576,35 @@ ...@@ -1689,35 +1576,35 @@
}, },
{ {
"name": "laravelcollective/html", "name": "laravelcollective/html",
"version": "v5.7.1", "version": "v5.8.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/LaravelCollective/html.git", "url": "https://github.com/LaravelCollective/html.git",
"reference": "777b6d390811ba249255ed5750bf17a019cd88a5" "reference": "0e360143d3476fe4141d267a260c140569fa207b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/LaravelCollective/html/zipball/777b6d390811ba249255ed5750bf17a019cd88a5", "url": "https://api.github.com/repos/LaravelCollective/html/zipball/0e360143d3476fe4141d267a260c140569fa207b",
"reference": "777b6d390811ba249255ed5750bf17a019cd88a5", "reference": "0e360143d3476fe4141d267a260c140569fa207b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"illuminate/http": "5.7.*", "illuminate/http": "5.8.*",
"illuminate/routing": "5.7.*", "illuminate/routing": "5.8.*",
"illuminate/session": "5.7.*", "illuminate/session": "5.8.*",
"illuminate/support": "5.7.*", "illuminate/support": "5.8.*",
"illuminate/view": "5.7.*", "illuminate/view": "5.8.*",
"php": ">=7.1.3" "php": ">=7.1.3"
}, },
"require-dev": { "require-dev": {
"illuminate/database": "5.7.*", "illuminate/database": "5.8.*",
"mockery/mockery": "~1.0", "mockery/mockery": "~1.0",
"phpunit/phpunit": "~7.1" "phpunit/phpunit": "~7.1"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "5.7-dev" "dev-master": "5.8-dev"
}, },
"laravel": { "laravel": {
"providers": [ "providers": [
...@@ -1753,7 +1640,7 @@ ...@@ -1753,7 +1640,7 @@
], ],
"description": "HTML and Form Builders for the Laravel Framework", "description": "HTML and Form Builders for the Laravel Framework",
"homepage": "https://laravelcollective.com", "homepage": "https://laravelcollective.com",
"time": "2018-09-05T18:32:53+00:00" "time": "2019-03-01T22:53:41+00:00"
}, },
{ {
"name": "lcobucci/jwt", "name": "lcobucci/jwt",
...@@ -2038,69 +1925,6 @@ ...@@ -2038,69 +1925,6 @@
], ],
"time": "2018-11-05T09:00:11+00:00" "time": "2018-11-05T09:00:11+00:00"
}, },
{
"name": "namshi/jose",
"version": "7.2.3",
"source": {
"type": "git",
"url": "https://github.com/namshi/jose.git",
"reference": "89a24d7eb3040e285dd5925fcad992378b82bcff"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/namshi/jose/zipball/89a24d7eb3040e285dd5925fcad992378b82bcff",
"reference": "89a24d7eb3040e285dd5925fcad992378b82bcff",
"shasum": ""
},
"require": {
"ext-date": "*",
"ext-hash": "*",
"ext-json": "*",
"ext-pcre": "*",
"ext-spl": "*",
"php": ">=5.5",
"symfony/polyfill-php56": "^1.0"
},
"require-dev": {
"phpseclib/phpseclib": "^2.0",
"phpunit/phpunit": "^4.5|^5.0",
"satooshi/php-coveralls": "^1.0"
},
"suggest": {
"ext-openssl": "Allows to use OpenSSL as crypto engine.",
"phpseclib/phpseclib": "Allows to use Phpseclib as crypto engine, use version ^2.0."
},
"type": "library",
"autoload": {
"psr-4": {
"Namshi\\JOSE\\": "src/Namshi/JOSE/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Alessandro Nadalin",
"email": "alessandro.nadalin@gmail.com"
},
{
"name": "Alessandro Cinelli (cirpo)",
"email": "alessandro.cinelli@gmail.com"
}
],
"description": "JSON Object Signing and Encryption library for PHP.",
"keywords": [
"JSON Web Signature",
"JSON Web Token",
"JWS",
"json",
"jwt",
"token"
],
"time": "2016-12-05T07:27:31+00:00"
},
{ {
"name": "nesbot/carbon", "name": "nesbot/carbon",
"version": "1.36.2", "version": "1.36.2",
...@@ -2159,54 +1983,6 @@ ...@@ -2159,54 +1983,6 @@
], ],
"time": "2018-12-28T10:07:33+00:00" "time": "2018-12-28T10:07:33+00:00"
}, },
{
"name": "nexmo/client",
"version": "1.6.2",
"source": {
"type": "git",
"url": "https://github.com/Nexmo/nexmo-php.git",
"reference": "2f79f67f24225ea627ee14578e98c96276cdd4c5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Nexmo/nexmo-php/zipball/2f79f67f24225ea627ee14578e98c96276cdd4c5",
"reference": "2f79f67f24225ea627ee14578e98c96276cdd4c5",
"shasum": ""
},
"require": {
"lcobucci/jwt": "^3.2",
"php": ">=5.6",
"php-http/client-implementation": "^1.0",
"php-http/guzzle6-adapter": "^1.0",
"zendframework/zend-diactoros": "^1.3"
},
"require-dev": {
"estahn/phpunit-json-assertions": "^1.0.0",
"php-http/mock-client": "^0.3.0",
"phpunit/phpunit": "^5.7",
"squizlabs/php_codesniffer": "^3.1"
},
"type": "library",
"autoload": {
"psr-4": {
"Nexmo\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Tim Lytle",
"email": "tim@nexmo.com",
"homepage": "http://twitter.com/tjlytle",
"role": "Developer"
}
],
"description": "PHP Client for using Nexmo's API.",
"time": "2019-02-07T11:14:34+00:00"
},
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",
"version": "v4.2.1", "version": "v4.2.1",
...@@ -2365,170 +2141,54 @@ ...@@ -2365,170 +2141,54 @@
"time": "2018-07-02T15:55:56+00:00" "time": "2018-07-02T15:55:56+00:00"
}, },
{ {
"name": "php-http/guzzle6-adapter", "name": "phpoption/phpoption",
"version": "v1.1.1", "version": "1.5.0",
"source": {
"type": "git",
"url": "https://github.com/php-http/guzzle6-adapter.git",
"reference": "a56941f9dc6110409cfcddc91546ee97039277ab"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-http/guzzle6-adapter/zipball/a56941f9dc6110409cfcddc91546ee97039277ab",
"reference": "a56941f9dc6110409cfcddc91546ee97039277ab",
"shasum": ""
},
"require": {
"guzzlehttp/guzzle": "^6.0",
"php": ">=5.5.0",
"php-http/httplug": "^1.0"
},
"provide": {
"php-http/async-client-implementation": "1.0",
"php-http/client-implementation": "1.0"
},
"require-dev": {
"ext-curl": "*",
"php-http/adapter-integration-tests": "^0.4"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.2-dev"
}
},
"autoload": {
"psr-4": {
"Http\\Adapter\\Guzzle6\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Márk Sági-Kazár",
"email": "mark.sagikazar@gmail.com"
},
{
"name": "David de Boer",
"email": "david@ddeboer.nl"
}
],
"description": "Guzzle 6 HTTP Adapter",
"homepage": "http://httplug.io",
"keywords": [
"Guzzle",
"http"
],
"time": "2016-05-10T06:13:32+00:00"
},
{
"name": "php-http/httplug",
"version": "v1.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-http/httplug.git", "url": "https://github.com/schmittjoh/php-option.git",
"reference": "1c6381726c18579c4ca2ef1ec1498fdae8bdf018" "reference": "94e644f7d2051a5f0fcf77d81605f152eecff0ed"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-http/httplug/zipball/1c6381726c18579c4ca2ef1ec1498fdae8bdf018", "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/94e644f7d2051a5f0fcf77d81605f152eecff0ed",
"reference": "1c6381726c18579c4ca2ef1ec1498fdae8bdf018", "reference": "94e644f7d2051a5f0fcf77d81605f152eecff0ed",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.4", "php": ">=5.3.0"
"php-http/promise": "^1.0",
"psr/http-message": "^1.0"
},
"require-dev": {
"henrikbjorn/phpspec-code-coverage": "^1.0",
"phpspec/phpspec": "^2.4"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.1-dev"
}
},
"autoload": {
"psr-4": {
"Http\\Client\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Eric GELOEN",
"email": "geloen.eric@gmail.com"
},
{
"name": "Márk Sági-Kazár",
"email": "mark.sagikazar@gmail.com"
}
],
"description": "HTTPlug, the HTTP client abstraction for PHP",
"homepage": "http://httplug.io",
"keywords": [
"client",
"http"
],
"time": "2016-08-31T08:30:17+00:00"
},
{
"name": "php-http/promise",
"version": "v1.0.0",
"source": {
"type": "git",
"url": "https://github.com/php-http/promise.git",
"reference": "dc494cdc9d7160b9a09bd5573272195242ce7980"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-http/promise/zipball/dc494cdc9d7160b9a09bd5573272195242ce7980",
"reference": "dc494cdc9d7160b9a09bd5573272195242ce7980",
"shasum": ""
}, },
"require-dev": { "require-dev": {
"henrikbjorn/phpspec-code-coverage": "^1.0", "phpunit/phpunit": "4.7.*"
"phpspec/phpspec": "^2.4"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.1-dev" "dev-master": "1.3-dev"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-0": {
"Http\\Promise\\": "src/" "PhpOption\\": "src/"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
"MIT" "Apache2"
], ],
"authors": [ "authors": [
{ {
"name": "Márk Sági-Kazár", "name": "Johannes M. Schmitt",
"email": "mark.sagikazar@gmail.com" "email": "schmittjoh@gmail.com"
},
{
"name": "Joel Wurtz",
"email": "joel.wurtz@gmail.com"
} }
], ],
"description": "Promise used for asynchronous HTTP requests", "description": "Option Type for PHP",
"homepage": "http://httplug.io",
"keywords": [ "keywords": [
"promise" "language",
"option",
"php",
"type"
], ],
"time": "2016-01-26T13:27:02+00:00" "time": "2015-07-25T16:39:46+00:00"
}, },
{ {
"name": "psr/container", "name": "psr/container",
...@@ -3588,7 +3248,7 @@ ...@@ -3588,7 +3248,7 @@
}, },
{ {
"name": "Gert de Pagter", "name": "Gert de Pagter",
"email": "BackEndTea@gmail.com" "email": "backendtea@gmail.com"
} }
], ],
"description": "Symfony polyfill for ctype functions", "description": "Symfony polyfill for ctype functions",
...@@ -3660,62 +3320,6 @@ ...@@ -3660,62 +3320,6 @@
], ],
"time": "2018-09-21T13:07:52+00:00" "time": "2018-09-21T13:07:52+00:00"
}, },
{
"name": "symfony/polyfill-php56",
"version": "v1.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php56.git",
"reference": "ff208829fe1aa48ab9af356992bb7199fed551af"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/ff208829fe1aa48ab9af356992bb7199fed551af",
"reference": "ff208829fe1aa48ab9af356992bb7199fed551af",
"shasum": ""
},
"require": {
"php": ">=5.3.3",
"symfony/polyfill-util": "~1.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Php56\\": ""
},
"files": [
"bootstrap.php"
]
},
"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 5.6+ features to lower PHP versions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"polyfill",
"portable",
"shim"
],
"time": "2018-09-21T06:26:08+00:00"
},
{ {
"name": "symfony/polyfill-php72", "name": "symfony/polyfill-php72",
"version": "v1.10.0", "version": "v1.10.0",
...@@ -3771,58 +3375,6 @@ ...@@ -3771,58 +3375,6 @@
], ],
"time": "2018-09-21T13:07:52+00:00" "time": "2018-09-21T13:07:52+00:00"
}, },
{
"name": "symfony/polyfill-util",
"version": "v1.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-util.git",
"reference": "3b58903eae668d348a7126f999b0da0f2f93611c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-util/zipball/3b58903eae668d348a7126f999b0da0f2f93611c",
"reference": "3b58903eae668d348a7126f999b0da0f2f93611c",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Util\\": ""
}
},
"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 utilities for portability of PHP codes",
"homepage": "https://symfony.com",
"keywords": [
"compat",
"compatibility",
"polyfill",
"shim"
],
"time": "2018-09-30T16:36:12+00:00"
},
{ {
"name": "symfony/process", "name": "symfony/process",
"version": "v4.2.4", "version": "v4.2.4",
...@@ -4147,45 +3699,44 @@ ...@@ -4147,45 +3699,44 @@
}, },
{ {
"name": "tymon/jwt-auth", "name": "tymon/jwt-auth",
"version": "1.0.0-rc.3", "version": "2.0.x-dev",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/tymondesigns/jwt-auth.git", "url": "https://github.com/tymondesigns/jwt-auth.git",
"reference": "e190b6a75372e7e5e3a6d2cf0e4456313412299f" "reference": "45c5178b08523fbede2fa513f78395b1d3d7487d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/tymondesigns/jwt-auth/zipball/e190b6a75372e7e5e3a6d2cf0e4456313412299f", "url": "https://api.github.com/repos/tymondesigns/jwt-auth/zipball/45c5178b08523fbede2fa513f78395b1d3d7487d",
"reference": "e190b6a75372e7e5e3a6d2cf0e4456313412299f", "reference": "45c5178b08523fbede2fa513f78395b1d3d7487d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"illuminate/auth": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*", "illuminate/contracts": "^5.4",
"illuminate/contracts": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*", "illuminate/http": "^5.4",
"illuminate/http": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*", "illuminate/support": "^5.4",
"illuminate/support": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*",
"lcobucci/jwt": "^3.2", "lcobucci/jwt": "^3.2",
"namshi/jose": "^7.0", "nesbot/carbon": "^1.26",
"nesbot/carbon": "^1.0", "php": "^7.1"
"php": "^5.5.9 || ^7.0"
}, },
"require-dev": { "require-dev": {
"cartalyst/sentinel": "2.0.*", "illuminate/auth": "^5.4",
"illuminate/console": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*", "illuminate/console": "^5.4",
"illuminate/database": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*", "illuminate/database": "^5.4",
"illuminate/routing": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*", "illuminate/routing": "^5.4",
"mockery/mockery": ">=0.9.9", "mockery/mockery": "^1.0",
"phpunit/phpunit": "~4.8 || ~6.0" "phpstan/phpstan": "^0.11.1",
"phpunit/phpunit": "^6.4"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-develop": "1.0-dev" "2.0": "2.0-dev"
}, },
"laravel": { "laravel": {
"aliases": { "aliases": {
"JWTAuth": "Tymon\\JWTAuth\\Facades\\JWTAuth", "JWTManager": "Tymon\\JWTAuth\\Facades\\JWTManager",
"JWTFactory": "Tymon\\JWTAuth\\Facades\\JWTFactory" "JWTProvider": "Tymon\\JWTAuth\\Facades\\JWTProvider"
}, },
"providers": [ "providers": [
"Tymon\\JWTAuth\\Providers\\LaravelServiceProvider" "Tymon\\JWTAuth\\Providers\\LaravelServiceProvider"
...@@ -4193,6 +3744,9 @@ ...@@ -4193,6 +3744,9 @@
} }
}, },
"autoload": { "autoload": {
"files": [
"src/Support/helpers.php"
],
"psr-4": { "psr-4": {
"Tymon\\JWTAuth\\": "src/" "Tymon\\JWTAuth\\": "src/"
} }
...@@ -4218,7 +3772,7 @@ ...@@ -4218,7 +3772,7 @@
"jwt", "jwt",
"laravel" "laravel"
], ],
"time": "2018-09-04T19:48:02+00:00" "time": "2019-02-12T20:58:49+00:00"
}, },
{ {
"name": "unisharp/laravel-filemanager", "name": "unisharp/laravel-filemanager",
...@@ -4296,29 +3850,30 @@ ...@@ -4296,29 +3850,30 @@
}, },
{ {
"name": "vlucas/phpdotenv", "name": "vlucas/phpdotenv",
"version": "v2.6.1", "version": "v3.3.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/vlucas/phpdotenv.git", "url": "https://github.com/vlucas/phpdotenv.git",
"reference": "2a7dcf7e3e02dc5e701004e51a6f304b713107d5" "reference": "1ee9369cfbf26cfcf1f2515d98f15fab54e9647a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/2a7dcf7e3e02dc5e701004e51a6f304b713107d5", "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/1ee9369cfbf26cfcf1f2515d98f15fab54e9647a",
"reference": "2a7dcf7e3e02dc5e701004e51a6f304b713107d5", "reference": "1ee9369cfbf26cfcf1f2515d98f15fab54e9647a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.9", "php": "^5.4 || ^7.0",
"phpoption/phpoption": "^1.5",
"symfony/polyfill-ctype": "^1.9" "symfony/polyfill-ctype": "^1.9"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^4.8.35 || ^5.0" "phpunit/phpunit": "^4.8.35 || ^5.0 || ^6.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.6-dev" "dev-master": "3.3-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -4343,32 +3898,32 @@ ...@@ -4343,32 +3898,32 @@
"env", "env",
"environment" "environment"
], ],
"time": "2019-01-29T11:11:52+00:00" "time": "2019-01-30T10:43:17+00:00"
}, },
{ {
"name": "yajra/laravel-datatables-oracle", "name": "yajra/laravel-datatables-oracle",
"version": "v8.13.5", "version": "v9.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/yajra/laravel-datatables.git", "url": "https://github.com/yajra/laravel-datatables.git",
"reference": "a97a173a52f2b60075f310dac39932faa377fb4f" "reference": "bbc9943208e121d551fed74ad1084c4e42ccf094"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/yajra/laravel-datatables/zipball/a97a173a52f2b60075f310dac39932faa377fb4f", "url": "https://api.github.com/repos/yajra/laravel-datatables/zipball/bbc9943208e121d551fed74ad1084c4e42ccf094",
"reference": "a97a173a52f2b60075f310dac39932faa377fb4f", "reference": "bbc9943208e121d551fed74ad1084c4e42ccf094",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"illuminate/database": "5.4.*|5.5.*|5.6.*|5.7.*", "illuminate/database": "5.8.*",
"illuminate/filesystem": "5.4.*|5.5.*|5.6.*|5.7.*", "illuminate/filesystem": "5.8.*",
"illuminate/http": "5.4.*|5.5.*|5.6.*|5.7.*", "illuminate/http": "5.8.*",
"illuminate/support": "5.4.*|5.5.*|5.6.*|5.7.*", "illuminate/support": "5.8.*",
"illuminate/view": "5.4.*|5.5.*|5.6.*|5.7.*", "illuminate/view": "5.8.*",
"php": ">=7.0" "php": "^7.1.3"
}, },
"require-dev": { "require-dev": {
"orchestra/testbench": "~3.5" "orchestra/testbench": "^3.8"
}, },
"suggest": { "suggest": {
"yajra/laravel-datatables-buttons": "Plugin for server-side exporting of dataTables.", "yajra/laravel-datatables-buttons": "Plugin for server-side exporting of dataTables.",
...@@ -4379,7 +3934,7 @@ ...@@ -4379,7 +3934,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "8.0-dev" "dev-master": "9.0-dev"
}, },
"laravel": { "laravel": {
"providers": [ "providers": [
...@@ -4414,142 +3969,10 @@ ...@@ -4414,142 +3969,10 @@
"jquery", "jquery",
"laravel" "laravel"
], ],
"time": "2019-02-13T01:34:34+00:00" "time": "2019-02-27T03:04:53+00:00"
},
{
"name": "zendframework/zend-diactoros",
"version": "1.8.6",
"source": {
"type": "git",
"url": "https://github.com/zendframework/zend-diactoros.git",
"reference": "20da13beba0dde8fb648be3cc19765732790f46e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/20da13beba0dde8fb648be3cc19765732790f46e",
"reference": "20da13beba0dde8fb648be3cc19765732790f46e",
"shasum": ""
},
"require": {
"php": "^5.6 || ^7.0",
"psr/http-message": "^1.0"
},
"provide": {
"psr/http-message-implementation": "1.0"
},
"require-dev": {
"ext-dom": "*",
"ext-libxml": "*",
"php-http/psr7-integration-tests": "dev-master",
"phpunit/phpunit": "^5.7.16 || ^6.0.8 || ^7.2.7",
"zendframework/zend-coding-standard": "~1.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.8.x-dev",
"dev-develop": "1.9.x-dev",
"dev-release-2.0": "2.0.x-dev"
}
},
"autoload": {
"files": [
"src/functions/create_uploaded_file.php",
"src/functions/marshal_headers_from_sapi.php",
"src/functions/marshal_method_from_sapi.php",
"src/functions/marshal_protocol_version_from_sapi.php",
"src/functions/marshal_uri_from_sapi.php",
"src/functions/normalize_server.php",
"src/functions/normalize_uploaded_files.php",
"src/functions/parse_cookie_header.php"
],
"psr-4": {
"Zend\\Diactoros\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-2-Clause"
],
"description": "PSR HTTP Message implementations",
"homepage": "https://github.com/zendframework/zend-diactoros",
"keywords": [
"http",
"psr",
"psr-7"
],
"time": "2018-09-05T19:29:37+00:00"
} }
], ],
"packages-dev": [ "packages-dev": [
{
"name": "barryvdh/laravel-debugbar",
"version": "v3.2.3",
"source": {
"type": "git",
"url": "https://github.com/barryvdh/laravel-debugbar.git",
"reference": "5fcba4cc8e92a230b13b99c1083fc22ba8a5c479"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/5fcba4cc8e92a230b13b99c1083fc22ba8a5c479",
"reference": "5fcba4cc8e92a230b13b99c1083fc22ba8a5c479",
"shasum": ""
},
"require": {
"illuminate/routing": "5.5.x|5.6.x|5.7.x|5.8.x",
"illuminate/session": "5.5.x|5.6.x|5.7.x|5.8.x",
"illuminate/support": "5.5.x|5.6.x|5.7.x|5.8.x",
"maximebf/debugbar": "~1.15.0",
"php": ">=7.0",
"symfony/debug": "^3|^4",
"symfony/finder": "^3|^4"
},
"require-dev": {
"laravel/framework": "5.5.x"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.2-dev"
},
"laravel": {
"providers": [
"Barryvdh\\Debugbar\\ServiceProvider"
],
"aliases": {
"Debugbar": "Barryvdh\\Debugbar\\Facade"
}
}
},
"autoload": {
"psr-4": {
"Barryvdh\\Debugbar\\": "src/"
},
"files": [
"src/helpers.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"description": "PHP Debugbar integration for Laravel",
"keywords": [
"debug",
"debugbar",
"laravel",
"profiler",
"webprofiler"
],
"time": "2019-02-26T18:01:54+00:00"
},
{ {
"name": "bvipul/generator", "name": "bvipul/generator",
"version": "v5.6.1", "version": "v5.6.1",
...@@ -4890,20 +4313,20 @@ ...@@ -4890,20 +4313,20 @@
}, },
{ {
"name": "hamcrest/hamcrest-php", "name": "hamcrest/hamcrest-php",
"version": "v1.2.2", "version": "v2.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/hamcrest/hamcrest-php.git", "url": "https://github.com/hamcrest/hamcrest-php.git",
"reference": "b37020aa976fa52d3de9aa904aa2522dc518f79c" "reference": "776503d3a8e85d4f9a1148614f95b7a608b046ad"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/b37020aa976fa52d3de9aa904aa2522dc518f79c", "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/776503d3a8e85d4f9a1148614f95b7a608b046ad",
"reference": "b37020aa976fa52d3de9aa904aa2522dc518f79c", "reference": "776503d3a8e85d4f9a1148614f95b7a608b046ad",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.2" "php": "^5.3|^7.0"
}, },
"replace": { "replace": {
"cordoval/hamcrest-php": "*", "cordoval/hamcrest-php": "*",
...@@ -4912,15 +4335,18 @@ ...@@ -4912,15 +4335,18 @@
}, },
"require-dev": { "require-dev": {
"phpunit/php-file-iterator": "1.3.3", "phpunit/php-file-iterator": "1.3.3",
"satooshi/php-coveralls": "dev-master" "phpunit/phpunit": "~4.0",
"satooshi/php-coveralls": "^1.0"
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0-dev"
}
},
"autoload": { "autoload": {
"classmap": [ "classmap": [
"hamcrest" "hamcrest"
],
"files": [
"hamcrest/Hamcrest.php"
] ]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
...@@ -4931,7 +4357,7 @@ ...@@ -4931,7 +4357,7 @@
"keywords": [ "keywords": [
"test" "test"
], ],
"time": "2015-05-11T14:41:42+00:00" "time": "2016-01-20T08:20:44+00:00"
}, },
{ {
"name": "hassankhan/config", "name": "hassankhan/config",
...@@ -5044,22 +4470,23 @@ ...@@ -5044,22 +4470,23 @@
}, },
{ {
"name": "laravel/browser-kit-testing", "name": "laravel/browser-kit-testing",
"version": "v4.0.2", "version": "v4.2.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/browser-kit-testing.git", "url": "https://github.com/laravel/browser-kit-testing.git",
"reference": "efe038f40fb8ad06655ddfcb64e8b603e9e1f999" "reference": "b042ed965910a4ba69c0ebe8863d4029af3e242e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/browser-kit-testing/zipball/efe038f40fb8ad06655ddfcb64e8b603e9e1f999", "url": "https://api.github.com/repos/laravel/browser-kit-testing/zipball/b042ed965910a4ba69c0ebe8863d4029af3e242e",
"reference": "efe038f40fb8ad06655ddfcb64e8b603e9e1f999", "reference": "b042ed965910a4ba69c0ebe8863d4029af3e242e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"illuminate/support": "^5.6", "illuminate/support": "^5.6",
"mockery/mockery": "^1.0",
"php": ">=7.1.3", "php": ">=7.1.3",
"phpunit/phpunit": "~7.0", "phpunit/phpunit": "^7.0",
"symfony/css-selector": "~4.0", "symfony/css-selector": "~4.0",
"symfony/dom-crawler": "~4.0" "symfony/dom-crawler": "~4.0"
}, },
...@@ -5084,30 +4511,30 @@ ...@@ -5084,30 +4511,30 @@
"email": "taylor@laravel.com" "email": "taylor@laravel.com"
} }
], ],
"description": "Provides backwards compatibility for BrowserKit testing in Laravel 5.4.", "description": "Provides backwards compatibility for BrowserKit testing in the latest Laravel release.",
"keywords": [ "keywords": [
"laravel", "laravel",
"testing" "testing"
], ],
"time": "2018-09-26T13:42:46+00:00" "time": "2019-02-05T13:27:14+00:00"
}, },
{ {
"name": "laravel/telescope", "name": "laravel/telescope",
"version": "v1.1", "version": "v2.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/telescope.git", "url": "https://github.com/laravel/telescope.git",
"reference": "925386780c756d6aa7c18ae185bb7a756c122460" "reference": "2b976e5d6f5273d8ac86e2db9487386dd27a19ef"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/telescope/zipball/925386780c756d6aa7c18ae185bb7a756c122460", "url": "https://api.github.com/repos/laravel/telescope/zipball/2b976e5d6f5273d8ac86e2db9487386dd27a19ef",
"reference": "925386780c756d6aa7c18ae185bb7a756c122460", "reference": "2b976e5d6f5273d8ac86e2db9487386dd27a19ef",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"laravel/framework": "~5.7.7|~5.8.0", "laravel/framework": "~5.8.0",
"moontoast/math": "^1.1", "moontoast/math": "^1.1",
"php": "^7.1.3", "php": "^7.1.3",
"symfony/var-dumper": "^4.1" "symfony/var-dumper": "^4.1"
...@@ -5119,7 +4546,7 @@ ...@@ -5119,7 +4546,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.0-dev" "dev-master": "3.0-dev"
}, },
"laravel": { "laravel": {
"providers": [ "providers": [
...@@ -5152,95 +4579,34 @@ ...@@ -5152,95 +4579,34 @@
"laravel", "laravel",
"monitoring" "monitoring"
], ],
"time": "2019-02-18T22:02:39+00:00" "time": "2019-03-05T14:07:56+00:00"
},
{
"name": "maximebf/debugbar",
"version": "v1.15.0",
"source": {
"type": "git",
"url": "https://github.com/maximebf/php-debugbar.git",
"reference": "30e7d60937ee5f1320975ca9bc7bcdd44d500f07"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/30e7d60937ee5f1320975ca9bc7bcdd44d500f07",
"reference": "30e7d60937ee5f1320975ca9bc7bcdd44d500f07",
"shasum": ""
},
"require": {
"php": ">=5.3.0",
"psr/log": "^1.0",
"symfony/var-dumper": "^2.6|^3.0|^4.0"
},
"require-dev": {
"phpunit/phpunit": "^4.0|^5.0"
},
"suggest": {
"kriswallsmith/assetic": "The best way to manage assets",
"monolog/monolog": "Log using Monolog",
"predis/predis": "Redis storage"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.14-dev"
}
},
"autoload": {
"psr-4": {
"DebugBar\\": "src/DebugBar/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Maxime Bouroumeau-Fuseau",
"email": "maxime.bouroumeau@gmail.com",
"homepage": "http://maximebf.com"
},
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"description": "Debug bar in the browser for php application",
"homepage": "https://github.com/maximebf/php-debugbar",
"keywords": [
"debug",
"debugbar"
],
"time": "2017-12-15T11:13:46+00:00"
}, },
{ {
"name": "mockery/mockery", "name": "mockery/mockery",
"version": "0.9.11", "version": "1.2.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/mockery/mockery.git", "url": "https://github.com/mockery/mockery.git",
"reference": "be9bf28d8e57d67883cba9fcadfcff8caab667f8" "reference": "0eb0b48c3f07b3b89f5169ce005b7d05b18cf1d2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/mockery/mockery/zipball/be9bf28d8e57d67883cba9fcadfcff8caab667f8", "url": "https://api.github.com/repos/mockery/mockery/zipball/0eb0b48c3f07b3b89f5169ce005b7d05b18cf1d2",
"reference": "be9bf28d8e57d67883cba9fcadfcff8caab667f8", "reference": "0eb0b48c3f07b3b89f5169ce005b7d05b18cf1d2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"hamcrest/hamcrest-php": "~1.1", "hamcrest/hamcrest-php": "~2.0",
"lib-pcre": ">=7.0", "lib-pcre": ">=7.0",
"php": ">=5.3.2" "php": ">=5.6.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~4.0" "phpunit/phpunit": "~5.7.10|~6.5|~7.0|~8.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "0.9.x-dev" "dev-master": "1.0.x-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -5264,8 +4630,8 @@ ...@@ -5264,8 +4630,8 @@
"homepage": "http://davedevelopment.co.uk" "homepage": "http://davedevelopment.co.uk"
} }
], ],
"description": "Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.", "description": "Mockery is a simple yet flexible PHP mock object framework",
"homepage": "http://github.com/padraic/mockery", "homepage": "https://github.com/mockery/mockery",
"keywords": [ "keywords": [
"BDD", "BDD",
"TDD", "TDD",
...@@ -5278,7 +4644,7 @@ ...@@ -5278,7 +4644,7 @@
"test double", "test double",
"testing" "testing"
], ],
"time": "2019-02-12T16:07:13+00:00" "time": "2019-02-13T09:37:52+00:00"
}, },
{ {
"name": "moontoast/math", "name": "moontoast/math",
...@@ -5973,31 +5339,29 @@ ...@@ -5973,31 +5339,29 @@
}, },
{ {
"name": "orchestra/testbench", "name": "orchestra/testbench",
"version": "v3.7.4", "version": "v3.8.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/orchestral/testbench.git", "url": "https://github.com/orchestral/testbench.git",
"reference": "c569608fcecc9ee044f2485d58c1ac5fab26ee2f" "reference": "2a79dc414c27457e2c7500c763eba2594b51f14c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/orchestral/testbench/zipball/c569608fcecc9ee044f2485d58c1ac5fab26ee2f", "url": "https://api.github.com/repos/orchestral/testbench/zipball/2a79dc414c27457e2c7500c763eba2594b51f14c",
"reference": "c569608fcecc9ee044f2485d58c1ac5fab26ee2f", "reference": "2a79dc414c27457e2c7500c763eba2594b51f14c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"laravel/framework": "~5.7.4", "laravel/framework": "~5.8.2",
"orchestra/testbench-core": "~3.7.5", "mockery/mockery": "^1.0",
"orchestra/testbench-core": "~3.8.1",
"php": ">=7.1", "php": ">=7.1",
"phpunit/phpunit": "^7.0" "phpunit/phpunit": "^7.5 || ^8.0"
},
"require-dev": {
"mockery/mockery": "^1.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "3.7-dev" "dev-master": "3.8-dev"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
...@@ -6021,20 +5385,20 @@ ...@@ -6021,20 +5385,20 @@
"orchestral", "orchestral",
"testing" "testing"
], ],
"time": "2018-10-07T02:44:38+00:00" "time": "2019-02-28T01:19:16+00:00"
}, },
{ {
"name": "orchestra/testbench-core", "name": "orchestra/testbench-core",
"version": "v3.7.7", "version": "v3.8.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/orchestral/testbench-core.git", "url": "https://github.com/orchestral/testbench-core.git",
"reference": "b5c97f3f3ae488c9e92196c2a7fcf3def9d23e36" "reference": "51192972746beb3766327bb84838998d3a59e99c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/orchestral/testbench-core/zipball/b5c97f3f3ae488c9e92196c2a7fcf3def9d23e36", "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/51192972746beb3766327bb84838998d3a59e99c",
"reference": "b5c97f3f3ae488c9e92196c2a7fcf3def9d23e36", "reference": "51192972746beb3766327bb84838998d3a59e99c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -6042,21 +5406,21 @@ ...@@ -6042,21 +5406,21 @@
"php": ">=7.1" "php": ">=7.1"
}, },
"require-dev": { "require-dev": {
"laravel/framework": "~5.7.14", "laravel/framework": "~5.8.0",
"mockery/mockery": "^1.0", "mockery/mockery": "^1.0",
"phpunit/phpunit": "^7.0" "phpunit/phpunit": "^7.5 || ^8.0"
}, },
"suggest": { "suggest": {
"laravel/framework": "Required for testing (~5.7.14).", "laravel/framework": "Required for testing (~5.8.0).",
"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.7).", "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.7).", "orchestra/testbench-dusk": "Allow to use Laravel Dusk for testing (^3.8).",
"phpunit/phpunit": "Allow to use PHPUnit for testing (^7.0)." "phpunit/phpunit": "Allow to use PHPUnit for testing (^7.5 || ^8.0)."
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "3.7-dev" "dev-master": "3.8-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -6085,7 +5449,7 @@ ...@@ -6085,7 +5449,7 @@
"orchestral", "orchestral",
"testing" "testing"
], ],
"time": "2018-12-04T00:47:44+00:00" "time": "2019-02-28T00:40:46+00:00"
}, },
{ {
"name": "phar-io/manifest", "name": "phar-io/manifest",
...@@ -7742,7 +7106,7 @@ ...@@ -7742,7 +7106,7 @@
"aliases": [], "aliases": [],
"minimum-stability": "stable", "minimum-stability": "stable",
"stability-flags": { "stability-flags": {
"tymon/jwt-auth": 5 "tymon/jwt-auth": 20
}, },
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
......
<?php <?php
return [ return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Application Name | Application Name
...@@ -147,7 +146,6 @@ return [ ...@@ -147,7 +146,6 @@ return [
*/ */
'providers' => [ 'providers' => [
/* /*
* Laravel Framework Service Providers... * Laravel Framework Service Providers...
*/ */
...@@ -193,7 +191,7 @@ return [ ...@@ -193,7 +191,7 @@ return [
App\Providers\AccessServiceProvider::class, App\Providers\AccessServiceProvider::class,
App\Providers\AppServiceProvider::class, App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class, App\Providers\AuthServiceProvider::class,
App\Providers\BladeServiceProvider::class, //App\Providers\BladeServiceProvider::class,
//App\Providers\BroadcastServiceProvider::class, //App\Providers\BroadcastServiceProvider::class,
App\Providers\ComposerServiceProvider::class, App\Providers\ComposerServiceProvider::class,
App\Providers\EventServiceProvider::class, App\Providers\EventServiceProvider::class,
...@@ -216,54 +214,51 @@ return [ ...@@ -216,54 +214,51 @@ return [
*/ */
'aliases' => [ 'aliases' => [
'App' => Illuminate\Support\Facades\App::class,
'App' => Illuminate\Support\Facades\App::class, 'Artisan' => Illuminate\Support\Facades\Artisan::class,
'Artisan' => Illuminate\Support\Facades\Artisan::class, 'Auth' => Illuminate\Support\Facades\Auth::class,
'Auth' => Illuminate\Support\Facades\Auth::class, 'Blade' => Illuminate\Support\Facades\Blade::class,
'Blade' => Illuminate\Support\Facades\Blade::class, 'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
'Broadcast' => Illuminate\Support\Facades\Broadcast::class, 'Bus' => Illuminate\Support\Facades\Bus::class,
'Bus' => Illuminate\Support\Facades\Bus::class, 'Cache' => Illuminate\Support\Facades\Cache::class,
'Cache' => Illuminate\Support\Facades\Cache::class, 'Config' => Illuminate\Support\Facades\Config::class,
'Config' => Illuminate\Support\Facades\Config::class, 'Cookie' => Illuminate\Support\Facades\Cookie::class,
'Cookie' => Illuminate\Support\Facades\Cookie::class, 'Crypt' => Illuminate\Support\Facades\Crypt::class,
'Crypt' => Illuminate\Support\Facades\Crypt::class, 'DB' => Illuminate\Support\Facades\DB::class,
'DB' => Illuminate\Support\Facades\DB::class, 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
'Eloquent' => Illuminate\Database\Eloquent\Model::class, 'Event' => Illuminate\Support\Facades\Event::class,
'Event' => Illuminate\Support\Facades\Event::class, 'File' => Illuminate\Support\Facades\File::class,
'File' => Illuminate\Support\Facades\File::class, 'Gate' => Illuminate\Support\Facades\Gate::class,
'Gate' => Illuminate\Support\Facades\Gate::class, 'Hash' => Illuminate\Support\Facades\Hash::class,
'Hash' => Illuminate\Support\Facades\Hash::class, 'Lang' => Illuminate\Support\Facades\Lang::class,
'Lang' => Illuminate\Support\Facades\Lang::class, 'Log' => Illuminate\Support\Facades\Log::class,
'Log' => Illuminate\Support\Facades\Log::class, 'Mail' => Illuminate\Support\Facades\Mail::class,
'Mail' => Illuminate\Support\Facades\Mail::class,
'Notification' => Illuminate\Support\Facades\Notification::class, 'Notification' => Illuminate\Support\Facades\Notification::class,
'Password' => Illuminate\Support\Facades\Password::class, 'Password' => Illuminate\Support\Facades\Password::class,
'Queue' => Illuminate\Support\Facades\Queue::class, 'Queue' => Illuminate\Support\Facades\Queue::class,
'Redirect' => Illuminate\Support\Facades\Redirect::class, 'Redirect' => Illuminate\Support\Facades\Redirect::class,
'Redis' => Illuminate\Support\Facades\Redis::class, 'Redis' => Illuminate\Support\Facades\Redis::class,
'Request' => Illuminate\Support\Facades\Request::class, 'Request' => Illuminate\Support\Facades\Request::class,
'Response' => Illuminate\Support\Facades\Response::class, 'Response' => Illuminate\Support\Facades\Response::class,
'Route' => Illuminate\Support\Facades\Route::class, 'Route' => Illuminate\Support\Facades\Route::class,
'Schema' => Illuminate\Support\Facades\Schema::class, 'Schema' => Illuminate\Support\Facades\Schema::class,
'Session' => Illuminate\Support\Facades\Session::class, 'Session' => Illuminate\Support\Facades\Session::class,
'Storage' => Illuminate\Support\Facades\Storage::class, 'Storage' => Illuminate\Support\Facades\Storage::class,
'URL' => Illuminate\Support\Facades\URL::class, 'URL' => Illuminate\Support\Facades\URL::class,
'Validator' => Illuminate\Support\Facades\Validator::class, 'Validator' => Illuminate\Support\Facades\Validator::class,
'View' => Illuminate\Support\Facades\View::class, 'View' => Illuminate\Support\Facades\View::class,
/* /*
* Third Party Aliases * Third Party Aliases
*/ */
'Active' => HieuLe\Active\Facades\Active::class, 'Active' => HieuLe\Active\Facades\Active::class,
'Breadcrumbs' => DaveJamesMiller\Breadcrumbs\Facade::class, 'Breadcrumbs' => DaveJamesMiller\Breadcrumbs\Facade::class,
'Captcha' => Arcanedev\NoCaptcha\Facades\NoCaptcha::class, 'Captcha' => Arcanedev\NoCaptcha\Facades\NoCaptcha::class,
'Form' => Collective\Html\FormFacade::class, 'Form' => Collective\Html\FormFacade::class,
'Gravatar' => Creativeorange\Gravatar\Facades\Gravatar::class, 'Gravatar' => Creativeorange\Gravatar\Facades\Gravatar::class,
'Html' => Collective\Html\HtmlFacade::class, 'Html' => Collective\Html\HtmlFacade::class,
'Socialite' => Laravel\Socialite\Facades\Socialite::class, 'Socialite' => Laravel\Socialite\Facades\Socialite::class,
'JWTAuth' => Tymon\JWTAuth\Facades\JWTAuth::class, 'JWTAuth' => Tymon\JWTAuth\Facades\JWTAuth::class,
//'Datatables' => Yajra\DataTables\Facades\DataTables::class //'Datatables' => Yajra\DataTables\Facades\DataTables::class
], ],
]; ];
...@@ -50,7 +50,7 @@ abstract class BrowserKitTestCase extends BaseTestCase ...@@ -50,7 +50,7 @@ abstract class BrowserKitTestCase extends BaseTestCase
*/ */
protected $userRole; protected $userRole;
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
...@@ -76,7 +76,7 @@ abstract class BrowserKitTestCase extends BaseTestCase ...@@ -76,7 +76,7 @@ abstract class BrowserKitTestCase extends BaseTestCase
$this->userRole = Role::find(3); $this->userRole = Role::find(3);
} }
public function tearDown() public function tearDown(): void
{ {
$this->beforeApplicationDestroyed(function () { $this->beforeApplicationDestroyed(function () {
DB::disconnect(); DB::disconnect();
......
...@@ -13,19 +13,17 @@ class PageTest extends TestCase ...@@ -13,19 +13,17 @@ class PageTest extends TestCase
public $headers = ''; public $headers = '';
public $user = ''; public $user = '';
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
$this->user = User::find(1); $this->user = User::find(1);
$this->token = JWTAuth::fromUser($this->user); $this->token = JWTAuth::fromUser($this->user);
$this->headers = ['Authorization' => 'Bearer '.$this->token]; $this->headers = ['Authorization' => 'Bearer ' . $this->token];
} }
/** /**
* A basic test example. * A basic test example.
*
* @return void
*/ */
public function testExample() public function testExample()
{ {
...@@ -34,8 +32,6 @@ class PageTest extends TestCase ...@@ -34,8 +32,6 @@ class PageTest extends TestCase
/** /**
* A basic test to get response form pages api. * A basic test to get response form pages api.
*
* @return void
*/ */
/** @test */ /** @test */
...@@ -46,7 +42,7 @@ class PageTest extends TestCase ...@@ -46,7 +42,7 @@ class PageTest extends TestCase
$response $response
->assertStatus(200) ->assertStatus(200)
->assertJsonStructure([ ->assertJsonStructure([
'data'=> [ 'data' => [
[ [
'id', 'id',
'title', 'title',
...@@ -63,8 +59,6 @@ class PageTest extends TestCase ...@@ -63,8 +59,6 @@ class PageTest extends TestCase
/** /**
* A basic test to get response form pages api. * A basic test to get response form pages api.
*
* @return void
*/ */
/** @test */ /** @test */
...@@ -72,17 +66,17 @@ class PageTest extends TestCase ...@@ -72,17 +66,17 @@ class PageTest extends TestCase
{ {
$page = create(Page::class); $page = create(Page::class);
$payload = []; $payload = [];
$response = $this->json('GET', '/api/v1/pages/'.$page->id, $payload, $this->headers); $response = $this->json('GET', '/api/v1/pages/' . $page->id, $payload, $this->headers);
$response $response
->assertStatus(200) ->assertStatus(200)
->assertJson([ ->assertJson([
'data'=> [ 'data' => [
'id' => $page->id, 'id' => $page->id,
'title' => $page->title, 'title' => $page->title,
'status_label' => $page->status_label, 'status_label' => $page->status_label,
'status' => ($page->isActive()) ? 'Active' : 'InActive', 'status' => ($page->isActive()) ? 'Active' : 'InActive',
'created_by' => $page->created_by, 'created_by' => $page->created_by,
], ],
]); ]);
} }
...@@ -90,9 +84,6 @@ class PageTest extends TestCase ...@@ -90,9 +84,6 @@ class PageTest extends TestCase
* Author: Indra Shastri * Author: Indra Shastri
* Date:03-03-2018 * Date:03-03-2018
* A basic test to update a page from api. * A basic test to update a page from api.
*
*
* @return void
*/ */
/** @test */ /** @test */
...@@ -100,34 +91,32 @@ class PageTest extends TestCase ...@@ -100,34 +91,32 @@ class PageTest extends TestCase
{ {
$page = make(Page::class); $page = make(Page::class);
$payload = [ $payload = [
'title' => $page->title, 'title' => $page->title,
'description' => $page->description, 'description' => $page->description,
'cannonical_link' => $page->cannonical_link, 'cannonical_link' => $page->cannonical_link,
'seo_title' => 'some tittle', 'seo_title' => 'some tittle',
'seo_keyword' => 'some keywords', 'seo_keyword' => 'some keywords',
'seo_description' => '<p>&nbsp;</p>↵<h1>SEO Description</h1>↵<p>some seco desctription</p>↵<p>askdsaj;ldsjfd</p>', 'seo_description' => '<p>&nbsp;</p>↵<h1>SEO Description</h1>↵<p>some seco desctription</p>↵<p>askdsaj;ldsjfd</p>',
'status' => '1', 'status' => '1',
]; ];
$response = ''; $response = '';
$response = $this->json('PUT', '/api/v1/pages/1', $payload, $this->headers); $response = $this->json('PUT', '/api/v1/pages/1', $payload, $this->headers);
$response->assertStatus(200); $response->assertStatus(200);
$response->assertJson([ $response->assertJson([
'data'=> [ 'data' => [
'title' => $page->title, 'title' => $page->title,
'status_label' => $page->status_label, 'status_label' => $page->status_label,
'status' => ($page->isActive()) ? 'Active' : 'InActive', 'status' => ($page->isActive()) ? 'Active' : 'InActive',
'created_by' => ''.$this->user->id, 'created_by' => '' . $this->user->id,
], ],
]); ]);
} }
/** /**
* Author: Indra Shastri * Author: Indra Shastri
* Date:03-03-2018 * Date:03-03-2018
* A basic test to create a page from api. * A basic test to create a page from api.
*
* @return void
*/ */
/** @test */ /** @test */
...@@ -135,24 +124,24 @@ class PageTest extends TestCase ...@@ -135,24 +124,24 @@ class PageTest extends TestCase
{ {
$page = make(Page::class); $page = make(Page::class);
$payload = [ $payload = [
'title' => $page->title, 'title' => $page->title,
'description' => $page->description, 'description' => $page->description,
'cannonical_link' => $page->cannonical_link, 'cannonical_link' => $page->cannonical_link,
'seo_title' => 'some tittle', 'seo_title' => 'some tittle',
'seo_keyword' => 'some keywords', 'seo_keyword' => 'some keywords',
'seo_description' => '<p>&nbsp;</p>↵<h1>SEO Description</h1>↵<p>some seco desctription</p>↵<p>askdsaj;ldsjfd</p>', 'seo_description' => '<p>&nbsp;</p>↵<h1>SEO Description</h1>↵<p>some seco desctription</p>↵<p>askdsaj;ldsjfd</p>',
'status' => '1', 'status' => '1',
]; ];
$response = ''; $response = '';
$response = $this->json('POST', '/api/v1/pages', $payload, $this->headers); $response = $this->json('POST', '/api/v1/pages', $payload, $this->headers);
$response->assertStatus(201); $response->assertStatus(201);
$response->assertJson([ $response->assertJson([
'data' => [ 'data' => [
'title' => $page->title, 'title' => $page->title,
'status_label' => $page->status_label, 'status_label' => $page->status_label,
'status' => ($page->isActive()) ? 'Active' : 'InActive', 'status' => ($page->isActive()) ? 'Active' : 'InActive',
'created_by' => $this->user->first_name, 'created_by' => $this->user->first_name,
'created_at' => (\Carbon\Carbon::now())->toDateString(), 'created_at' => (\Carbon\Carbon::now())->toDateString(),
], ],
]); ]);
} }
...@@ -161,8 +150,6 @@ class PageTest extends TestCase ...@@ -161,8 +150,6 @@ class PageTest extends TestCase
* Author: Indra Shastri * Author: Indra Shastri
* Date:03-03-2018 * Date:03-03-2018
* A basic test to create a page from api. * A basic test to create a page from api.
*
* @return void
*/ */
/** @test */ /** @test */
...@@ -170,10 +157,10 @@ class PageTest extends TestCase ...@@ -170,10 +157,10 @@ class PageTest extends TestCase
{ {
$page = create(Page::class); $page = create(Page::class);
$payload = []; $payload = [];
$response = $this->json('DELETE', '/api/v1/pages/'.$page->id, $payload, $this->headers); $response = $this->json('DELETE', '/api/v1/pages/' . $page->id, $payload, $this->headers);
$response->assertStatus(200) $response->assertStatus(200)
->assertJson([ ->assertJson([
'message'=> 'The Page was successfully deleted.', 'message' => 'The Page was successfully deleted.',
]); ]);
} }
} }
...@@ -16,7 +16,7 @@ class ManageBlogsTest extends TestCase ...@@ -16,7 +16,7 @@ class ManageBlogsTest extends TestCase
protected $categories; protected $categories;
protected $tags; protected $tags;
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
...@@ -47,8 +47,8 @@ class ManageBlogsTest extends TestCase ...@@ -47,8 +47,8 @@ class ManageBlogsTest extends TestCase
{ {
$blog = make(Blog::class, [ $blog = make(Blog::class, [
'featured_image' => UploadedFile::fake()->image('logo.jpg'), 'featured_image' => UploadedFile::fake()->image('logo.jpg'),
'categories' => $this->categories, 'categories' => $this->categories,
'tags' => $this->tags, 'tags' => $this->tags,
]); ]);
$this->post(route('admin.blogs.store'), $blog->toArray()); $this->post(route('admin.blogs.store'), $blog->toArray());
...@@ -134,15 +134,15 @@ class ManageBlogsTest extends TestCase ...@@ -134,15 +134,15 @@ class ManageBlogsTest extends TestCase
{ {
$blog = make(Blog::class, [ $blog = make(Blog::class, [
'featured_image' => UploadedFile::fake()->image('logo.jpg'), 'featured_image' => UploadedFile::fake()->image('logo.jpg'),
'categories' => $this->categories, 'categories' => $this->categories,
'tags' => $this->tags, 'tags' => $this->tags,
]); ]);
$this->post(route('admin.blogs.store'), $blog->toArray()); $this->post(route('admin.blogs.store'), $blog->toArray());
$stored_blog = Blog::find(2); $stored_blog = Blog::find(2);
Storage::disk('public')->assertExists('img/blog/'.$stored_blog->featured_image); Storage::disk('public')->assertExists('img/blog/' . $stored_blog->featured_image);
} }
/** @test */ /** @test */
...@@ -201,9 +201,9 @@ class ManageBlogsTest extends TestCase ...@@ -201,9 +201,9 @@ class ManageBlogsTest extends TestCase
{ {
$blog = make(Blog::class, [ $blog = make(Blog::class, [
'featured_image' => UploadedFile::fake()->image('logo.jpg'), 'featured_image' => UploadedFile::fake()->image('logo.jpg'),
'name' => 'Changed Name', 'name' => 'Changed Name',
'categories' => $this->categories, 'categories' => $this->categories,
'tags' => $this->tags, 'tags' => $this->tags,
]); ]);
$this->patch(route('admin.blogs.update', $this->blog), $blog->toArray()); $this->patch(route('admin.blogs.update', $this->blog), $blog->toArray());
...@@ -227,7 +227,8 @@ class ManageBlogsTest extends TestCase ...@@ -227,7 +227,8 @@ class ManageBlogsTest extends TestCase
$catCategory = create(Blog::class, ['name' => 'Cat']); $catCategory = create(Blog::class, ['name' => 'Cat']);
$dogCategory = create(Blog::class, ['name' => 'Dog']); $dogCategory = create(Blog::class, ['name' => 'Dog']);
$this->patch(route('admin.blogs.update', $dogCategory), $this->patch(
route('admin.blogs.update', $dogCategory),
['name' => 'Cat'] ['name' => 'Cat']
)->assertSessionHasErrors('name'); )->assertSessionHasErrors('name');
} }
......
...@@ -11,7 +11,7 @@ class ManageSettingsTest extends TestCase ...@@ -11,7 +11,7 @@ class ManageSettingsTest extends TestCase
{ {
protected $setting; protected $setting;
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
...@@ -38,7 +38,7 @@ class ManageSettingsTest extends TestCase ...@@ -38,7 +38,7 @@ class ManageSettingsTest extends TestCase
'logo' => UploadedFile::fake()->image('logo.jpg', 226, 48), 'logo' => UploadedFile::fake()->image('logo.jpg', 226, 48),
]); ]);
Storage::disk('public')->assertExists('img/logo/'.$this->setting->logo); Storage::disk('public')->assertExists('img/logo/' . $this->setting->logo);
} }
/** @test */ /** @test */
...@@ -59,7 +59,7 @@ class ManageSettingsTest extends TestCase ...@@ -59,7 +59,7 @@ class ManageSettingsTest extends TestCase
'favicon' => UploadedFile::fake()->image('favicon.jpg', 16, 16), 'favicon' => UploadedFile::fake()->image('favicon.jpg', 16, 16),
]); ]);
Storage::disk('public')->assertExists('img/favicon/'.$this->setting->favicon); Storage::disk('public')->assertExists('img/favicon/' . $this->setting->favicon);
} }
/** @test */ /** @test */
......
...@@ -54,7 +54,7 @@ abstract class TestCase extends BaseTestCase ...@@ -54,7 +54,7 @@ abstract class TestCase extends BaseTestCase
/** /**
* Set up tests. * Set up tests.
*/ */
public function setUp() public function setUp(): void
{ {
parent::setUp(); parent::setUp();
...@@ -80,7 +80,7 @@ abstract class TestCase extends BaseTestCase ...@@ -80,7 +80,7 @@ abstract class TestCase extends BaseTestCase
$this->userRole = Role::find(3); $this->userRole = Role::find(3);
} }
public function tearDown() public function tearDown(): void
{ {
$this->beforeApplicationDestroyed(function () { $this->beforeApplicationDestroyed(function () {
DB::disconnect(); DB::disconnect();
......
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