From 533e5a89733062ead41399008cd34106fa6020f0 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Thu, 1 Feb 2018 16:46:37 -0600 Subject: [PATCH] Cleanup l5-repository deps and update to latest --- app/Repositories/AircraftRepository.php | 2 +- app/Repositories/AirlineRepository.php | 2 +- app/Repositories/AirportRepository.php | 2 +- app/Repositories/FareRepository.php | 2 +- app/Repositories/FlightRepository.php | 2 +- app/Repositories/NavdataRepository.php | 2 +- app/Repositories/NewsRepository.php | 2 +- app/Repositories/PirepRepository.php | 2 - app/Repositories/RankRepository.php | 2 +- app/Repositories/SettingRepository.php | 2 +- app/Repositories/SubfleetRepository.php | 2 +- .../Traits/CacheableRepository.php | 341 ------------------ composer.json | 2 +- composer.lock | 221 ++++++------ 14 files changed, 121 insertions(+), 465 deletions(-) delete mode 100644 app/Repositories/Traits/CacheableRepository.php diff --git a/app/Repositories/AircraftRepository.php b/app/Repositories/AircraftRepository.php index d8025c09..70344524 100644 --- a/app/Repositories/AircraftRepository.php +++ b/app/Repositories/AircraftRepository.php @@ -3,7 +3,7 @@ namespace App\Repositories; use App\Models\Aircraft; -use App\Repositories\Traits\CacheableRepository; +use Prettus\Repository\Traits\CacheableRepository; use Prettus\Repository\Contracts\CacheableInterface; class AircraftRepository extends BaseRepository implements CacheableInterface diff --git a/app/Repositories/AirlineRepository.php b/app/Repositories/AirlineRepository.php index 99740db7..4403ea2c 100644 --- a/app/Repositories/AirlineRepository.php +++ b/app/Repositories/AirlineRepository.php @@ -3,7 +3,7 @@ namespace App\Repositories; use App\Models\Airline; -use App\Repositories\Traits\CacheableRepository; +use Prettus\Repository\Traits\CacheableRepository; use Prettus\Repository\Contracts\CacheableInterface; diff --git a/app/Repositories/AirportRepository.php b/app/Repositories/AirportRepository.php index a5f07619..51c51bc9 100644 --- a/app/Repositories/AirportRepository.php +++ b/app/Repositories/AirportRepository.php @@ -3,7 +3,7 @@ namespace App\Repositories; use App\Models\Airport; -use App\Repositories\Traits\CacheableRepository; +use Prettus\Repository\Traits\CacheableRepository; use Prettus\Repository\Contracts\CacheableInterface; diff --git a/app/Repositories/FareRepository.php b/app/Repositories/FareRepository.php index 3a42d3ad..55c7eae2 100644 --- a/app/Repositories/FareRepository.php +++ b/app/Repositories/FareRepository.php @@ -3,7 +3,7 @@ namespace App\Repositories; use App\Models\Fare; -use App\Repositories\Traits\CacheableRepository; +use Prettus\Repository\Traits\CacheableRepository; use Prettus\Repository\Contracts\CacheableInterface; class FareRepository extends BaseRepository implements CacheableInterface diff --git a/app/Repositories/FlightRepository.php b/app/Repositories/FlightRepository.php index dafb64f3..20fdc9ce 100644 --- a/app/Repositories/FlightRepository.php +++ b/app/Repositories/FlightRepository.php @@ -3,11 +3,11 @@ namespace App\Repositories; use Illuminate\Http\Request; +use \Prettus\Repository\Traits\CacheableRepository; use Prettus\Repository\Contracts\CacheableInterface; use App\Models\Flight; use App\Repositories\Criteria\WhereCriteria; -use App\Repositories\Traits\CacheableRepository; class FlightRepository extends BaseRepository implements CacheableInterface { diff --git a/app/Repositories/NavdataRepository.php b/app/Repositories/NavdataRepository.php index 0c8e8afb..302fc70d 100644 --- a/app/Repositories/NavdataRepository.php +++ b/app/Repositories/NavdataRepository.php @@ -3,7 +3,7 @@ namespace App\Repositories; use App\Models\Navdata; -use App\Repositories\Traits\CacheableRepository; +use \Prettus\Repository\Traits\CacheableRepository; use Prettus\Repository\Contracts\CacheableInterface; class NavdataRepository extends BaseRepository implements CacheableInterface diff --git a/app/Repositories/NewsRepository.php b/app/Repositories/NewsRepository.php index be29579a..f1dab506 100644 --- a/app/Repositories/NewsRepository.php +++ b/app/Repositories/NewsRepository.php @@ -3,7 +3,7 @@ namespace App\Repositories; use App\Models\News; -use App\Repositories\Traits\CacheableRepository; +use Prettus\Repository\Traits\CacheableRepository; use Prettus\Repository\Contracts\CacheableInterface; class NewsRepository extends BaseRepository implements CacheableInterface diff --git a/app/Repositories/PirepRepository.php b/app/Repositories/PirepRepository.php index 9c080655..752dff0a 100644 --- a/app/Repositories/PirepRepository.php +++ b/app/Repositories/PirepRepository.php @@ -5,8 +5,6 @@ namespace App\Repositories; use App\Models\Enums\PirepState; use App\Models\Pirep; use App\Models\User; -use App\Repositories\Traits\CacheableRepository; -use Prettus\Repository\Contracts\CacheableInterface; class PirepRepository extends BaseRepository { diff --git a/app/Repositories/RankRepository.php b/app/Repositories/RankRepository.php index 323546a8..d3d5236e 100644 --- a/app/Repositories/RankRepository.php +++ b/app/Repositories/RankRepository.php @@ -3,7 +3,7 @@ namespace App\Repositories; use App\Models\Rank; -use App\Repositories\Traits\CacheableRepository; +use Prettus\Repository\Traits\CacheableRepository; use Prettus\Repository\Contracts\CacheableInterface; class RankRepository extends BaseRepository implements CacheableInterface diff --git a/app/Repositories/SettingRepository.php b/app/Repositories/SettingRepository.php index fd873020..5b1182e1 100644 --- a/app/Repositories/SettingRepository.php +++ b/app/Repositories/SettingRepository.php @@ -7,7 +7,7 @@ use Illuminate\Support\Carbon; use Prettus\Repository\Contracts\CacheableInterface; use App\Models\Setting; -use App\Repositories\Traits\CacheableRepository; +use Prettus\Repository\Traits\CacheableRepository; use App\Exceptions\SettingNotFound; use Prettus\Validator\Exceptions\ValidatorException; diff --git a/app/Repositories/SubfleetRepository.php b/app/Repositories/SubfleetRepository.php index 08dcbd6b..42e95198 100644 --- a/app/Repositories/SubfleetRepository.php +++ b/app/Repositories/SubfleetRepository.php @@ -3,7 +3,7 @@ namespace App\Repositories; use App\Models\Subfleet; -use App\Repositories\Traits\CacheableRepository; +use Prettus\Repository\Traits\CacheableRepository; use Prettus\Repository\Contracts\CacheableInterface; class SubfleetRepository extends BaseRepository implements CacheableInterface diff --git a/app/Repositories/Traits/CacheableRepository.php b/app/Repositories/Traits/CacheableRepository.php deleted file mode 100644 index 7edd4c58..00000000 --- a/app/Repositories/Traits/CacheableRepository.php +++ /dev/null @@ -1,341 +0,0 @@ -cacheRepository = $repository; - - return $this; - } - - /** - * Return instance of Cache Repository - * - * @return CacheRepository - */ - public function getCacheRepository() - { - if (is_null($this->cacheRepository)) { - $this->cacheRepository = app(config('repository.cache.repository', 'cache')); - } - - return $this->cacheRepository; - } - - /** - * Skip Cache - * - * @param bool $status - * - * @return $this - */ - public function skipCache($status = true) - { - $this->cacheSkip = $status; - - return $this; - } - - /** - * @return bool - */ - public function isSkippedCache() - { - $skipped = isset($this->cacheSkip) ? $this->cacheSkip : false; - $request = app('Illuminate\Http\Request'); - $skipCacheParam = config('repository.cache.params.skipCache', 'skipCache'); - - if ($request->has($skipCacheParam) && $request->get($skipCacheParam)) { - $skipped = true; - } - - return $skipped; - } - - /** - * @param $method - * - * @return bool - */ - protected function allowedCache($method) - { - $cacheEnabled = config('repository.cache.enabled', true); - - if (!$cacheEnabled) { - return false; - } - - $cacheOnly = isset($this->cacheOnly) ? $this->cacheOnly : config('repository.cache.allowed.only', null); - $cacheExcept = isset($this->cacheExcept) ? $this->cacheExcept : config('repository.cache.allowed.except', null); - - if (is_array($cacheOnly)) { - return in_array($method, $cacheOnly); - } - - if (is_array($cacheExcept)) { - return !in_array($method, $cacheExcept); - } - - if (is_null($cacheOnly) && is_null($cacheExcept)) { - return true; - } - - return false; - } - - /** - * Get Cache key for the method - * - * @param $method - * @param $args - * - * @return string - */ - public function getCacheKey($method, $args = null) - { - - $request = app('Illuminate\Http\Request'); - $args = serialize($args); - $criteria = $this->serializeCriteria(); - $key = sprintf('%s@%s-%s', get_called_class(), $method, md5($args . $criteria . $request->fullUrl())); - - CacheKeys::putKey(get_called_class(), $key); - - return $key; - - } - - /** - * Serialize the criteria making sure the Closures are taken care of. - * - * @return string - */ - protected function serializeCriteria() - { - try { - return serialize($this->getCriteria()); - } catch (Exception $e) { - return serialize($this->getCriteria()->map(function ($criterion) { - return $this->serializeCriterion($criterion); - })); - } - } - - /** - * Serialize single criterion with customized serialization of Closures. - * - * @param \Prettus\Repository\Contracts\CriteriaInterface $criterion - * @return \Prettus\Repository\Contracts\CriteriaInterface|array - * - * @throws \Exception - */ - protected function serializeCriterion($criterion) - { - try { - serialize($criterion); - - return $criterion; - } catch (Exception $e) { - // We want to take care of the closure serialization errors, - // other than that we will simply re-throw the exception. - if ($e->getMessage() !== "Serialization of 'Closure' is not allowed") { - throw $e; - } - - $r = new ReflectionObject($criterion); - - return [ - 'hash' => md5((string)$r), - 'properties' => $r->getProperties(), - ]; - } - } - - /** - * Get cache minutes - * - * @return int - */ - public function getCacheMinutes() - { - $cacheMinutes = isset($this->cacheMinutes) ? $this->cacheMinutes : config('repository.cache.minutes', 30); - - return $cacheMinutes; - } - - /** - * Retrieve all data of repository - * - * @param array $columns - * - * @return mixed - */ - public function all($columns = ['*']) - { - if (!$this->allowedCache('all') || $this->isSkippedCache()) { - return parent::all($columns); - } - - $key = $this->getCacheKey('all', func_get_args()); - $minutes = $this->getCacheMinutes(); - $value = $this->getCacheRepository()->remember($key, $minutes, function () use ($columns) { - return parent::all($columns); - }); - - $this->resetModel(); - $this->resetScope(); - return $value; - } - - /** - * Retrieve all data of repository, paginated - * - * @param null $limit - * @param array $columns - * - * @return mixed - */ - public function paginate($limit = null, $columns = ['*'], $method='paginate') - { - if (!$this->allowedCache('paginate') || $this->isSkippedCache()) { - return parent::paginate($limit, $columns, $method); - } - - $key = $this->getCacheKey('paginate', func_get_args()); - - $minutes = $this->getCacheMinutes(); - $value = $this->getCacheRepository()->remember($key, $minutes, function () use ($limit, $columns, $method) { - return parent::paginate($limit, $columns, $method); - }); - - $this->resetModel(); - $this->resetScope(); - return $value; - } - - /** - * Find data by id - * - * @param $id - * @param array $columns - * - * @return mixed - */ - public function find($id, $columns = ['*']) - { - if (!$this->allowedCache('find') || $this->isSkippedCache()) { - return parent::find($id, $columns); - } - - $key = $this->getCacheKey('find', func_get_args()); - $minutes = $this->getCacheMinutes(); - $value = $this->getCacheRepository()->remember($key, $minutes, function () use ($id, $columns) { - return parent::find($id, $columns); - }); - - $this->resetModel(); - $this->resetScope(); - return $value; - } - - /** - * Find data by field and value - * - * @param $field - * @param $value - * @param array $columns - * - * @return mixed - */ - public function findByField($field, $value = null, $columns = ['*']) - { - if (!$this->allowedCache('findByField') || $this->isSkippedCache()) { - return parent::findByField($field, $value, $columns); - } - - $key = $this->getCacheKey('findByField', func_get_args()); - $minutes = $this->getCacheMinutes(); - $value = $this->getCacheRepository()->remember($key, $minutes, function () use ($field, $value, $columns) { - return parent::findByField($field, $value, $columns); - }); - - $this->resetModel(); - $this->resetScope(); - return $value; - } - - /** - * Find data by multiple fields - * - * @param array $where - * @param array $columns - * - * @return mixed - */ - public function findWhere(array $where, $columns = ['*']) - { - if (!$this->allowedCache('findWhere') || $this->isSkippedCache()) { - return parent::findWhere($where, $columns); - } - - $key = $this->getCacheKey('findWhere', func_get_args()); - $minutes = $this->getCacheMinutes(); - $value = $this->getCacheRepository()->remember($key, $minutes, function () use ($where, $columns) { - return parent::findWhere($where, $columns); - }); - - $this->resetModel(); - $this->resetScope(); - return $value; - } - - /** - * Find data by Criteria - * - * @param CriteriaInterface $criteria - * - * @return mixed - */ - public function getByCriteria(CriteriaInterface $criteria) - { - if (!$this->allowedCache('getByCriteria') || $this->isSkippedCache()) { - return parent::getByCriteria($criteria); - } - - $key = $this->getCacheKey('getByCriteria', func_get_args()); - $minutes = $this->getCacheMinutes(); - $value = $this->getCacheRepository()->remember($key, $minutes, function () use ($criteria) { - return parent::getByCriteria($criteria); - }); - - $this->resetModel(); - $this->resetScope(); - return $value; - } -} diff --git a/composer.json b/composer.json index ed561bfa..05fe45a3 100755 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "doctrine/dbal": "2.5.12", "doctrine/inflector": "1.1.0", "doctrine/instantiator": "1.0.5", - "prettus/l5-repository": "2.6.28", + "prettus/l5-repository": "2.6.32", "spatie/laravel-pjax": "1.3.1", "symfony/inflector": "3.4.3", "symfony/event-dispatcher": "3.4.3", diff --git a/composer.lock b/composer.lock index 9236e706..7cf66a7d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "73e622573226dbe7cba66fc7a6f40293", + "content-hash": "eaef557a981f6f78f8b16fbeb75fd136", "packages": [ { "name": "arrilot/laravel-widgets", @@ -983,16 +983,16 @@ }, { "name": "google/apiclient-services", - "version": "v0.43", + "version": "v0.44", "source": { "type": "git", "url": "https://github.com/google/google-api-php-client-services.git", - "reference": "c8c09a1b9f94a396c327e7d63296e32c59cd5dc4" + "reference": "7f1b3a3f387fc3435f27003977ebf5989f8bcca2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/c8c09a1b9f94a396c327e7d63296e32c59cd5dc4", - "reference": "c8c09a1b9f94a396c327e7d63296e32c59cd5dc4", + "url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/7f1b3a3f387fc3435f27003977ebf5989f8bcca2", + "reference": "7f1b3a3f387fc3435f27003977ebf5989f8bcca2", "shasum": "" }, "require": { @@ -1016,20 +1016,20 @@ "keywords": [ "google" ], - "time": "2018-01-22T00:23:18+00:00" + "time": "2018-01-28T00:23:18+00:00" }, { "name": "google/auth", - "version": "v1.2.0", + "version": "v1.2.1", "source": { "type": "git", "url": "https://github.com/google/google-auth-library-php.git", - "reference": "f3fc99fd621f339ee3d4de01bd6a709ed1396116" + "reference": "da0062d279c9459350808a4fb63dbc08b90d6b90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/f3fc99fd621f339ee3d4de01bd6a709ed1396116", - "reference": "f3fc99fd621f339ee3d4de01bd6a709ed1396116", + "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/da0062d279c9459350808a4fb63dbc08b90d6b90", + "reference": "da0062d279c9459350808a4fb63dbc08b90d6b90", "shasum": "" }, "require": { @@ -1043,7 +1043,7 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^1.11", "guzzlehttp/promises": "0.1.1|^1.3", - "phpunit/phpunit": "^4.8.36", + "phpunit/phpunit": "^4.8.36|^5.7", "sebastian/comparator": ">=1.2.3" }, "type": "library", @@ -1063,7 +1063,7 @@ "google", "oauth2" ], - "time": "2017-12-06T21:27:53+00:00" + "time": "2018-01-24T18:28:42+00:00" }, { "name": "guzzlehttp/guzzle", @@ -1817,16 +1817,16 @@ }, { "name": "league/flysystem", - "version": "1.0.41", + "version": "1.0.42", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "f400aa98912c561ba625ea4065031b7a41e5a155" + "reference": "09eabc54e199950041aef258a85847676496fe8e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/f400aa98912c561ba625ea4065031b7a41e5a155", - "reference": "f400aa98912c561ba625ea4065031b7a41e5a155", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/09eabc54e199950041aef258a85847676496fe8e", + "reference": "09eabc54e199950041aef258a85847676496fe8e", "shasum": "" }, "require": { @@ -1837,12 +1837,13 @@ }, "require-dev": { "ext-fileinfo": "*", - "mockery/mockery": "~0.9", - "phpspec/phpspec": "^2.2", - "phpunit/phpunit": "~4.8" + "phpspec/phpspec": "^3.4", + "phpunit/phpunit": "^5.7" }, "suggest": { "ext-fileinfo": "Required for MimeType", + "ext-ftp": "Allows you to use FTP server storage", + "ext-openssl": "Allows you to use FTPS server storage", "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", @@ -1866,7 +1867,7 @@ "League\\Flysystem\\": "src/" } }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1896,7 +1897,7 @@ "sftp", "storage" ], - "time": "2017-08-06T17:41:04+00:00" + "time": "2018-01-27T16:03:56+00:00" }, { "name": "league/fractal", @@ -2347,16 +2348,16 @@ }, { "name": "nikic/php-parser", - "version": "v3.1.3", + "version": "v3.1.4", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "579f4ce846734a1cf55d6a531d00ca07a43e3cda" + "reference": "e57b3a09784f846411aa7ed664eedb73e3399078" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/579f4ce846734a1cf55d6a531d00ca07a43e3cda", - "reference": "579f4ce846734a1cf55d6a531d00ca07a43e3cda", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/e57b3a09784f846411aa7ed664eedb73e3399078", + "reference": "e57b3a09784f846411aa7ed664eedb73e3399078", "shasum": "" }, "require": { @@ -2394,7 +2395,7 @@ "parser", "php" ], - "time": "2017-12-26T14:43:21+00:00" + "time": "2018-01-25T21:31:33+00:00" }, { "name": "nwidart/laravel-modules", @@ -2834,16 +2835,16 @@ }, { "name": "prettus/l5-repository", - "version": "2.6.28", + "version": "2.6.32", "source": { "type": "git", "url": "https://github.com/andersao/l5-repository.git", - "reference": "3ac622779572030dac57178e50bf9ee00884e8f6" + "reference": "f6ebfffee80a38e1d2dcf479e70b1a9ead397c24" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/andersao/l5-repository/zipball/3ac622779572030dac57178e50bf9ee00884e8f6", - "reference": "3ac622779572030dac57178e50bf9ee00884e8f6", + "url": "https://api.github.com/repos/andersao/l5-repository/zipball/f6ebfffee80a38e1d2dcf479e70b1a9ead397c24", + "reference": "f6ebfffee80a38e1d2dcf479e70b1a9ead397c24", "shasum": "" }, "require": { @@ -2858,13 +2859,11 @@ }, "suggest": { "league/fractal": "Required to use the Fractal Presenter (0.12.*).", + "prettus/laravel-validation": "Required to provide easy validation with the repository (1.1.*)", "robclancy/presenter": "Required to use the Presenter Model (1.3.*)" }, "type": "library", "extra": { - "branch-alias": { - "dev-develop": "2.2-dev" - }, "laravel": { "providers": [ "Prettus\\Repository\\Providers\\RepositoryServiceProvider" @@ -2895,7 +2894,7 @@ "model", "repository" ], - "time": "2017-11-13T15:11:36+00:00" + "time": "2018-01-27T15:53:20+00:00" }, { "name": "prettus/laravel-validation", @@ -3709,16 +3708,16 @@ }, { "name": "symfony/console", - "version": "v3.4.3", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "8394c8ef121949e8f858f13bc1e34f05169e4e7d" + "reference": "26b6f419edda16c19775211987651cb27baea7f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/8394c8ef121949e8f858f13bc1e34f05169e4e7d", - "reference": "8394c8ef121949e8f858f13bc1e34f05169e4e7d", + "url": "https://api.github.com/repos/symfony/console/zipball/26b6f419edda16c19775211987651cb27baea7f1", + "reference": "26b6f419edda16c19775211987651cb27baea7f1", "shasum": "" }, "require": { @@ -3774,7 +3773,7 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2018-01-03T07:37:34+00:00" + "time": "2018-01-29T09:03:43+00:00" }, { "name": "symfony/css-selector", @@ -3831,16 +3830,16 @@ }, { "name": "symfony/debug", - "version": "v3.4.3", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "603b95dda8b00020e4e6e60dc906e7b715b1c245" + "reference": "53f6af2805daf52a43b393b93d2f24925d35c937" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/603b95dda8b00020e4e6e60dc906e7b715b1c245", - "reference": "603b95dda8b00020e4e6e60dc906e7b715b1c245", + "url": "https://api.github.com/repos/symfony/debug/zipball/53f6af2805daf52a43b393b93d2f24925d35c937", + "reference": "53f6af2805daf52a43b393b93d2f24925d35c937", "shasum": "" }, "require": { @@ -3883,7 +3882,7 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2018-01-03T17:14:19+00:00" + "time": "2018-01-18T22:16:57+00:00" }, { "name": "symfony/dom-crawler", @@ -4006,7 +4005,7 @@ }, { "name": "symfony/finder", - "version": "v3.4.3", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", @@ -4055,16 +4054,16 @@ }, { "name": "symfony/http-foundation", - "version": "v3.4.3", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "4a213be1cc8598089b8c7451529a2927b49b5d26" + "reference": "8c39071ac9cc7e6d8dab1d556c990dc0d2cc3d30" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/4a213be1cc8598089b8c7451529a2927b49b5d26", - "reference": "4a213be1cc8598089b8c7451529a2927b49b5d26", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/8c39071ac9cc7e6d8dab1d556c990dc0d2cc3d30", + "reference": "8c39071ac9cc7e6d8dab1d556c990dc0d2cc3d30", "shasum": "" }, "require": { @@ -4105,20 +4104,20 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2018-01-03T17:14:19+00:00" + "time": "2018-01-29T09:03:43+00:00" }, { "name": "symfony/http-kernel", - "version": "v3.4.3", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "1c2a82d6a8ec9b354fe4ef48ad1ad3f1a4f7db0e" + "reference": "911d2e5dd4beb63caad9a72e43857de984301907" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/1c2a82d6a8ec9b354fe4ef48ad1ad3f1a4f7db0e", - "reference": "1c2a82d6a8ec9b354fe4ef48ad1ad3f1a4f7db0e", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/911d2e5dd4beb63caad9a72e43857de984301907", + "reference": "911d2e5dd4beb63caad9a72e43857de984301907", "shasum": "" }, "require": { @@ -4126,7 +4125,7 @@ "psr/log": "~1.0", "symfony/debug": "~2.8|~3.0|~4.0", "symfony/event-dispatcher": "~2.8|~3.0|~4.0", - "symfony/http-foundation": "^3.3.11|~4.0" + "symfony/http-foundation": "^3.4.4|^4.0.4" }, "conflict": { "symfony/config": "<2.8", @@ -4193,7 +4192,7 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "time": "2018-01-05T08:33:00+00:00" + "time": "2018-01-29T12:29:46+00:00" }, { "name": "symfony/inflector", @@ -4346,16 +4345,16 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.6.0", + "version": "v1.7.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296" + "reference": "78be803ce01e55d3491c1397cf1c64beb9c1b63b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296", - "reference": "2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/78be803ce01e55d3491c1397cf1c64beb9c1b63b", + "reference": "78be803ce01e55d3491c1397cf1c64beb9c1b63b", "shasum": "" }, "require": { @@ -4367,7 +4366,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.6-dev" + "dev-master": "1.7-dev" } }, "autoload": { @@ -4401,20 +4400,20 @@ "portable", "shim" ], - "time": "2017-10-11T12:05:26+00:00" + "time": "2018-01-30T19:27:44+00:00" }, { "name": "symfony/polyfill-php70", - "version": "v1.6.0", + "version": "v1.7.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "0442b9c0596610bd24ae7b5f0a6cdbbc16d9fcff" + "reference": "3532bfcd8f933a7816f3a0a59682fc404776600f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/0442b9c0596610bd24ae7b5f0a6cdbbc16d9fcff", - "reference": "0442b9c0596610bd24ae7b5f0a6cdbbc16d9fcff", + "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/3532bfcd8f933a7816f3a0a59682fc404776600f", + "reference": "3532bfcd8f933a7816f3a0a59682fc404776600f", "shasum": "" }, "require": { @@ -4424,7 +4423,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.6-dev" + "dev-master": "1.7-dev" } }, "autoload": { @@ -4460,20 +4459,20 @@ "portable", "shim" ], - "time": "2017-10-11T12:05:26+00:00" + "time": "2018-01-30T19:27:44+00:00" }, { "name": "symfony/process", - "version": "v3.4.3", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "ff69f110c6b33fd33cd2089ba97d6112f44ef0ba" + "reference": "09a5172057be8fc677840e591b17f385e58c7c0d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/ff69f110c6b33fd33cd2089ba97d6112f44ef0ba", - "reference": "ff69f110c6b33fd33cd2089ba97d6112f44ef0ba", + "url": "https://api.github.com/repos/symfony/process/zipball/09a5172057be8fc677840e591b17f385e58c7c0d", + "reference": "09a5172057be8fc677840e591b17f385e58c7c0d", "shasum": "" }, "require": { @@ -4509,11 +4508,11 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2018-01-03T07:37:34+00:00" + "time": "2018-01-29T09:03:43+00:00" }, { "name": "symfony/property-access", - "version": "v3.4.3", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/symfony/property-access.git", @@ -4581,16 +4580,16 @@ }, { "name": "symfony/routing", - "version": "v3.4.3", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "e2b6d6fe7b090c7af720b75c7722c6dfa7a52658" + "reference": "235d01730d553a97732990588407eaf6779bb4b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/e2b6d6fe7b090c7af720b75c7722c6dfa7a52658", - "reference": "e2b6d6fe7b090c7af720b75c7722c6dfa7a52658", + "url": "https://api.github.com/repos/symfony/routing/zipball/235d01730d553a97732990588407eaf6779bb4b2", + "reference": "235d01730d553a97732990588407eaf6779bb4b2", "shasum": "" }, "require": { @@ -4655,20 +4654,20 @@ "uri", "url" ], - "time": "2018-01-04T15:09:34+00:00" + "time": "2018-01-16T18:03:57+00:00" }, { "name": "symfony/serializer", - "version": "v3.4.3", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "054e20557e48276064a5698e3444d3eb6beef139" + "reference": "abd3c5bd03fb5634d855293c47de059f72981830" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/054e20557e48276064a5698e3444d3eb6beef139", - "reference": "054e20557e48276064a5698e3444d3eb6beef139", + "url": "https://api.github.com/repos/symfony/serializer/zipball/abd3c5bd03fb5634d855293c47de059f72981830", + "reference": "abd3c5bd03fb5634d855293c47de059f72981830", "shasum": "" }, "require": { @@ -4733,20 +4732,20 @@ ], "description": "Symfony Serializer Component", "homepage": "https://symfony.com", - "time": "2018-01-03T07:37:34+00:00" + "time": "2018-01-19T11:19:37+00:00" }, { "name": "symfony/translation", - "version": "v3.4.3", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "17b5962d252b2d6d1d37a2485ebb7ddc5b2bef0a" + "reference": "10b32cf0eae28b9b39fe26c456c42b19854c4b84" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/17b5962d252b2d6d1d37a2485ebb7ddc5b2bef0a", - "reference": "17b5962d252b2d6d1d37a2485ebb7ddc5b2bef0a", + "url": "https://api.github.com/repos/symfony/translation/zipball/10b32cf0eae28b9b39fe26c456c42b19854c4b84", + "reference": "10b32cf0eae28b9b39fe26c456c42b19854c4b84", "shasum": "" }, "require": { @@ -4801,20 +4800,20 @@ ], "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "time": "2018-01-03T07:37:34+00:00" + "time": "2018-01-18T22:16:57+00:00" }, { "name": "symfony/var-dumper", - "version": "v3.4.3", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "545be7e78ccbec43e599f10ff7500d0b09eda9d0" + "reference": "472a9849930cf21f73abdb02240f17cf5b5bd1a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/545be7e78ccbec43e599f10ff7500d0b09eda9d0", - "reference": "545be7e78ccbec43e599f10ff7500d0b09eda9d0", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/472a9849930cf21f73abdb02240f17cf5b5bd1a7", + "reference": "472a9849930cf21f73abdb02240f17cf5b5bd1a7", "shasum": "" }, "require": { @@ -4870,7 +4869,7 @@ "debug", "dump" ], - "time": "2018-01-03T17:14:19+00:00" + "time": "2018-01-29T09:03:43+00:00" }, { "name": "symfony/yaml", @@ -6117,16 +6116,16 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "4.2.0", + "version": "4.3.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "66465776cfc249844bde6d117abff1d22e06c2da" + "reference": "94fd0001232e47129dd3504189fa1c7225010d08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/66465776cfc249844bde6d117abff1d22e06c2da", - "reference": "66465776cfc249844bde6d117abff1d22e06c2da", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08", + "reference": "94fd0001232e47129dd3504189fa1c7225010d08", "shasum": "" }, "require": { @@ -6164,7 +6163,7 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2017-11-27T17:38:31+00:00" + "time": "2017-11-30T07:14:17+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -6748,21 +6747,21 @@ }, { "name": "sebastian/comparator", - "version": "2.1.2", + "version": "2.1.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "11c07feade1d65453e06df3b3b90171d6d982087" + "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/11c07feade1d65453e06df3b3b90171d6d982087", - "reference": "11c07feade1d65453e06df3b3b90171d6d982087", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9", + "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9", "shasum": "" }, "require": { "php": "^7.0", - "sebastian/diff": "^2.0", + "sebastian/diff": "^2.0 || ^3.0", "sebastian/exporter": "^3.1" }, "require-dev": { @@ -6808,7 +6807,7 @@ "compare", "equality" ], - "time": "2018-01-12T06:34:42+00:00" + "time": "2018-02-01T13:46:46+00:00" }, { "name": "sebastian/diff", @@ -7262,7 +7261,7 @@ }, { "name": "symfony/class-loader", - "version": "v3.4.3", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/symfony/class-loader.git", @@ -7358,16 +7357,16 @@ }, { "name": "webmozart/assert", - "version": "1.2.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f" + "reference": "0df1908962e7a3071564e857d86874dad1ef204a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f", + "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a", + "reference": "0df1908962e7a3071564e857d86874dad1ef204a", "shasum": "" }, "require": { @@ -7404,7 +7403,7 @@ "check", "validate" ], - "time": "2016-11-23T20:04:58+00:00" + "time": "2018-01-29T19:49:41+00:00" }, { "name": "zircote/swagger-php",