diff --git a/composer.lock b/composer.lock index dd66e95..7094932 100644 --- a/composer.lock +++ b/composer.lock @@ -1,28 +1,31 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], "content-hash": "28f048fa53d268c98a6cbcd9bb79d9fe", "packages": [ { "name": "firebase/php-jwt", - "version": "v4.0.0", + "version": "v5.1.0", "source": { "type": "git", "url": "https://github.com/firebase/php-jwt.git", - "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35" + "reference": "4566062c68f76f43d44f1643f4970fe89757d4c6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35", - "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/4566062c68f76f43d44f1643f4970fe89757d4c6", + "reference": "4566062c68f76f43d44f1643f4970fe89757d4c6", "shasum": "" }, "require": { "php": ">=5.3.0" }, + "require-dev": { + "phpunit/phpunit": "^4.8|^5" + }, "type": "library", "autoload": { "psr-4": { @@ -47,43 +50,180 @@ ], "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", "homepage": "https://github.com/firebase/php-jwt", - "time": "2016-07-18T04:51:16+00:00" + "time": "2020-02-24T23:15:03+00:00" }, { - "name": "phpdocumentor/reflection-docblock", - "version": "2.0.5", + "name": "nikic/fast-route", + "version": "v1.3.0", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "e6a969a640b00d8daa3c66518b0405fb41ae0c4b" + "url": "https://github.com/nikic/FastRoute.git", + "reference": "181d480e08d9476e61381e04a71b34dc0432e812" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/e6a969a640b00d8daa3c66518b0405fb41ae0c4b", - "reference": "e6a969a640b00d8daa3c66518b0405fb41ae0c4b", + "url": "https://api.github.com/repos/nikic/FastRoute/zipball/181d480e08d9476e61381e04a71b34dc0432e812", + "reference": "181d480e08d9476e61381e04a71b34dc0432e812", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=5.4.0" }, "require-dev": { - "phpunit/phpunit": "~4.0" + "phpunit/phpunit": "^4.8.35|~5.7" }, - "suggest": { - "dflydev/markdown": "~1.0", - "erusev/parsedown": "~1.0" + "type": "library", + "autoload": { + "psr-4": { + "FastRoute\\": "src/" + }, + "files": [ + "src/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov", + "email": "nikic@php.net" + } + ], + "description": "Fast request router for PHP", + "keywords": [ + "router", + "routing" + ], + "time": "2018-02-13T20:26:39+00:00" + }, + { + "name": "pimple/pimple", + "version": "v3.3.0", + "source": { + "type": "git", + "url": "https://github.com/silexphp/Pimple.git", + "reference": "e55d12f9d6a0e7f9c85992b73df1267f46279930" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/silexphp/Pimple/zipball/e55d12f9d6a0e7f9c85992b73df1267f46279930", + "reference": "e55d12f9d6a0e7f9c85992b73df1267f46279930", + "shasum": "" + }, + "require": { + "php": "^7.2.5", + "psr/container": "^1.0" + }, + "require-dev": { + "symfony/phpunit-bridge": "^3.4|^4.4|^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.3.x-dev" } }, "autoload": { "psr-0": { - "phpDocumentor": [ - "src/" - ] + "Pimple": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "Pimple, a simple Dependency Injection Container", + "homepage": "https://pimple.symfony.com", + "keywords": [ + "container", + "dependency injection" + ], + "time": "2020-03-03T09:12:48+00:00" + }, + { + "name": "psr/container", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "time": "2017-02-14T16:28:37+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "shasum": "" + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -92,28 +232,241 @@ ], "authors": [ { - "name": "Mike van Riel", - "email": "mike.vanriel@naenius.com" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "time": "2016-01-25T08:17:30+00:00" + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "time": "2019-04-30T12:38:16+00:00" + }, + { + "name": "psr/http-message", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "time": "2016-08-06T14:39:51+00:00" + }, + { + "name": "psr/http-server-handler", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-server-handler.git", + "reference": "aff2f80e33b7f026ec96bb42f63242dc50ffcae7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-server-handler/zipball/aff2f80e33b7f026ec96bb42f63242dc50ffcae7", + "reference": "aff2f80e33b7f026ec96bb42f63242dc50ffcae7", + "shasum": "" + }, + "require": { + "php": ">=7.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Server\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP server-side request handler", + "keywords": [ + "handler", + "http", + "http-interop", + "psr", + "psr-15", + "psr-7", + "request", + "response", + "server" + ], + "time": "2018-10-30T16:46:14+00:00" + }, + { + "name": "psr/http-server-middleware", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-server-middleware.git", + "reference": "2296f45510945530b9dceb8bcedb5cb84d40c5f5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-server-middleware/zipball/2296f45510945530b9dceb8bcedb5cb84d40c5f5", + "reference": "2296f45510945530b9dceb8bcedb5cb84d40c5f5", + "shasum": "" + }, + "require": { + "php": ">=7.0", + "psr/http-message": "^1.0", + "psr/http-server-handler": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Server\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP server-side middleware", + "keywords": [ + "http", + "http-interop", + "middleware", + "psr", + "psr-15", + "psr-7", + "request", + "response" + ], + "time": "2018-10-30T17:12:04+00:00" + }, + { + "name": "psr/log", + "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "446d54b4cb6bf489fc9d75f55843658e6f25d801" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/446d54b4cb6bf489fc9d75f55843658e6f25d801", + "reference": "446d54b4cb6bf489fc9d75f55843658e6f25d801", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "time": "2019-11-01T11:05:21+00:00" }, { "name": "rhubarbphp/custard", - "version": "1.0.11", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/RhubarbPHP/Custard.git", - "reference": "6dc357a82cda13d9ef9bb3e9aa2ed823bbcc3ee6" + "reference": "311ddf0f668eb1477f38b6f7926783840738deda" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RhubarbPHP/Custard/zipball/6dc357a82cda13d9ef9bb3e9aa2ed823bbcc3ee6", - "reference": "6dc357a82cda13d9ef9bb3e9aa2ed823bbcc3ee6", + "url": "https://api.github.com/repos/RhubarbPHP/Custard/zipball/311ddf0f668eb1477f38b6f7926783840738deda", + "reference": "311ddf0f668eb1477f38b6f7926783840738deda", "shasum": "" }, "require": { - "phpdocumentor/reflection-docblock": "^2.0.4", "symfony/console": ">=2.7.5" }, "bin": [ @@ -142,7 +495,7 @@ "rhubarb", "tools" ], - "time": "2017-01-09T16:06:24+00:00" + "time": "2019-04-05T16:24:43+00:00" }, { "name": "rhubarbphp/module-csrfprotection", @@ -191,16 +544,16 @@ }, { "name": "rhubarbphp/module-jsvalidation", - "version": "1.1.5", + "version": "1.1.7", "source": { "type": "git", "url": "https://github.com/RhubarbPHP/Module.JsValidation.git", - "reference": "5f873919968066a44da83bcdea562599a6d025ef" + "reference": "84f930dbabb60585191bc25984789077fffdd8ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RhubarbPHP/Module.JsValidation/zipball/5f873919968066a44da83bcdea562599a6d025ef", - "reference": "5f873919968066a44da83bcdea562599a6d025ef", + "url": "https://api.github.com/repos/RhubarbPHP/Module.JsValidation/zipball/84f930dbabb60585191bc25984789077fffdd8ed", + "reference": "84f930dbabb60585191bc25984789077fffdd8ed", "shasum": "" }, "type": "library", @@ -209,20 +562,20 @@ "Apache 2.0" ], "description": "Provides javascript validation patterns for HTML forms", - "time": "2017-08-17T14:34:15+00:00" + "time": "2019-06-12T14:12:53+00:00" }, { "name": "rhubarbphp/module-leaf", - "version": "1.4.1", + "version": "1.4.15", "source": { "type": "git", "url": "https://github.com/RhubarbPHP/Module.Leaf.git", - "reference": "3be76c6cd6951fc410a50b76c3391170a5f4158b" + "reference": "eee3f58f4486ee2e6c67e3ac64168b412f173099" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RhubarbPHP/Module.Leaf/zipball/3be76c6cd6951fc410a50b76c3391170a5f4158b", - "reference": "3be76c6cd6951fc410a50b76c3391170a5f4158b", + "url": "https://api.github.com/repos/RhubarbPHP/Module.Leaf/zipball/eee3f58f4486ee2e6c67e3ac64168b412f173099", + "reference": "eee3f58f4486ee2e6c67e3ac64168b412f173099", "shasum": "" }, "require": { @@ -263,20 +616,20 @@ "presenter", "rhubarb" ], - "time": "2018-02-20T11:41:32+00:00" + "time": "2019-12-17T16:31:44+00:00" }, { "name": "rhubarbphp/module-leaf-common-controls", - "version": "1.0.41", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/RhubarbPHP/Module.Leaf.CommonControls.git", - "reference": "d1da77fe4c7edf57407824c1089146fd55ce4afe" + "reference": "32f5d5c794c7cda7b61c52582d2df7332741d741" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RhubarbPHP/Module.Leaf.CommonControls/zipball/d1da77fe4c7edf57407824c1089146fd55ce4afe", - "reference": "d1da77fe4c7edf57407824c1089146fd55ce4afe", + "url": "https://api.github.com/repos/RhubarbPHP/Module.Leaf.CommonControls/zipball/32f5d5c794c7cda7b61c52582d2df7332741d741", + "reference": "32f5d5c794c7cda7b61c52582d2df7332741d741", "shasum": "" }, "require": { @@ -302,20 +655,20 @@ "presenter", "rhubarb" ], - "time": "2018-02-19T12:31:36+00:00" + "time": "2019-06-20T14:48:45+00:00" }, { "name": "rhubarbphp/module-leaf-paging", - "version": "1.1.0", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/RhubarbPHP/Module.Leaf.Paging.git", - "reference": "abb2f0d9029edfe9f05097385f9f96435e8c2ce6" + "reference": "ade8558d24f8c411779a980784f495b0eb0bad73" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RhubarbPHP/Module.Leaf.Paging/zipball/abb2f0d9029edfe9f05097385f9f96435e8c2ce6", - "reference": "abb2f0d9029edfe9f05097385f9f96435e8c2ce6", + "url": "https://api.github.com/repos/RhubarbPHP/Module.Leaf.Paging/zipball/ade8558d24f8c411779a980784f495b0eb0bad73", + "reference": "ade8558d24f8c411779a980784f495b0eb0bad73", "shasum": "" }, "require": { @@ -340,24 +693,24 @@ "php", "rhubarb" ], - "time": "2017-01-26T09:57:23+00:00" + "time": "2019-10-07T15:21:34+00:00" }, { "name": "rhubarbphp/module-leaf-table", - "version": "1.1.4", + "version": "1.1.16", "source": { "type": "git", "url": "https://github.com/RhubarbPHP/Module.Leaf.Table.git", - "reference": "fd8f7878176cda7920078446100320f66ac669c9" + "reference": "e8ff9144652e47e4fc4caa41de4d34edfa5702a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RhubarbPHP/Module.Leaf.Table/zipball/fd8f7878176cda7920078446100320f66ac669c9", - "reference": "fd8f7878176cda7920078446100320f66ac669c9", + "url": "https://api.github.com/repos/RhubarbPHP/Module.Leaf.Table/zipball/e8ff9144652e47e4fc4caa41de4d34edfa5702a2", + "reference": "e8ff9144652e47e4fc4caa41de4d34edfa5702a2", "shasum": "" }, "require": { - "rhubarbphp/module-leaf": "^1.3.0", + "rhubarbphp/module-leaf": "^1.4.13", "rhubarbphp/module-leaf-paging": "^1.1.0", "rhubarbphp/module-stem": "^1.3.7", "rhubarbphp/rhubarb": "^1.1.0" @@ -382,7 +735,7 @@ "presenter", "rhubarb" ], - "time": "2018-01-30T20:50:38+00:00" + "time": "2019-10-08T08:21:30+00:00" }, { "name": "rhubarbphp/module-patterns", @@ -428,22 +781,22 @@ }, { "name": "rhubarbphp/module-restapi", - "version": "2.0.8", + "version": "3.0.4", "source": { "type": "git", "url": "https://github.com/RhubarbPHP/Module.RestApi.git", - "reference": "1bc0ac24127a54752bc0088807bb2fbe5633d672" + "reference": "ed5d4798a5348095ac09762cc890795ceec5a5eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RhubarbPHP/Module.RestApi/zipball/1bc0ac24127a54752bc0088807bb2fbe5633d672", - "reference": "1bc0ac24127a54752bc0088807bb2fbe5633d672", + "url": "https://api.github.com/repos/RhubarbPHP/Module.RestApi/zipball/ed5d4798a5348095ac09762cc890795ceec5a5eb", + "reference": "ed5d4798a5348095ac09762cc890795ceec5a5eb", "shasum": "" }, "require": { - "rhubarbphp/module-leaf": "^1.0.0", - "rhubarbphp/module-stem": "^1.5.1", - "rhubarbphp/rhubarb": "^1.4.2" + "rhubarbphp/module-stem": "^1.8", + "rhubarbphp/rhubarb": "^1.4.2", + "slim/slim": "^3.12" }, "require-dev": { "codeception/codeception": "^2.3" @@ -451,29 +804,28 @@ "type": "library", "autoload": { "psr-4": { - "Rhubarb\\RestApi\\": "src/", - "Rhubarb\\RestApi\\Tests\\": "tests/unit/" + "Rhubarb\\RestApi\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "Apache 2.0" + "Apache-2.0" ], "description": "An module for building ReSTful API services", - "time": "2017-12-18T16:01:58+00:00" + "time": "2019-04-30T13:17:15+00:00" }, { "name": "rhubarbphp/module-stem", - "version": "1.5.11", + "version": "1.8.12", "source": { "type": "git", "url": "https://github.com/RhubarbPHP/Module.Stem.git", - "reference": "62f09388e2ba306428154935aca11f65a735756d" + "reference": "a02fe8a29e6152481d5e0bbc06bb78704aa67428" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RhubarbPHP/Module.Stem/zipball/62f09388e2ba306428154935aca11f65a735756d", - "reference": "62f09388e2ba306428154935aca11f65a735756d", + "url": "https://api.github.com/repos/RhubarbPHP/Module.Stem/zipball/a02fe8a29e6152481d5e0bbc06bb78704aa67428", + "reference": "a02fe8a29e6152481d5e0bbc06bb78704aa67428", "shasum": "" }, "require": { @@ -512,36 +864,31 @@ "orm", "php" ], - "time": "2017-12-21T10:55:09+00:00" + "time": "2020-02-21T08:41:48+00:00" }, { "name": "rhubarbphp/rhubarb", - "version": "1.5.9", + "version": "1.6.16", "source": { "type": "git", "url": "https://github.com/RhubarbPHP/Rhubarb.git", - "reference": "ecb77cf4bc54b8bd15faab9ead39e710c07bd4cd" + "reference": "eedc0eea7a82318f281c11a4328da44a6fae9cab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RhubarbPHP/Rhubarb/zipball/ecb77cf4bc54b8bd15faab9ead39e710c07bd4cd", - "reference": "ecb77cf4bc54b8bd15faab9ead39e710c07bd4cd", + "url": "https://api.github.com/repos/RhubarbPHP/Rhubarb/zipball/eedc0eea7a82318f281c11a4328da44a6fae9cab", + "reference": "eedc0eea7a82318f281c11a4328da44a6fae9cab", "shasum": "" }, "require": { - "firebase/php-jwt": "^4.0", - "php": ">=5.6.0" + "firebase/php-jwt": "^4.0 || ^5.0", + "php": ">=5.6.0", + "psr/container": "^1.0.0" }, "require-dev": { "codeception/codeception": "^2.0.0", - "pdepend/pdepend": "^2.0.0", - "phploc/phploc": "^3.0.0", - "phpmd/phpmd": "^2.0.0", "rhubarbphp/custard": "^1.0.9", - "rhubarbphp/module-build-status-updater": "^1.0.5", - "sebastian/phpcpd": "^2.0.0", - "squizlabs/php_codesniffer": "^2.0.0", - "theseer/phpdox": "0.8.1.1" + "rhubarbphp/module-build-status-updater": "^1.0.5" }, "type": "library", "autoload": { @@ -560,20 +907,20 @@ "framework", "php" ], - "time": "2018-02-02T16:18:52+00:00" + "time": "2020-03-06T13:04:42+00:00" }, { "name": "rhubarbphp/scaffold-authentication", - "version": "1.2.12", + "version": "1.4.6", "source": { "type": "git", "url": "https://github.com/RhubarbPHP/Scaffold.Authentication.git", - "reference": "37acda8388411dd0e137b96cefd110928c70c2be" + "reference": "5c081cdb5caea3ec7b7fc39ddf496ac739e6e4a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RhubarbPHP/Scaffold.Authentication/zipball/37acda8388411dd0e137b96cefd110928c70c2be", - "reference": "37acda8388411dd0e137b96cefd110928c70c2be", + "url": "https://api.github.com/repos/RhubarbPHP/Scaffold.Authentication/zipball/5c081cdb5caea3ec7b7fc39ddf496ac739e6e4a7", + "reference": "5c081cdb5caea3ec7b7fc39ddf496ac739e6e4a7", "shasum": "" }, "require": { @@ -583,7 +930,7 @@ "rhubarbphp/rhubarb": "^1.4.3" }, "require-dev": { - "codeception/codeception": "^2.3" + "codeception/codeception": "^2.4" }, "type": "library", "autoload": { @@ -604,7 +951,7 @@ "php", "rhubarb" ], - "time": "2018-02-07T15:55:34+00:00" + "time": "2019-12-20T16:41:08+00:00" }, { "name": "rhubarbphp/scaffold-authentication-with-roles", @@ -696,23 +1043,23 @@ }, { "name": "rhubarbphp/scaffold-token-based-restapi", - "version": "2.0.3", + "version": "3.0.6", "source": { "type": "git", "url": "https://github.com/RhubarbPHP/Scaffold.TokenBasedRestApi.git", - "reference": "8c3b3a05e4f50009b2db309405b830101b70abcb" + "reference": "dc0c119ae7b7f8e07a7f47996db493418c954116" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RhubarbPHP/Scaffold.TokenBasedRestApi/zipball/8c3b3a05e4f50009b2db309405b830101b70abcb", - "reference": "8c3b3a05e4f50009b2db309405b830101b70abcb", + "url": "https://api.github.com/repos/RhubarbPHP/Scaffold.TokenBasedRestApi/zipball/dc0c119ae7b7f8e07a7f47996db493418c954116", + "reference": "dc0c119ae7b7f8e07a7f47996db493418c954116", "shasum": "" }, "require": { - "rhubarbphp/module-restapi": "^2.0.6", - "rhubarbphp/module-stem": "^1.1", + "rhubarbphp/module-restapi": "^3.0", "rhubarbphp/rhubarb": "^1.1", - "rhubarbphp/scaffold-authentication": "^1.2.2" + "rhubarbphp/scaffold-authentication": "^1.3", + "tuupola/slim-jwt-auth": "^3.2" }, "require-dev": { "codeception/codeception": "^2.0.0", @@ -739,37 +1086,118 @@ "rhubarb", "token" ], - "time": "2018-01-18T08:50:13+00:00" + "time": "2019-07-23T11:55:38+00:00" + }, + { + "name": "slim/slim", + "version": "3.12.3", + "source": { + "type": "git", + "url": "https://github.com/slimphp/Slim.git", + "reference": "1c9318a84ffb890900901136d620b4f03a59da38" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/slimphp/Slim/zipball/1c9318a84ffb890900901136d620b4f03a59da38", + "reference": "1c9318a84ffb890900901136d620b4f03a59da38", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-libxml": "*", + "ext-simplexml": "*", + "nikic/fast-route": "^1.0", + "php": ">=5.5.0", + "pimple/pimple": "^3.0", + "psr/container": "^1.0", + "psr/http-message": "^1.0" + }, + "provide": { + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.0", + "squizlabs/php_codesniffer": "^2.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Slim\\": "Slim" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Josh Lockhart", + "email": "hello@joshlockhart.com", + "homepage": "https://joshlockhart.com" + }, + { + "name": "Andrew Smith", + "email": "a.smith@silentworks.co.uk", + "homepage": "http://silentworks.co.uk" + }, + { + "name": "Rob Allen", + "email": "rob@akrabat.com", + "homepage": "http://akrabat.com" + }, + { + "name": "Gabriel Manricks", + "email": "gmanricks@me.com", + "homepage": "http://gabrielmanricks.com" + } + ], + "description": "Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs", + "homepage": "https://slimframework.com", + "keywords": [ + "api", + "framework", + "micro", + "router" + ], + "time": "2019-11-28T17:40:33+00:00" }, { "name": "symfony/console", - "version": "v4.0.4", + "version": "v5.0.5", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "36d5b41e7d4e1ccf0370f6babe966c08ef0a1488" + "reference": "d29e2d36941de13600c399e393a60b8cfe59ac49" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/36d5b41e7d4e1ccf0370f6babe966c08ef0a1488", - "reference": "36d5b41e7d4e1ccf0370f6babe966c08ef0a1488", + "url": "https://api.github.com/repos/symfony/console/zipball/d29e2d36941de13600c399e393a60b8cfe59ac49", + "reference": "d29e2d36941de13600c399e393a60b8cfe59ac49", "shasum": "" }, "require": { - "php": "^7.1.3", - "symfony/polyfill-mbstring": "~1.0" + "php": "^7.2.5", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.8", + "symfony/service-contracts": "^1.1|^2" }, "conflict": { - "symfony/dependency-injection": "<3.4", - "symfony/process": "<3.3" + "symfony/dependency-injection": "<4.4", + "symfony/event-dispatcher": "<4.4", + "symfony/lock": "<4.4", + "symfony/process": "<4.4" + }, + "provide": { + "psr/log-implementation": "1.0" }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~3.4|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/event-dispatcher": "~3.4|~4.0", - "symfony/lock": "~3.4|~4.0", - "symfony/process": "~3.4|~4.0" + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/event-dispatcher": "^4.4|^5.0", + "symfony/lock": "^4.4|^5.0", + "symfony/process": "^4.4|^5.0", + "symfony/var-dumper": "^4.4|^5.0" }, "suggest": { "psr/log": "For using the console logger", @@ -780,7 +1208,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -807,20 +1235,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2018-01-29T09:06:29+00:00" + "time": "2020-02-24T15:05:31+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.7.0", + "version": "v1.14.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "78be803ce01e55d3491c1397cf1c64beb9c1b63b" + "reference": "34094cfa9abe1f0f14f48f490772db7a775559f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/78be803ce01e55d3491c1397cf1c64beb9c1b63b", - "reference": "78be803ce01e55d3491c1397cf1c64beb9c1b63b", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/34094cfa9abe1f0f14f48f490772db7a775559f2", + "reference": "34094cfa9abe1f0f14f48f490772db7a775559f2", "shasum": "" }, "require": { @@ -832,7 +1260,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7-dev" + "dev-master": "1.14-dev" } }, "autoload": { @@ -866,7 +1294,300 @@ "portable", "shim" ], - "time": "2018-01-30T19:27:44+00:00" + "time": "2020-01-13T11:15:53+00:00" + }, + { + "name": "symfony/polyfill-php73", + "version": "v1.14.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "5e66a0fa1070bf46bec4bea7962d285108edd675" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/5e66a0fa1070bf46bec4bea7962d285108edd675", + "reference": "5e66a0fa1070bf46bec4bea7962d285108edd675", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.14-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "time": "2020-01-13T11:15:53+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "144c5e51266b281231e947b51223ba14acf1a749" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/144c5e51266b281231e947b51223ba14acf1a749", + "reference": "144c5e51266b281231e947b51223ba14acf1a749", + "shasum": "" + }, + "require": { + "php": "^7.2.5", + "psr/container": "^1.0" + }, + "suggest": { + "symfony/service-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "time": "2019-11-18T17:27:11+00:00" + }, + { + "name": "tuupola/callable-handler", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/tuupola/callable-handler.git", + "reference": "8b9d87f88056d4234af317d65612d7b6307a747a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tuupola/callable-handler/zipball/8b9d87f88056d4234af317d65612d7b6307a747a", + "reference": "8b9d87f88056d4234af317d65612d7b6307a747a", + "shasum": "" + }, + "require": { + "php": "^7.1", + "psr/http-server-middleware": "^1.0" + }, + "require-dev": { + "codedungeon/phpunit-result-printer": "^0.4.4", + "overtrue/phplint": "^1.0", + "phpunit/phpunit": "^6.5", + "squizlabs/php_codesniffer": "^3.2", + "tuupola/http-factory": "^0.4.0|^1.0", + "zendframework/zend-diactoros": "^1.6.0|^2.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Tuupola\\Middleware\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mika Tuupola", + "email": "tuupola@appelsiini.net", + "homepage": "https://appelsiini.net/", + "role": "Developer" + } + ], + "description": "Compatibility layer for PSR-7 double pass and PSR-15 middlewares.", + "homepage": "https://github.com/tuupola/callable-handler", + "keywords": [ + "middleware", + "psr-15", + "psr-7" + ], + "time": "2018-10-12T09:59:35+00:00" + }, + { + "name": "tuupola/http-factory", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/tuupola/http-factory.git", + "reference": "5fbde4c65a10d09a85652684a6e569542265a749" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tuupola/http-factory/zipball/5fbde4c65a10d09a85652684a6e569542265a749", + "reference": "5fbde4c65a10d09a85652684a6e569542265a749", + "shasum": "" + }, + "require": { + "php": "^7.1", + "psr/http-factory": "^1.0" + }, + "conflict": { + "nyholm/psr7": "<1.0" + }, + "provide": { + "psr/http-factory-implementation": "^1.0" + }, + "require-dev": { + "http-interop/http-factory-tests": "^0.5.0", + "overtrue/phplint": "^1.0", + "phpunit/phpunit": "^6.0|^7.0", + "squizlabs/php_codesniffer": "^3.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Tuupola\\Http\\Factory\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mika Tuupola", + "email": "tuupola@appelsiini.net", + "homepage": "https://appelsiini.net/", + "role": "Developer" + } + ], + "description": "Lightweight autodiscovering PSR-17 HTTP factories", + "homepage": "https://github.com/tuupola/http-factory", + "keywords": [ + "http", + "psr-17", + "psr-7" + ], + "time": "2019-08-07T07:10:58+00:00" + }, + { + "name": "tuupola/slim-jwt-auth", + "version": "3.4.0", + "source": { + "type": "git", + "url": "https://github.com/tuupola/slim-jwt-auth.git", + "reference": "bdc87f7fffb04b2457910f6cf7bd83e29efb2f6b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tuupola/slim-jwt-auth/zipball/bdc87f7fffb04b2457910f6cf7bd83e29efb2f6b", + "reference": "bdc87f7fffb04b2457910f6cf7bd83e29efb2f6b", + "shasum": "" + }, + "require": { + "firebase/php-jwt": "^3.0|^4.0|^5.0", + "php": "^7.1", + "psr/http-message": "^1.0", + "psr/http-server-middleware": "^1.0", + "psr/log": "^1.0", + "tuupola/callable-handler": "^0.3.0|^0.4.0|^1.0", + "tuupola/http-factory": "^0.4.0|^1.0" + }, + "require-dev": { + "codedungeon/phpunit-result-printer": "^0.23.4", + "equip/dispatch": "^2.0", + "overtrue/phplint": "^1.0", + "phpstan/phpstan": "^0.9.1", + "phpunit/phpunit": "^6.0|^7.0", + "squizlabs/php_codesniffer": "^3.4", + "zendframework/zend-diactoros": "^1.3|^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-3.x": "3.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Tuupola\\Middleware\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mika Tuupola", + "email": "tuupola@appelsiini.net", + "homepage": "https://appelsiini.net/", + "role": "Developer" + } + ], + "description": "PSR-7 and PSR-15 JWT Authentication Middleware", + "homepage": "https://github.com/tuupola/slim-jwt-auth", + "keywords": [ + "auth", + "json", + "jwt", + "middleware", + "psr-15", + "psr-7" + ], + "time": "2019-07-01T08:28:35+00:00" } ], "packages-dev": [ @@ -1240,22 +1961,81 @@ ], "time": "2013-01-13T10:24:48+00:00" }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.14.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "fbdeaec0df06cf3d51c93de80c7eb76e271f5a38" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/fbdeaec0df06cf3d51c93de80c7eb76e271f5a38", + "reference": "fbdeaec0df06cf3d51c93de80c7eb76e271f5a38", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.14-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "time": "2020-01-13T11:15:53+00:00" + }, { "name": "symfony/yaml", - "version": "v2.8.34", + "version": "v2.8.52", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "be720fcfae4614df204190d57795351059946a77" + "reference": "02c1859112aa779d9ab394ae4f3381911d84052b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/be720fcfae4614df204190d57795351059946a77", - "reference": "be720fcfae4614df204190d57795351059946a77", + "url": "https://api.github.com/repos/symfony/yaml/zipball/02c1859112aa779d9ab394ae4f3381911d84052b", + "reference": "02c1859112aa779d9ab394ae4f3381911d84052b", "shasum": "" }, "require": { - "php": ">=5.3.9" + "php": ">=5.3.9", + "symfony/polyfill-ctype": "~1.8" }, "type": "library", "extra": { @@ -1287,7 +2067,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2018-01-03T07:36:31+00:00" + "time": "2018-11-11T11:18:13+00:00" } ], "aliases": [], diff --git a/src/LoginProviders/LandlordLoginProvider.php b/src/LoginProviders/LandlordLoginProvider.php index 723cd91..92653dd 100644 --- a/src/LoginProviders/LandlordLoginProvider.php +++ b/src/LoginProviders/LandlordLoginProvider.php @@ -34,7 +34,7 @@ public function __construct($identityColumnName = "Username") parent::__construct("User", $identityColumnName, "Password", "Enabled"); } - protected function checkUserIsPermitted($user) + protected function checkUserIsPermitted($user = null) { parent::checkUserIsPermitted($user);