From 6942fc1d32df72d5b928f527dac98441e1d78982 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sat, 28 Nov 2020 18:21:29 +0000 Subject: [PATCH 1/5] Initial php8 work - switch to GD for image work - fix issues around jwt --- app/Http/Controllers/MicropubController.php | 24 +- .../Controllers/MicropubMediaController.php | 14 +- app/Providers/AppServiceProvider.php | 15 + app/Services/TokenService.php | 40 +- composer.json | 2 +- composer.lock | 550 +++++++++--------- config/image.php | 2 +- tests/Feature/MicropubControllerTest.php | 7 +- tests/TestToken.php | 53 +- 9 files changed, 370 insertions(+), 337 deletions(-) diff --git a/app/Http/Controllers/MicropubController.php b/app/Http/Controllers/MicropubController.php index 1f6ea4d4..50fba921 100644 --- a/app/Http/Controllers/MicropubController.php +++ b/app/Http/Controllers/MicropubController.php @@ -10,6 +10,8 @@ use App\Models\Place; use App\Services\Micropub\{HCardService, HEntryService, UpdateService}; use App\Services\TokenService; use Illuminate\Http\JsonResponse; +use Lcobucci\JWT\Token\InvalidTokenStructure; +use Lcobucci\JWT\Validation\RequiredConstraintsViolated; use Monolog\Handler\StreamHandler; use Monolog\Logger; @@ -43,13 +45,13 @@ class MicropubController extends Controller { try { $tokenData = $this->tokenService->validateToken(request()->input('access_token')); - } catch (InvalidTokenException $e) { + } catch (RequiredConstraintsViolated | InvalidTokenStructure) { $micropubResponses = new MicropubResponses(); return $micropubResponses->invalidTokenResponse(); } - if ($tokenData->hasClaim('scope') === false) { + if ($tokenData->claims()->has('scope') === false) { $micropubResponses = new MicropubResponses(); return $micropubResponses->tokenHasNoScopeResponse(); @@ -58,7 +60,7 @@ class MicropubController extends Controller $this->logMicropubRequest(request()->all()); if ((request()->input('h') == 'entry') || (request()->input('type.0') == 'h-entry')) { - if (stristr($tokenData->getClaim('scope'), 'create') === false) { + if (stristr($tokenData->claims()->get('scope'), 'create') === false) { $micropubResponses = new MicropubResponses(); return $micropubResponses->insufficientScopeResponse(); @@ -72,7 +74,7 @@ class MicropubController extends Controller } if (request()->input('h') == 'card' || request()->input('type.0') == 'h-card') { - if (stristr($tokenData->getClaim('scope'), 'create') === false) { + if (stristr($tokenData->claims()->get('scope'), 'create') === false) { $micropubResponses = new MicropubResponses(); return $micropubResponses->insufficientScopeResponse(); @@ -86,7 +88,7 @@ class MicropubController extends Controller } if (request()->input('action') == 'update') { - if (stristr($tokenData->getClaim('scope'), 'update') === false) { + if (stristr($tokenData->claims()->get('scope'), 'update') === false) { $micropubResponses = new MicropubResponses(); return $micropubResponses->insufficientScopeResponse(); @@ -115,7 +117,7 @@ class MicropubController extends Controller { try { $tokenData = $this->tokenService->validateToken(request()->input('access_token')); - } catch (InvalidTokenException $e) { + } catch (RequiredConstraintsViolated | InvalidTokenStructure) { $micropubResponses = new MicropubResponses(); return $micropubResponses->invalidTokenResponse(); @@ -156,9 +158,9 @@ class MicropubController extends Controller return response()->json([ 'response' => 'token', 'token' => [ - 'me' => $tokenData->getClaim('me'), - 'scope' => $tokenData->getClaim('scope'), - 'client_id' => $tokenData->getClaim('client_id'), + 'me' => $tokenData->claims()->get('me'), + 'scope' => $tokenData->claims()->get('scope'), + 'client_id' => $tokenData->claims()->get('client_id'), ], ]); } @@ -167,13 +169,13 @@ class MicropubController extends Controller * Determine the client id from the access token sent with the request. * * @return string - * @throws InvalidTokenException + * @throws RequiredConstraintsViolated */ private function getClientId(): string { return resolve(TokenService::class) ->validateToken(request()->input('access_token')) - ->getClaim('client_id'); + ->claims()->get('client_id'); } /** diff --git a/app/Http/Controllers/MicropubMediaController.php b/app/Http/Controllers/MicropubMediaController.php index 22df7575..d24c2c99 100644 --- a/app/Http/Controllers/MicropubMediaController.php +++ b/app/Http/Controllers/MicropubMediaController.php @@ -21,6 +21,8 @@ use Illuminate\Support\Facades\Storage; use Illuminate\Support\Str; use Intervention\Image\Exception\NotReadableException; use Intervention\Image\ImageManager; +use Lcobucci\JWT\Token\InvalidTokenStructure; +use Lcobucci\JWT\Validation\RequiredConstraintsViolated; use Ramsey\Uuid\Uuid; class MicropubMediaController extends Controller @@ -36,19 +38,19 @@ class MicropubMediaController extends Controller { try { $tokenData = $this->tokenService->validateToken(request()->input('access_token')); - } catch (InvalidTokenException $e) { + } catch (RequiredConstraintsViolated | InvalidTokenStructure) { $micropubResponses = new MicropubResponses(); return $micropubResponses->invalidTokenResponse(); } - if ($tokenData->hasClaim('scope') === false) { + if ($tokenData->claims()->has('scope') === false) { $micropubResponses = new MicropubResponses(); return $micropubResponses->tokenHasNoScopeResponse(); } - if (Str::contains($tokenData->getClaim('scope'), 'create') === false) { + if (Str::contains($tokenData->claims()->get('scope'), 'create') === false) { $micropubResponses = new MicropubResponses(); return $micropubResponses->insufficientScopeResponse(); @@ -103,19 +105,19 @@ class MicropubMediaController extends Controller { try { $tokenData = $this->tokenService->validateToken(request()->input('access_token')); - } catch (InvalidTokenException $e) { + } catch (RequiredConstraintsViolated | InvalidTokenStructure) { $micropubResponses = new MicropubResponses(); return $micropubResponses->invalidTokenResponse(); } - if ($tokenData->hasClaim('scope') === false) { + if ($tokenData->claims()->has('scope') === false) { $micropubResponses = new MicropubResponses(); return $micropubResponses->tokenHasNoScopeResponse(); } - if (Str::contains($tokenData->getClaim('scope'), 'create') === false) { + if (Str::contains($tokenData->claims()->get('scope'), 'create') === false) { $micropubResponses = new MicropubResponses(); return $micropubResponses->insufficientScopeResponse(); diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index b0337f0d..73269ee7 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -11,6 +11,10 @@ use Illuminate\Support\Collection; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Str; use Laravel\Dusk\DuskServiceProvider; +use Lcobucci\JWT\Configuration; +use Lcobucci\JWT\Signer\Hmac\Sha256; +use Lcobucci\JWT\Signer\Key\InMemory; +use Lcobucci\JWT\Validation\Constraint\SignedWith; class AppServiceProvider extends ServiceProvider { @@ -73,6 +77,17 @@ class AppServiceProvider extends ServiceProvider ] ); }); + + // Configure JWT builder + $this->app->bind('Lcobucci\JWT\Configuration', function () { + $key = InMemory::plainText('testing'); + + $config = Configuration::forSymmetricSigner(new Sha256(), $key); + + $config->setValidationConstraints(new SignedWith(new Sha256(), $key)); + + return $config; + }); } /** diff --git a/app/Services/TokenService.php b/app/Services/TokenService.php index 09954067..056f547a 100644 --- a/app/Services/TokenService.php +++ b/app/Services/TokenService.php @@ -6,8 +6,8 @@ namespace App\Services; use App\Exceptions\InvalidTokenException; use App\Jobs\AddClientToDatabase; -use Lcobucci\JWT\Signer\Hmac\Sha256; -use Lcobucci\JWT\{Builder, Parser, Token}; +use DateTimeImmutable; +use Lcobucci\JWT\{Configuration, Token}; class TokenService { @@ -19,17 +19,19 @@ class TokenService */ public function getNewToken(array $data): string { - $signer = new Sha256(); - $token = (new Builder())->set('me', $data['me']) - ->set('client_id', $data['client_id']) - ->set('scope', $data['scope']) - ->set('date_issued', time()) - ->set('nonce', bin2hex(random_bytes(8))) - ->sign($signer, config('app.key')) - ->getToken(); + $config = resolve(Configuration::class); + + $token = $config->builder() + ->issuedAt(new DateTimeImmutable()) + ->withClaim('client_id', $data['client_id']) + ->withClaim('me', $data['me']) + ->withClaim('scope', $data['scope']) + ->withClaim('nonce', bin2hex(random_bytes(8))) + ->getToken($config->signer(), $config->signingKey()); + dispatch(new AddClientToDatabase($data['client_id'])); - return (string) $token; + return $token->toString(); } /** @@ -40,15 +42,13 @@ class TokenService */ public function validateToken(string $bearerToken): Token { - $signer = new Sha256(); - try { - $token = (new Parser())->parse((string) $bearerToken); - } catch (\InvalidArgumentException $e) { - throw new InvalidTokenException('Token could not be parsed'); - } - if (! $token->verify($signer, config('app.key'))) { - throw new InvalidTokenException('Token failed validation'); - } + $config = resolve('Lcobucci\JWT\Configuration'); + + $token = $config->parser()->parse($bearerToken); + + $constraints = $config->validationConstraints(); + + $config->validator()->assert($token, ...$constraints); return $token; } diff --git a/composer.json b/composer.json index 74d89ad1..3c28eee4 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ ], "license": "CC0-1.0", "require": { - "php": "^7.4", + "php": "^8.0", "ext-intl": "*", "ext-json": "*", "ext-dom": "*", diff --git a/composer.lock b/composer.lock index 4fd0b1a1..8bd2174d 100644 --- a/composer.lock +++ b/composer.lock @@ -64,16 +64,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.158.22", + "version": "3.164.0", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "0aae6d7d0e9fc40ace69ed7f7785d7ddab4dabd0" + "reference": "39ecf57d828eb50ab23fd70255a68b8996392ac9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/0aae6d7d0e9fc40ace69ed7f7785d7ddab4dabd0", - "reference": "0aae6d7d0e9fc40ace69ed7f7785d7ddab4dabd0", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/39ecf57d828eb50ab23fd70255a68b8996392ac9", + "reference": "39ecf57d828eb50ab23fd70255a68b8996392ac9", "shasum": "" }, "require": { @@ -148,9 +148,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.158.22" + "source": "https://github.com/aws/aws-sdk-php/tree/3.164.0" }, - "time": "2020-11-06T19:13:12+00:00" + "time": "2020-11-24T19:18:22+00:00" }, { "name": "brick/math", @@ -704,26 +704,29 @@ }, { "name": "dragonmantank/cron-expression", - "version": "v3.0.2", + "version": "v3.1.0", "source": { "type": "git", "url": "https://github.com/dragonmantank/cron-expression.git", - "reference": "48212cdc0a79051d50d7fc2f0645c5a321caf926" + "reference": "7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/48212cdc0a79051d50d7fc2f0645c5a321caf926", - "reference": "48212cdc0a79051d50d7fc2f0645c5a321caf926", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c", + "reference": "7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c", "shasum": "" }, "require": { - "php": "^7.1|^8.0" + "php": "^7.2|^8.0", + "webmozart/assert": "^1.7.0" }, "replace": { "mtdowling/cron-expression": "^1.0" }, "require-dev": { - "phpstan/phpstan": "^0.11|^0.12", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-webmozart-assert": "^0.12.7", "phpunit/phpunit": "^7.0|^8.0|^9.0" }, "type": "library", @@ -750,7 +753,7 @@ ], "support": { "issues": "https://github.com/dragonmantank/cron-expression/issues", - "source": "https://github.com/dragonmantank/cron-expression/tree/v3.0.2" + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.1.0" }, "funding": [ { @@ -758,20 +761,20 @@ "type": "github" } ], - "time": "2020-10-13T01:26:01+00:00" + "time": "2020-11-24T19:55:57+00:00" }, { "name": "egulias/email-validator", - "version": "2.1.23", + "version": "2.1.24", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "5fa792ad1853ae2bc60528dd3e5cbf4542d3c1df" + "reference": "ca90a3291eee1538cd48ff25163240695bd95448" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/5fa792ad1853ae2bc60528dd3e5cbf4542d3c1df", - "reference": "5fa792ad1853ae2bc60528dd3e5cbf4542d3c1df", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ca90a3291eee1538cd48ff25163240695bd95448", + "reference": "ca90a3291eee1538cd48ff25163240695bd95448", "shasum": "" }, "require": { @@ -818,9 +821,15 @@ ], "support": { "issues": "https://github.com/egulias/EmailValidator/issues", - "source": "https://github.com/egulias/EmailValidator/tree/2.1.23" + "source": "https://github.com/egulias/EmailValidator/tree/2.1.24" }, - "time": "2020-10-31T20:37:35+00:00" + "funding": [ + { + "url": "https://github.com/egulias", + "type": "github" + } + ], + "time": "2020-11-14T15:56:27+00:00" }, { "name": "fideloper/proxy", @@ -1257,16 +1266,16 @@ }, { "name": "indieauth/client", - "version": "0.5.2", + "version": "0.6.0", "source": { "type": "git", "url": "https://github.com/indieweb/indieauth-client-php.git", - "reference": "22d40430b3a93e48c52ca71da718241293e9feac" + "reference": "e85549dd3ea2070f20a964a9b9686f31be9d5382" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/indieweb/indieauth-client-php/zipball/22d40430b3a93e48c52ca71da718241293e9feac", - "reference": "22d40430b3a93e48c52ca71da718241293e9feac", + "url": "https://api.github.com/repos/indieweb/indieauth-client-php/zipball/e85549dd3ea2070f20a964a9b9686f31be9d5382", + "reference": "e85549dd3ea2070f20a964a9b9686f31be9d5382", "shasum": "" }, "require": { @@ -1297,9 +1306,9 @@ "description": "IndieAuth Client Library", "support": { "issues": "https://github.com/indieweb/indieauth-client-php/issues", - "source": "https://github.com/indieweb/indieauth-client-php/tree/master" + "source": "https://github.com/indieweb/indieauth-client-php/tree/0.6.0" }, - "time": "2019-05-12T20:24:13+00:00" + "time": "2020-11-25T16:09:18+00:00" }, { "name": "indieweb/link-rel-parser", @@ -1641,16 +1650,16 @@ }, { "name": "laravel/framework", - "version": "v8.13.0", + "version": "v8.16.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "37a0abd4f3dbc51e2256296b45f8be72c8fe2196" + "reference": "f7dfc22e6c42e9ed4dda14c05814349af6943206" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/37a0abd4f3dbc51e2256296b45f8be72c8fe2196", - "reference": "37a0abd4f3dbc51e2256296b45f8be72c8fe2196", + "url": "https://api.github.com/repos/laravel/framework/zipball/f7dfc22e6c42e9ed4dda14c05814349af6943206", + "reference": "f7dfc22e6c42e9ed4dda14c05814349af6943206", "shasum": "" }, "require": { @@ -1723,8 +1732,8 @@ "illuminate/view": "self.version" }, "require-dev": { - "aws/aws-sdk-php": "^3.0", - "doctrine/dbal": "^2.6", + "aws/aws-sdk-php": "^3.155", + "doctrine/dbal": "^2.6|^3.0", "filp/whoops": "^2.8", "guzzlehttp/guzzle": "^6.5.5|^7.0.1", "league/flysystem-cached-adapter": "^1.0", @@ -1736,8 +1745,8 @@ "symfony/cache": "^5.1" }, "suggest": { - "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.0).", - "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6).", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.155).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6|^3.0).", "ext-ftp": "Required to use the Flysystem FTP driver.", "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", "ext-memcached": "Required to use the memcache cache driver.", @@ -1804,20 +1813,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2020-11-03T14:13:19+00:00" + "time": "2020-11-25T15:01:02+00:00" }, { "name": "laravel/horizon", - "version": "v5.4.0", + "version": "v5.5.0", "source": { "type": "git", "url": "https://github.com/laravel/horizon.git", - "reference": "d08d10ee12f53b7ba2cbb938eb23857e93fe51d3" + "reference": "66743f65a55a71f52b5308de1a09fe5fd8453bcb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/horizon/zipball/d08d10ee12f53b7ba2cbb938eb23857e93fe51d3", - "reference": "d08d10ee12f53b7ba2cbb938eb23857e93fe51d3", + "url": "https://api.github.com/repos/laravel/horizon/zipball/66743f65a55a71f52b5308de1a09fe5fd8453bcb", + "reference": "66743f65a55a71f52b5308de1a09fe5fd8453bcb", "shasum": "" }, "require": { @@ -1879,9 +1888,9 @@ ], "support": { "issues": "https://github.com/laravel/horizon/issues", - "source": "https://github.com/laravel/horizon/tree/v5.4.0" + "source": "https://github.com/laravel/horizon/tree/v5.5.0" }, - "time": "2020-11-03T16:55:40+00:00" + "time": "2020-11-24T17:09:52+00:00" }, { "name": "laravel/scout", @@ -2087,16 +2096,16 @@ }, { "name": "lcobucci/jwt", - "version": "3.3.3", + "version": "3.4.1", "source": { "type": "git", "url": "https://github.com/lcobucci/jwt.git", - "reference": "c1123697f6a2ec29162b82f170dd4a491f524773" + "reference": "958a9873a63b0244a72f6e354ccc86019ee674a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lcobucci/jwt/zipball/c1123697f6a2ec29162b82f170dd4a491f524773", - "reference": "c1123697f6a2ec29162b82f170dd4a491f524773", + "url": "https://api.github.com/repos/lcobucci/jwt/zipball/958a9873a63b0244a72f6e354ccc86019ee674a5", + "reference": "958a9873a63b0244a72f6e354ccc86019ee674a5", "shasum": "" }, "require": { @@ -2111,6 +2120,9 @@ "phpunit/phpunit": "^5.7 || ^7.3", "squizlabs/php_codesniffer": "~2.3" }, + "suggest": { + "lcobucci/clock": "*" + }, "type": "library", "extra": { "branch-alias": { @@ -2120,7 +2132,12 @@ "autoload": { "psr-4": { "Lcobucci\\JWT\\": "src" - } + }, + "files": [ + "compat/class-aliases.php", + "compat/json-exception-polyfill.php", + "compat/lcobucci-clock-polyfill.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2140,7 +2157,7 @@ ], "support": { "issues": "https://github.com/lcobucci/jwt/issues", - "source": "https://github.com/lcobucci/jwt/tree/3.3.3" + "source": "https://github.com/lcobucci/jwt/tree/3.4.1" }, "funding": [ { @@ -2152,7 +2169,7 @@ "type": "patreon" } ], - "time": "2020-08-20T13:22:28+00:00" + "time": "2020-11-27T01:17:14+00:00" }, { "name": "league/commonmark", @@ -2403,28 +2420,28 @@ }, { "name": "league/glide", - "version": "1.6.0", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/thephpleague/glide.git", - "reference": "8759b8edfe953c8e6aceb45b3647fb7ae5349a0c" + "reference": "ae5e26700573cb678919d28e425a8b87bc71c546" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/glide/zipball/8759b8edfe953c8e6aceb45b3647fb7ae5349a0c", - "reference": "8759b8edfe953c8e6aceb45b3647fb7ae5349a0c", + "url": "https://api.github.com/repos/thephpleague/glide/zipball/ae5e26700573cb678919d28e425a8b87bc71c546", + "reference": "ae5e26700573cb678919d28e425a8b87bc71c546", "shasum": "" }, "require": { "intervention/image": "^2.4", "league/flysystem": "^1.0", - "php": "^7.2", + "php": "^7.2|^8.0", "psr/http-message": "^1.0" }, "require-dev": { - "mockery/mockery": "^1.2", - "phpunit/php-token-stream": "^3.1", - "phpunit/phpunit": "^8.5" + "mockery/mockery": "^1.3.3", + "phpunit/php-token-stream": "^3.1|^4.0", + "phpunit/phpunit": "^8.5|^9.0" }, "type": "library", "extra": { @@ -2462,9 +2479,9 @@ ], "support": { "issues": "https://github.com/thephpleague/glide/issues", - "source": "https://github.com/thephpleague/glide/tree/1.6.0" + "source": "https://github.com/thephpleague/glide/tree/1.7.0" }, - "time": "2020-07-07T12:23:45+00:00" + "time": "2020-11-05T17:34:03+00:00" }, { "name": "league/mime-type-detection", @@ -3940,16 +3957,16 @@ }, { "name": "scrivo/highlight.php", - "version": "v9.18.1.4", + "version": "v9.18.1.5", "source": { "type": "git", "url": "https://github.com/scrivo/highlight.php.git", - "reference": "ee8007a215a27cb9c078e0328fb5de901d74ef9b" + "reference": "fa75a865928a4a5d49e5e77faca6bd2f2410baaf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/scrivo/highlight.php/zipball/ee8007a215a27cb9c078e0328fb5de901d74ef9b", - "reference": "ee8007a215a27cb9c078e0328fb5de901d74ef9b", + "url": "https://api.github.com/repos/scrivo/highlight.php/zipball/fa75a865928a4a5d49e5e77faca6bd2f2410baaf", + "reference": "fa75a865928a4a5d49e5e77faca6bd2f2410baaf", "shasum": "" }, "require": { @@ -4015,7 +4032,7 @@ "type": "github" } ], - "time": "2020-11-01T04:06:53+00:00" + "time": "2020-11-22T06:07:40+00:00" }, { "name": "sensiolabs/security-checker", @@ -4071,27 +4088,27 @@ }, { "name": "spatie/browsershot", - "version": "3.40.1", + "version": "3.41.0", "source": { "type": "git", "url": "https://github.com/spatie/browsershot.git", - "reference": "7793556fdacaff56fcc45b0e45bb9f0f72a50803" + "reference": "2cc87d4dad788b372549cf856c773a7e5a8fcace" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/browsershot/zipball/7793556fdacaff56fcc45b0e45bb9f0f72a50803", - "reference": "7793556fdacaff56fcc45b0e45bb9f0f72a50803", + "url": "https://api.github.com/repos/spatie/browsershot/zipball/2cc87d4dad788b372549cf856c773a7e5a8fcace", + "reference": "2cc87d4dad788b372549cf856c773a7e5a8fcace", "shasum": "" }, "require": { - "php": "^7.1", + "php": "^7.4|^8.0", "spatie/image": "^1.5.3", "spatie/temporary-directory": "^1.1", - "symfony/process": "^4.2|^5.0" + "symfony/process": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^6.1|^7.5", - "spatie/phpunit-snapshot-assertions": "^1.0" + "phpunit/phpunit": "^9.0", + "spatie/phpunit-snapshot-assertions": "^4.2.3" }, "type": "library", "autoload": { @@ -4125,7 +4142,7 @@ ], "support": { "issues": "https://github.com/spatie/browsershot/issues", - "source": "https://github.com/spatie/browsershot/tree/3.40.1" + "source": "https://github.com/spatie/browsershot/tree/3.41.0" }, "funding": [ { @@ -4133,7 +4150,7 @@ "type": "github" } ], - "time": "2020-11-06T09:19:20+00:00" + "time": "2020-11-18T08:51:42+00:00" }, { "name": "spatie/commonmark-highlighter", @@ -4191,31 +4208,30 @@ }, { "name": "spatie/image", - "version": "1.7.6", + "version": "1.10.0", "source": { "type": "git", "url": "https://github.com/spatie/image.git", - "reference": "74535b5fd67ace75840c00c408666660843e755e" + "reference": "65d615c1f604e479764f25525291d696041dfcea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/image/zipball/74535b5fd67ace75840c00c408666660843e755e", - "reference": "74535b5fd67ace75840c00c408666660843e755e", + "url": "https://api.github.com/repos/spatie/image/zipball/65d615c1f604e479764f25525291d696041dfcea", + "reference": "65d615c1f604e479764f25525291d696041dfcea", "shasum": "" }, "require": { "ext-exif": "*", "ext-mbstring": "*", - "league/glide": "^1.4", - "php": "^7.0", - "spatie/image-optimizer": "^1.0", - "spatie/temporary-directory": "^1.0.0", + "league/glide": "^1.6", + "php": "^7.2|^8.0", + "spatie/image-optimizer": "^1.1", + "spatie/temporary-directory": "^1.0", "symfony/process": "^3.0|^4.0|^5.0" }, "require-dev": { - "larapack/dd": "^1.1", - "phpunit/phpunit": "^6.0|^7.0", - "symfony/var-dumper": "^3.2|^5.0" + "phpunit/phpunit": "^8.0|^9.0", + "symfony/var-dumper": "^4.0|^5.0" }, "type": "library", "autoload": { @@ -4243,32 +4259,42 @@ ], "support": { "issues": "https://github.com/spatie/image/issues", - "source": "https://github.com/spatie/image/tree/master" + "source": "https://github.com/spatie/image/tree/1.10.0" }, - "time": "2020-01-26T18:56:44+00:00" + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2020-11-27T14:44:09+00:00" }, { "name": "spatie/image-optimizer", - "version": "1.2.1", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/spatie/image-optimizer.git", - "reference": "9c1d470e34b28b715d25edb539dd6c899461527c" + "reference": "b622d0cf29f57d7735d49f2b62471e6b788cb291" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/image-optimizer/zipball/9c1d470e34b28b715d25edb539dd6c899461527c", - "reference": "9c1d470e34b28b715d25edb539dd6c899461527c", + "url": "https://api.github.com/repos/spatie/image-optimizer/zipball/b622d0cf29f57d7735d49f2b62471e6b788cb291", + "reference": "b622d0cf29f57d7735d49f2b62471e6b788cb291", "shasum": "" }, "require": { "ext-fileinfo": "*", - "php": "^7.2", + "php": "^7.2|^8.0", "psr/log": "^1.0", "symfony/process": "^4.2|^5.0" }, "require-dev": { - "phpunit/phpunit": "^8.0", + "phpunit/phpunit": "^8.0|^9.0", "symfony/var-dumper": "^4.2|^5.0" }, "type": "library", @@ -4297,29 +4323,29 @@ ], "support": { "issues": "https://github.com/spatie/image-optimizer/issues", - "source": "https://github.com/spatie/image-optimizer/tree/master" + "source": "https://github.com/spatie/image-optimizer/tree/1.3.1" }, - "time": "2019-11-25T12:29:24+00:00" + "time": "2020-11-20T11:36:11+00:00" }, { "name": "spatie/temporary-directory", - "version": "1.2.4", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/spatie/temporary-directory.git", - "reference": "8efe8e61e0ca943d84341f10e51ef3a9606af932" + "reference": "f517729b3793bca58f847c5fd383ec16f03ffec6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/8efe8e61e0ca943d84341f10e51ef3a9606af932", - "reference": "8efe8e61e0ca943d84341f10e51ef3a9606af932", + "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/f517729b3793bca58f847c5fd383ec16f03ffec6", + "reference": "f517729b3793bca58f847c5fd383ec16f03ffec6", "shasum": "" }, "require": { - "php": "^7.2" + "php": "^7.2|^8.0" }, "require-dev": { - "phpunit/phpunit": "^8.0" + "phpunit/phpunit": "^8.0|^9.0" }, "type": "library", "autoload": { @@ -4342,14 +4368,15 @@ "description": "Easily create, use and destroy temporary directories", "homepage": "https://github.com/spatie/temporary-directory", "keywords": [ + "php", "spatie", "temporary-directory" ], "support": { "issues": "https://github.com/spatie/temporary-directory/issues", - "source": "https://github.com/spatie/temporary-directory/tree/master" + "source": "https://github.com/spatie/temporary-directory/tree/1.3.0" }, - "time": "2020-09-07T20:41:15+00:00" + "time": "2020-11-09T15:54:21+00:00" }, { "name": "swiftmailer/swiftmailer", @@ -6839,23 +6866,23 @@ }, { "name": "voku/portable-ascii", - "version": "1.5.3", + "version": "1.5.6", "source": { "type": "git", "url": "https://github.com/voku/portable-ascii.git", - "reference": "25bcbf01678930251fd572891447d9e318a6e2b8" + "reference": "80953678b19901e5165c56752d087fc11526017c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/voku/portable-ascii/zipball/25bcbf01678930251fd572891447d9e318a6e2b8", - "reference": "25bcbf01678930251fd572891447d9e318a6e2b8", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/80953678b19901e5165c56752d087fc11526017c", + "reference": "80953678b19901e5165c56752d087fc11526017c", "shasum": "" }, "require": { "php": ">=7.0.0" }, "require-dev": { - "phpunit/phpunit": "~6.0 || ~7.0" + "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0" }, "suggest": { "ext-intl": "Use Intl for transliterator_transliterate() support" @@ -6885,7 +6912,7 @@ ], "support": { "issues": "https://github.com/voku/portable-ascii/issues", - "source": "https://github.com/voku/portable-ascii/tree/master" + "source": "https://github.com/voku/portable-ascii/tree/1.5.6" }, "funding": [ { @@ -6909,7 +6936,60 @@ "type": "tidelift" } ], - "time": "2020-07-22T23:32:04+00:00" + "time": "2020-11-12T00:07:28+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.9.1", + "source": { + "type": "git", + "url": "https://github.com/webmozart/assert.git", + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0 || ^8.0", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<3.9.1" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.36 || ^7.5.13" + }, + "type": "library", + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "support": { + "issues": "https://github.com/webmozart/assert/issues", + "source": "https://github.com/webmozart/assert/tree/master" + }, + "time": "2020-07-08T17:02:28+00:00" } ], "packages-dev": [ @@ -7432,16 +7512,16 @@ }, { "name": "composer/composer", - "version": "2.0.6", + "version": "2.0.7", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "d5789bd8e2d852a6b98fe944ca2ff82e921eb43d" + "reference": "cbee637510037f293e641857b2a6223d0ea8008d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/d5789bd8e2d852a6b98fe944ca2ff82e921eb43d", - "reference": "d5789bd8e2d852a6b98fe944ca2ff82e921eb43d", + "url": "https://api.github.com/repos/composer/composer/zipball/cbee637510037f293e641857b2a6223d0ea8008d", + "reference": "cbee637510037f293e641857b2a6223d0ea8008d", "shasum": "" }, "require": { @@ -7509,7 +7589,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/composer/issues", - "source": "https://github.com/composer/composer/tree/2.0.6" + "source": "https://github.com/composer/composer/tree/2.0.7" }, "funding": [ { @@ -7525,20 +7605,20 @@ "type": "tidelift" } ], - "time": "2020-11-07T10:21:17+00:00" + "time": "2020-11-13T16:31:06+00:00" }, { "name": "composer/package-versions-deprecated", - "version": "1.11.99", + "version": "1.11.99.1", "source": { "type": "git", "url": "https://github.com/composer/package-versions-deprecated.git", - "reference": "c8c9aa8a14cc3d3bec86d0a8c3fa52ea79936855" + "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/c8c9aa8a14cc3d3bec86d0a8c3fa52ea79936855", - "reference": "c8c9aa8a14cc3d3bec86d0a8c3fa52ea79936855", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/7413f0b55a051e89485c5cb9f765fe24bb02a7b6", + "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6", "shasum": "" }, "require": { @@ -7582,7 +7662,7 @@ "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", "support": { "issues": "https://github.com/composer/package-versions-deprecated/issues", - "source": "https://github.com/composer/package-versions-deprecated/tree/master" + "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.1" }, "funding": [ { @@ -7598,27 +7678,27 @@ "type": "tidelift" } ], - "time": "2020-08-25T05:50:16+00:00" + "time": "2020-11-11T10:22:58+00:00" }, { "name": "composer/semver", - "version": "3.2.2", + "version": "3.2.4", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "4089fddb67bcf6bf860d91b979e95be303835002" + "reference": "a02fdf930a3c1c3ed3a49b5f63859c0c20e10464" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/4089fddb67bcf6bf860d91b979e95be303835002", - "reference": "4089fddb67bcf6bf860d91b979e95be303835002", + "url": "https://api.github.com/repos/composer/semver/zipball/a02fdf930a3c1c3ed3a49b5f63859c0c20e10464", + "reference": "a02fdf930a3c1c3ed3a49b5f63859c0c20e10464", "shasum": "" }, "require": { "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.19", + "phpstan/phpstan": "^0.12.54", "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", @@ -7663,7 +7743,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.2.2" + "source": "https://github.com/composer/semver/tree/3.2.4" }, "funding": [ { @@ -7679,7 +7759,7 @@ "type": "tidelift" } ], - "time": "2020-10-14T08:51:15+00:00" + "time": "2020-11-13T08:59:24+00:00" }, { "name": "composer/spdx-licenses", @@ -7762,16 +7842,16 @@ }, { "name": "composer/xdebug-handler", - "version": "1.4.4", + "version": "1.4.5", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "6e076a124f7ee146f2487554a94b6a19a74887ba" + "reference": "f28d44c286812c714741478d968104c5e604a1d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/6e076a124f7ee146f2487554a94b6a19a74887ba", - "reference": "6e076a124f7ee146f2487554a94b6a19a74887ba", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/f28d44c286812c714741478d968104c5e604a1d4", + "reference": "f28d44c286812c714741478d968104c5e604a1d4", "shasum": "" }, "require": { @@ -7805,7 +7885,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/1.4.4" + "source": "https://github.com/composer/xdebug-handler/tree/1.4.5" }, "funding": [ { @@ -7821,7 +7901,7 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:39:10+00:00" + "time": "2020-11-13T08:04:11+00:00" }, { "name": "doctrine/cache", @@ -7925,16 +8005,16 @@ }, { "name": "doctrine/dbal", - "version": "2.12.0", + "version": "2.12.1", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "c6d37b4c42aaa3c3ee175f05eca68056f4185646" + "reference": "adce7a954a1c2f14f85e94aed90c8489af204086" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/c6d37b4c42aaa3c3ee175f05eca68056f4185646", - "reference": "c6d37b4c42aaa3c3ee175f05eca68056f4185646", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/adce7a954a1c2f14f85e94aed90c8489af204086", + "reference": "adce7a954a1c2f14f85e94aed90c8489af204086", "shasum": "" }, "require": { @@ -8016,7 +8096,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/2.12.0" + "source": "https://github.com/doctrine/dbal/tree/2.12.1" }, "funding": [ { @@ -8032,7 +8112,7 @@ "type": "tidelift" } ], - "time": "2020-10-22T17:26:24+00:00" + "time": "2020-11-14T20:26:58+00:00" }, { "name": "doctrine/event-manager", @@ -8130,36 +8210,31 @@ }, { "name": "doctrine/instantiator", - "version": "1.3.1", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "f350df0268e904597e3bd9c4685c53e0e333feea" + "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/f350df0268e904597e3bd9c4685c53e0e333feea", - "reference": "f350df0268e904597e3bd9c4685c53e0e333feea", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b", + "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^6.0", + "doctrine/coding-standard": "^8.0", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^0.13", - "phpstan/phpstan-phpunit": "^0.11", - "phpstan/phpstan-shim": "^0.11", - "phpunit/phpunit": "^7.0" + "phpbench/phpbench": "^0.13 || 1.0.0-alpha2", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, "autoload": { "psr-4": { "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" @@ -8173,7 +8248,7 @@ { "name": "Marco Pivetta", "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" + "homepage": "https://ocramius.github.io/" } ], "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", @@ -8184,7 +8259,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.3.x" + "source": "https://github.com/doctrine/instantiator/tree/1.4.0" }, "funding": [ { @@ -8200,7 +8275,7 @@ "type": "tidelift" } ], - "time": "2020-05-29T17:27:14+00:00" + "time": "2020-11-10T18:47:58+00:00" }, { "name": "facade/flare-client-php", @@ -8269,16 +8344,16 @@ }, { "name": "facade/ignition", - "version": "2.5.0", + "version": "2.5.2", "source": { "type": "git", "url": "https://github.com/facade/ignition.git", - "reference": "81698c5e32837c74abf9bb764ff0c1b3e001afb3" + "reference": "08668034beb185fa2ac6f09b1034eaa440952ace" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/facade/ignition/zipball/81698c5e32837c74abf9bb764ff0c1b3e001afb3", - "reference": "81698c5e32837c74abf9bb764ff0c1b3e001afb3", + "url": "https://api.github.com/repos/facade/ignition/zipball/08668034beb185fa2ac6f09b1034eaa440952ace", + "reference": "08668034beb185fa2ac6f09b1034eaa440952ace", "shasum": "" }, "require": { @@ -8342,7 +8417,7 @@ "issues": "https://github.com/facade/ignition/issues", "source": "https://github.com/facade/ignition" }, - "time": "2020-10-27T13:02:22+00:00" + "time": "2020-11-17T09:18:51+00:00" }, { "name": "facade/ignition-contracts", @@ -8741,16 +8816,16 @@ }, { "name": "laravel/dusk", - "version": "v6.8.0", + "version": "v6.9.1", "source": { "type": "git", "url": "https://github.com/laravel/dusk.git", - "reference": "3dd0f1fc383a7fb93e4e0f02d83f9507d9a80a15" + "reference": "13b22f13f4f18f9524e523ec5f06bbb3b2b3fdd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/dusk/zipball/3dd0f1fc383a7fb93e4e0f02d83f9507d9a80a15", - "reference": "3dd0f1fc383a7fb93e4e0f02d83f9507d9a80a15", + "url": "https://api.github.com/repos/laravel/dusk/zipball/13b22f13f4f18f9524e523ec5f06bbb3b2b3fdd9", + "reference": "13b22f13f4f18f9524e523ec5f06bbb3b2b3fdd9", "shasum": "" }, "require": { @@ -8759,8 +8834,8 @@ "illuminate/console": "^6.0|^7.0|^8.0", "illuminate/support": "^6.0|^7.0|^8.0", "nesbot/carbon": "^2.0", - "php": "^7.2", - "php-webdriver/webdriver": "^1.8.1", + "php": "^7.2|^8.0", + "php-webdriver/webdriver": "^1.9.0", "symfony/console": "^4.3|^5.0", "symfony/finder": "^4.3|^5.0", "symfony/process": "^4.3|^5.0", @@ -8807,9 +8882,9 @@ ], "support": { "issues": "https://github.com/laravel/dusk/issues", - "source": "https://github.com/laravel/dusk/tree/v6.8.0" + "source": "https://github.com/laravel/dusk/tree/v6.9.1" }, - "time": "2020-10-06T15:32:20+00:00" + "time": "2020-11-24T16:48:27+00:00" }, { "name": "maximebf/debugbar", @@ -8950,16 +9025,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.10.1", + "version": "1.10.2", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5" + "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/969b211f9a51aa1f6c01d1d2aef56d3bd91598e5", - "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220", + "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220", "shasum": "" }, "require": { @@ -8996,7 +9071,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.x" + "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2" }, "funding": [ { @@ -9004,7 +9079,7 @@ "type": "tidelift" } ], - "time": "2020-06-29T13:22:24+00:00" + "time": "2020-11-13T09:40:50+00:00" }, { "name": "netresearch/jsonmapper", @@ -9311,23 +9386,23 @@ }, { "name": "php-webdriver/webdriver", - "version": "1.8.3", + "version": "1.9.0", "source": { "type": "git", "url": "https://github.com/php-webdriver/php-webdriver.git", - "reference": "fb0fc4cb01c70a7790a5fcc91d461b88c83174a2" + "reference": "e3633154554605274cc9d59837f55a7427d72003" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-webdriver/php-webdriver/zipball/fb0fc4cb01c70a7790a5fcc91d461b88c83174a2", - "reference": "fb0fc4cb01c70a7790a5fcc91d461b88c83174a2", + "url": "https://api.github.com/repos/php-webdriver/php-webdriver/zipball/e3633154554605274cc9d59837f55a7427d72003", + "reference": "e3633154554605274cc9d59837f55a7427d72003", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": "*", "ext-zip": "*", - "php": "^5.6 || ~7.0", + "php": "^5.6 || ~7.0 || ^8.0", "symfony/polyfill-mbstring": "^1.12", "symfony/process": "^2.8 || ^3.1 || ^4.0 || ^5.0" }, @@ -9337,12 +9412,10 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^2.0", "ondram/ci-detector": "^2.1 || ^3.5", - "php-coveralls/php-coveralls": "^2.0", - "php-mock/php-mock-phpunit": "^1.1", + "php-coveralls/php-coveralls": "^2.4", + "php-mock/php-mock-phpunit": "^1.1 || ^2.0", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpunit/phpunit": "^5.7", - "sebastian/environment": "^1.3.4 || ^2.0 || ^3.0", - "sminnee/phpunit-mock-objects": "^3.4", + "phpunit/phpunit": "^5.7 || ^7 || ^8 || ^9", "squizlabs/php_codesniffer": "^3.5", "symfony/var-dumper": "^3.3 || ^4.0 || ^5.0" }, @@ -9378,9 +9451,9 @@ ], "support": { "issues": "https://github.com/php-webdriver/php-webdriver/issues", - "source": "https://github.com/php-webdriver/php-webdriver/tree/1.8.3" + "source": "https://github.com/php-webdriver/php-webdriver/tree/1.9.0" }, - "time": "2020-10-06T19:10:04+00:00" + "time": "2020-11-19T15:21:05+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -9609,16 +9682,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.3", + "version": "9.2.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "6b20e2055f7c29b56cb3870b3de7cc463d7add41" + "reference": "0a7f0acf9269c190fd982b5c04423feae986b6e0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6b20e2055f7c29b56cb3870b3de7cc463d7add41", - "reference": "6b20e2055f7c29b56cb3870b3de7cc463d7add41", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/0a7f0acf9269c190fd982b5c04423feae986b6e0", + "reference": "0a7f0acf9269c190fd982b5c04423feae986b6e0", "shasum": "" }, "require": { @@ -9674,7 +9747,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.3" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.4" }, "funding": [ { @@ -9682,7 +9755,7 @@ "type": "github" } ], - "time": "2020-10-30T10:46:41+00:00" + "time": "2020-11-27T06:15:15+00:00" }, { "name": "phpunit/php-file-iterator", @@ -9927,16 +10000,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.4.2", + "version": "9.4.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3866b2eeeed21b1b099c4bc0b7a1690ac6fd5baa" + "reference": "9fa359ff5ddaa5eb2be2bedb08a6a5787a5807ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3866b2eeeed21b1b099c4bc0b7a1690ac6fd5baa", - "reference": "3866b2eeeed21b1b099c4bc0b7a1690ac6fd5baa", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9fa359ff5ddaa5eb2be2bedb08a6a5787a5807ab", + "reference": "9fa359ff5ddaa5eb2be2bedb08a6a5787a5807ab", "shasum": "" }, "require": { @@ -10014,7 +10087,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.4.2" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.4.3" }, "funding": [ { @@ -10026,7 +10099,7 @@ "type": "github" } ], - "time": "2020-10-19T09:23:29+00:00" + "time": "2020-11-10T12:53:30+00:00" }, { "name": "react/promise", @@ -11044,16 +11117,16 @@ }, { "name": "seld/jsonlint", - "version": "1.8.2", + "version": "1.8.3", "source": { "type": "git", "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337" + "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/590cfec960b77fd55e39b7d9246659e95dd6d337", - "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/9ad6ce79c342fbd44df10ea95511a1b24dee5b57", + "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57", "shasum": "" }, "require": { @@ -11091,7 +11164,7 @@ ], "support": { "issues": "https://github.com/Seldaek/jsonlint/issues", - "source": "https://github.com/Seldaek/jsonlint/tree/master" + "source": "https://github.com/Seldaek/jsonlint/tree/1.8.3" }, "funding": [ { @@ -11103,7 +11176,7 @@ "type": "tidelift" } ], - "time": "2020-08-25T06:56:57+00:00" + "time": "2020-11-11T09:19:24+00:00" }, { "name": "seld/phar-utils", @@ -11336,16 +11409,16 @@ }, { "name": "vimeo/psalm", - "version": "4.1.1", + "version": "4.2.1", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "16bfbd9224698bd738c665f33039fade2a1a3977" + "reference": "ea9cb72143b77e7520c52fa37290bd8d8bc88fd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/16bfbd9224698bd738c665f33039fade2a1a3977", - "reference": "16bfbd9224698bd738c665f33039fade2a1a3977", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/ea9cb72143b77e7520c52fa37290bd8d8bc88fd9", + "reference": "ea9cb72143b77e7520c52fa37290bd8d8bc88fd9", "shasum": "" }, "require": { @@ -11435,62 +11508,9 @@ ], "support": { "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/4.1.1" + "source": "https://github.com/vimeo/psalm/tree/4.2.1" }, - "time": "2020-11-02T05:54:12+00:00" - }, - { - "name": "webmozart/assert", - "version": "1.9.1", - "source": { - "type": "git", - "url": "https://github.com/webmozart/assert.git", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0 || ^8.0", - "symfony/polyfill-ctype": "^1.8" - }, - "conflict": { - "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<3.9.1" - }, - "require-dev": { - "phpunit/phpunit": "^4.8.36 || ^7.5.13" - }, - "type": "library", - "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], - "support": { - "issues": "https://github.com/webmozart/assert/issues", - "source": "https://github.com/webmozart/assert/tree/master" - }, - "time": "2020-07-08T17:02:28+00:00" + "time": "2020-11-20T14:56:53+00:00" }, { "name": "webmozart/path-util", diff --git a/config/image.php b/config/image.php index 32ab36a8..67983819 100644 --- a/config/image.php +++ b/config/image.php @@ -15,6 +15,6 @@ return [ | */ - 'driver' => 'imagick', + 'driver' => 'gd', ]; diff --git a/tests/Feature/MicropubControllerTest.php b/tests/Feature/MicropubControllerTest.php index e1bbed3d..6a4941e8 100644 --- a/tests/Feature/MicropubControllerTest.php +++ b/tests/Feature/MicropubControllerTest.php @@ -5,19 +5,16 @@ namespace Tests\Feature; use Carbon\Carbon; use Tests\TestCase; use Tests\TestToken; -use App\Jobs\ProcessMedia; use App\Jobs\SendWebMentions; use App\Models\{Media, Place}; -use Illuminate\Http\UploadedFile; use App\Jobs\SyndicateNoteToTwitter; use Illuminate\Support\Facades\Queue; -use Illuminate\Support\Facades\Storage; -use MStaack\LaravelPostgis\Geometries\Point; use Illuminate\Foundation\Testing\DatabaseTransactions; class MicropubControllerTest extends TestCase { - use DatabaseTransactions, TestToken; + use DatabaseTransactions; + use TestToken; /** * Test a GET request for the micropub endpoint without a token gives a diff --git a/tests/TestToken.php b/tests/TestToken.php index b34db254..1e9e7c42 100644 --- a/tests/TestToken.php +++ b/tests/TestToken.php @@ -2,50 +2,47 @@ namespace Tests; -use Lcobucci\JWT\Builder; -use Lcobucci\JWT\Signer\Hmac\Sha256; +use DateTimeImmutable; +use Lcobucci\JWT\Configuration; trait TestToken { public function getToken() { - $signer = new Sha256(); - $token = (new Builder()) - ->set('client_id', 'https://quill.p3k.io') - ->set('me', 'https://jonnybarnes.localhost') - ->set('scope', 'create update') - ->set('issued_at', time()) - ->sign($signer, env('APP_KEY')) - ->getToken(); + $config = $this->app->make(Configuration::class); - return $token; + return $config->builder() + ->issuedAt(new DateTimeImmutable()) + ->withClaim('client_id', 'https://quill.p3k.io') + ->withClaim('me', 'https://jonnybarnes.localhost') + ->withClaim('scope', 'create update') + ->getToken($config->signer(), $config->signingKey()) + ->toString(); } public function getTokenWithIncorrectScope() { - $signer = new Sha256(); - $token = (new Builder()) - ->set('client_id', 'https://quill.p3k.io') - ->set('me', 'https://jonnybarnes.localhost') - ->set('scope', 'view') //error here - ->set('issued_at', time()) - ->sign($signer, env('APP_KEY')) - ->getToken(); + $config = $this->app->make(Configuration::class); - return $token; + return $config->builder() + ->issuedAt(new DateTimeImmutable()) + ->withClaim('client_id', 'https://quill.p3k.io') + ->withClaim('me', 'https://jonnybarnes.localhost') + ->withClaim('scope', 'view') + ->getToken($config->signer(), $config->signingKey()) + ->toString(); } public function getTokenWithNoScope() { - $signer = new Sha256(); - $token = (new Builder()) - ->set('client_id', 'https://quill.p3k.io') - ->set('me', 'https://jonnybarnes.localhost') - ->set('issued_at', time()) - ->sign($signer, env('APP_KEY')) - ->getToken(); + $config = $this->app->make(Configuration::class); - return $token; + return $config->builder() + ->issuedAt(new DateTimeImmutable()) + ->withClaim('client_id', 'https://quill.p3k.io') + ->withClaim('me', 'https://jonnybarnes.localhost') + ->getToken($config->signer(), $config->signingKey()) + ->toString(); } public function getInvalidToken() From f73a5587dc33ac051644800c5a3060be818e597e Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sat, 28 Nov 2020 19:02:37 +0000 Subject: [PATCH 2/5] No longer need our own token exception --- app/Exceptions/InvalidTokenException.php | 13 -------- app/Http/Controllers/MicropubController.php | 2 -- .../Controllers/MicropubMediaController.php | 1 - app/Services/TokenService.php | 1 - tests/Feature/TokenServiceTest.php | 31 ++++++++++--------- 5 files changed, 17 insertions(+), 31 deletions(-) delete mode 100644 app/Exceptions/InvalidTokenException.php diff --git a/app/Exceptions/InvalidTokenException.php b/app/Exceptions/InvalidTokenException.php deleted file mode 100644 index 8184cfa7..00000000 --- a/app/Exceptions/InvalidTokenException.php +++ /dev/null @@ -1,13 +0,0 @@ -expectException(InvalidTokenException::class); - $this->expectExceptionMessage('Token failed validation'); + $this->expectException(RequiredConstraintsViolated::class); $data = [ 'me' => 'https://example.org', 'client_id' => 'https://quill.p3k.io', 'scope' => 'post' ]; - $signer = new Sha256(); - $token = (new Builder())->set('me', $data['me']) - ->set('client_id', $data['client_id']) - ->set('scope', $data['scope']) - ->set('date_issued', time()) - ->set('nonce', bin2hex(random_bytes(8))) - ->sign($signer, 'r4ndomk3y') - ->getToken(); + + $config = resolve(Configuration::class); + + $token = $config->builder() + ->issuedAt(new DateTimeImmutable()) + ->withClaim('client_id', $data['client_id']) + ->withClaim('me', $data['me']) + ->withClaim('scope', $data['scope']) + ->withClaim('nonce', bin2hex(random_bytes(8))) + ->getToken($config->signer(), InMemory::plainText('r4andomk3y')) + ->toString(); $service = new TokenService(); - $token = $service->validateToken($token); + $service->validateToken($token); } } From 8a7bbdab274b0de50fe4e15fb1abf54804f5e9e9 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sat, 28 Nov 2020 19:07:28 +0000 Subject: [PATCH 3/5] Update github action to use php8 --- .github/workflows/run-tests.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 8bb94848..fc4f3f50 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -28,14 +28,11 @@ jobs: key: ${{ runner.os }}-${{ hashFiles('**/package.json') }} - name: Install npm dependencies run: npm install - - name: Install ImageMagick - run: sudo apt install imagemagick - name: Setup PHP with pecl extension uses: shivammathur/setup-php@v2 with: - php-version: '7.4' - tools: pecl, phpcs - extensions: imagick + php-version: '8.0' + tools: phpcs - name: Copy .env run: php -r "file_exists('.env') || copy('.env.github', '.env');" - name: Install dependencies From d43530cdd253f8d9d0c716676584d2827c1989b9 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Thu, 31 Dec 2020 13:34:55 +0000 Subject: [PATCH 4/5] Final prep work to get ready for PHP8 --- app/Http/Controllers/MicropubController.php | 4 +- .../Controllers/MicropubMediaController.php | 4 +- .../Controllers/SessionStoreController.php | 22 - composer.json | 19 +- composer.lock | 1048 +++++++++-------- phpunit.xml | 14 +- tests/Feature/TokenServiceTest.php | 6 +- 7 files changed, 601 insertions(+), 516 deletions(-) delete mode 100644 app/Http/Controllers/SessionStoreController.php diff --git a/app/Http/Controllers/MicropubController.php b/app/Http/Controllers/MicropubController.php index 76cf9610..d9069951 100644 --- a/app/Http/Controllers/MicropubController.php +++ b/app/Http/Controllers/MicropubController.php @@ -43,7 +43,7 @@ class MicropubController extends Controller { try { $tokenData = $this->tokenService->validateToken(request()->input('access_token')); - } catch (RequiredConstraintsViolated | InvalidTokenStructure) { + } catch (RequiredConstraintsViolated | InvalidTokenStructure $exception) { $micropubResponses = new MicropubResponses(); return $micropubResponses->invalidTokenResponse(); @@ -115,7 +115,7 @@ class MicropubController extends Controller { try { $tokenData = $this->tokenService->validateToken(request()->input('access_token')); - } catch (RequiredConstraintsViolated | InvalidTokenStructure) { + } catch (RequiredConstraintsViolated | InvalidTokenStructure $exception) { $micropubResponses = new MicropubResponses(); return $micropubResponses->invalidTokenResponse(); diff --git a/app/Http/Controllers/MicropubMediaController.php b/app/Http/Controllers/MicropubMediaController.php index 3aafa023..abad88e4 100644 --- a/app/Http/Controllers/MicropubMediaController.php +++ b/app/Http/Controllers/MicropubMediaController.php @@ -37,7 +37,7 @@ class MicropubMediaController extends Controller { try { $tokenData = $this->tokenService->validateToken(request()->input('access_token')); - } catch (RequiredConstraintsViolated | InvalidTokenStructure) { + } catch (RequiredConstraintsViolated | InvalidTokenStructure $exception) { $micropubResponses = new MicropubResponses(); return $micropubResponses->invalidTokenResponse(); @@ -104,7 +104,7 @@ class MicropubMediaController extends Controller { try { $tokenData = $this->tokenService->validateToken(request()->input('access_token')); - } catch (RequiredConstraintsViolated | InvalidTokenStructure) { + } catch (RequiredConstraintsViolated | InvalidTokenStructure $exception) { $micropubResponses = new MicropubResponses(); return $micropubResponses->invalidTokenResponse(); diff --git a/app/Http/Controllers/SessionStoreController.php b/app/Http/Controllers/SessionStoreController.php deleted file mode 100644 index 24665e1f..00000000 --- a/app/Http/Controllers/SessionStoreController.php +++ /dev/null @@ -1,22 +0,0 @@ -input('css'); - - session(['css' => $css]); - - return ['status' => 'ok']; - } -} diff --git a/composer.json b/composer.json index 3c28eee4..cf6a0b12 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ ], "license": "CC0-1.0", "require": { - "php": "^8.0", + "php": "^7.4|^8.0", "ext-intl": "*", "ext-json": "*", "ext-dom": "*", @@ -17,7 +17,7 @@ "fideloper/proxy": "~4.0", "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^7.0.1", - "indieauth/client": "~0.1", + "indieauth/client": "^1.1", "intervention/image": "^2.4", "jonnybarnes/indieweb": "~0.2", "jonnybarnes/webmentions-parser": "~0.5", @@ -27,11 +27,11 @@ "laravel/scout": "^8.0", "laravel/telescope": "^4.0", "laravel/tinker": "^2.0", - "lcobucci/jwt": "^3.1", + "lcobucci/jwt": "^4.0", "league/commonmark": "^1.0", "league/flysystem-aws-s3-v3": "^1.0", "mf2/mf2": "~0.3", - "pmatseykanets/laravel-scout-postgres": "^7.0", + "pmatseykanets/laravel-scout-postgres": "dev-php8", "predis/predis": "~1.0", "sensiolabs/security-checker": "^6.0", "spatie/browsershot": "~3.0", @@ -43,10 +43,11 @@ "barryvdh/laravel-ide-helper": "^2.6", "beyondcode/laravel-dump-server": "^1.0", "facade/ignition": "^2.3.6", - "fzaninotto/faker": "^1.9.1", + "fakerphp/faker": "^1.9.2", "laravel/dusk": "^6.0", "mockery/mockery": "^1.0", "nunomaduro/collision": "^5.0", + "phpunit/php-code-coverage": "^9.2", "phpunit/phpunit": "^9.0", "vimeo/psalm": "^4.0" }, @@ -91,5 +92,11 @@ "test": [ "vendor/bin/phpunit --stop-on-failure" ] - } + }, + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/jonnybarnes/laravel-scout-postgres" + } + ] } diff --git a/composer.lock b/composer.lock index 8bd2174d..a9a11ba6 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d76ef07b71e9c2857524491589f5de1b", + "content-hash": "94717c17acc53b1e11edb5323f9ddb49", "packages": [ { "name": "asm89/stack-cors", @@ -64,16 +64,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.164.0", + "version": "3.171.9", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "39ecf57d828eb50ab23fd70255a68b8996392ac9" + "reference": "687cff8a0aa0ed3fd71eb4ef3f8d2b39136949d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/39ecf57d828eb50ab23fd70255a68b8996392ac9", - "reference": "39ecf57d828eb50ab23fd70255a68b8996392ac9", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/687cff8a0aa0ed3fd71eb4ef3f8d2b39136949d0", + "reference": "687cff8a0aa0ed3fd71eb4ef3f8d2b39136949d0", "shasum": "" }, "require": { @@ -148,9 +148,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.164.0" + "source": "https://github.com/aws/aws-sdk-php/tree/3.171.9" }, - "time": "2020-11-24T19:18:22+00:00" + "time": "2020-12-30T19:11:22+00:00" }, { "name": "brick/math", @@ -425,16 +425,16 @@ }, { "name": "cviebrock/eloquent-sluggable", - "version": "8.0.1", + "version": "8.0.2", "source": { "type": "git", "url": "https://github.com/cviebrock/eloquent-sluggable.git", - "reference": "a86500442ae8b1e2d965acb0340a1b867bf6c0f5" + "reference": "1b693b333de9080380340facf3806c644a949ad7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cviebrock/eloquent-sluggable/zipball/a86500442ae8b1e2d965acb0340a1b867bf6c0f5", - "reference": "a86500442ae8b1e2d965acb0340a1b867bf6c0f5", + "url": "https://api.github.com/repos/cviebrock/eloquent-sluggable/zipball/1b693b333de9080380340facf3806c644a949ad7", + "reference": "1b693b333de9080380340facf3806c644a949ad7", "shasum": "" }, "require": { @@ -442,7 +442,7 @@ "illuminate/config": "^8.0", "illuminate/database": "^8.0", "illuminate/support": "^8.0", - "php": "^7.3" + "php": "^7.3|^8.0" }, "require-dev": { "limedeck/phpunit-detailed-printer": "^6.0", @@ -486,9 +486,9 @@ ], "support": { "issues": "https://github.com/cviebrock/eloquent-sluggable/issues", - "source": "https://github.com/cviebrock/eloquent-sluggable/tree/8.0.1" + "source": "https://github.com/cviebrock/eloquent-sluggable/tree/8.0.2" }, - "time": "2020-09-28T15:38:25+00:00" + "time": "2020-11-29T18:53:58+00:00" }, { "name": "dnoegel/php-xdg-base-dir", @@ -765,16 +765,16 @@ }, { "name": "egulias/email-validator", - "version": "2.1.24", + "version": "2.1.25", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "ca90a3291eee1538cd48ff25163240695bd95448" + "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ca90a3291eee1538cd48ff25163240695bd95448", - "reference": "ca90a3291eee1538cd48ff25163240695bd95448", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/0dbf5d78455d4d6a41d186da50adc1122ec066f4", + "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4", "shasum": "" }, "require": { @@ -821,7 +821,7 @@ ], "support": { "issues": "https://github.com/egulias/EmailValidator/issues", - "source": "https://github.com/egulias/EmailValidator/tree/2.1.24" + "source": "https://github.com/egulias/EmailValidator/tree/2.1.25" }, "funding": [ { @@ -829,7 +829,7 @@ "type": "github" } ], - "time": "2020-11-14T15:56:27+00:00" + "time": "2020-12-29T14:50:06+00:00" }, { "name": "fideloper/proxy", @@ -1266,23 +1266,23 @@ }, { "name": "indieauth/client", - "version": "0.6.0", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/indieweb/indieauth-client-php.git", - "reference": "e85549dd3ea2070f20a964a9b9686f31be9d5382" + "reference": "d5b3320cf28f8c6e0f4eb45955288f518d7489f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/indieweb/indieauth-client-php/zipball/e85549dd3ea2070f20a964a9b9686f31be9d5382", - "reference": "e85549dd3ea2070f20a964a9b9686f31be9d5382", + "url": "https://api.github.com/repos/indieweb/indieauth-client-php/zipball/d5b3320cf28f8c6e0f4eb45955288f518d7489f1", + "reference": "d5b3320cf28f8c6e0f4eb45955288f518d7489f1", "shasum": "" }, "require": { "indieweb/representative-h-card": "^0.1.2", "mf2/mf2": ">=0.3.2", "p3k/http": ">=0.1.6", - "php": ">5.3.0" + "php": ">5.6.0" }, "require-dev": { "phpunit/phpunit": "4.8.*" @@ -1306,9 +1306,15 @@ "description": "IndieAuth Client Library", "support": { "issues": "https://github.com/indieweb/indieauth-client-php/issues", - "source": "https://github.com/indieweb/indieauth-client-php/tree/0.6.0" + "source": "https://github.com/indieweb/indieauth-client-php/tree/1.1.4" }, - "time": "2020-11-25T16:09:18+00:00" + "funding": [ + { + "url": "https://opencollective.com/indieweb", + "type": "opencollective" + } + ], + "time": "2020-11-27T17:00:33+00:00" }, { "name": "indieweb/link-rel-parser", @@ -1485,22 +1491,22 @@ }, { "name": "jonnybarnes/indieweb", - "version": "v0.2", + "version": "v0.3", "source": { "type": "git", "url": "https://github.com/jonnybarnes/indieweb.git", - "reference": "b65eb23cdd1c484566ac4df1b01132522e7bc65c" + "reference": "675510b2be81cce8c79a591bba548cbeb3dc82f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jonnybarnes/indieweb/zipball/b65eb23cdd1c484566ac4df1b01132522e7bc65c", - "reference": "b65eb23cdd1c484566ac4df1b01132522e7bc65c", + "url": "https://api.github.com/repos/jonnybarnes/indieweb/zipball/675510b2be81cce8c79a591bba548cbeb3dc82f7", + "reference": "675510b2be81cce8c79a591bba548cbeb3dc82f7", "shasum": "" }, "require": { "ext-intl": "*", "ext-mbstring": "*", - "php": "^7.3" + "php": "^7.3|^8.0" }, "require-dev": { "phpunit/phpunit": "^9.0" @@ -1529,28 +1535,28 @@ ], "support": { "issues": "https://github.com/jonnybarnes/indieweb/issues", - "source": "https://github.com/jonnybarnes/indieweb/tree/v0.2" + "source": "https://github.com/jonnybarnes/indieweb/tree/v0.3" }, - "time": "2020-10-04T19:09:40+00:00" + "time": "2020-11-29T11:13:10+00:00" }, { "name": "jonnybarnes/webmentions-parser", - "version": "v0.5", + "version": "v0.6", "source": { "type": "git", "url": "https://github.com/jonnybarnes/webmentions-parser.git", - "reference": "d4c76c49c02af3f968738468f6d1037da6ab1912" + "reference": "cac1acb2b252d6eb611fc5f3a2c6e2265bc86b44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jonnybarnes/webmentions-parser/zipball/d4c76c49c02af3f968738468f6d1037da6ab1912", - "reference": "d4c76c49c02af3f968738468f6d1037da6ab1912", + "url": "https://api.github.com/repos/jonnybarnes/webmentions-parser/zipball/cac1acb2b252d6eb611fc5f3a2c6e2265bc86b44", + "reference": "cac1acb2b252d6eb611fc5f3a2c6e2265bc86b44", "shasum": "" }, "require": { "guzzlehttp/guzzle": "^6.0|^7.0", "mf2/mf2": "~0.4", - "php": "^7.3" + "php": "^7.3|^8.0" }, "require-dev": { "phpunit/phpunit": "^9.0" @@ -1580,9 +1586,9 @@ ], "support": { "issues": "https://github.com/jonnybarnes/webmentions-parser/issues", - "source": "https://github.com/jonnybarnes/webmentions-parser/tree/v0.5" + "source": "https://github.com/jonnybarnes/webmentions-parser/tree/v0.6" }, - "time": "2020-10-04T14:20:55+00:00" + "time": "2020-11-29T11:40:36+00:00" }, { "name": "jublonet/codebird-php", @@ -1650,16 +1656,16 @@ }, { "name": "laravel/framework", - "version": "v8.16.1", + "version": "v8.20.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "f7dfc22e6c42e9ed4dda14c05814349af6943206" + "reference": "b5d8573ab16027867eaa1ac148893833434f9b02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/f7dfc22e6c42e9ed4dda14c05814349af6943206", - "reference": "f7dfc22e6c42e9ed4dda14c05814349af6943206", + "url": "https://api.github.com/repos/laravel/framework/zipball/b5d8573ab16027867eaa1ac148893833434f9b02", + "reference": "b5d8573ab16027867eaa1ac148893833434f9b02", "shasum": "" }, "require": { @@ -1679,15 +1685,15 @@ "psr/simple-cache": "^1.0", "ramsey/uuid": "^4.0", "swiftmailer/swiftmailer": "^6.0", - "symfony/console": "^5.1", - "symfony/error-handler": "^5.1", - "symfony/finder": "^5.1", - "symfony/http-foundation": "^5.1", - "symfony/http-kernel": "^5.1", - "symfony/mime": "^5.1", - "symfony/process": "^5.1", - "symfony/routing": "^5.1", - "symfony/var-dumper": "^5.1", + "symfony/console": "^5.1.4", + "symfony/error-handler": "^5.1.4", + "symfony/finder": "^5.1.4", + "symfony/http-foundation": "^5.1.4", + "symfony/http-kernel": "^5.1.4", + "symfony/mime": "^5.1.4", + "symfony/process": "^5.1.4", + "symfony/routing": "^5.1.4", + "symfony/var-dumper": "^5.1.4", "tijsverkoyen/css-to-inline-styles": "^2.2.2", "vlucas/phpdotenv": "^5.2", "voku/portable-ascii": "^1.4.8" @@ -1738,11 +1744,11 @@ "guzzlehttp/guzzle": "^6.5.5|^7.0.1", "league/flysystem-cached-adapter": "^1.0", "mockery/mockery": "^1.4.2", - "orchestra/testbench-core": "^6.5", + "orchestra/testbench-core": "^6.8", "pda/pheanstalk": "^4.0", "phpunit/phpunit": "^8.5.8|^9.3.3", "predis/predis": "^1.1.1", - "symfony/cache": "^5.1" + "symfony/cache": "^5.1.4" }, "suggest": { "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.155).", @@ -1767,8 +1773,8 @@ "predis/predis": "Required to use the predis connector (^1.1.2).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0).", - "symfony/cache": "Required to PSR-6 cache bridge (^5.1).", - "symfony/filesystem": "Required to enable support for relative symbolic links (^5.1).", + "symfony/cache": "Required to PSR-6 cache bridge (^5.1.4).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^5.1.4).", "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0).", "wildbit/swiftmailer-postmark": "Required to use Postmark mail driver (^3.0)." }, @@ -1813,20 +1819,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2020-11-25T15:01:02+00:00" + "time": "2020-12-22T21:21:19+00:00" }, { "name": "laravel/horizon", - "version": "v5.5.0", + "version": "v5.6.3", "source": { "type": "git", "url": "https://github.com/laravel/horizon.git", - "reference": "66743f65a55a71f52b5308de1a09fe5fd8453bcb" + "reference": "f91245c1b32289da8dfdd3f66f13fe79dde347fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/horizon/zipball/66743f65a55a71f52b5308de1a09fe5fd8453bcb", - "reference": "66743f65a55a71f52b5308de1a09fe5fd8453bcb", + "url": "https://api.github.com/repos/laravel/horizon/zipball/f91245c1b32289da8dfdd3f66f13fe79dde347fd", + "reference": "f91245c1b32289da8dfdd3f66f13fe79dde347fd", "shasum": "" }, "require": { @@ -1888,22 +1894,22 @@ ], "support": { "issues": "https://github.com/laravel/horizon/issues", - "source": "https://github.com/laravel/horizon/tree/v5.5.0" + "source": "https://github.com/laravel/horizon/tree/v5.6.3" }, - "time": "2020-11-24T17:09:52+00:00" + "time": "2020-12-22T17:03:05+00:00" }, { "name": "laravel/scout", - "version": "v8.4.0", + "version": "v8.5.2", "source": { "type": "git", "url": "https://github.com/laravel/scout.git", - "reference": "1241ecf4e876b8fcb8311160b471e6915bc1ab66" + "reference": "ece6758b82c51ff7f5e011f243a7c6b33711a847" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/scout/zipball/1241ecf4e876b8fcb8311160b471e6915bc1ab66", - "reference": "1241ecf4e876b8fcb8311160b471e6915bc1ab66", + "url": "https://api.github.com/repos/laravel/scout/zipball/ece6758b82c51ff7f5e011f243a7c6b33711a847", + "reference": "ece6758b82c51ff7f5e011f243a7c6b33711a847", "shasum": "" }, "require": { @@ -1914,10 +1920,9 @@ "illuminate/pagination": "^6.0|^7.0|^8.0", "illuminate/queue": "^6.0|^7.0|^8.0", "illuminate/support": "^6.0|^7.0|^8.0", - "php": "^7.2" + "php": "^7.2|^8.0" }, "require-dev": { - "algolia/algoliasearch-client-php": "^2.2", "mockery/mockery": "^1.0", "phpunit/phpunit": "^8.0|^9.3" }, @@ -1960,20 +1965,20 @@ "issues": "https://github.com/laravel/scout/issues", "source": "https://github.com/laravel/scout" }, - "time": "2020-10-20T18:44:35+00:00" + "time": "2020-12-30T15:52:14+00:00" }, { "name": "laravel/telescope", - "version": "v4.3.1", + "version": "v4.4.0", "source": { "type": "git", "url": "https://github.com/laravel/telescope.git", - "reference": "7e9d9fdab18b86db6c8368f2a026ff695c8287e9" + "reference": "535889a7585c331854dbdf8ca5e66209588408dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/telescope/zipball/7e9d9fdab18b86db6c8368f2a026ff695c8287e9", - "reference": "7e9d9fdab18b86db6c8368f2a026ff695c8287e9", + "url": "https://api.github.com/repos/laravel/telescope/zipball/535889a7585c331854dbdf8ca5e66209588408dd", + "reference": "535889a7585c331854dbdf8ca5e66209588408dd", "shasum": "" }, "require": { @@ -2022,9 +2027,9 @@ ], "support": { "issues": "https://github.com/laravel/telescope/issues", - "source": "https://github.com/laravel/telescope/tree/v4.3.1" + "source": "https://github.com/laravel/telescope/tree/v4.4.0" }, - "time": "2020-11-05T12:12:19+00:00" + "time": "2020-12-15T19:19:38+00:00" }, { "name": "laravel/tinker", @@ -2095,69 +2100,53 @@ "time": "2020-10-29T13:07:12+00:00" }, { - "name": "lcobucci/jwt", - "version": "3.4.1", + "name": "lcobucci/clock", + "version": "2.0.0", "source": { "type": "git", - "url": "https://github.com/lcobucci/jwt.git", - "reference": "958a9873a63b0244a72f6e354ccc86019ee674a5" + "url": "https://github.com/lcobucci/clock.git", + "reference": "353d83fe2e6ae95745b16b3d911813df6a05bfb3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lcobucci/jwt/zipball/958a9873a63b0244a72f6e354ccc86019ee674a5", - "reference": "958a9873a63b0244a72f6e354ccc86019ee674a5", + "url": "https://api.github.com/repos/lcobucci/clock/zipball/353d83fe2e6ae95745b16b3d911813df6a05bfb3", + "reference": "353d83fe2e6ae95745b16b3d911813df6a05bfb3", "shasum": "" }, "require": { - "ext-mbstring": "*", - "ext-openssl": "*", - "php": "^5.6 || ^7.0" + "php": "^7.4 || ^8.0" }, "require-dev": { - "mikey179/vfsstream": "~1.5", - "phpmd/phpmd": "~2.2", - "phpunit/php-invoker": "~1.1", - "phpunit/phpunit": "^5.7 || ^7.3", - "squizlabs/php_codesniffer": "~2.3" - }, - "suggest": { - "lcobucci/clock": "*" + "infection/infection": "^0.17", + "lcobucci/coding-standard": "^6.0", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-deprecation-rules": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpstan/phpstan-strict-rules": "^0.12", + "phpunit/php-code-coverage": "9.1.4", + "phpunit/phpunit": "9.3.7" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, "autoload": { "psr-4": { - "Lcobucci\\JWT\\": "src" - }, - "files": [ - "compat/class-aliases.php", - "compat/json-exception-polyfill.php", - "compat/lcobucci-clock-polyfill.php" - ] + "Lcobucci\\Clock\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Luís Otávio Cobucci Oblonczyk", - "email": "lcobucci@gmail.com", - "role": "Developer" + "name": "Luís Cobucci", + "email": "lcobucci@gmail.com" } ], - "description": "A simple library to work with JSON Web Token and JSON Web Signature", - "keywords": [ - "JWS", - "jwt" - ], + "description": "Yet another clock abstraction", "support": { - "issues": "https://github.com/lcobucci/jwt/issues", - "source": "https://github.com/lcobucci/jwt/tree/3.4.1" + "issues": "https://github.com/lcobucci/clock/issues", + "source": "https://github.com/lcobucci/clock/tree/2.0.x" }, "funding": [ { @@ -2169,7 +2158,83 @@ "type": "patreon" } ], - "time": "2020-11-27T01:17:14+00:00" + "time": "2020-08-27T18:56:02+00:00" + }, + { + "name": "lcobucci/jwt", + "version": "4.0.0", + "source": { + "type": "git", + "url": "https://github.com/lcobucci/jwt.git", + "reference": "6d8665ccd924dc076a9b65d1ea8abe21d68f6958" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/lcobucci/jwt/zipball/6d8665ccd924dc076a9b65d1ea8abe21d68f6958", + "reference": "6d8665ccd924dc076a9b65d1ea8abe21d68f6958", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "ext-openssl": "*", + "lcobucci/clock": "^2.0", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "infection/infection": "^0.20", + "lcobucci/coding-standard": "^6.0", + "mikey179/vfsstream": "^1.6", + "phpbench/phpbench": "^0.17", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-deprecation-rules": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpstan/phpstan-strict-rules": "^0.12", + "phpunit/php-invoker": "^3.1", + "phpunit/phpunit": "^9.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "psr-4": { + "Lcobucci\\JWT\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Luís Cobucci", + "email": "lcobucci@gmail.com", + "role": "Developer" + } + ], + "description": "A simple library to work with JSON Web Token and JSON Web Signature", + "keywords": [ + "JWS", + "jwt" + ], + "support": { + "issues": "https://github.com/lcobucci/jwt/issues", + "source": "https://github.com/lcobucci/jwt/tree/4.0.0" + }, + "funding": [ + { + "url": "https://github.com/lcobucci", + "type": "github" + }, + { + "url": "https://www.patreon.com/lcobucci", + "type": "patreon" + } + ], + "time": "2020-11-25T02:06:12+00:00" }, { "name": "league/commonmark", @@ -2738,16 +2803,16 @@ }, { "name": "monolog/monolog", - "version": "2.1.1", + "version": "2.2.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "f9eee5cec93dfb313a38b6b288741e84e53f02d5" + "reference": "1cb1cde8e8dd0f70cc0fe51354a59acad9302084" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f9eee5cec93dfb313a38b6b288741e84e53f02d5", - "reference": "f9eee5cec93dfb313a38b6b288741e84e53f02d5", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1cb1cde8e8dd0f70cc0fe51354a59acad9302084", + "reference": "1cb1cde8e8dd0f70cc0fe51354a59acad9302084", "shasum": "" }, "require": { @@ -2760,16 +2825,17 @@ "require-dev": { "aws/aws-sdk-php": "^2.4.9 || ^3.0", "doctrine/couchdb": "~1.0@dev", - "elasticsearch/elasticsearch": "^6.0", + "elasticsearch/elasticsearch": "^7", "graylog2/gelf-php": "^1.4.2", + "mongodb/mongodb": "^1.8", "php-amqplib/php-amqplib": "~2.4", "php-console/php-console": "^3.1.3", - "php-parallel-lint/php-parallel-lint": "^1.0", "phpspec/prophecy": "^1.6.1", + "phpstan/phpstan": "^0.12.59", "phpunit/phpunit": "^8.5", "predis/predis": "^1.1", "rollbar/rollbar": "^1.3", - "ruflin/elastica": ">=0.90 <3.0", + "ruflin/elastica": ">=0.90 <7.0.1", "swiftmailer/swiftmailer": "^5.3|^6.0" }, "suggest": { @@ -2789,7 +2855,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev" + "dev-main": "2.x-dev" } }, "autoload": { @@ -2805,11 +2871,11 @@ { "name": "Jordi Boggiano", "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "homepage": "https://seld.be" } ], "description": "Sends your logs to files, sockets, inboxes, databases and various web services", - "homepage": "http://github.com/Seldaek/monolog", + "homepage": "https://github.com/Seldaek/monolog", "keywords": [ "log", "logging", @@ -2817,7 +2883,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.1.1" + "source": "https://github.com/Seldaek/monolog/tree/2.2.0" }, "funding": [ { @@ -2829,7 +2895,7 @@ "type": "tidelift" } ], - "time": "2020-07-23T08:41:23+00:00" + "time": "2020-12-14T13:15:25+00:00" }, { "name": "mtdowling/jmespath.php", @@ -2894,16 +2960,16 @@ }, { "name": "nesbot/carbon", - "version": "2.41.5", + "version": "2.43.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "c4a9caf97cfc53adfc219043bcecf42bc663acee" + "reference": "d32c57d8389113742f4a88725a170236470012e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/c4a9caf97cfc53adfc219043bcecf42bc663acee", - "reference": "c4a9caf97cfc53adfc219043bcecf42bc663acee", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/d32c57d8389113742f4a88725a170236470012e2", + "reference": "d32c57d8389113742f4a88725a170236470012e2", "shasum": "" }, "require": { @@ -2918,7 +2984,7 @@ "kylekatarnls/multi-tester": "^2.0", "phpmd/phpmd": "^2.9", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12.35", + "phpstan/phpstan": "^0.12.54", "phpunit/phpunit": "^7.5 || ^8.0", "squizlabs/php_codesniffer": "^3.4" }, @@ -2983,20 +3049,20 @@ "type": "tidelift" } ], - "time": "2020-10-23T06:02:30+00:00" + "time": "2020-12-17T20:55:32+00:00" }, { "name": "nikic/php-parser", - "version": "v4.10.2", + "version": "v4.10.4", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "658f1be311a230e0907f5dfe0213742aff0596de" + "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/658f1be311a230e0907f5dfe0213742aff0596de", - "reference": "658f1be311a230e0907f5dfe0213742aff0596de", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/c6d052fc58cb876152f89f532b95a8d7907e7f0e", + "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e", "shasum": "" }, "require": { @@ -3037,9 +3103,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.2" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.4" }, - "time": "2020-09-26T10:30:38+00:00" + "time": "2020-12-20T10:01:03+00:00" }, { "name": "opis/closure", @@ -3219,16 +3285,16 @@ }, { "name": "pmatseykanets/laravel-scout-postgres", - "version": "v7.2.0", + "version": "dev-php8", "source": { "type": "git", - "url": "https://github.com/pmatseykanets/laravel-scout-postgres.git", - "reference": "12b1ff57d9b7262cb60ef7d13860733cebd51ba8" + "url": "https://github.com/jonnybarnes/laravel-scout-postgres.git", + "reference": "5ac11d6c372e83c26e41b8602431fc1a9ff0e5e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmatseykanets/laravel-scout-postgres/zipball/12b1ff57d9b7262cb60ef7d13860733cebd51ba8", - "reference": "12b1ff57d9b7262cb60ef7d13860733cebd51ba8", + "url": "https://api.github.com/repos/jonnybarnes/laravel-scout-postgres/zipball/5ac11d6c372e83c26e41b8602431fc1a9ff0e5e7", + "reference": "5ac11d6c372e83c26e41b8602431fc1a9ff0e5e7", "shasum": "" }, "require": { @@ -3236,7 +3302,7 @@ "illuminate/database": "~6.0|~7.0|~8.0", "illuminate/support": "~6.0|~7.0|~8.0", "laravel/scout": "~7.0|~8.0", - "php": "^7.2" + "php": "^7.2|^8.0" }, "require-dev": { "mockery/mockery": "^1.2.3", @@ -3255,7 +3321,16 @@ "ScoutEngines\\Postgres\\": "src" } }, - "notification-url": "https://packagist.org/downloads/", + "autoload-dev": { + "psr-4": { + "ScoutEngines\\Postgres\\Test\\": "tests" + } + }, + "scripts": { + "test": [ + "vendor/bin/phpunit" + ] + }, "license": [ "MIT" ], @@ -3269,7 +3344,7 @@ "description": "PostgreSQL Full Text Search Driver for Laravel Scout", "homepage": "https://github.com/pmatseykanets/laravel-scout-postgres", "keywords": [ - "fts", + "FTS", "full text search", "laravel", "laravel scout", @@ -3280,7 +3355,7 @@ "issues": "https://github.com/pmatseykanets/laravel-scout-postgres/issues", "source": "https://github.com/pmatseykanets/laravel-scout-postgres" }, - "time": "2020-09-24T04:14:32+00:00" + "time": "2020-12-13T18:16:33+00:00" }, { "name": "predis/predis", @@ -3672,16 +3747,16 @@ }, { "name": "psy/psysh", - "version": "v0.10.4", + "version": "v0.10.5", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "a8aec1b2981ab66882a01cce36a49b6317dc3560" + "reference": "7c710551d4a2653afa259c544508dc18a9098956" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/a8aec1b2981ab66882a01cce36a49b6317dc3560", - "reference": "a8aec1b2981ab66882a01cce36a49b6317dc3560", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/7c710551d4a2653afa259c544508dc18a9098956", + "reference": "7c710551d4a2653afa259c544508dc18a9098956", "shasum": "" }, "require": { @@ -3742,9 +3817,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/master" + "source": "https://github.com/bobthecow/psysh/tree/v0.10.5" }, - "time": "2020-05-03T19:32:03+00:00" + "time": "2020-12-04T02:51:30+00:00" }, { "name": "ralouphie/getallheaders", @@ -3957,16 +4032,16 @@ }, { "name": "scrivo/highlight.php", - "version": "v9.18.1.5", + "version": "v9.18.1.6", "source": { "type": "git", "url": "https://github.com/scrivo/highlight.php.git", - "reference": "fa75a865928a4a5d49e5e77faca6bd2f2410baaf" + "reference": "44a3d4136edb5ad8551590bf90f437db80b2d466" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/scrivo/highlight.php/zipball/fa75a865928a4a5d49e5e77faca6bd2f2410baaf", - "reference": "fa75a865928a4a5d49e5e77faca6bd2f2410baaf", + "url": "https://api.github.com/repos/scrivo/highlight.php/zipball/44a3d4136edb5ad8551590bf90f437db80b2d466", + "reference": "44a3d4136edb5ad8551590bf90f437db80b2d466", "shasum": "" }, "require": { @@ -3980,9 +4055,6 @@ "symfony/finder": "^2.8|^3.4", "symfony/var-dumper": "^2.8|^3.4" }, - "suggest": { - "ext-dom": "Needed to make use of the features in the utilities namespace" - }, "type": "library", "autoload": { "psr-0": { @@ -4032,7 +4104,7 @@ "type": "github" } ], - "time": "2020-11-22T06:07:40+00:00" + "time": "2020-12-22T19:20:29+00:00" }, { "name": "sensiolabs/security-checker", @@ -4088,16 +4160,16 @@ }, { "name": "spatie/browsershot", - "version": "3.41.0", + "version": "3.41.2", "source": { "type": "git", "url": "https://github.com/spatie/browsershot.git", - "reference": "2cc87d4dad788b372549cf856c773a7e5a8fcace" + "reference": "7cf6a641df376b6e7e1b9e8e1f92ecfc5e6893fa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/browsershot/zipball/2cc87d4dad788b372549cf856c773a7e5a8fcace", - "reference": "2cc87d4dad788b372549cf856c773a7e5a8fcace", + "url": "https://api.github.com/repos/spatie/browsershot/zipball/7cf6a641df376b6e7e1b9e8e1f92ecfc5e6893fa", + "reference": "7cf6a641df376b6e7e1b9e8e1f92ecfc5e6893fa", "shasum": "" }, "require": { @@ -4142,7 +4214,7 @@ ], "support": { "issues": "https://github.com/spatie/browsershot/issues", - "source": "https://github.com/spatie/browsershot/tree/3.41.0" + "source": "https://github.com/spatie/browsershot/tree/3.41.2" }, "funding": [ { @@ -4150,31 +4222,31 @@ "type": "github" } ], - "time": "2020-11-18T08:51:42+00:00" + "time": "2020-12-23T10:14:56+00:00" }, { "name": "spatie/commonmark-highlighter", - "version": "2.1.0", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/spatie/commonmark-highlighter.git", - "reference": "c36ea12432e6ce65df299e3f5ed31a0e880d0060" + "reference": "4090c552b983d58a76a7063519fe7aa977bdcf1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/commonmark-highlighter/zipball/c36ea12432e6ce65df299e3f5ed31a0e880d0060", - "reference": "c36ea12432e6ce65df299e3f5ed31a0e880d0060", + "url": "https://api.github.com/repos/spatie/commonmark-highlighter/zipball/4090c552b983d58a76a7063519fe7aa977bdcf1e", + "reference": "4090c552b983d58a76a7063519fe7aa977bdcf1e", "shasum": "" }, "require": { - "league/commonmark": "^1.0", - "php": "^7.2", - "scrivo/highlight.php": "^9.15.6.1" + "league/commonmark": "^1.5", + "php": "^7.2|^8.0", + "scrivo/highlight.php": "^9.18.1.4" }, "require-dev": { "larapack/dd": "^1.0", - "phpunit/phpunit": "^8.0", - "spatie/phpunit-snapshot-assertions": "^2.0" + "phpunit/phpunit": "^8.5|^9.4", + "spatie/phpunit-snapshot-assertions": "^2.0|^4.0" }, "type": "library", "autoload": { @@ -4202,22 +4274,22 @@ ], "support": { "issues": "https://github.com/spatie/commonmark-highlighter/issues", - "source": "https://github.com/spatie/commonmark-highlighter/tree/master" + "source": "https://github.com/spatie/commonmark-highlighter/tree/2.1.1" }, - "time": "2019-11-21T15:49:51+00:00" + "time": "2020-11-11T21:55:01+00:00" }, { "name": "spatie/image", - "version": "1.10.0", + "version": "1.10.1", "source": { "type": "git", "url": "https://github.com/spatie/image.git", - "reference": "65d615c1f604e479764f25525291d696041dfcea" + "reference": "6eaf45d61832c2396dd4b10cc81d9fce93a59e2d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/image/zipball/65d615c1f604e479764f25525291d696041dfcea", - "reference": "65d615c1f604e479764f25525291d696041dfcea", + "url": "https://api.github.com/repos/spatie/image/zipball/6eaf45d61832c2396dd4b10cc81d9fce93a59e2d", + "reference": "6eaf45d61832c2396dd4b10cc81d9fce93a59e2d", "shasum": "" }, "require": { @@ -4259,7 +4331,7 @@ ], "support": { "issues": "https://github.com/spatie/image/issues", - "source": "https://github.com/spatie/image/tree/1.10.0" + "source": "https://github.com/spatie/image/tree/1.10.1" }, "funding": [ { @@ -4271,20 +4343,20 @@ "type": "github" } ], - "time": "2020-11-27T14:44:09+00:00" + "time": "2020-12-01T20:42:11+00:00" }, { "name": "spatie/image-optimizer", - "version": "1.3.1", + "version": "1.3.2", "source": { "type": "git", "url": "https://github.com/spatie/image-optimizer.git", - "reference": "b622d0cf29f57d7735d49f2b62471e6b788cb291" + "reference": "6aa170eb292758553d332efee5e0c3977341080c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/image-optimizer/zipball/b622d0cf29f57d7735d49f2b62471e6b788cb291", - "reference": "b622d0cf29f57d7735d49f2b62471e6b788cb291", + "url": "https://api.github.com/repos/spatie/image-optimizer/zipball/6aa170eb292758553d332efee5e0c3977341080c", + "reference": "6aa170eb292758553d332efee5e0c3977341080c", "shasum": "" }, "require": { @@ -4323,9 +4395,9 @@ ], "support": { "issues": "https://github.com/spatie/image-optimizer/issues", - "source": "https://github.com/spatie/image-optimizer/tree/1.3.1" + "source": "https://github.com/spatie/image-optimizer/tree/1.3.2" }, - "time": "2020-11-20T11:36:11+00:00" + "time": "2020-11-28T12:37:58+00:00" }, { "name": "spatie/temporary-directory", @@ -4380,32 +4452,31 @@ }, { "name": "swiftmailer/swiftmailer", - "version": "v6.2.3", + "version": "v6.2.4", "source": { "type": "git", "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "149cfdf118b169f7840bbe3ef0d4bc795d1780c9" + "reference": "56f0ab23f54c4ccbb0d5dcc67ff8552e0c98d59e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/149cfdf118b169f7840bbe3ef0d4bc795d1780c9", - "reference": "149cfdf118b169f7840bbe3ef0d4bc795d1780c9", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/56f0ab23f54c4ccbb0d5dcc67ff8552e0c98d59e", + "reference": "56f0ab23f54c4ccbb0d5dcc67ff8552e0c98d59e", "shasum": "" }, "require": { - "egulias/email-validator": "~2.0", + "egulias/email-validator": "^2.0", "php": ">=7.0.0", "symfony/polyfill-iconv": "^1.0", "symfony/polyfill-intl-idn": "^1.10", "symfony/polyfill-mbstring": "^1.0" }, "require-dev": { - "mockery/mockery": "~0.9.1", - "symfony/phpunit-bridge": "^3.4.19|^4.1.8" + "mockery/mockery": "^1.0", + "symfony/phpunit-bridge": "^4.4|^5.0" }, "suggest": { - "ext-intl": "Needed to support internationalized email addresses", - "true/punycode": "Needed to support internationalized email addresses, if ext-intl is not installed" + "ext-intl": "Needed to support internationalized email addresses" }, "type": "library", "extra": { @@ -4440,22 +4511,32 @@ ], "support": { "issues": "https://github.com/swiftmailer/swiftmailer/issues", - "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.2.3" + "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.2.4" }, - "time": "2019-11-12T09:31:26+00:00" + "funding": [ + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/swiftmailer/swiftmailer", + "type": "tidelift" + } + ], + "time": "2020-12-08T18:02:06+00:00" }, { "name": "symfony/console", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "e0b2c29c0fa6a69089209bbe8fcff4df2a313d0e" + "reference": "47c02526c532fb381374dab26df05e7313978976" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/e0b2c29c0fa6a69089209bbe8fcff4df2a313d0e", - "reference": "e0b2c29c0fa6a69089209bbe8fcff4df2a313d0e", + "url": "https://api.github.com/repos/symfony/console/zipball/47c02526c532fb381374dab26df05e7313978976", + "reference": "47c02526c532fb381374dab26df05e7313978976", "shasum": "" }, "require": { @@ -4516,8 +4597,14 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command line", + "console", + "terminal" + ], "support": { - "source": "https://github.com/symfony/console/tree/v5.1.8" + "source": "https://github.com/symfony/console/tree/v5.2.1" }, "funding": [ { @@ -4533,20 +4620,20 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:01:57+00:00" + "time": "2020-12-18T08:03:05+00:00" }, { "name": "symfony/css-selector", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "6cbebda22ffc0d4bb8fea0c1311c2ca54c4c8fa0" + "reference": "f789e7ead4c79e04ca9a6d6162fc629c89bd8054" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/6cbebda22ffc0d4bb8fea0c1311c2ca54c4c8fa0", - "reference": "6cbebda22ffc0d4bb8fea0c1311c2ca54c4c8fa0", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/f789e7ead4c79e04ca9a6d6162fc629c89bd8054", + "reference": "f789e7ead4c79e04ca9a6d6162fc629c89bd8054", "shasum": "" }, "require": { @@ -4582,7 +4669,7 @@ "description": "Symfony CssSelector Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v5.1.8" + "source": "https://github.com/symfony/css-selector/tree/v5.2.1" }, "funding": [ { @@ -4598,7 +4685,7 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:01:57+00:00" + "time": "2020-12-08T17:02:38+00:00" }, { "name": "symfony/deprecation-contracts", @@ -4669,16 +4756,16 @@ }, { "name": "symfony/error-handler", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "a154f2b12fd1ec708559ba73ed58bd1304e55718" + "reference": "59b190ce16ddf32771a22087b60f6dafd3407147" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/a154f2b12fd1ec708559ba73ed58bd1304e55718", - "reference": "a154f2b12fd1ec708559ba73ed58bd1304e55718", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/59b190ce16ddf32771a22087b60f6dafd3407147", + "reference": "59b190ce16ddf32771a22087b60f6dafd3407147", "shasum": "" }, "require": { @@ -4718,7 +4805,7 @@ "description": "Symfony ErrorHandler Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v5.1.8" + "source": "https://github.com/symfony/error-handler/tree/v5.2.1" }, "funding": [ { @@ -4734,20 +4821,20 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:01:57+00:00" + "time": "2020-12-09T18:54:12+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "26f4edae48c913fc183a3da0553fe63bdfbd361a" + "reference": "1c93f7a1dff592c252574c79a8635a8a80856042" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/26f4edae48c913fc183a3da0553fe63bdfbd361a", - "reference": "26f4edae48c913fc183a3da0553fe63bdfbd361a", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/1c93f7a1dff592c252574c79a8635a8a80856042", + "reference": "1c93f7a1dff592c252574c79a8635a8a80856042", "shasum": "" }, "require": { @@ -4803,7 +4890,7 @@ "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.1.8" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.2.1" }, "funding": [ { @@ -4819,7 +4906,7 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:01:57+00:00" + "time": "2020-12-18T08:03:05+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -4902,16 +4989,16 @@ }, { "name": "symfony/finder", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "e70eb5a69c2ff61ea135a13d2266e8914a67b3a0" + "reference": "0b9231a5922fd7287ba5b411893c0ecd2733e5ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/e70eb5a69c2ff61ea135a13d2266e8914a67b3a0", - "reference": "e70eb5a69c2ff61ea135a13d2266e8914a67b3a0", + "url": "https://api.github.com/repos/symfony/finder/zipball/0b9231a5922fd7287ba5b411893c0ecd2733e5ba", + "reference": "0b9231a5922fd7287ba5b411893c0ecd2733e5ba", "shasum": "" }, "require": { @@ -4943,7 +5030,7 @@ "description": "Symfony Finder Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.1.8" + "source": "https://github.com/symfony/finder/tree/v5.2.1" }, "funding": [ { @@ -4959,20 +5046,20 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:01:57+00:00" + "time": "2020-12-08T17:02:38+00:00" }, { "name": "symfony/http-client", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "97a6a1f9f5bb3a6094833107b58a72bc9a9165cc" + "reference": "a77cbec69ea90dea509beef29b79748c0df33a83" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/97a6a1f9f5bb3a6094833107b58a72bc9a9165cc", - "reference": "97a6a1f9f5bb3a6094833107b58a72bc9a9165cc", + "url": "https://api.github.com/repos/symfony/http-client/zipball/a77cbec69ea90dea509beef29b79748c0df33a83", + "reference": "a77cbec69ea90dea509beef29b79748c0df33a83", "shasum": "" }, "require": { @@ -4990,6 +5077,7 @@ "symfony/http-client-implementation": "1.1" }, "require-dev": { + "amphp/amp": "^2.5", "amphp/http-client": "^4.2.1", "amphp/http-tunnel": "^1.0", "amphp/socket": "^1.1", @@ -4999,7 +5087,8 @@ "psr/http-client": "^1.0", "symfony/dependency-injection": "^4.4|^5.0", "symfony/http-kernel": "^4.4.13|^5.1.5", - "symfony/process": "^4.4|^5.0" + "symfony/process": "^4.4|^5.0", + "symfony/stopwatch": "^4.4|^5.0" }, "type": "library", "autoload": { @@ -5027,7 +5116,7 @@ "description": "Symfony HttpClient component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-client/tree/v5.1.8" + "source": "https://github.com/symfony/http-client/tree/v5.2.1" }, "funding": [ { @@ -5043,7 +5132,7 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:01:57+00:00" + "time": "2020-12-14T10:56:50+00:00" }, { "name": "symfony/http-client-contracts", @@ -5126,16 +5215,16 @@ }, { "name": "symfony/http-foundation", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "a2860ec970404b0233ab1e59e0568d3277d32b6f" + "reference": "a1f6218b29897ab52acba58cfa905b83625bef8d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/a2860ec970404b0233ab1e59e0568d3277d32b6f", - "reference": "a2860ec970404b0233ab1e59e0568d3277d32b6f", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/a1f6218b29897ab52acba58cfa905b83625bef8d", + "reference": "a1f6218b29897ab52acba58cfa905b83625bef8d", "shasum": "" }, "require": { @@ -5179,7 +5268,7 @@ "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v5.1.8" + "source": "https://github.com/symfony/http-foundation/tree/v5.2.1" }, "funding": [ { @@ -5195,20 +5284,20 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:01:57+00:00" + "time": "2020-12-18T10:00:10+00:00" }, { "name": "symfony/http-kernel", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "a13b3c4d994a4fd051f4c6800c5e33c9508091dd" + "reference": "1feb619286d819180f7b8bc0dc44f516d9c62647" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/a13b3c4d994a4fd051f4c6800c5e33c9508091dd", - "reference": "a13b3c4d994a4fd051f4c6800c5e33c9508091dd", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/1feb619286d819180f7b8bc0dc44f516d9c62647", + "reference": "1feb619286d819180f7b8bc0dc44f516d9c62647", "shasum": "" }, "require": { @@ -5228,7 +5317,7 @@ "symfony/cache": "<5.0", "symfony/config": "<5.0", "symfony/console": "<4.4", - "symfony/dependency-injection": "<4.4", + "symfony/dependency-injection": "<5.1.8", "symfony/doctrine-bridge": "<5.0", "symfony/form": "<5.0", "symfony/http-client": "<5.0", @@ -5248,7 +5337,7 @@ "symfony/config": "^5.0", "symfony/console": "^4.4|^5.0", "symfony/css-selector": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", + "symfony/dependency-injection": "^5.1.8", "symfony/dom-crawler": "^4.4|^5.0", "symfony/expression-language": "^4.4|^5.0", "symfony/finder": "^4.4|^5.0", @@ -5291,7 +5380,7 @@ "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v5.1.8" + "source": "https://github.com/symfony/http-kernel/tree/v5.2.1" }, "funding": [ { @@ -5307,24 +5396,25 @@ "type": "tidelift" } ], - "time": "2020-10-28T05:55:23+00:00" + "time": "2020-12-18T13:49:39+00:00" }, { "name": "symfony/mime", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "f5485a92c24d4bcfc2f3fc648744fb398482ff1b" + "reference": "de97005aef7426ba008c46ba840fc301df577ada" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/f5485a92c24d4bcfc2f3fc648744fb398482ff1b", - "reference": "f5485a92c24d4bcfc2f3fc648744fb398482ff1b", + "url": "https://api.github.com/repos/symfony/mime/zipball/de97005aef7426ba008c46ba840fc301df577ada", + "reference": "de97005aef7426ba008c46ba840fc301df577ada", "shasum": "" }, "require": { "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-intl-idn": "^1.10", "symfony/polyfill-mbstring": "^1.0", "symfony/polyfill-php80": "^1.15" @@ -5334,7 +5424,11 @@ }, "require-dev": { "egulias/email-validator": "^2.1.10", - "symfony/dependency-injection": "^4.4|^5.0" + "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/property-access": "^4.4|^5.1", + "symfony/property-info": "^4.4|^5.1", + "symfony/serializer": "^5.2" }, "type": "library", "autoload": { @@ -5366,7 +5460,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v5.1.8" + "source": "https://github.com/symfony/mime/tree/v5.2.1" }, "funding": [ { @@ -5382,7 +5476,7 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:01:57+00:00" + "time": "2020-12-09T18:54:12+00:00" }, { "name": "symfony/polyfill-ctype", @@ -6115,16 +6209,16 @@ }, { "name": "symfony/process", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "f00872c3f6804150d6a0f73b4151daab96248101" + "reference": "bd8815b8b6705298beaa384f04fabd459c10bedd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/f00872c3f6804150d6a0f73b4151daab96248101", - "reference": "f00872c3f6804150d6a0f73b4151daab96248101", + "url": "https://api.github.com/repos/symfony/process/zipball/bd8815b8b6705298beaa384f04fabd459c10bedd", + "reference": "bd8815b8b6705298beaa384f04fabd459c10bedd", "shasum": "" }, "require": { @@ -6157,7 +6251,7 @@ "description": "Symfony Process Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.1.8" + "source": "https://github.com/symfony/process/tree/v5.2.1" }, "funding": [ { @@ -6173,20 +6267,20 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:01:57+00:00" + "time": "2020-12-08T17:03:37+00:00" }, { "name": "symfony/routing", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "d6ceee2a37b61b41079005207bf37746d1bfe71f" + "reference": "934ac2720dcc878a47a45c986b483a7ee7193620" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/d6ceee2a37b61b41079005207bf37746d1bfe71f", - "reference": "d6ceee2a37b61b41079005207bf37746d1bfe71f", + "url": "https://api.github.com/repos/symfony/routing/zipball/934ac2720dcc878a47a45c986b483a7ee7193620", + "reference": "934ac2720dcc878a47a45c986b483a7ee7193620", "shasum": "" }, "require": { @@ -6200,7 +6294,7 @@ "symfony/yaml": "<4.4" }, "require-dev": { - "doctrine/annotations": "~1.2", + "doctrine/annotations": "^1.7", "psr/log": "~1.0", "symfony/config": "^5.0", "symfony/dependency-injection": "^4.4|^5.0", @@ -6247,7 +6341,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v5.1.8" + "source": "https://github.com/symfony/routing/tree/v5.2.1" }, "funding": [ { @@ -6263,7 +6357,7 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:01:57+00:00" + "time": "2020-12-08T17:03:37+00:00" }, { "name": "symfony/service-contracts", @@ -6346,16 +6440,16 @@ }, { "name": "symfony/string", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "a97573e960303db71be0dd8fda9be3bca5e0feea" + "reference": "5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/a97573e960303db71be0dd8fda9be3bca5e0feea", - "reference": "a97573e960303db71be0dd8fda9be3bca5e0feea", + "url": "https://api.github.com/repos/symfony/string/zipball/5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed", + "reference": "5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed", "shasum": "" }, "require": { @@ -6409,7 +6503,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.1.8" + "source": "https://github.com/symfony/string/tree/v5.2.1" }, "funding": [ { @@ -6425,27 +6519,27 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:01:57+00:00" + "time": "2020-12-05T07:33:16+00:00" }, { "name": "symfony/translation", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "27980838fd261e04379fa91e94e81e662fe5a1b6" + "reference": "a04209ba0d1391c828e5b2373181dac63c52ee70" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/27980838fd261e04379fa91e94e81e662fe5a1b6", - "reference": "27980838fd261e04379fa91e94e81e662fe5a1b6", + "url": "https://api.github.com/repos/symfony/translation/zipball/a04209ba0d1391c828e5b2373181dac63c52ee70", + "reference": "a04209ba0d1391c828e5b2373181dac63c52ee70", "shasum": "" }, "require": { "php": ">=7.2.5", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php80": "^1.15", - "symfony/translation-contracts": "^2" + "symfony/translation-contracts": "^2.3" }, "conflict": { "symfony/config": "<4.4", @@ -6475,6 +6569,9 @@ }, "type": "library", "autoload": { + "files": [ + "Resources/functions.php" + ], "psr-4": { "Symfony\\Component\\Translation\\": "" }, @@ -6499,7 +6596,7 @@ "description": "Symfony Translation Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v5.1.8" + "source": "https://github.com/symfony/translation/tree/v5.2.1" }, "funding": [ { @@ -6515,7 +6612,7 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:01:57+00:00" + "time": "2020-12-08T17:03:37+00:00" }, { "name": "symfony/translation-contracts", @@ -6597,16 +6694,16 @@ }, { "name": "symfony/var-dumper", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "4e13f3fcefb1fcaaa5efb5403581406f4e840b9a" + "reference": "13e7e882eaa55863faa7c4ad7c60f12f1a8b5089" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/4e13f3fcefb1fcaaa5efb5403581406f4e840b9a", - "reference": "4e13f3fcefb1fcaaa5efb5403581406f4e840b9a", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/13e7e882eaa55863faa7c4ad7c60f12f1a8b5089", + "reference": "13e7e882eaa55863faa7c4ad7c60f12f1a8b5089", "shasum": "" }, "require": { @@ -6665,7 +6762,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.1.8" + "source": "https://github.com/symfony/var-dumper/tree/v5.2.1" }, "funding": [ { @@ -6681,7 +6778,7 @@ "type": "tidelift" } ], - "time": "2020-10-27T10:11:13+00:00" + "time": "2020-12-16T17:02:19+00:00" }, { "name": "tgalopin/html-sanitizer", @@ -7235,43 +7332,44 @@ }, { "name": "barryvdh/laravel-ide-helper", - "version": "v2.8.1", + "version": "v2.9.0", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-ide-helper.git", - "reference": "affa55122f83575888d4ebf1728992686e8223de" + "reference": "64a6b902583802c162cdccf7e76dc8619368bf1a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/affa55122f83575888d4ebf1728992686e8223de", - "reference": "affa55122f83575888d4ebf1728992686e8223de", + "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/64a6b902583802c162cdccf7e76dc8619368bf1a", + "reference": "64a6b902583802c162cdccf7e76dc8619368bf1a", "shasum": "" }, "require": { "barryvdh/reflection-docblock": "^2.0.6", - "composer/composer": "^1.6 || ^2.0@dev", - "doctrine/dbal": "~2.3", + "composer/composer": "^1.6 || ^2", + "doctrine/dbal": "^2.6 || ^3", "ext-json": "*", - "illuminate/console": "^6 || ^7 || ^8", - "illuminate/filesystem": "^6 || ^7 || ^8", - "illuminate/support": "^6 || ^7 || ^8", - "php": ">=7.2", + "illuminate/console": "^8", + "illuminate/filesystem": "^8", + "illuminate/support": "^8", + "php": "^7.3 || ^8.0", "phpdocumentor/type-resolver": "^1.1.0" }, "require-dev": { + "ext-pdo_sqlite": "*", "friendsofphp/php-cs-fixer": "^2", - "illuminate/config": "^6 || ^7 || ^8", - "illuminate/view": "^6 || ^7 || ^8", - "mockery/mockery": "^1.3", - "orchestra/testbench": "^4 || ^5 || ^6", + "illuminate/config": "^8", + "illuminate/view": "^8", + "mockery/mockery": "^1.4", + "orchestra/testbench": "^6", "phpunit/phpunit": "^8.5 || ^9", - "spatie/phpunit-snapshot-assertions": "^1.4 || ^2.2 || ^3", + "spatie/phpunit-snapshot-assertions": "^3 || ^4", "vimeo/psalm": "^3.12" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.8-dev" + "dev-master": "2.9-dev" }, "laravel": { "providers": [ @@ -7308,7 +7406,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-ide-helper/issues", - "source": "https://github.com/barryvdh/laravel-ide-helper/tree/master" + "source": "https://github.com/barryvdh/laravel-ide-helper/tree/v2.9.0" }, "funding": [ { @@ -7316,7 +7414,7 @@ "type": "github" } ], - "time": "2020-09-07T07:36:37+00:00" + "time": "2020-12-29T10:11:05+00:00" }, { "name": "barryvdh/reflection-docblock", @@ -7372,23 +7470,23 @@ }, { "name": "beyondcode/laravel-dump-server", - "version": "1.6.0", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/beyondcode/laravel-dump-server.git", - "reference": "1d1b4c066a7f855d34a027f7af49aa77416c3c1b" + "reference": "e27c7b942ab62f6ac7168359393d328ec5215b89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/beyondcode/laravel-dump-server/zipball/1d1b4c066a7f855d34a027f7af49aa77416c3c1b", - "reference": "1d1b4c066a7f855d34a027f7af49aa77416c3c1b", + "url": "https://api.github.com/repos/beyondcode/laravel-dump-server/zipball/e27c7b942ab62f6ac7168359393d328ec5215b89", + "reference": "e27c7b942ab62f6ac7168359393d328ec5215b89", "shasum": "" }, "require": { "illuminate/console": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0", "illuminate/http": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0", "illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0", - "php": "^7.2.5", + "php": ">=7.2.5", "symfony/var-dumper": "^5.0" }, "require-dev": { @@ -7431,9 +7529,9 @@ ], "support": { "issues": "https://github.com/beyondcode/laravel-dump-server/issues", - "source": "https://github.com/beyondcode/laravel-dump-server/tree/1.6.0" + "source": "https://github.com/beyondcode/laravel-dump-server/tree/1.7.0" }, - "time": "2020-10-22T07:39:00+00:00" + "time": "2020-12-15T10:57:43+00:00" }, { "name": "composer/ca-bundle", @@ -7512,16 +7610,16 @@ }, { "name": "composer/composer", - "version": "2.0.7", + "version": "2.0.8", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "cbee637510037f293e641857b2a6223d0ea8008d" + "reference": "62139b2806178adb979d76bd3437534a1a9fd490" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/cbee637510037f293e641857b2a6223d0ea8008d", - "reference": "cbee637510037f293e641857b2a6223d0ea8008d", + "url": "https://api.github.com/repos/composer/composer/zipball/62139b2806178adb979d76bd3437534a1a9fd490", + "reference": "62139b2806178adb979d76bd3437534a1a9fd490", "shasum": "" }, "require": { @@ -7589,7 +7687,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/composer/issues", - "source": "https://github.com/composer/composer/tree/2.0.7" + "source": "https://github.com/composer/composer/tree/2.0.8" }, "funding": [ { @@ -7605,7 +7703,7 @@ "type": "tidelift" } ], - "time": "2020-11-13T16:31:06+00:00" + "time": "2020-12-03T16:20:39+00:00" }, { "name": "composer/package-versions-deprecated", @@ -7763,16 +7861,16 @@ }, { "name": "composer/spdx-licenses", - "version": "1.5.4", + "version": "1.5.5", "source": { "type": "git", "url": "https://github.com/composer/spdx-licenses.git", - "reference": "6946f785871e2314c60b4524851f3702ea4f2223" + "reference": "de30328a7af8680efdc03e396aad24befd513200" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/6946f785871e2314c60b4524851f3702ea4f2223", - "reference": "6946f785871e2314c60b4524851f3702ea4f2223", + "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/de30328a7af8680efdc03e396aad24befd513200", + "reference": "de30328a7af8680efdc03e396aad24befd513200", "shasum": "" }, "require": { @@ -7784,7 +7882,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-main": "1.x-dev" } }, "autoload": { @@ -7822,7 +7920,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/spdx-licenses/issues", - "source": "https://github.com/composer/spdx-licenses/tree/1.5.4" + "source": "https://github.com/composer/spdx-licenses/tree/1.5.5" }, "funding": [ { @@ -7838,7 +7936,7 @@ "type": "tidelift" } ], - "time": "2020-07-15T15:35:07+00:00" + "time": "2020-12-03T16:04:16+00:00" }, { "name": "composer/xdebug-handler", @@ -8005,28 +8103,29 @@ }, { "name": "doctrine/dbal", - "version": "2.12.1", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "adce7a954a1c2f14f85e94aed90c8489af204086" + "reference": "ee6d1260d5cc20ec506455a585945d7bdb98662c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/adce7a954a1c2f14f85e94aed90c8489af204086", - "reference": "adce7a954a1c2f14f85e94aed90c8489af204086", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/ee6d1260d5cc20ec506455a585945d7bdb98662c", + "reference": "ee6d1260d5cc20ec506455a585945d7bdb98662c", "shasum": "" }, "require": { + "composer/package-versions-deprecated": "^1.11.99", "doctrine/cache": "^1.0", "doctrine/event-manager": "^1.0", - "ext-pdo": "*", - "php": "^7.3 || ^8" + "php": "^7.3 || ^8.0" }, "require-dev": { "doctrine/coding-standard": "^8.1", "jetbrains/phpstorm-stubs": "^2019.1", "phpstan/phpstan": "^0.12.40", + "phpstan/phpstan-strict-rules": "^0.12.2", "phpunit/phpunit": "^9.4", "psalm/plugin-phpunit": "^0.10.0", "symfony/console": "^2.0.5|^3.0|^4.0|^5.0", @@ -8046,7 +8145,7 @@ }, "autoload": { "psr-4": { - "Doctrine\\DBAL\\": "lib/Doctrine/DBAL" + "Doctrine\\DBAL\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -8089,14 +8188,13 @@ "queryobject", "sasql", "sql", - "sqlanywhere", "sqlite", "sqlserver", "sqlsrv" ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/2.12.1" + "source": "https://github.com/doctrine/dbal/tree/3.0.0" }, "funding": [ { @@ -8112,7 +8210,7 @@ "type": "tidelift" } ], - "time": "2020-11-14T20:26:58+00:00" + "time": "2020-11-15T18:20:41+00:00" }, { "name": "doctrine/event-manager", @@ -8344,16 +8442,16 @@ }, { "name": "facade/ignition", - "version": "2.5.2", + "version": "2.5.8", "source": { "type": "git", "url": "https://github.com/facade/ignition.git", - "reference": "08668034beb185fa2ac6f09b1034eaa440952ace" + "reference": "8e907d81244649c5ea746e2ec30c32c5f59df472" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/facade/ignition/zipball/08668034beb185fa2ac6f09b1034eaa440952ace", - "reference": "08668034beb185fa2ac6f09b1034eaa440952ace", + "url": "https://api.github.com/repos/facade/ignition/zipball/8e907d81244649c5ea746e2ec30c32c5f59df472", + "reference": "8e907d81244649c5ea746e2ec30c32c5f59df472", "shasum": "" }, "require": { @@ -8417,7 +8515,7 @@ "issues": "https://github.com/facade/ignition/issues", "source": "https://github.com/facade/ignition" }, - "time": "2020-11-17T09:18:51+00:00" + "time": "2020-12-29T09:12:55+00:00" }, { "name": "facade/ignition-contracts", @@ -8472,6 +8570,58 @@ }, "time": "2020-10-16T08:27:54+00:00" }, + { + "name": "fakerphp/faker", + "version": "v1.13.0", + "source": { + "type": "git", + "url": "https://github.com/FakerPHP/Faker.git", + "reference": "ab3f5364d01f2c2c16113442fb987d26e4004913" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/ab3f5364d01f2c2c16113442fb987d26e4004913", + "reference": "ab3f5364d01f2c2c16113442fb987d26e4004913", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "fzaninotto/faker": "*" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-intl": "*", + "phpunit/phpunit": "^7.5.20 || ^8.5.8 || ^9.4.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Faker\\": "src/Faker/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "François Zaninotto" + } + ], + "description": "Faker is a PHP library that generates fake data for you.", + "keywords": [ + "data", + "faker", + "fixtures" + ], + "support": { + "issues": "https://github.com/FakerPHP/Faker/issues", + "source": "https://github.com/FakerPHP/Faker/tree/v1.13.0" + }, + "time": "2020-12-18T16:50:48+00:00" + }, { "name": "felixfbecker/advanced-json-rpc", "version": "v3.1.1", @@ -8638,61 +8788,6 @@ }, "time": "2020-11-01T12:00:00+00:00" }, - { - "name": "fzaninotto/faker", - "version": "v1.9.1", - "source": { - "type": "git", - "url": "https://github.com/fzaninotto/Faker.git", - "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/fc10d778e4b84d5bd315dad194661e091d307c6f", - "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0" - }, - "require-dev": { - "ext-intl": "*", - "phpunit/phpunit": "^4.8.35 || ^5.7", - "squizlabs/php_codesniffer": "^2.9.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.9-dev" - } - }, - "autoload": { - "psr-4": { - "Faker\\": "src/Faker/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "François Zaninotto" - } - ], - "description": "Faker is a PHP library that generates fake data for you.", - "keywords": [ - "data", - "faker", - "fixtures" - ], - "support": { - "issues": "https://github.com/fzaninotto/Faker/issues", - "source": "https://github.com/fzaninotto/Faker/tree/v1.9.1" - }, - "abandoned": true, - "time": "2019-12-12T13:22:17+00:00" - }, { "name": "hamcrest/hamcrest-php", "version": "v2.0.1", @@ -8816,16 +8911,16 @@ }, { "name": "laravel/dusk", - "version": "v6.9.1", + "version": "v6.11.0", "source": { "type": "git", "url": "https://github.com/laravel/dusk.git", - "reference": "13b22f13f4f18f9524e523ec5f06bbb3b2b3fdd9" + "reference": "7e05b3ca4f17afcba528c4c5a2390a2dd9949b38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/dusk/zipball/13b22f13f4f18f9524e523ec5f06bbb3b2b3fdd9", - "reference": "13b22f13f4f18f9524e523ec5f06bbb3b2b3fdd9", + "url": "https://api.github.com/repos/laravel/dusk/zipball/7e05b3ca4f17afcba528c4c5a2390a2dd9949b38", + "reference": "7e05b3ca4f17afcba528c4c5a2390a2dd9949b38", "shasum": "" }, "require": { @@ -8882,31 +8977,31 @@ ], "support": { "issues": "https://github.com/laravel/dusk/issues", - "source": "https://github.com/laravel/dusk/tree/v6.9.1" + "source": "https://github.com/laravel/dusk/tree/v6.11.0" }, - "time": "2020-11-24T16:48:27+00:00" + "time": "2020-12-22T16:57:45+00:00" }, { "name": "maximebf/debugbar", - "version": "v1.16.3", + "version": "v1.16.4", "source": { "type": "git", "url": "https://github.com/maximebf/php-debugbar.git", - "reference": "1a1605b8e9bacb34cc0c6278206d699772e1d372" + "reference": "c86c717e4bf3c6d98422da5c38bfa7b0f494b04c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/1a1605b8e9bacb34cc0c6278206d699772e1d372", - "reference": "1a1605b8e9bacb34cc0c6278206d699772e1d372", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/c86c717e4bf3c6d98422da5c38bfa7b0f494b04c", + "reference": "c86c717e4bf3c6d98422da5c38bfa7b0f494b04c", "shasum": "" }, "require": { - "php": "^7.1", + "php": "^7.1|^8", "psr/log": "^1.0", "symfony/var-dumper": "^2.6|^3|^4|^5" }, "require-dev": { - "phpunit/phpunit": "^5" + "phpunit/phpunit": "^7.5.20 || ^9.4.2" }, "suggest": { "kriswallsmith/assetic": "The best way to manage assets", @@ -8947,9 +9042,9 @@ ], "support": { "issues": "https://github.com/maximebf/php-debugbar/issues", - "source": "https://github.com/maximebf/php-debugbar/tree/v1.16.3" + "source": "https://github.com/maximebf/php-debugbar/tree/v1.16.4" }, - "time": "2020-05-06T07:06:27+00:00" + "time": "2020-12-07T10:48:48+00:00" }, { "name": "mockery/mockery", @@ -9335,16 +9430,16 @@ }, { "name": "phar-io/version", - "version": "3.0.2", + "version": "3.0.4", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "c6bb6825def89e0a32220f88337f8ceaf1975fa0" + "reference": "e4782611070e50613683d2b9a57730e9a3ba5451" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/c6bb6825def89e0a32220f88337f8ceaf1975fa0", - "reference": "c6bb6825def89e0a32220f88337f8ceaf1975fa0", + "url": "https://api.github.com/repos/phar-io/version/zipball/e4782611070e50613683d2b9a57730e9a3ba5451", + "reference": "e4782611070e50613683d2b9a57730e9a3ba5451", "shasum": "" }, "require": { @@ -9380,9 +9475,9 @@ "description": "Library for handling version information and constraints", "support": { "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/master" + "source": "https://github.com/phar-io/version/tree/3.0.4" }, - "time": "2020-06-27T14:39:04+00:00" + "time": "2020-12-13T23:18:30+00:00" }, { "name": "php-webdriver/webdriver", @@ -9615,16 +9710,16 @@ }, { "name": "phpspec/prophecy", - "version": "1.12.1", + "version": "1.12.2", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "8ce87516be71aae9b956f81906aaf0338e0d8a2d" + "reference": "245710e971a030f42e08f4912863805570f23d39" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/8ce87516be71aae9b956f81906aaf0338e0d8a2d", - "reference": "8ce87516be71aae9b956f81906aaf0338e0d8a2d", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/245710e971a030f42e08f4912863805570f23d39", + "reference": "245710e971a030f42e08f4912863805570f23d39", "shasum": "" }, "require": { @@ -9636,7 +9731,7 @@ }, "require-dev": { "phpspec/phpspec": "^6.0", - "phpunit/phpunit": "^8.0 || ^9.0 <9.3" + "phpunit/phpunit": "^8.0 || ^9.0" }, "type": "library", "extra": { @@ -9676,22 +9771,22 @@ ], "support": { "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/1.12.1" + "source": "https://github.com/phpspec/prophecy/tree/1.12.2" }, - "time": "2020-09-29T09:10:42+00:00" + "time": "2020-12-19T10:15:11+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.4", + "version": "9.2.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "0a7f0acf9269c190fd982b5c04423feae986b6e0" + "reference": "f3e026641cc91909d421802dd3ac7827ebfd97e1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/0a7f0acf9269c190fd982b5c04423feae986b6e0", - "reference": "0a7f0acf9269c190fd982b5c04423feae986b6e0", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f3e026641cc91909d421802dd3ac7827ebfd97e1", + "reference": "f3e026641cc91909d421802dd3ac7827ebfd97e1", "shasum": "" }, "require": { @@ -9705,7 +9800,7 @@ "sebastian/code-unit-reverse-lookup": "^2.0.2", "sebastian/complexity": "^2.0", "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0", + "sebastian/lines-of-code": "^1.0.3", "sebastian/version": "^3.0.1", "theseer/tokenizer": "^1.2.0" }, @@ -9747,7 +9842,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.4" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.5" }, "funding": [ { @@ -9755,7 +9850,7 @@ "type": "github" } ], - "time": "2020-11-27T06:15:15+00:00" + "time": "2020-11-28T06:44:49+00:00" }, { "name": "phpunit/php-file-iterator", @@ -10000,16 +10095,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.4.3", + "version": "9.5.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "9fa359ff5ddaa5eb2be2bedb08a6a5787a5807ab" + "reference": "8e16c225d57c3d6808014df6b1dd7598d0a5bbbe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9fa359ff5ddaa5eb2be2bedb08a6a5787a5807ab", - "reference": "9fa359ff5ddaa5eb2be2bedb08a6a5787a5807ab", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/8e16c225d57c3d6808014df6b1dd7598d0a5bbbe", + "reference": "8e16c225d57c3d6808014df6b1dd7598d0a5bbbe", "shasum": "" }, "require": { @@ -10025,7 +10120,7 @@ "phar-io/version": "^3.0.2", "php": ">=7.3", "phpspec/prophecy": "^1.12.1", - "phpunit/php-code-coverage": "^9.2", + "phpunit/php-code-coverage": "^9.2.3", "phpunit/php-file-iterator": "^3.0.5", "phpunit/php-invoker": "^3.1.1", "phpunit/php-text-template": "^2.0.3", @@ -10056,7 +10151,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.4-dev" + "dev-master": "9.5-dev" } }, "autoload": { @@ -10087,7 +10182,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.4.3" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.0" }, "funding": [ { @@ -10099,7 +10194,7 @@ "type": "github" } ], - "time": "2020-11-10T12:53:30+00:00" + "time": "2020-12-04T05:05:53+00:00" }, { "name": "react/promise", @@ -10721,16 +10816,16 @@ }, { "name": "sebastian/lines-of-code", - "version": "1.0.2", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "acf76492a65401babcf5283296fa510782783a7a" + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/acf76492a65401babcf5283296fa510782783a7a", - "reference": "acf76492a65401babcf5283296fa510782783a7a", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", "shasum": "" }, "require": { @@ -10766,7 +10861,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.2" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" }, "funding": [ { @@ -10774,7 +10869,7 @@ "type": "github" } ], - "time": "2020-10-26T17:03:56+00:00" + "time": "2020-11-28T06:42:11+00:00" }, { "name": "sebastian/object-enumerator", @@ -11228,16 +11323,16 @@ }, { "name": "symfony/debug", - "version": "v4.4.16", + "version": "v4.4.18", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "c87adf3fc1cd0bf4758316a3a150d50a8f957ef4" + "reference": "5dfc7825f3bfe9bb74b23d8b8ce0e0894e32b544" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/c87adf3fc1cd0bf4758316a3a150d50a8f957ef4", - "reference": "c87adf3fc1cd0bf4758316a3a150d50a8f957ef4", + "url": "https://api.github.com/repos/symfony/debug/zipball/5dfc7825f3bfe9bb74b23d8b8ce0e0894e32b544", + "reference": "5dfc7825f3bfe9bb74b23d8b8ce0e0894e32b544", "shasum": "" }, "require": { @@ -11277,7 +11372,7 @@ "description": "Symfony Debug Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/debug/tree/v4.4.16" + "source": "https://github.com/symfony/debug/tree/v4.4.18" }, "funding": [ { @@ -11293,20 +11388,20 @@ "type": "tidelift" } ], - "time": "2020-10-24T11:50:19+00:00" + "time": "2020-12-10T16:34:26+00:00" }, { "name": "symfony/filesystem", - "version": "v5.1.8", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "df08650ea7aee2d925380069c131a66124d79177" + "reference": "fa8f8cab6b65e2d99a118e082935344c5ba8c60d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/df08650ea7aee2d925380069c131a66124d79177", - "reference": "df08650ea7aee2d925380069c131a66124d79177", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/fa8f8cab6b65e2d99a118e082935344c5ba8c60d", + "reference": "fa8f8cab6b65e2d99a118e082935344c5ba8c60d", "shasum": "" }, "require": { @@ -11339,7 +11434,7 @@ "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.1.8" + "source": "https://github.com/symfony/filesystem/tree/v5.2.1" }, "funding": [ { @@ -11355,7 +11450,7 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:01:57+00:00" + "time": "2020-11-30T17:05:38+00:00" }, { "name": "theseer/tokenizer", @@ -11409,16 +11504,16 @@ }, { "name": "vimeo/psalm", - "version": "4.2.1", + "version": "4.3.2", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "ea9cb72143b77e7520c52fa37290bd8d8bc88fd9" + "reference": "57b53ff26237074fdf5cbcb034f7da5172be4524" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/ea9cb72143b77e7520c52fa37290bd8d8bc88fd9", - "reference": "ea9cb72143b77e7520c52fa37290bd8d8bc88fd9", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/57b53ff26237074fdf5cbcb034f7da5172be4524", + "reference": "57b53ff26237074fdf5cbcb034f7da5172be4524", "shasum": "" }, "require": { @@ -11450,15 +11545,14 @@ "require-dev": { "amphp/amp": "^2.4.2", "bamarni/composer-bin-plugin": "^1.2", - "brianium/paratest": "^4.0.0", + "brianium/paratest": "^4.0||^6.0", "ext-curl": "*", - "php": "^7.3|^8", "phpdocumentor/reflection-docblock": "^5", - "phpmyadmin/sql-parser": "5.1.0", + "phpmyadmin/sql-parser": "5.1.0||dev-master", "phpspec/prophecy": ">=1.9.0", "phpunit/phpunit": "^9.0", "psalm/plugin-phpunit": "^0.13", - "slevomat/coding-standard": "^5.0", + "slevomat/coding-standard": "^6.3.11", "squizlabs/php_codesniffer": "^3.5", "symfony/process": "^4.3", "weirdan/prophecy-shim": "^1.0 || ^2.0" @@ -11508,9 +11602,9 @@ ], "support": { "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/4.2.1" + "source": "https://github.com/vimeo/psalm/tree/4.3.2" }, - "time": "2020-11-20T14:56:53+00:00" + "time": "2020-12-29T17:37:09+00:00" }, { "name": "webmozart/path-util", @@ -11565,11 +11659,13 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": [], + "stability-flags": { + "pmatseykanets/laravel-scout-postgres": 20 + }, "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "^7.4", + "php": "^7.4|^8.0", "ext-intl": "*", "ext-json": "*", "ext-dom": "*" diff --git a/phpunit.xml b/phpunit.xml index 372850a4..0e065660 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -19,11 +19,6 @@ ./tests/Feature - - - ./app - - @@ -32,5 +27,14 @@ + + + + ./app + + + + + diff --git a/tests/Feature/TokenServiceTest.php b/tests/Feature/TokenServiceTest.php index 1d87b73f..90c878ce 100644 --- a/tests/Feature/TokenServiceTest.php +++ b/tests/Feature/TokenServiceTest.php @@ -28,9 +28,9 @@ class TokenServiceTest extends TestCase $token = $tokenService->getNewToken($data); $valid = $tokenService->validateToken($token); $validData = [ - 'me' => $valid->getClaim('me'), - 'client_id' => $valid->getClaim('client_id'), - 'scope' => $valid->getClaim('scope') + 'me' => $valid->claims()->get('me'), + 'client_id' => $valid->claims()->get('client_id'), + 'scope' => $valid->claims()->get('scope') ]; $this->assertSame($data, $validData); } From 829b2c131f401d4928871fead2a41aadfd134423 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Thu, 31 Dec 2020 13:44:57 +0000 Subject: [PATCH 5/5] Make sure prior article is in prior month when seeding --- database/seeders/ArticlesTableSeeder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/seeders/ArticlesTableSeeder.php b/database/seeders/ArticlesTableSeeder.php index fc7f109f..728d47d8 100644 --- a/database/seeders/ArticlesTableSeeder.php +++ b/database/seeders/ArticlesTableSeeder.php @@ -16,7 +16,7 @@ class ArticlesTableSeeder extends Seeder */ public function run() { - $now = Carbon::now()->subMonth(); + $now = Carbon::now()->subMonth()->subDays(5); $articleFirst = Article::create([ 'title' => 'My New Blog', 'main' => 'This is *my* new blog. It uses `Markdown`.',