From 0a2daf22a79fa38725654b5cad26ed7e10b5c735 Mon Sep 17 00:00:00 2001 From: Aronne Brivio Date: Sun, 21 Mar 2021 19:26:10 +0100 Subject: [PATCH] Dependencies update + update README --- README.md | 14 +++++++++----- composer.lock | 46 +++++++++++++++++++++------------------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index d5f511c..09c4945 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,11 @@ APIs will be available at `http://localhost:PHP_HOST_PORT`, where `PHP_HOST_PORT You can enable or disable XDebug using the `XDEBUG_MODE` environment variable. ## Test -Tests are under `/tests` folder, run it with `phpunit`. +Tests are under `/tests` folder, run it with `phpunit`: +```bash +docker-compose run --rm blog-lumen /var/www/html/vendor/bin/phpunit --coverage-html /tmp --colors=always -c /var/www/html/phpunit.xml --testsuite 'Application Test Suite' +``` + ## ToDo - [x] Upgrade to Lumen 8.x @@ -32,10 +36,10 @@ Tests are under `/tests` folder, run it with `phpunit`. - [x] Automated PHP-CS-Fixer - [x] Redis cache - [x] Clean up local Docker environment -- [X] Review CI Docker environment -- [X] Use Github workflow -- [X] Setup a simple production environment -- [X] Containerized infrastructure for server +- [x] Review CI Docker environment +- [x] Use Github workflow +- [x] Setup a simple production environment +- [x] Containerized infrastructure for server - [ ] Makefile - [ ] Pagination diff --git a/composer.lock b/composer.lock index 8bdaeb6..83b89ac 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": "74b814e128f39a6a69664353d3de7e4f", + "content-hash": "1a7a99695c6e9c006e32526f32793281", "packages": [ { "name": "brick/math", @@ -933,16 +933,16 @@ }, { "name": "guzzlehttp/psr7", - "version": "1.7.0", + "version": "1.8.1", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3" + "reference": "35ea11d335fd638b5882ff1725228b3d35496ab1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/53330f47520498c0ae1f61f7e2c90f55690c06a3", - "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/35ea11d335fd638b5882ff1725228b3d35496ab1", + "reference": "35ea11d335fd638b5882ff1725228b3d35496ab1", "shasum": "" }, "require": { @@ -1002,9 +1002,9 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/1.7.0" + "source": "https://github.com/guzzle/psr7/tree/1.8.1" }, - "time": "2020-09-30T07:37:11+00:00" + "time": "2021-03-21T16:25:00+00:00" }, { "name": "http-interop/http-factory-guzzle", @@ -6827,16 +6827,16 @@ }, { "name": "tymon/jwt-auth", - "version": "dev-develop", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/tymondesigns/jwt-auth.git", - "reference": "ab00f2d7cce5f043067aef7849cdc792de2df635" + "reference": "e588cb719539366c0e2f6017f975379cb73e9680" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tymondesigns/jwt-auth/zipball/ab00f2d7cce5f043067aef7849cdc792de2df635", - "reference": "ab00f2d7cce5f043067aef7849cdc792de2df635", + "url": "https://api.github.com/repos/tymondesigns/jwt-auth/zipball/e588cb719539366c0e2f6017f975379cb73e9680", + "reference": "e588cb719539366c0e2f6017f975379cb73e9680", "shasum": "" }, "require": { @@ -6847,17 +6847,15 @@ "lcobucci/jwt": "<3.4", "namshi/jose": "^7.0", "nesbot/carbon": "^1.0|^2.0", - "php": "^7.2|^8.0" + "php": "^5.5.9|^7.0" }, "require-dev": { "illuminate/console": "^5.2|^6|^7|^8", "illuminate/database": "^5.2|^6|^7|^8", "illuminate/routing": "^5.2|^6|^7|^8", "mockery/mockery": ">=0.9.9", - "phpunit/phpunit": "^8.5|^9.4", - "yoast/phpunit-polyfills": "^0.2.0" + "phpunit/phpunit": "~4.8|~6.0" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { @@ -6909,7 +6907,7 @@ "type": "patreon" } ], - "time": "2021-02-02T14:44:28+00:00" + "time": "2020-11-27T12:32:42+00:00" }, { "name": "vlucas/phpdotenv", @@ -7544,16 +7542,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v2.18.3", + "version": "v2.18.4", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "ab99202fccff2a9f97592fbe1b5c76dd06df3513" + "reference": "06f764e3cb6d60822d8f5135205f9d32b5508a31" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/ab99202fccff2a9f97592fbe1b5c76dd06df3513", - "reference": "ab99202fccff2a9f97592fbe1b5c76dd06df3513", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/06f764e3cb6d60822d8f5135205f9d32b5508a31", + "reference": "06f764e3cb6d60822d8f5135205f9d32b5508a31", "shasum": "" }, "require": { @@ -7636,7 +7634,7 @@ "description": "A tool to automatically fix PHP code style", "support": { "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", - "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v2.18.3" + "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v2.18.4" }, "funding": [ { @@ -7644,7 +7642,7 @@ "type": "github" } ], - "time": "2021-03-10T19:39:05+00:00" + "time": "2021-03-20T14:52:33+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -10076,9 +10074,7 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": { - "tymon/jwt-auth": 20 - }, + "stability-flags": [], "prefer-stable": true, "prefer-lowest": false, "platform": {