diff --git a/composer.lock b/composer.lock index 98ad124..3d442dc 100755 --- a/composer.lock +++ b/composer.lock @@ -62,6 +62,56 @@ ], "time": "2022-08-10T22:54:19+00:00" }, + { + "name": "erusev/parsedown", + "version": "1.7.4", + "source": { + "type": "git", + "url": "https://github.com/erusev/parsedown.git", + "reference": "cb17b6477dfff935958ba01325f2e8a2bfa6dab3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/erusev/parsedown/zipball/cb17b6477dfff935958ba01325f2e8a2bfa6dab3", + "reference": "cb17b6477dfff935958ba01325f2e8a2bfa6dab3", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35" + }, + "type": "library", + "autoload": { + "psr-0": { + "Parsedown": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Emanuil Rusev", + "email": "hello@erusev.com", + "homepage": "http://erusev.com" + } + ], + "description": "Parser for Markdown.", + "homepage": "http://parsedown.org", + "keywords": [ + "markdown", + "parser" + ], + "support": { + "issues": "https://github.com/erusev/parsedown/issues", + "source": "https://github.com/erusev/parsedown/tree/1.7.x" + }, + "time": "2019-12-30T22:54:17+00:00" + }, { "name": "fileeye/mimemap", "version": "2.0.1", @@ -124,29 +174,134 @@ }, "time": "2023-02-11T19:58:58+00:00" }, + { + "name": "monolog/monolog", + "version": "3.5.0", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c915e2634718dbc8a4a15c61b0e62e7a44e14448", + "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^2.0 || ^3.0" + }, + "provide": { + "psr/log-implementation": "3.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "^3.0", + "doctrine/couchdb": "~1.0@dev", + "elasticsearch/elasticsearch": "^7 || ^8", + "ext-json": "*", + "graylog2/gelf-php": "^1.4.2 || ^2.0", + "guzzlehttp/guzzle": "^7.4.5", + "guzzlehttp/psr7": "^2.2", + "mongodb/mongodb": "^1.8", + "php-amqplib/php-amqplib": "~2.4 || ^3", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-strict-rules": "^1.4", + "phpunit/phpunit": "^10.1", + "predis/predis": "^1.1 || ^2", + "ruflin/elastica": "^7", + "symfony/mailer": "^5.4 || ^6", + "symfony/mime": "^5.4 || ^6" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHandler", + "ext-mbstring": "Allow to work properly with unicode symbols", + "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", + "ext-openssl": "Required to send log messages using SSL", + "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "https://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "support": { + "issues": "https://github.com/Seldaek/monolog/issues", + "source": "https://github.com/Seldaek/monolog/tree/3.5.0" + }, + "funding": [ + { + "url": "https://github.com/Seldaek", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", + "type": "tidelift" + } + ], + "time": "2023-10-27T15:32:31+00:00" + }, { "name": "netherphp/common", - "version": "v5.0.17", + "version": "v5.0.34", "source": { "type": "git", "url": "https://github.com/netherphp/common.git", - "reference": "d3774d16901c36dc77019c07deb999276fd30e0c" + "reference": "2b05d6f91c7818fd280e8f6f33b3aff58f65850d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/netherphp/common/zipball/d3774d16901c36dc77019c07deb999276fd30e0c", - "reference": "d3774d16901c36dc77019c07deb999276fd30e0c", + "url": "https://api.github.com/repos/netherphp/common/zipball/2b05d6f91c7818fd280e8f6f33b3aff58f65850d", + "reference": "2b05d6f91c7818fd280e8f6f33b3aff58f65850d", "shasum": "" }, "require": { + "erusev/parsedown": "^1.7", "fileeye/mimemap": "^2.0", + "monolog/monolog": "^3.3", + "ozdemirburak/iris": "^3.1", "php": "^8.1", - "ramsey/uuid": "^4.7" + "ramsey/uuid": "^4.7", + "savvywombat/color": "^1.3" }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^0.7.2", "netherphp/standards": ">=0.1.9", - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^9.6" }, "type": "library", "autoload": { @@ -173,9 +328,9 @@ ], "support": { "issues": "https://github.com/netherphp/common/issues", - "source": "https://github.com/netherphp/common/tree/v5.0.17" + "source": "https://github.com/netherphp/common/tree/v5.0.34" }, - "time": "2023-03-26T08:45:26+00:00" + "time": "2024-04-11T00:41:49+00:00" }, { "name": "netherphp/console", @@ -183,16 +338,17 @@ "source": { "type": "git", "url": "https://github.com/netherphp/console.git", - "reference": "0c10162d232cf40ecb6df261e77d99d841d6020a" + "reference": "e051b6b55a3363c3a59868599e17097cbef4883e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/netherphp/console/zipball/0c10162d232cf40ecb6df261e77d99d841d6020a", - "reference": "0c10162d232cf40ecb6df261e77d99d841d6020a", + "url": "https://api.github.com/repos/netherphp/console/zipball/e051b6b55a3363c3a59868599e17097cbef4883e", + "reference": "e051b6b55a3363c3a59868599e17097cbef4883e", "shasum": "" }, "require": { "netherphp/common": "^5.0.5", + "ozdemirburak/iris": "^3.1", "php": ">=8.1" }, "require-dev": { @@ -233,7 +389,115 @@ "issues": "https://github.com/netherphp/console/issues", "source": "https://github.com/netherphp/console/tree/redux" }, - "time": "2023-03-16T21:09:13+00:00" + "time": "2024-03-31T07:49:03+00:00" + }, + { + "name": "ozdemirburak/iris", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/ozdemirburak/iris.git", + "reference": "909650aa1ba67de4560a459a261c830b8050bf56" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ozdemirburak/iris/zipball/909650aa1ba67de4560a459a261c830b8050bf56", + "reference": "909650aa1ba67de4560a459a261c830b8050bf56", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "phpunit/phpunit": "~8.0|~9.0", + "squizlabs/php_codesniffer": "~3.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "OzdemirBurak\\Iris\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Burak Ă–zdemir", + "homepage": "https://ozdemirburak.com" + } + ], + "description": "PHP library for color manipulation and conversion.", + "homepage": "https://github.com/ozdemirburak/iris", + "keywords": [ + "color", + "conversion", + "hex", + "hexa", + "hsl", + "hsla", + "hsv", + "manipulation", + "rgb", + "rgba", + "transformation" + ], + "support": { + "issues": "https://github.com/ozdemirburak/iris/issues", + "source": "https://github.com/ozdemirburak/iris/tree/3.1.1" + }, + "time": "2023-02-22T23:12:10+00:00" + }, + { + "name": "psr/log", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/3.0.0" + }, + "time": "2021-07-14T16:46:02+00:00" }, { "name": "ramsey/collection", @@ -415,6 +679,67 @@ } ], "time": "2023-01-12T18:13:24+00:00" + }, + { + "name": "savvywombat/color", + "version": "1.3.1", + "source": { + "type": "git", + "url": "https://github.com/SavvyWombat/color-php.git", + "reference": "a922e6fec299a42954743a41d536473dd0790936" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/SavvyWombat/color-php/zipball/a922e6fec299a42954743a41d536473dd0790936", + "reference": "a922e6fec299a42954743a41d536473dd0790936", + "shasum": "" + }, + "require": { + "php": "^7.4||^8" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.0", + "phpunit/phpunit": "^9.5.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "SavvyWombat\\Color\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Stuart Jones", + "email": "stuart@savvywombat.com.au", + "homepage": "https://savvywombat.com.au", + "role": "creator" + } + ], + "description": "Package for manipulating colors in multiple color spaces.", + "homepage": "https://github.com/SavvyWombat/color-php", + "keywords": [ + "color", + "color space", + "colors", + "conversion", + "convert", + "hex", + "hsl", + "manipulation", + "rgb", + "savvy wombat", + "savvywombat", + "transform" + ], + "support": { + "issues": "https://github.com/SavvyWombat/color-php/issues", + "source": "https://github.com/SavvyWombat/color-php/tree/1.3.1" + }, + "time": "2022-09-29T08:57:37+00:00" } ], "packages-dev": [ diff --git a/tests/Nether/Avenue/RouteTest.php b/tests/Nether/Avenue/RouteTest.php index 23cfbce..92ac5a2 100755 --- a/tests/Nether/Avenue/RouteTest.php +++ b/tests/Nether/Avenue/RouteTest.php @@ -10,6 +10,7 @@ use Nether\Avenue\Meta\ConfirmWillAnswerRequest; use Nether\Common\Prototype\MethodInfo; use Nether\Common\Datastore; +use Nether\Common\Error\MethodNotFound; class TestRoute1 extends Route { @@ -64,7 +65,13 @@ public function // test the magic method nullcase. - $this->AssertNull($Route->DoesNotExist()); + try { + $this->AssertNull($Route->DoesNotExist()); + } + + catch(MethodNotFound $Err) { + $this->AssertInstanceOf(MethodNotFound::class, $Err); + } return; }