diff --git a/composer.json b/composer.json
index 65e92e7..2e0caa5 100644
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,7 @@
{
"name": "jwage/purl",
"type": "library",
- "description": "URL Manipulation for PHP 5.3",
+ "description": "URL Manipulation for PHP",
"keywords": ["url", "manipulation"],
"homepage": "http://github.com/jwage/purl",
"license": "MIT",
@@ -18,12 +18,12 @@
"sort-packages": true
},
"require": {
- "php": "^7.2"
+ "php": ">=7.2"
},
"require-dev": {
- "doctrine/coding-standard": "^6.0",
- "phpstan/phpstan": "^0.11.5",
- "phpstan/phpstan-strict-rules": "^0.11.0",
+ "doctrine/coding-standard": "^8.0",
+ "phpstan/phpstan": "^0.12",
+ "phpstan/phpstan-strict-rules": "^0.12",
"phpunit/phpunit": "^8.1"
},
"extra": {
diff --git a/composer.lock b/composer.lock
index 161fd0f..2648e9c 100644
--- a/composer.lock
+++ b/composer.lock
@@ -1,74 +1,30 @@
{
"_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": "757d750be90d600083b72e0b68127367",
+ "content-hash": "c787704ea5635531af5857ca73395cfc",
"packages": [],
"packages-dev": [
- {
- "name": "composer/xdebug-handler",
- "version": "1.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/composer/xdebug-handler.git",
- "reference": "d17708133b6c276d6e42ef887a877866b909d892"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/d17708133b6c276d6e42ef887a877866b909d892",
- "reference": "d17708133b6c276d6e42ef887a877866b909d892",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.2 || ^7.0",
- "psr/log": "^1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Composer\\XdebugHandler\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "John Stevenson",
- "email": "john-stevenson@blueyonder.co.uk"
- }
- ],
- "description": "Restarts a process without xdebug.",
- "keywords": [
- "Xdebug",
- "performance"
- ],
- "time": "2019-01-28T20:25:53+00:00"
- },
{
"name": "dealerdirect/phpcodesniffer-composer-installer",
- "version": "v0.5.0",
+ "version": "v0.7.1",
"source": {
"type": "git",
"url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git",
- "reference": "e749410375ff6fb7a040a68878c656c2e610b132"
+ "reference": "fe390591e0241955f22eb9ba327d137e501c771c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/e749410375ff6fb7a040a68878c656c2e610b132",
- "reference": "e749410375ff6fb7a040a68878c656c2e610b132",
+ "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/fe390591e0241955f22eb9ba327d137e501c771c",
+ "reference": "fe390591e0241955f22eb9ba327d137e501c771c",
"shasum": ""
},
"require": {
- "composer-plugin-api": "^1.0",
- "php": "^5.3|^7",
- "squizlabs/php_codesniffer": "^2|^3"
+ "composer-plugin-api": "^1.0 || ^2.0",
+ "php": ">=5.3",
+ "squizlabs/php_codesniffer": "^2.0 || ^3.0 || ^4.0"
},
"require-dev": {
"composer/composer": "*",
@@ -115,872 +71,219 @@
"stylecheck",
"tests"
],
- "time": "2018-10-26T13:21:45+00:00"
+ "support": {
+ "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues",
+ "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer"
+ },
+ "time": "2020-12-07T18:04:37+00:00"
},
{
"name": "doctrine/coding-standard",
- "version": "6.0.0",
+ "version": "8.2.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/coding-standard.git",
- "reference": "d33f69eb98b25aa51ffe3a909f0ec77000af4701"
+ "reference": "529d385bb3790431080493c0fe7adaec39df368a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/coding-standard/zipball/d33f69eb98b25aa51ffe3a909f0ec77000af4701",
- "reference": "d33f69eb98b25aa51ffe3a909f0ec77000af4701",
+ "url": "https://api.github.com/repos/doctrine/coding-standard/zipball/529d385bb3790431080493c0fe7adaec39df368a",
+ "reference": "529d385bb3790431080493c0fe7adaec39df368a",
"shasum": ""
},
"require": {
- "dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
- "php": "^7.1",
- "slevomat/coding-standard": "^5.0",
- "squizlabs/php_codesniffer": "^3.4.0"
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7",
+ "php": "^7.1 || ^8.0",
+ "slevomat/coding-standard": "^6.3.9",
+ "squizlabs/php_codesniffer": "^3.5.5"
},
"type": "phpcodesniffer-standard",
- "extra": {
- "branch-alias": {
- "dev-master": "6.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Sniffs\\": "lib/Doctrine/Sniffs"
- }
- },
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Steve Müller",
- "email": "st.mueller@dzh-online.de"
- }
- ],
- "description": "The Doctrine Coding Standard is a set of PHPCS rules applied to all Doctrine projects.",
- "homepage": "https://www.doctrine-project.org/projects/coding-standard.html",
- "keywords": [
- "checks",
- "code",
- "coding",
- "cs",
- "doctrine",
- "rules",
- "sniffer",
- "sniffs",
- "standard",
- "style"
- ],
- "time": "2019-03-15T12:45:47+00:00"
- },
- {
- "name": "doctrine/instantiator",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "a2c590166b2133a4633738648b6b064edae0814a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/a2c590166b2133a4633738648b6b064edae0814a",
- "reference": "a2c590166b2133a4633738648b6b064edae0814a",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "doctrine/coding-standard": "^6.0",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpbench/phpbench": "^0.13",
- "phpstan/phpstan-phpunit": "^0.11",
- "phpstan/phpstan-shim": "^0.11",
- "phpunit/phpunit": "^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://www.doctrine-project.org/projects/instantiator.html",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2019-03-17T17:37:11+00:00"
- },
- {
- "name": "jean85/pretty-package-versions",
- "version": "1.2",
- "source": {
- "type": "git",
- "url": "https://github.com/Jean85/pretty-package-versions.git",
- "reference": "75c7effcf3f77501d0e0caa75111aff4daa0dd48"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/75c7effcf3f77501d0e0caa75111aff4daa0dd48",
- "reference": "75c7effcf3f77501d0e0caa75111aff4daa0dd48",
- "shasum": ""
- },
- "require": {
- "ocramius/package-versions": "^1.2.0",
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Jean85\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Alessandro Lai",
- "email": "alessandro.lai85@gmail.com"
- }
- ],
- "description": "A wrapper for ocramius/package-versions to get pretty versions strings",
- "keywords": [
- "composer",
- "package",
- "release",
- "versions"
- ],
- "time": "2018-06-13T13:22:40+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.9.1",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72",
- "reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "replace": {
- "myclabs/deep-copy": "self.version"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^7.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2019-04-07T13:18:21+00:00"
- },
- {
- "name": "nette/bootstrap",
- "version": "v3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/nette/bootstrap.git",
- "reference": "e1075af05c211915e03e0c86542f3ba5433df4a3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/nette/bootstrap/zipball/e1075af05c211915e03e0c86542f3ba5433df4a3",
- "reference": "e1075af05c211915e03e0c86542f3ba5433df4a3",
- "shasum": ""
- },
- "require": {
- "nette/di": "^3.0",
- "nette/utils": "^3.0",
- "php": ">=7.1"
- },
- "require-dev": {
- "latte/latte": "^2.2",
- "nette/application": "^3.0",
- "nette/caching": "^3.0",
- "nette/database": "^3.0",
- "nette/forms": "^3.0",
- "nette/http": "^3.0",
- "nette/mail": "^3.0",
- "nette/robot-loader": "^3.0",
- "nette/safe-stream": "^2.2",
- "nette/security": "^3.0",
- "nette/tester": "^2.0",
- "tracy/tracy": "^2.6"
- },
- "suggest": {
- "nette/robot-loader": "to use Configurator::createRobotLoader()",
- "tracy/tracy": "to use Configurator::enableTracy()"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause",
- "GPL-2.0",
- "GPL-3.0"
- ],
- "authors": [
- {
- "name": "David Grudl",
- "homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
- }
- ],
- "description": "🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.",
- "homepage": "https://nette.org",
- "keywords": [
- "bootstrapping",
- "configurator",
- "nette"
- ],
- "time": "2019-03-26T12:59:07+00:00"
- },
- {
- "name": "nette/di",
- "version": "v3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/nette/di.git",
- "reference": "19d83539245aaacb59470828919182411061841f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/nette/di/zipball/19d83539245aaacb59470828919182411061841f",
- "reference": "19d83539245aaacb59470828919182411061841f",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "nette/neon": "^3.0",
- "nette/php-generator": "^3.2.2",
- "nette/robot-loader": "^3.2",
- "nette/schema": "^1.0",
- "nette/utils": "^3.0",
- "php": ">=7.1"
- },
- "conflict": {
- "nette/bootstrap": "<3.0"
- },
- "require-dev": {
- "nette/tester": "^2.2",
- "tracy/tracy": "^2.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ],
- "files": [
- "src/compatibility.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause",
- "GPL-2.0",
- "GPL-3.0"
- ],
- "authors": [
- {
- "name": "David Grudl",
- "homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
- }
- ],
- "description": "💎 Nette Dependency Injection Container: Flexible, compiled and full-featured DIC with perfectly usable autowiring and support for all new PHP 7.1 features.",
- "homepage": "https://nette.org",
- "keywords": [
- "compiled",
- "di",
- "dic",
- "factory",
- "ioc",
- "nette",
- "static"
- ],
- "time": "2019-04-03T19:35:46+00:00"
- },
- {
- "name": "nette/finder",
- "version": "v2.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/nette/finder.git",
- "reference": "6be1b83ea68ac558aff189d640abe242e0306fe2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/nette/finder/zipball/6be1b83ea68ac558aff189d640abe242e0306fe2",
- "reference": "6be1b83ea68ac558aff189d640abe242e0306fe2",
- "shasum": ""
- },
- "require": {
- "nette/utils": "^2.4 || ~3.0.0",
- "php": ">=7.1"
- },
- "conflict": {
- "nette/nette": "<2.2"
- },
- "require-dev": {
- "nette/tester": "^2.0",
- "tracy/tracy": "^2.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.5-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause",
- "GPL-2.0",
- "GPL-3.0"
- ],
- "authors": [
- {
- "name": "David Grudl",
- "homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
- }
- ],
- "description": "? Nette Finder: find files and directories with an intuitive API.",
- "homepage": "https://nette.org",
- "keywords": [
- "filesystem",
- "glob",
- "iterator",
- "nette"
- ],
- "time": "2019-02-28T18:13:25+00:00"
- },
- {
- "name": "nette/neon",
- "version": "v3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/nette/neon.git",
- "reference": "cbff32059cbdd8720deccf9e9eace6ee516f02eb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/nette/neon/zipball/cbff32059cbdd8720deccf9e9eace6ee516f02eb",
- "reference": "cbff32059cbdd8720deccf9e9eace6ee516f02eb",
- "shasum": ""
- },
- "require": {
- "ext-iconv": "*",
- "ext-json": "*",
- "php": ">=7.0"
- },
- "require-dev": {
- "nette/tester": "^2.0",
- "tracy/tracy": "^2.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause",
- "GPL-2.0",
- "GPL-3.0"
- ],
- "authors": [
- {
- "name": "David Grudl",
- "homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
- }
- ],
- "description": "? Nette NEON: encodes and decodes NEON file format.",
- "homepage": "http://ne-on.org",
- "keywords": [
- "export",
- "import",
- "neon",
- "nette",
- "yaml"
- ],
- "time": "2019-02-05T21:30:40+00:00"
- },
- {
- "name": "nette/php-generator",
- "version": "v3.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/nette/php-generator.git",
- "reference": "acff8b136fad84b860a626d133e791f95781f9f5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/nette/php-generator/zipball/acff8b136fad84b860a626d133e791f95781f9f5",
- "reference": "acff8b136fad84b860a626d133e791f95781f9f5",
- "shasum": ""
- },
- "require": {
- "nette/utils": "^2.4.2 || ~3.0.0",
- "php": ">=7.1"
- },
- "require-dev": {
- "nette/tester": "^2.0",
- "tracy/tracy": "^2.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause",
- "GPL-2.0",
- "GPL-3.0"
- ],
- "authors": [
- {
- "name": "David Grudl",
- "homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
- }
- ],
- "description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 7.3 features.",
- "homepage": "https://nette.org",
- "keywords": [
- "code",
- "nette",
- "php",
- "scaffolding"
- ],
- "time": "2019-03-15T03:41:13+00:00"
- },
- {
- "name": "nette/robot-loader",
- "version": "v3.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/nette/robot-loader.git",
- "reference": "0712a0e39ae7956d6a94c0ab6ad41aa842544b5c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/nette/robot-loader/zipball/0712a0e39ae7956d6a94c0ab6ad41aa842544b5c",
- "reference": "0712a0e39ae7956d6a94c0ab6ad41aa842544b5c",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "nette/finder": "^2.5",
- "nette/utils": "^3.0",
- "php": ">=7.1"
- },
- "require-dev": {
- "nette/tester": "^2.0",
- "tracy/tracy": "^2.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause",
- "GPL-2.0",
- "GPL-3.0"
- ],
- "authors": [
- {
- "name": "David Grudl",
- "homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
- }
- ],
- "description": "? Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.",
- "homepage": "https://nette.org",
- "keywords": [
- "autoload",
- "class",
- "interface",
- "nette",
- "trait"
- ],
- "time": "2019-03-08T21:57:24+00:00"
- },
- {
- "name": "nette/schema",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/nette/schema.git",
- "reference": "6241d8d4da39e825dd6cb5bfbe4242912f4d7e4d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/nette/schema/zipball/6241d8d4da39e825dd6cb5bfbe4242912f4d7e4d",
- "reference": "6241d8d4da39e825dd6cb5bfbe4242912f4d7e4d",
- "shasum": ""
- },
- "require": {
- "nette/utils": "^3.0.1",
- "php": ">=7.1"
- },
- "require-dev": {
- "nette/tester": "^2.2",
- "tracy/tracy": "^2.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause",
- "GPL-2.0",
- "GPL-3.0"
- ],
- "authors": [
- {
- "name": "David Grudl",
- "homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
- }
- ],
- "description": "📐 Nette Schema: validating data structures against a given Schema.",
- "homepage": "https://nette.org",
- "keywords": [
- "config",
- "nette"
- ],
- "time": "2019-04-03T15:53:25+00:00"
- },
- {
- "name": "nette/utils",
- "version": "v3.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/nette/utils.git",
- "reference": "bd961f49b211997202bda1d0fbc410905be370d4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/nette/utils/zipball/bd961f49b211997202bda1d0fbc410905be370d4",
- "reference": "bd961f49b211997202bda1d0fbc410905be370d4",
- "shasum": ""
- },
- "require": {
- "php": ">=7.1"
- },
- "require-dev": {
- "nette/tester": "~2.0",
- "tracy/tracy": "^2.3"
- },
- "suggest": {
- "ext-gd": "to use Image",
- "ext-iconv": "to use Strings::webalize() and toAscii()",
- "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()",
- "ext-json": "to use Nette\\Utils\\Json",
- "ext-mbstring": "to use Strings::lower() etc...",
- "ext-xml": "to use Strings::length() etc. when mbstring is not available"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause",
- "GPL-2.0",
- "GPL-3.0"
- ],
- "authors": [
- {
- "name": "David Grudl",
- "homepage": "https://davidgrudl.com"
+ "name": "Benjamin Eberlei",
+ "email": "kontakt@beberlei.de"
},
{
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
+ "name": "Steve Müller",
+ "email": "st.mueller@dzh-online.de"
}
],
- "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.",
- "homepage": "https://nette.org",
+ "description": "The Doctrine Coding Standard is a set of PHPCS rules applied to all Doctrine projects.",
+ "homepage": "https://www.doctrine-project.org/projects/coding-standard.html",
"keywords": [
- "array",
- "core",
- "datetime",
- "images",
- "json",
- "nette",
- "paginator",
- "password",
- "slugify",
- "string",
- "unicode",
- "utf-8",
- "utility",
- "validation"
- ],
- "time": "2019-03-22T01:00:30+00:00"
+ "checks",
+ "code",
+ "coding",
+ "cs",
+ "doctrine",
+ "rules",
+ "sniffer",
+ "sniffs",
+ "standard",
+ "style"
+ ],
+ "support": {
+ "issues": "https://github.com/doctrine/coding-standard/issues",
+ "source": "https://github.com/doctrine/coding-standard/tree/8.2.0"
+ },
+ "time": "2020-10-25T14:56:19+00:00"
},
{
- "name": "nikic/php-parser",
- "version": "v4.2.1",
+ "name": "doctrine/instantiator",
+ "version": "1.4.0",
"source": {
"type": "git",
- "url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "5221f49a608808c1e4d436df32884cbc1b821ac0"
+ "url": "https://github.com/doctrine/instantiator.git",
+ "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/5221f49a608808c1e4d436df32884cbc1b821ac0",
- "reference": "5221f49a608808c1e4d436df32884cbc1b821ac0",
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b",
+ "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b",
"shasum": ""
},
"require": {
- "ext-tokenizer": "*",
- "php": ">=7.0"
+ "php": "^7.1 || ^8.0"
},
"require-dev": {
- "phpunit/phpunit": "^6.5 || ^7.0"
+ "doctrine/coding-standard": "^8.0",
+ "ext-pdo": "*",
+ "ext-phar": "*",
+ "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"
},
- "bin": [
- "bin/php-parse"
- ],
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
"autoload": {
"psr-4": {
- "PhpParser\\": "lib/PhpParser"
+ "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "BSD-3-Clause"
+ "MIT"
],
"authors": [
{
- "name": "Nikita Popov"
+ "name": "Marco Pivetta",
+ "email": "ocramius@gmail.com",
+ "homepage": "https://ocramius.github.io/"
}
],
- "description": "A PHP parser written in PHP",
+ "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
+ "homepage": "https://www.doctrine-project.org/projects/instantiator.html",
"keywords": [
- "parser",
- "php"
+ "constructor",
+ "instantiate"
+ ],
+ "support": {
+ "issues": "https://github.com/doctrine/instantiator/issues",
+ "source": "https://github.com/doctrine/instantiator/tree/1.4.0"
+ },
+ "funding": [
+ {
+ "url": "https://www.doctrine-project.org/sponsorship.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.patreon.com/phpdoctrine",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
+ "type": "tidelift"
+ }
],
- "time": "2019-02-16T20:54:15+00:00"
+ "time": "2020-11-10T18:47:58+00:00"
},
{
- "name": "ocramius/package-versions",
- "version": "1.4.0",
+ "name": "myclabs/deep-copy",
+ "version": "1.10.2",
"source": {
"type": "git",
- "url": "https://github.com/Ocramius/PackageVersions.git",
- "reference": "a4d4b60d0e60da2487bd21a2c6ac089f85570dbb"
+ "url": "https://github.com/myclabs/DeepCopy.git",
+ "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/a4d4b60d0e60da2487bd21a2c6ac089f85570dbb",
- "reference": "a4d4b60d0e60da2487bd21a2c6ac089f85570dbb",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220",
+ "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220",
"shasum": ""
},
"require": {
- "composer-plugin-api": "^1.0.0",
- "php": "^7.1.0"
+ "php": "^7.1 || ^8.0"
},
- "require-dev": {
- "composer/composer": "^1.6.3",
- "doctrine/coding-standard": "^5.0.1",
- "ext-zip": "*",
- "infection/infection": "^0.7.1",
- "phpunit/phpunit": "^7.0.0"
+ "replace": {
+ "myclabs/deep-copy": "self.version"
},
- "type": "composer-plugin",
- "extra": {
- "class": "PackageVersions\\Installer",
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
+ "require-dev": {
+ "doctrine/collections": "^1.0",
+ "doctrine/common": "^2.6",
+ "phpunit/phpunit": "^7.1"
},
+ "type": "library",
"autoload": {
"psr-4": {
- "PackageVersions\\": "src/PackageVersions"
- }
+ "DeepCopy\\": "src/DeepCopy/"
+ },
+ "files": [
+ "src/DeepCopy/deep_copy.php"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
- "authors": [
+ "description": "Create deep copies (clones) of your objects",
+ "keywords": [
+ "clone",
+ "copy",
+ "duplicate",
+ "object",
+ "object graph"
+ ],
+ "support": {
+ "issues": "https://github.com/myclabs/DeepCopy/issues",
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2"
+ },
+ "funding": [
{
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com"
+ "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
+ "type": "tidelift"
}
],
- "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)",
- "time": "2019-02-21T12:16:21+00:00"
+ "time": "2020-11-13T09:40:50+00:00"
},
{
"name": "phar-io/manifest",
- "version": "1.0.3",
+ "version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/phar-io/manifest.git",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4"
+ "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
+ "url": "https://api.github.com/repos/phar-io/manifest/zipball/85265efd3af7ba3ca4b2a2c34dbfc5788dd29133",
+ "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-phar": "*",
- "phar-io/version": "^2.0",
- "php": "^5.6 || ^7.0"
+ "ext-xmlwriter": "*",
+ "phar-io/version": "^3.0.1",
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "2.0.x-dev"
}
},
"autoload": {
@@ -1010,24 +313,28 @@
}
],
"description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "time": "2018-07-08T19:23:20+00:00"
+ "support": {
+ "issues": "https://github.com/phar-io/manifest/issues",
+ "source": "https://github.com/phar-io/manifest/tree/master"
+ },
+ "time": "2020-06-27T14:33:11+00:00"
},
{
"name": "phar-io/version",
- "version": "2.0.1",
+ "version": "3.1.0",
"source": {
"type": "git",
"url": "https://github.com/phar-io/version.git",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6"
+ "reference": "bae7c545bef187884426f042434e561ab1ddb182"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6",
+ "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182",
+ "reference": "bae7c545bef187884426f042434e561ab1ddb182",
"shasum": ""
},
"require": {
- "php": "^5.6 || ^7.0"
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"autoload": {
@@ -1057,39 +364,38 @@
}
],
"description": "Library for handling version information and constraints",
- "time": "2018-07-08T19:19:57+00:00"
+ "support": {
+ "issues": "https://github.com/phar-io/version/issues",
+ "source": "https://github.com/phar-io/version/tree/3.1.0"
+ },
+ "time": "2021-02-23T14:00:09+00:00"
},
{
"name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
+ "version": "2.2.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
+ "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b",
+ "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b",
"shasum": ""
},
"require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-2.x": "2.x-dev"
}
},
"autoload": {
"psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
+ "phpDocumentor\\Reflection\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -1111,44 +417,45 @@
"reflection",
"static analysis"
],
- "time": "2017-09-11T18:02:19+00:00"
+ "support": {
+ "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues",
+ "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x"
+ },
+ "time": "2020-06-27T09:03:43+00:00"
},
{
"name": "phpdocumentor/reflection-docblock",
- "version": "4.3.0",
+ "version": "5.2.2",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08"
+ "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08",
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556",
+ "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556",
"shasum": ""
},
"require": {
- "php": "^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
+ "ext-filter": "*",
+ "php": "^7.2 || ^8.0",
+ "phpdocumentor/reflection-common": "^2.2",
+ "phpdocumentor/type-resolver": "^1.3",
+ "webmozart/assert": "^1.9.1"
},
"require-dev": {
- "doctrine/instantiator": "~1.0.5",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^6.4"
+ "mockery/mockery": "~1.3.2"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.x-dev"
+ "dev-master": "5.x-dev"
}
},
"autoload": {
"psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
+ "phpDocumentor\\Reflection\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -1159,44 +466,49 @@
{
"name": "Mike van Riel",
"email": "me@mikevanriel.com"
+ },
+ {
+ "name": "Jaap van Otterdijk",
+ "email": "account@ijaap.nl"
}
],
"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-30T07:14:17+00:00"
+ "support": {
+ "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
+ "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master"
+ },
+ "time": "2020-09-03T19:13:55+00:00"
},
{
"name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
+ "version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
+ "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
+ "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
+ "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
"shasum": ""
},
"require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
+ "php": "^7.2 || ^8.0",
+ "phpdocumentor/reflection-common": "^2.0"
},
"require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
+ "ext-tokenizer": "*"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-1.x": "1.x-dev"
}
},
"autoload": {
"psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
+ "phpDocumentor\\Reflection\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -1209,42 +521,47 @@
"email": "me@mikevanriel.com"
}
],
- "time": "2017-07-14T14:27:02+00:00"
+ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
+ "support": {
+ "issues": "https://github.com/phpDocumentor/TypeResolver/issues",
+ "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0"
+ },
+ "time": "2020-09-17T18:55:26+00:00"
},
{
"name": "phpspec/prophecy",
- "version": "1.8.0",
+ "version": "1.12.2",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
+ "reference": "245710e971a030f42e08f4912863805570f23d39"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
+ "url": "https://api.github.com/repos/phpspec/prophecy/zipball/245710e971a030f42e08f4912863805570f23d39",
+ "reference": "245710e971a030f42e08f4912863805570f23d39",
"shasum": ""
},
"require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
+ "doctrine/instantiator": "^1.2",
+ "php": "^7.2 || ~8.0, <8.1",
+ "phpdocumentor/reflection-docblock": "^5.2",
+ "sebastian/comparator": "^3.0 || ^4.0",
+ "sebastian/recursion-context": "^3.0 || ^4.0"
},
"require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
+ "phpspec/phpspec": "^6.0",
+ "phpunit/phpunit": "^8.0 || ^9.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.8.x-dev"
+ "dev-master": "1.11.x-dev"
}
},
"autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
+ "psr-4": {
+ "Prophecy\\": "src/Prophecy"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -1272,38 +589,45 @@
"spy",
"stub"
],
- "time": "2018-08-05T17:53:17+00:00"
+ "support": {
+ "issues": "https://github.com/phpspec/prophecy/issues",
+ "source": "https://github.com/phpspec/prophecy/tree/1.12.2"
+ },
+ "time": "2020-12-19T10:15:11+00:00"
},
{
"name": "phpstan/phpdoc-parser",
- "version": "0.3.1",
+ "version": "0.4.9",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git",
- "reference": "2cc49f47c69b023eaf05b48e6529389893b13d74"
+ "reference": "98a088b17966bdf6ee25c8a4b634df313d8aa531"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/2cc49f47c69b023eaf05b48e6529389893b13d74",
- "reference": "2cc49f47c69b023eaf05b48e6529389893b13d74",
+ "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/98a088b17966bdf6ee25c8a4b634df313d8aa531",
+ "reference": "98a088b17966bdf6ee25c8a4b634df313d8aa531",
"shasum": ""
},
"require": {
- "php": "~7.1"
+ "php": "^7.1 || ^8.0"
},
"require-dev": {
- "consistence/coding-standard": "^2.0.0",
+ "consistence/coding-standard": "^3.5",
+ "ergebnis/composer-normalize": "^2.0.2",
"jakub-onderka/php-parallel-lint": "^0.9.2",
"phing/phing": "^2.16.0",
- "phpstan/phpstan": "^0.10",
+ "phpstan/extension-installer": "^1.0",
+ "phpstan/phpstan": "^0.12.26",
+ "phpstan/phpstan-strict-rules": "^0.12",
"phpunit/phpunit": "^6.3",
- "slevomat/coding-standard": "^3.3.0",
- "symfony/process": "^3.4 || ^4.0"
+ "slevomat/coding-standard": "^4.7.2",
+ "symfony/process": "^4.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "0.3-dev"
+ "dev-master": "0.4-dev"
}
},
"autoload": {
@@ -1318,113 +642,105 @@
"MIT"
],
"description": "PHPDoc parser with support for nullable, intersection and generic types",
- "time": "2019-01-14T12:26:23+00:00"
+ "support": {
+ "issues": "https://github.com/phpstan/phpdoc-parser/issues",
+ "source": "https://github.com/phpstan/phpdoc-parser/tree/master"
+ },
+ "time": "2020-08-03T20:32:43+00:00"
},
{
"name": "phpstan/phpstan",
- "version": "0.11.5",
+ "version": "0.12.80",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
- "reference": "24ce5a566a798b81343138ed5d41d6877554cf9a"
+ "reference": "c6a1b17f22ecf708d434d6bee05092647ec7e686"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/24ce5a566a798b81343138ed5d41d6877554cf9a",
- "reference": "24ce5a566a798b81343138ed5d41d6877554cf9a",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c6a1b17f22ecf708d434d6bee05092647ec7e686",
+ "reference": "c6a1b17f22ecf708d434d6bee05092647ec7e686",
"shasum": ""
},
"require": {
- "composer/xdebug-handler": "^1.3.0",
- "jean85/pretty-package-versions": "^1.0.3",
- "nette/bootstrap": "^2.4 || ^3.0",
- "nette/di": "^2.4.7 || ^3.0",
- "nette/robot-loader": "^3.0.1",
- "nette/utils": "^2.4.5 || ^3.0",
- "nikic/php-parser": "^4.0.2",
- "php": "~7.1",
- "phpstan/phpdoc-parser": "^0.3",
- "symfony/console": "~3.2 || ~4.0",
- "symfony/finder": "~3.2 || ~4.0"
+ "php": "^7.1|^8.0"
},
"conflict": {
- "symfony/console": "3.4.16 || 4.1.5"
- },
- "require-dev": {
- "brianium/paratest": "^2.0",
- "consistence/coding-standard": "^3.5",
- "dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
- "ext-intl": "*",
- "ext-mysqli": "*",
- "ext-soap": "*",
- "ext-zip": "*",
- "jakub-onderka/php-parallel-lint": "^1.0",
- "localheinz/composer-normalize": "^1.1.0",
- "phing/phing": "^2.16.0",
- "phpstan/phpstan-deprecation-rules": "^0.11",
- "phpstan/phpstan-php-parser": "^0.11",
- "phpstan/phpstan-phpunit": "^0.11",
- "phpstan/phpstan-strict-rules": "^0.11",
- "phpunit/phpunit": "^7.0",
- "slevomat/coding-standard": "^4.7.2",
- "squizlabs/php_codesniffer": "^3.3.2"
+ "phpstan/phpstan-shim": "*"
},
"bin": [
- "bin/phpstan"
+ "phpstan",
+ "phpstan.phar"
],
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "0.11-dev"
+ "dev-master": "0.12-dev"
}
},
"autoload": {
- "psr-4": {
- "PHPStan\\": [
- "src/",
- "build/PHPStan"
- ]
- }
+ "files": [
+ "bootstrap.php"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "PHPStan - PHP Static Analysis Tool",
- "time": "2019-03-25T16:40:09+00:00"
+ "support": {
+ "issues": "https://github.com/phpstan/phpstan/issues",
+ "source": "https://github.com/phpstan/phpstan/tree/0.12.80"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/ondrejmirtes",
+ "type": "github"
+ },
+ {
+ "url": "https://www.patreon.com/phpstan",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-02-28T20:22:43+00:00"
},
{
"name": "phpstan/phpstan-strict-rules",
- "version": "0.11",
+ "version": "0.12.9",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-strict-rules.git",
- "reference": "747a742b26a35ef4e4ebef5ec4490ad74eebcbc0"
+ "reference": "0705fefc7c9168529fd130e341428f5f10f4f01d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/747a742b26a35ef4e4ebef5ec4490ad74eebcbc0",
- "reference": "747a742b26a35ef4e4ebef5ec4490ad74eebcbc0",
+ "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/0705fefc7c9168529fd130e341428f5f10f4f01d",
+ "reference": "0705fefc7c9168529fd130e341428f5f10f4f01d",
"shasum": ""
},
"require": {
- "nikic/php-parser": "^4.0",
- "php": "~7.1",
- "phpstan/phpstan": "^0.11"
+ "php": "^7.1 || ^8.0",
+ "phpstan/phpstan": "^0.12.66"
},
"require-dev": {
- "consistence/coding-standard": "^3.0.1",
- "dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
- "jakub-onderka/php-parallel-lint": "^1.0",
- "phing/phing": "^2.16.0",
- "phpstan/phpstan-phpunit": "^0.11",
- "phpunit/phpunit": "^7.0",
- "slevomat/coding-standard": "^4.5.2"
+ "phing/phing": "^2.16.3",
+ "php-parallel-lint/php-parallel-lint": "^1.2",
+ "phpstan/phpstan-phpunit": "^0.12.16",
+ "phpunit/phpunit": "^7.5.20"
},
- "type": "library",
+ "type": "phpstan-extension",
"extra": {
"branch-alias": {
- "dev-master": "0.11-dev"
+ "dev-master": "0.12-dev"
+ },
+ "phpstan": {
+ "includes": [
+ "rules.neon"
+ ]
}
},
"autoload": {
@@ -1437,39 +753,43 @@
"MIT"
],
"description": "Extra strict and opinionated rules for PHPStan",
- "time": "2019-01-14T09:56:55+00:00"
+ "support": {
+ "issues": "https://github.com/phpstan/phpstan-strict-rules/issues",
+ "source": "https://github.com/phpstan/phpstan-strict-rules/tree/0.12.9"
+ },
+ "time": "2021-01-13T08:50:28+00:00"
},
{
"name": "phpunit/php-code-coverage",
- "version": "7.0.3",
+ "version": "7.0.14",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "0317a769a81845c390e19684d9ba25d7f6aa4707"
+ "reference": "bb7c9a210c72e4709cdde67f8b7362f672f2225c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/0317a769a81845c390e19684d9ba25d7f6aa4707",
- "reference": "0317a769a81845c390e19684d9ba25d7f6aa4707",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/bb7c9a210c72e4709cdde67f8b7362f672f2225c",
+ "reference": "bb7c9a210c72e4709cdde67f8b7362f672f2225c",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-xmlwriter": "*",
- "php": "^7.2",
+ "php": ">=7.2",
"phpunit/php-file-iterator": "^2.0.2",
"phpunit/php-text-template": "^1.2.1",
- "phpunit/php-token-stream": "^3.0.1",
+ "phpunit/php-token-stream": "^3.1.1 || ^4.0",
"sebastian/code-unit-reverse-lookup": "^1.0.1",
- "sebastian/environment": "^4.1",
+ "sebastian/environment": "^4.2.2",
"sebastian/version": "^2.0.1",
- "theseer/tokenizer": "^1.1"
+ "theseer/tokenizer": "^1.1.3"
},
"require-dev": {
- "phpunit/phpunit": "^8.0"
+ "phpunit/phpunit": "^8.2.2"
},
"suggest": {
- "ext-xdebug": "^2.6.1"
+ "ext-xdebug": "^2.7.2"
},
"type": "library",
"extra": {
@@ -1500,27 +820,37 @@
"testing",
"xunit"
],
- "time": "2019-02-26T07:38:26+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/7.0.14"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-12-02T13:39:03+00:00"
},
{
"name": "phpunit/php-file-iterator",
- "version": "2.0.2",
+ "version": "2.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "050bedf145a257b1ff02746c31894800e5122946"
+ "reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/050bedf145a257b1ff02746c31894800e5122946",
- "reference": "050bedf145a257b1ff02746c31894800e5122946",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/4b49fb70f067272b659ef0174ff9ca40fdaa6357",
+ "reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.1"
},
"require-dev": {
- "phpunit/phpunit": "^7.1"
+ "phpunit/phpunit": "^8.5"
},
"type": "library",
"extra": {
@@ -1550,7 +880,17 @@
"filesystem",
"iterator"
],
- "time": "2018-09-13T20:33:42+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
+ "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T08:25:21+00:00"
},
{
"name": "phpunit/php-text-template",
@@ -1591,27 +931,31 @@
"keywords": [
"template"
],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-text-template/issues",
+ "source": "https://github.com/sebastianbergmann/php-text-template/tree/1.2.1"
+ },
"time": "2015-06-21T13:50:34+00:00"
},
{
"name": "phpunit/php-timer",
- "version": "2.1.1",
+ "version": "2.1.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "8b389aebe1b8b0578430bda0c7c95a829608e059"
+ "reference": "2454ae1765516d20c4ffe103d85a58a9a3bd5662"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/8b389aebe1b8b0578430bda0c7c95a829608e059",
- "reference": "8b389aebe1b8b0578430bda0c7c95a829608e059",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/2454ae1765516d20c4ffe103d85a58a9a3bd5662",
+ "reference": "2454ae1765516d20c4ffe103d85a58a9a3bd5662",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.1"
},
"require-dev": {
- "phpunit/phpunit": "^7.0"
+ "phpunit/phpunit": "^8.5"
},
"type": "library",
"extra": {
@@ -1640,33 +984,43 @@
"keywords": [
"timer"
],
- "time": "2019-02-20T10:12:59+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-timer/issues",
+ "source": "https://github.com/sebastianbergmann/php-timer/tree/2.1.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T08:20:02+00:00"
},
{
"name": "phpunit/php-token-stream",
- "version": "3.0.1",
+ "version": "4.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "c99e3be9d3e85f60646f152f9002d46ed7770d18"
+ "reference": "a853a0e183b9db7eed023d7933a858fa1c8d25a3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/c99e3be9d3e85f60646f152f9002d46ed7770d18",
- "reference": "c99e3be9d3e85f60646f152f9002d46ed7770d18",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/a853a0e183b9db7eed023d7933a858fa1c8d25a3",
+ "reference": "a853a0e183b9db7eed023d7933a858fa1c8d25a3",
"shasum": ""
},
"require": {
"ext-tokenizer": "*",
- "php": "^7.1"
+ "php": "^7.3 || ^8.0"
},
"require-dev": {
- "phpunit/phpunit": "^7.0"
+ "phpunit/phpunit": "^9.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -1689,46 +1043,58 @@
"keywords": [
"tokenizer"
],
- "time": "2018-10-30T05:52:18+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-token-stream/issues",
+ "source": "https://github.com/sebastianbergmann/php-token-stream/tree/master"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "abandoned": true,
+ "time": "2020-08-04T08:28:15+00:00"
},
{
"name": "phpunit/phpunit",
- "version": "8.1.2",
+ "version": "8.5.14",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "e7450b51b6f5d29edcd645ff72b355ab0633ca35"
+ "reference": "c25f79895d27b6ecd5abfa63de1606b786a461a3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/e7450b51b6f5d29edcd645ff72b355ab0633ca35",
- "reference": "e7450b51b6f5d29edcd645ff72b355ab0633ca35",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c25f79895d27b6ecd5abfa63de1606b786a461a3",
+ "reference": "c25f79895d27b6ecd5abfa63de1606b786a461a3",
"shasum": ""
},
"require": {
- "doctrine/instantiator": "^1.1",
+ "doctrine/instantiator": "^1.3.1",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-xml": "*",
"ext-xmlwriter": "*",
- "myclabs/deep-copy": "^1.7",
- "phar-io/manifest": "^1.0.2",
- "phar-io/version": "^2.0",
- "php": "^7.2",
- "phpspec/prophecy": "^1.7",
- "phpunit/php-code-coverage": "^7.0",
- "phpunit/php-file-iterator": "^2.0.1",
+ "myclabs/deep-copy": "^1.10.0",
+ "phar-io/manifest": "^2.0.1",
+ "phar-io/version": "^3.0.2",
+ "php": ">=7.2",
+ "phpspec/prophecy": "^1.10.3",
+ "phpunit/php-code-coverage": "^7.0.12",
+ "phpunit/php-file-iterator": "^2.0.2",
"phpunit/php-text-template": "^1.2.1",
- "phpunit/php-timer": "^2.1",
- "sebastian/comparator": "^3.0",
- "sebastian/diff": "^3.0",
- "sebastian/environment": "^4.1",
- "sebastian/exporter": "^3.1",
- "sebastian/global-state": "^3.0",
+ "phpunit/php-timer": "^2.1.2",
+ "sebastian/comparator": "^3.0.2",
+ "sebastian/diff": "^3.0.2",
+ "sebastian/environment": "^4.2.3",
+ "sebastian/exporter": "^3.1.2",
+ "sebastian/global-state": "^3.0.0",
"sebastian/object-enumerator": "^3.0.3",
- "sebastian/resource-operations": "^2.0",
+ "sebastian/resource-operations": "^2.0.1",
+ "sebastian/type": "^1.1.3",
"sebastian/version": "^2.0.1"
},
"require-dev": {
@@ -1737,7 +1103,7 @@
"suggest": {
"ext-soap": "*",
"ext-xdebug": "*",
- "phpunit/php-invoker": "^2.0"
+ "phpunit/php-invoker": "^2.0.0"
},
"bin": [
"phpunit"
@@ -1745,7 +1111,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "8.1-dev"
+ "dev-master": "8.5-dev"
}
},
"autoload": {
@@ -1771,74 +1137,41 @@
"testing",
"xunit"
],
- "time": "2019-04-08T16:03:02+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/phpunit/issues",
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.14"
},
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
+ "funding": [
+ {
+ "url": "https://phpunit.de/donate.html",
+ "type": "custom"
+ },
{
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
}
],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2018-11-20T15:27:04+00:00"
+ "time": "2021-01-17T07:37:30+00:00"
},
{
"name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
+ "version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
+ "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/1de8cd5c010cb153fcd68b8d0f64606f523f7619",
+ "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619",
"shasum": ""
},
"require": {
- "php": "^5.6 || ^7.0"
+ "php": ">=5.6"
},
"require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
+ "phpunit/phpunit": "^8.5"
},
"type": "library",
"extra": {
@@ -1863,29 +1196,39 @@
],
"description": "Looks up which function or method a line of code belongs to",
"homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
+ "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/1.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T08:15:22+00:00"
},
{
"name": "sebastian/comparator",
- "version": "3.0.2",
+ "version": "3.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da"
+ "reference": "1071dfcef776a57013124ff35e1fc41ccd294758"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
- "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/1071dfcef776a57013124ff35e1fc41ccd294758",
+ "reference": "1071dfcef776a57013124ff35e1fc41ccd294758",
"shasum": ""
},
"require": {
- "php": "^7.1",
+ "php": ">=7.1",
"sebastian/diff": "^3.0",
"sebastian/exporter": "^3.1"
},
"require-dev": {
- "phpunit/phpunit": "^7.1"
+ "phpunit/phpunit": "^8.5"
},
"type": "library",
"extra": {
@@ -1903,6 +1246,10 @@
"BSD-3-Clause"
],
"authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
{
"name": "Jeff Welch",
"email": "whatthejeff@gmail.com"
@@ -1914,10 +1261,6 @@
{
"name": "Bernhard Schussek",
"email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
}
],
"description": "Provides the functionality to compare PHP values for equality",
@@ -1927,24 +1270,34 @@
"compare",
"equality"
],
- "time": "2018-07-12T15:12:46+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/comparator/issues",
+ "source": "https://github.com/sebastianbergmann/comparator/tree/3.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T08:04:30+00:00"
},
{
"name": "sebastian/diff",
- "version": "3.0.2",
+ "version": "3.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29"
+ "reference": "14f72dd46eaf2f2293cbe79c93cc0bc43161a211"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/720fcc7e9b5cf384ea68d9d930d480907a0c1a29",
- "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29",
+ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/14f72dd46eaf2f2293cbe79c93cc0bc43161a211",
+ "reference": "14f72dd46eaf2f2293cbe79c93cc0bc43161a211",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.1"
},
"require-dev": {
"phpunit/phpunit": "^7.5 || ^8.0",
@@ -1966,13 +1319,13 @@
"BSD-3-Clause"
],
"authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
{
"name": "Sebastian Bergmann",
"email": "sebastian@phpunit.de"
+ },
+ {
+ "name": "Kore Nordmann",
+ "email": "mail@kore-nordmann.de"
}
],
"description": "Diff implementation",
@@ -1983,24 +1336,34 @@
"unidiff",
"unified diff"
],
- "time": "2019-02-04T06:01:07+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/diff/issues",
+ "source": "https://github.com/sebastianbergmann/diff/tree/3.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T07:59:04+00:00"
},
{
"name": "sebastian/environment",
- "version": "4.1.0",
+ "version": "4.2.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "6fda8ce1974b62b14935adc02a9ed38252eca656"
+ "reference": "d47bbbad83711771f167c72d4e3f25f7fcc1f8b0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6fda8ce1974b62b14935adc02a9ed38252eca656",
- "reference": "6fda8ce1974b62b14935adc02a9ed38252eca656",
+ "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/d47bbbad83711771f167c72d4e3f25f7fcc1f8b0",
+ "reference": "d47bbbad83711771f167c72d4e3f25f7fcc1f8b0",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.1"
},
"require-dev": {
"phpunit/phpunit": "^7.5"
@@ -2011,7 +1374,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -2036,24 +1399,34 @@
"environment",
"hhvm"
],
- "time": "2019-02-01T05:27:49+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/environment/issues",
+ "source": "https://github.com/sebastianbergmann/environment/tree/4.2.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T07:53:42+00:00"
},
{
"name": "sebastian/exporter",
- "version": "3.1.0",
+ "version": "3.1.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937"
+ "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937",
+ "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/6b853149eab67d4da22291d36f5b0631c0fd856e",
+ "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e",
"shasum": ""
},
"require": {
- "php": "^7.0",
+ "php": ">=7.0",
"sebastian/recursion-context": "^3.0"
},
"require-dev": {
@@ -2076,6 +1449,10 @@
"BSD-3-Clause"
],
"authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
{
"name": "Jeff Welch",
"email": "whatthejeff@gmail.com"
@@ -2084,17 +1461,13 @@
"name": "Volker Dusch",
"email": "github@wallbash.com"
},
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
{
"name": "Adam Harvey",
"email": "aharvey@php.net"
+ },
+ {
+ "name": "Bernhard Schussek",
+ "email": "bschussek@gmail.com"
}
],
"description": "Provides the functionality to export PHP variables for visualization",
@@ -2103,24 +1476,34 @@
"export",
"exporter"
],
- "time": "2017-04-03T13:19:02+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/exporter/issues",
+ "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T07:47:53+00:00"
},
{
"name": "sebastian/global-state",
- "version": "3.0.0",
+ "version": "3.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4"
+ "reference": "474fb9edb7ab891665d3bfc6317f42a0a150454b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4",
- "reference": "edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4",
+ "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/474fb9edb7ab891665d3bfc6317f42a0a150454b",
+ "reference": "474fb9edb7ab891665d3bfc6317f42a0a150454b",
"shasum": ""
},
"require": {
- "php": "^7.2",
+ "php": ">=7.2",
"sebastian/object-reflector": "^1.1.1",
"sebastian/recursion-context": "^3.0"
},
@@ -2157,24 +1540,34 @@
"keywords": [
"global state"
],
- "time": "2019-02-01T05:30:01+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/global-state/issues",
+ "source": "https://github.com/sebastianbergmann/global-state/tree/3.0.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T07:43:24+00:00"
},
{
"name": "sebastian/object-enumerator",
- "version": "3.0.3",
+ "version": "3.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5"
+ "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2",
+ "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2",
"shasum": ""
},
"require": {
- "php": "^7.0",
+ "php": ">=7.0",
"sebastian/object-reflector": "^1.1.1",
"sebastian/recursion-context": "^3.0"
},
@@ -2204,24 +1597,34 @@
],
"description": "Traverses array structures and object graphs to enumerate all referenced objects",
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-08-03T12:35:26+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
+ "source": "https://github.com/sebastianbergmann/object-enumerator/tree/3.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T07:40:27+00:00"
},
{
"name": "sebastian/object-reflector",
- "version": "1.1.1",
+ "version": "1.1.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-reflector.git",
- "reference": "773f97c67f28de00d397be301821b06708fca0be"
+ "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be",
- "reference": "773f97c67f28de00d397be301821b06708fca0be",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/9b8772b9cbd456ab45d4a598d2dd1a1bced6363d",
+ "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": ">=7.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0"
@@ -2249,24 +1652,34 @@
],
"description": "Allows reflection of object attributes, including inherited and non-public ones",
"homepage": "https://github.com/sebastianbergmann/object-reflector/",
- "time": "2017-03-29T09:07:27+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/object-reflector/issues",
+ "source": "https://github.com/sebastianbergmann/object-reflector/tree/1.1.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T07:37:18+00:00"
},
{
"name": "sebastian/recursion-context",
- "version": "3.0.0",
+ "version": "3.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8"
+ "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
+ "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/367dcba38d6e1977be014dc4b22f47a484dac7fb",
+ "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": ">=7.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0"
@@ -2287,14 +1700,14 @@
"BSD-3-Clause"
],
"authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
{
"name": "Sebastian Bergmann",
"email": "sebastian@phpunit.de"
},
+ {
+ "name": "Jeff Welch",
+ "email": "whatthejeff@gmail.com"
+ },
{
"name": "Adam Harvey",
"email": "aharvey@php.net"
@@ -2302,24 +1715,34 @@
],
"description": "Provides functionality to recursively process PHP variables",
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2017-03-03T06:23:57+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/recursion-context/issues",
+ "source": "https://github.com/sebastianbergmann/recursion-context/tree/3.0.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T07:34:24+00:00"
},
{
"name": "sebastian/resource-operations",
- "version": "2.0.1",
+ "version": "2.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9"
+ "reference": "31d35ca87926450c44eae7e2611d45a7a65ea8b3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
- "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
+ "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/31d35ca87926450c44eae7e2611d45a7a65ea8b3",
+ "reference": "31d35ca87926450c44eae7e2611d45a7a65ea8b3",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.1"
},
"type": "library",
"extra": {
@@ -2344,29 +1767,42 @@
],
"description": "Provides a list of PHP built-in functions that operate on resources",
"homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2018-10-04T04:07:39+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/resource-operations/issues",
+ "source": "https://github.com/sebastianbergmann/resource-operations/tree/2.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T07:30:19+00:00"
},
{
- "name": "sebastian/version",
- "version": "2.0.1",
+ "name": "sebastian/type",
+ "version": "1.1.4",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
+ "url": "https://github.com/sebastianbergmann/type.git",
+ "reference": "0150cfbc4495ed2df3872fb31b26781e4e077eb4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
+ "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/0150cfbc4495ed2df3872fb31b26781e4e077eb4",
+ "reference": "0150cfbc4495ed2df3872fb31b26781e4e077eb4",
"shasum": ""
},
"require": {
- "php": ">=5.6"
+ "php": ">=7.2"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^8.2"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0.x-dev"
+ "dev-master": "1.1-dev"
}
},
"autoload": {
@@ -2385,306 +1821,200 @@
"role": "lead"
}
],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "slevomat/coding-standard",
- "version": "5.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/slevomat/coding-standard.git",
- "reference": "287ac3347c47918c0bf5e10335e36197ea10894c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/287ac3347c47918c0bf5e10335e36197ea10894c",
- "reference": "287ac3347c47918c0bf5e10335e36197ea10894c",
- "shasum": ""
+ "description": "Collection of value objects that represent the types of the PHP type system",
+ "homepage": "https://github.com/sebastianbergmann/type",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/type/issues",
+ "source": "https://github.com/sebastianbergmann/type/tree/1.1.4"
},
- "require": {
- "php": "^7.1",
- "phpstan/phpdoc-parser": "^0.3.1",
- "squizlabs/php_codesniffer": "^3.4.1"
- },
- "require-dev": {
- "jakub-onderka/php-parallel-lint": "1.0.0",
- "phing/phing": "2.16.1",
- "phpstan/phpstan": "0.11.4",
- "phpstan/phpstan-phpunit": "0.11",
- "phpstan/phpstan-strict-rules": "0.11",
- "phpunit/phpunit": "8.0.5"
- },
- "type": "phpcodesniffer-standard",
- "autoload": {
- "psr-4": {
- "SlevomatCodingStandard\\": "SlevomatCodingStandard"
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
}
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
],
- "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.",
- "time": "2019-03-22T19:10:53+00:00"
+ "time": "2020-11-30T07:25:11+00:00"
},
{
- "name": "squizlabs/php_codesniffer",
- "version": "3.4.2",
+ "name": "sebastian/version",
+ "version": "2.0.1",
"source": {
"type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8"
+ "url": "https://github.com/sebastianbergmann/version.git",
+ "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8",
- "reference": "b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8",
+ "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
+ "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
"shasum": ""
},
"require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
+ "php": ">=5.6"
},
- "bin": [
- "bin/phpcs",
- "bin/phpcbf"
- ],
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.x-dev"
+ "dev-master": "2.0.x-dev"
}
},
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
- "name": "Greg Sherwood",
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
"role": "lead"
}
],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2019-04-10T23:49:02+00:00"
+ "description": "Library that helps with managing the version number of Git-hosted PHP projects",
+ "homepage": "https://github.com/sebastianbergmann/version",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/version/issues",
+ "source": "https://github.com/sebastianbergmann/version/tree/master"
+ },
+ "time": "2016-10-03T07:35:21+00:00"
},
{
- "name": "symfony/console",
- "version": "v4.2.5",
+ "name": "slevomat/coding-standard",
+ "version": "6.4.1",
"source": {
"type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "24206aff3efe6962593297e57ef697ebb220e384"
+ "url": "https://github.com/slevomat/coding-standard.git",
+ "reference": "696dcca217d0c9da2c40d02731526c1e25b65346"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/24206aff3efe6962593297e57ef697ebb220e384",
- "reference": "24206aff3efe6962593297e57ef697ebb220e384",
+ "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/696dcca217d0c9da2c40d02731526c1e25b65346",
+ "reference": "696dcca217d0c9da2c40d02731526c1e25b65346",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
- "symfony/contracts": "^1.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/process": "<3.3"
- },
- "provide": {
- "psr/log-implementation": "1.0"
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7",
+ "php": "^7.1 || ^8.0",
+ "phpstan/phpdoc-parser": "0.4.5 - 0.4.9",
+ "squizlabs/php_codesniffer": "^3.5.6"
},
"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"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/lock": "",
- "symfony/process": ""
+ "phing/phing": "2.16.3",
+ "php-parallel-lint/php-parallel-lint": "1.2.0",
+ "phpstan/phpstan": "0.12.48",
+ "phpstan/phpstan-deprecation-rules": "0.12.5",
+ "phpstan/phpstan-phpunit": "0.12.16",
+ "phpstan/phpstan-strict-rules": "0.12.5",
+ "phpunit/phpunit": "7.5.20|8.5.5|9.4.0"
},
- "type": "library",
+ "type": "phpcodesniffer-standard",
"extra": {
"branch-alias": {
- "dev-master": "4.2-dev"
+ "dev-master": "6.x-dev"
}
},
"autoload": {
"psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
+ "SlevomatCodingStandard\\": "SlevomatCodingStandard"
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
- "authors": [
+ "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.",
+ "support": {
+ "issues": "https://github.com/slevomat/coding-standard/issues",
+ "source": "https://github.com/slevomat/coding-standard/tree/6.4.1"
+ },
+ "funding": [
{
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
+ "url": "https://github.com/kukulich",
+ "type": "github"
},
{
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
+ "url": "https://tidelift.com/funding/github/packagist/slevomat/coding-standard",
+ "type": "tidelift"
}
],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2019-04-01T07:32:59+00:00"
+ "time": "2020-10-05T12:39:37+00:00"
},
{
- "name": "symfony/contracts",
- "version": "v1.0.2",
+ "name": "squizlabs/php_codesniffer",
+ "version": "3.5.8",
"source": {
"type": "git",
- "url": "https://github.com/symfony/contracts.git",
- "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf"
+ "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
+ "reference": "9d583721a7157ee997f235f327de038e7ea6dac4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/contracts/zipball/1aa7ab2429c3d594dd70689604b5cf7421254cdf",
- "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf",
+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/9d583721a7157ee997f235f327de038e7ea6dac4",
+ "reference": "9d583721a7157ee997f235f327de038e7ea6dac4",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "ext-simplexml": "*",
+ "ext-tokenizer": "*",
+ "ext-xmlwriter": "*",
+ "php": ">=5.4.0"
},
"require-dev": {
- "psr/cache": "^1.0",
- "psr/container": "^1.0"
- },
- "suggest": {
- "psr/cache": "When using the Cache contracts",
- "psr/container": "When using the Service contracts",
- "symfony/cache-contracts-implementation": "",
- "symfony/service-contracts-implementation": "",
- "symfony/translation-contracts-implementation": ""
+ "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
},
+ "bin": [
+ "bin/phpcs",
+ "bin/phpcbf"
+ ],
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0-dev"
+ "dev-master": "3.x-dev"
}
},
- "autoload": {
- "psr-4": {
- "Symfony\\Contracts\\": ""
- },
- "exclude-from-classmap": [
- "**/Tests/"
- ]
- },
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
+ "name": "Greg Sherwood",
+ "role": "lead"
}
],
- "description": "A set of abstractions extracted out of the Symfony components",
- "homepage": "https://symfony.com",
+ "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
+ "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
"keywords": [
- "abstractions",
- "contracts",
- "decoupling",
- "interfaces",
- "interoperability",
+ "phpcs",
"standards"
],
- "time": "2018-12-05T08:06:11+00:00"
- },
- {
- "name": "symfony/finder",
- "version": "v4.2.5",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/finder.git",
- "reference": "267b7002c1b70ea80db0833c3afe05f0fbde580a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/267b7002c1b70ea80db0833c3afe05f0fbde580a",
- "reference": "267b7002c1b70ea80db0833c3afe05f0fbde580a",
- "shasum": ""
- },
- "require": {
- "php": "^7.1.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Finder\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
+ "support": {
+ "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
+ "source": "https://github.com/squizlabs/PHP_CodeSniffer",
+ "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
},
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Finder Component",
- "homepage": "https://symfony.com",
- "time": "2019-02-23T15:42:05+00:00"
+ "time": "2020-10-23T02:01:07+00:00"
},
{
"name": "symfony/polyfill-ctype",
- "version": "v1.11.0",
+ "version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "82ebae02209c21113908c229e9883c419720738a"
+ "reference": "c6c942b1ac76c82448322025e084cadc56048b4e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/82ebae02209c21113908c229e9883c419720738a",
- "reference": "82ebae02209c21113908c229e9883c419720738a",
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c6c942b1ac76c82448322025e084cadc56048b4e",
+ "reference": "c6c942b1ac76c82448322025e084cadc56048b4e",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"suggest": {
"ext-ctype": "For best performance"
@@ -2692,7 +2022,11 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.11-dev"
+ "dev-main": "1.22-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
@@ -2709,12 +2043,12 @@
],
"authors": [
{
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
+ "name": "Gert de Pagter",
+ "email": "BackEndTea@gmail.com"
},
{
- "name": "Gert de Pagter",
- "email": "backendtea@gmail.com"
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill for ctype functions",
@@ -2725,86 +2059,44 @@
"polyfill",
"portable"
],
- "time": "2019-02-06T07:57:58+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.11.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "fe5e94c604826c35a32fa832f35bd036b6799609"
+ "support": {
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.22.1"
},
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fe5e94c604826c35a32fa832f35bd036b6799609",
- "reference": "fe5e94c604826c35a32fa832f35bd036b6799609",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.11-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
},
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
{
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
+ "url": "https://github.com/fabpot",
+ "type": "github"
},
{
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
}
],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2019-02-06T07:57:58+00:00"
+ "time": "2021-01-07T16:49:33+00:00"
},
{
"name": "theseer/tokenizer",
- "version": "1.1.2",
+ "version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/theseer/tokenizer.git",
- "reference": "1c42705be2b6c1de5904f8afacef5895cab44bf8"
+ "reference": "75a63c33a8577608444246075ea0af0d052e452a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/theseer/tokenizer/zipball/1c42705be2b6c1de5904f8afacef5895cab44bf8",
- "reference": "1c42705be2b6c1de5904f8afacef5895cab44bf8",
+ "url": "https://api.github.com/repos/theseer/tokenizer/zipball/75a63c33a8577608444246075ea0af0d052e452a",
+ "reference": "75a63c33a8577608444246075ea0af0d052e452a",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-tokenizer": "*",
"ext-xmlwriter": "*",
- "php": "^7.0"
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"autoload": {
@@ -2824,36 +2116,44 @@
}
],
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
- "time": "2019-04-04T09:56:43+00:00"
+ "support": {
+ "issues": "https://github.com/theseer/tokenizer/issues",
+ "source": "https://github.com/theseer/tokenizer/tree/master"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/theseer",
+ "type": "github"
+ }
+ ],
+ "time": "2020-07-12T23:59:07+00:00"
},
{
"name": "webmozart/assert",
- "version": "1.4.0",
+ "version": "1.9.1",
"source": {
"type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9"
+ "url": "https://github.com/webmozarts/assert.git",
+ "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9",
+ "url": "https://api.github.com/repos/webmozarts/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",
+ "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",
"shasum": ""
},
"require": {
- "php": "^5.3.3 || ^7.0",
+ "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.6",
- "sebastian/version": "^1.0.1"
+ "phpunit/phpunit": "^4.8.36 || ^7.5.13"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
"autoload": {
"psr-4": {
"Webmozart\\Assert\\": "src/"
@@ -2875,7 +2175,11 @@
"check",
"validate"
],
- "time": "2018-12-25T11:19:39+00:00"
+ "support": {
+ "issues": "https://github.com/webmozarts/assert/issues",
+ "source": "https://github.com/webmozarts/assert/tree/1.9.1"
+ },
+ "time": "2020-07-08T17:02:28+00:00"
}
],
"aliases": [],
@@ -2884,7 +2188,8 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
- "php": "^7.2"
+ "php": ">=7.2"
},
- "platform-dev": []
+ "platform-dev": [],
+ "plugin-api-version": "2.0.0"
}
diff --git a/phpcs.xml.dist b/phpcs.xml.dist
index 340a8a2..3ef3e21 100644
--- a/phpcs.xml.dist
+++ b/phpcs.xml.dist
@@ -30,11 +30,7 @@
src/Purl/AbstractPart.php
-
- src/Purl/AbstractPart.php
-
-
-
- src/Purl/AbstractPart.php
+
+ 0
diff --git a/src/Purl/AbstractPart.php b/src/Purl/AbstractPart.php
index 55dd4ae..79a70c5 100644
--- a/src/Purl/AbstractPart.php
+++ b/src/Purl/AbstractPart.php
@@ -25,7 +25,7 @@ abstract class AbstractPart implements ArrayAccess
/**
* @return mixed[]
*/
- public function getData() : array
+ public function getData(): array
{
$this->initialize();
@@ -35,19 +35,19 @@ public function getData() : array
/**
* @param mixed[] $data
*/
- public function setData(array $data) : void
+ public function setData(array $data): void
{
$this->initialize();
$this->data = $data;
}
- public function isInitialized() : bool
+ public function isInitialized(): bool
{
return $this->initialized;
}
- public function has(string $key) : bool
+ public function has(string $key): bool
{
$this->initialize();
@@ -67,7 +67,7 @@ public function get(string $key)
/**
* @param mixed $value
*/
- public function set(string $key, $value) : AbstractPart
+ public function set(string $key, $value): AbstractPart
{
$this->initialize();
$this->data[$key] = $value;
@@ -78,7 +78,7 @@ public function set(string $key, $value) : AbstractPart
/**
* @param mixed $value
*/
- public function add($value) : AbstractPart
+ public function add($value): AbstractPart
{
$this->initialize();
$this->data[] = $value;
@@ -86,7 +86,7 @@ public function add($value) : AbstractPart
return $this;
}
- public function remove(string $key) : AbstractPart
+ public function remove(string $key): AbstractPart
{
$this->initialize();
@@ -95,7 +95,7 @@ public function remove(string $key) : AbstractPart
return $this;
}
- public function __isset(string $key) : bool
+ public function __isset(string $key): bool
{
return $this->has($key);
}
@@ -111,12 +111,12 @@ public function __get(string $key)
/**
* @param mixed $value
*/
- public function __set(string $key, $value) : AbstractPart
+ public function __set(string $key, $value): void
{
- return $this->set($key, $value);
+ $this->set($key, $value);
}
- public function __unset(string $key) : void
+ public function __unset(string $key): void
{
$this->remove($key);
}
@@ -124,7 +124,7 @@ public function __unset(string $key) : void
/**
* @param mixed $key
*/
- public function offsetExists($key) : bool
+ public function offsetExists($key): bool
{
$this->initialize();
@@ -144,25 +144,21 @@ public function offsetGet($key)
/**
* @param mixed $key
* @param mixed $value
- *
- * @return void
*/
- public function offsetSet($key, $value)
+ public function offsetSet($key, $value): void
{
$this->set($key, $value);
}
/**
* @param mixed $key
- *
- * @return void
*/
- public function offsetUnset($key)
+ public function offsetUnset($key): void
{
$this->remove($key);
}
- protected function initialize() : void
+ protected function initialize(): void
{
if ($this->initialized === true) {
return;
@@ -189,7 +185,7 @@ protected function preparePartValue(string $key, $value)
return ! $value instanceof $className ? new $className($value) : $value;
}
- abstract public function __toString() : string;
+ abstract public function __toString(): string;
- abstract protected function doInitialize() : void;
+ abstract protected function doInitialize(): void;
}
diff --git a/src/Purl/Fragment.php b/src/Purl/Fragment.php
index b126f0e..56af18b 100644
--- a/src/Purl/Fragment.php
+++ b/src/Purl/Fragment.php
@@ -50,7 +50,7 @@ public function __construct($fragment = null, ?Query $query = null)
/**
* @param mixed $value
*/
- public function set(string $key, $value) : AbstractPart
+ public function set(string $key, $value): AbstractPart
{
$this->initialize();
$this->data[$key] = $this->preparePartValue($key, $value);
@@ -58,7 +58,7 @@ public function set(string $key, $value) : AbstractPart
return $this;
}
- public function getFragment() : string
+ public function getFragment(): string
{
$this->initialize();
@@ -69,7 +69,7 @@ public function getFragment() : string
);
}
- public function setFragment(string $fragment) : AbstractPart
+ public function setFragment(string $fragment): AbstractPart
{
$this->initialized = false;
$this->data = [];
@@ -78,40 +78,40 @@ public function setFragment(string $fragment) : AbstractPart
return $this;
}
- public function setPath(Path $path) : AbstractPart
+ public function setPath(Path $path): AbstractPart
{
$this->data['path'] = $path;
return $this;
}
- public function getPath() : Path
+ public function getPath(): Path
{
$this->initialize();
return $this->data['path'];
}
- public function setQuery(Query $query) : AbstractPart
+ public function setQuery(Query $query): AbstractPart
{
$this->data['query'] = $query;
return $this;
}
- public function getQuery() : Query
+ public function getQuery(): Query
{
$this->initialize();
return $this->data['query'];
}
- public function __toString() : string
+ public function __toString(): string
{
return $this->getFragment();
}
- protected function doInitialize() : void
+ protected function doInitialize(): void
{
if ($this->fragment !== null) {
$parsed = parse_url($this->fragment);
diff --git a/src/Purl/Parser.php b/src/Purl/Parser.php
index 8685c99..5951180 100644
--- a/src/Purl/Parser.php
+++ b/src/Purl/Parser.php
@@ -5,6 +5,7 @@
namespace Purl;
use InvalidArgumentException;
+
use function array_merge;
use function array_reverse;
use function explode;
@@ -36,7 +37,7 @@ class Parser implements ParserInterface
*
* @return mixed[]
*/
- public function parseUrl($url) : array
+ public function parseUrl($url): array
{
$url = (string) $url;
@@ -64,7 +65,7 @@ public function parseUrl($url) : array
/**
* @return mixed[]
*/
- protected function doParseUrl(string $url) : array
+ protected function doParseUrl(string $url): array
{
$parsedUrl = parse_url($url);
diff --git a/src/Purl/ParserInterface.php b/src/Purl/ParserInterface.php
index 84c411b..5283e0b 100644
--- a/src/Purl/ParserInterface.php
+++ b/src/Purl/ParserInterface.php
@@ -11,5 +11,5 @@ interface ParserInterface
*
* @return mixed[]
*/
- public function parseUrl($url) : array;
+ public function parseUrl($url): array;
}
diff --git a/src/Purl/Path.php b/src/Purl/Path.php
index b46c3dc..91f02fa 100644
--- a/src/Purl/Path.php
+++ b/src/Purl/Path.php
@@ -22,7 +22,7 @@ public function __construct(?string $path = null)
$this->path = $path;
}
- public function getPath() : string
+ public function getPath(): string
{
$this->initialize();
@@ -31,7 +31,7 @@ public function getPath() : string
}, $this->data));
}
- public function setPath(string $path) : void
+ public function setPath(string $path): void
{
$this->initialized = false;
$this->path = $path;
@@ -40,19 +40,19 @@ public function setPath(string $path) : void
/**
* @return mixed[]
*/
- public function getSegments() : array
+ public function getSegments(): array
{
$this->initialize();
return $this->data;
}
- public function __toString() : string
+ public function __toString(): string
{
return $this->getPath();
}
- protected function doInitialize() : void
+ protected function doInitialize(): void
{
$this->data = explode('/', (string) $this->path);
}
diff --git a/src/Purl/Query.php b/src/Purl/Query.php
index 8f81569..f3250de 100644
--- a/src/Purl/Query.php
+++ b/src/Purl/Query.php
@@ -20,25 +20,25 @@ public function __construct(?string $query = null)
$this->query = $query;
}
- public function getQuery() : string
+ public function getQuery(): string
{
$this->initialize();
return http_build_query($this->data);
}
- public function setQuery(string $query) : void
+ public function setQuery(string $query): void
{
$this->initialized = false;
$this->query = $query;
}
- public function __toString() : string
+ public function __toString(): string
{
return $this->getQuery();
}
- protected function doInitialize() : void
+ protected function doInitialize(): void
{
parse_str((string) $this->query, $data);
diff --git a/src/Purl/Url.php b/src/Purl/Url.php
index c0343df..a958647 100644
--- a/src/Purl/Url.php
+++ b/src/Purl/Url.php
@@ -63,7 +63,7 @@ public function __construct(?string $url = null, ?ParserInterface $parser = null
$this->parser = $parser;
}
- public static function parse(string $url) : Url
+ public static function parse(string $url): Url
{
return new self($url);
}
@@ -71,7 +71,7 @@ public static function parse(string $url) : Url
/**
* @return Url[] $urls
*/
- public static function extract(string $string) : array
+ public static function extract(string $string): array
{
$regex = '/(http|https|ftp|ftps)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,}(\/\S*)?/';
@@ -84,7 +84,7 @@ public static function extract(string $string) : array
return $urls;
}
- public static function fromCurrent() : Url
+ public static function fromCurrent(): Url
{
$scheme = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] === 443 ? 'https' : 'http';
@@ -108,8 +108,10 @@ public static function fromCurrent() : Url
// Only set port if different from default (80 or 443)
if (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT']) {
$port = $_SERVER['SERVER_PORT'];
- if (($scheme === 'http' && $port !== 80) ||
- ($scheme === 'https' && $port !== 443)) {
+ if (
+ ($scheme === 'http' && $port !== 80) ||
+ ($scheme === 'https' && $port !== 443)
+ ) {
$url->set('port', $port);
}
}
@@ -125,7 +127,7 @@ public static function fromCurrent() : Url
return $url;
}
- public function getParser() : ParserInterface
+ public function getParser(): ParserInterface
{
if ($this->parser === null) {
$this->parser = self::createDefaultParser();
@@ -134,7 +136,7 @@ public function getParser() : ParserInterface
return $this->parser;
}
- public function setParser(ParserInterface $parser) : void
+ public function setParser(ParserInterface $parser): void
{
$this->parser = $parser;
}
@@ -142,7 +144,7 @@ public function setParser(ParserInterface $parser) : void
/**
* @param string|Url $url
*/
- public function join($url) : Url
+ public function join($url): Url
{
$this->initialize();
$parts = $this->getParser()->parseUrl($url);
@@ -169,7 +171,7 @@ public function join($url) : Url
/**
* @param mixed $value
*/
- public function set(string $key, $value) : AbstractPart
+ public function set(string $key, $value): AbstractPart
{
$this->initialize();
@@ -178,56 +180,56 @@ public function set(string $key, $value) : AbstractPart
return $this;
}
- public function setPath(Path $path) : AbstractPart
+ public function setPath(Path $path): AbstractPart
{
$this->data['path'] = $path;
return $this;
}
- public function getPath() : Path
+ public function getPath(): Path
{
$this->initialize();
return $this->data['path'];
}
- public function setQuery(Query $query) : AbstractPart
+ public function setQuery(Query $query): AbstractPart
{
$this->data['query'] = $query;
return $this;
}
- public function getQuery() : Query
+ public function getQuery(): Query
{
$this->initialize();
return $this->data['query'];
}
- public function setFragment(Fragment $fragment) : AbstractPart
+ public function setFragment(Fragment $fragment): AbstractPart
{
$this->data['fragment'] = $fragment;
return $this;
}
- public function getFragment() : Fragment
+ public function getFragment(): Fragment
{
$this->initialize();
return $this->data['fragment'];
}
- public function getNetloc() : string
+ public function getNetloc(): string
{
$this->initialize();
return ($this->user !== null && $this->pass !== null ? $this->user . ($this->pass !== null ? ':' . $this->pass : '') . '@' : '') . $this->host . ($this->port !== null ? ':' . $this->port : '');
}
- public function getUrl() : string
+ public function getUrl(): string
{
$this->initialize();
@@ -240,26 +242,26 @@ public function getUrl() : string
return self::httpBuildUrl($parts);
}
- public function setUrl(string $url) : void
+ public function setUrl(string $url): void
{
$this->initialized = false;
$this->data = [];
$this->url = $url;
}
- public function isAbsolute() : bool
+ public function isAbsolute(): bool
{
$this->initialize();
return $this->scheme !== null && $this->host !== null;
}
- public function __toString() : string
+ public function __toString(): string
{
return $this->getUrl();
}
- protected function doInitialize() : void
+ protected function doInitialize(): void
{
$parts = $this->getParser()->parseUrl($this->url);
@@ -279,7 +281,7 @@ protected function doInitialize() : void
/**
* @param string[] $parts
*/
- private static function httpBuildUrl(array $parts) : string
+ private static function httpBuildUrl(array $parts): string
{
$relative = self::httpBuildRelativeUrl($parts);
@@ -300,7 +302,7 @@ private static function httpBuildUrl(array $parts) : string
/**
* @param string[] $parts
*/
- private static function httpBuildRelativeUrl(array $parts) : string
+ private static function httpBuildRelativeUrl(array $parts): string
{
$parts['path'] = ltrim($parts['path'], '/');
@@ -312,7 +314,7 @@ private static function httpBuildRelativeUrl(array $parts) : string
);
}
- private static function createDefaultParser() : Parser
+ private static function createDefaultParser(): Parser
{
return new Parser();
}
diff --git a/tests/Purl/Test/FragmentTest.php b/tests/Purl/Test/FragmentTest.php
index baef335..4135656 100644
--- a/tests/Purl/Test/FragmentTest.php
+++ b/tests/Purl/Test/FragmentTest.php
@@ -11,7 +11,7 @@
class FragmentTest extends TestCase
{
- public function testConstruct() : void
+ public function testConstruct(): void
{
$fragment = new Fragment('test?param=value');
$this->assertInstanceOf('Purl\Path', $fragment->path);
@@ -26,13 +26,13 @@ public function testConstruct() : void
$this->assertEquals('param=value', (string) $fragment->query);
}
- public function testGetFragment() : void
+ public function testGetFragment(): void
{
$fragment = new Fragment('test?param=value');
$this->assertEquals('test?param=value', $fragment->getFragment());
}
- public function testSetFragment() : void
+ public function testSetFragment(): void
{
$fragment = new Fragment('test?param=value');
$this->assertEquals('test?param=value', $fragment->getFragment());
@@ -40,7 +40,7 @@ public function testSetFragment() : void
$this->assertEquals('changed?param=value', $fragment->getFragment());
}
- public function testGetSetPath() : void
+ public function testGetSetPath(): void
{
$fragment = new Fragment();
$path = new Path('test');
@@ -49,7 +49,7 @@ public function testGetSetPath() : void
$this->assertEquals('test', (string) $fragment);
}
- public function testGetSetQuery() : void
+ public function testGetSetQuery(): void
{
$fragment = new Fragment();
$query = new Query('param=value');
@@ -58,26 +58,26 @@ public function testGetSetQuery() : void
$this->assertEquals('?param=value', (string) $fragment);
}
- public function testToString() : void
+ public function testToString(): void
{
$fragment = new Fragment('test?param=value');
$this->assertEquals('test?param=value', (string) $fragment);
}
- public function testIsInitialized() : void
+ public function testIsInitialized(): void
{
$fragment = new Fragment('test?param=value');
$this->assertFalse($fragment->isInitialized());
}
- public function testHas() : void
+ public function testHas(): void
{
$fragment = new Fragment('test?param=value');
$fragment->setData(['param' => 'value']);
$this->assertTrue($fragment->has('param'));
}
- public function testRemove() : void
+ public function testRemove(): void
{
$fragment = new Fragment('test?param=value');
$fragment->setData(['param' => 'value']);
@@ -85,7 +85,7 @@ public function testRemove() : void
$this->assertFalse($fragment->has('param'));
}
- public function testIsset() : void
+ public function testIsset(): void
{
$fragment = new Fragment('test?param=value');
$fragment->setData(['param' => 'value']);
@@ -93,21 +93,21 @@ public function testIsset() : void
$this->assertFalse($fragment->has('param'));
}
- public function testOffsetExists() : void
+ public function testOffsetExists(): void
{
$fragment = new Fragment('test?param=value');
$fragment->setData(['param' => 'value']);
$this->assertTrue($fragment->offsetExists('param'));
}
- public function testOffsetGet() : void
+ public function testOffsetGet(): void
{
$fragment = new Fragment('test?param=value');
$fragment->setData(['param' => 'value']);
$this->assertEquals('value', $fragment->offsetGet('param'));
}
- public function testOffsetUnset() : void
+ public function testOffsetUnset(): void
{
$fragment = new Fragment('test?param=value');
$fragment->setData(['param' => 'value']);
diff --git a/tests/Purl/Test/MemoryUsageTest.php b/tests/Purl/Test/MemoryUsageTest.php
index d127646..aa00a90 100644
--- a/tests/Purl/Test/MemoryUsageTest.php
+++ b/tests/Purl/Test/MemoryUsageTest.php
@@ -6,6 +6,7 @@
use PHPUnit\Framework\TestCase;
use Purl\Url;
+
use function floor;
use function log;
use function memory_get_usage;
@@ -14,7 +15,7 @@
class MemoryUsageTest extends TestCase
{
- public function testMemoryUsage() : void
+ public function testMemoryUsage(): void
{
$domains = [
'http://google.de',
@@ -39,7 +40,7 @@ public function testMemoryUsage() : void
self::assertEquals($this->roundMemoryUsage($memoryStart), $this->roundMemoryUsage($memoryEnd));
}
- private function roundMemoryUsage(float $size) : float
+ private function roundMemoryUsage(float $size): float
{
return round($size / pow(1024, $i = floor(log($size, 1024))));
}
diff --git a/tests/Purl/Test/ParserTest.php b/tests/Purl/Test/ParserTest.php
index b0a71ae..c073e11 100644
--- a/tests/Purl/Test/ParserTest.php
+++ b/tests/Purl/Test/ParserTest.php
@@ -13,20 +13,20 @@ class ParserTest extends TestCase
/** @var Parser */
private $parser;
- protected function setUp() : void
+ protected function setUp(): void
{
parent::setUp();
$this->parser = new Parser();
}
- protected function tearDown() : void
+ protected function tearDown(): void
{
$this->parser = null;
parent::tearDown();
}
- public function testParseUrl() : void
+ public function testParseUrl(): void
{
$parts = $this->parser->parseUrl('https://sub.domain.jwage.com:443/about?param=value#fragment?param=value');
$this->assertEquals([
@@ -43,7 +43,7 @@ public function testParseUrl() : void
], $parts);
}
- public function testParseBadUrlThrowsInvalidArgumentException() : void
+ public function testParseBadUrlThrowsInvalidArgumentException(): void
{
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('Invalid url http:///example.com');
diff --git a/tests/Purl/Test/PathTest.php b/tests/Purl/Test/PathTest.php
index 1357167..b2d4e49 100644
--- a/tests/Purl/Test/PathTest.php
+++ b/tests/Purl/Test/PathTest.php
@@ -9,13 +9,13 @@
class PathTest extends TestCase
{
- public function testConstruct() : void
+ public function testConstruct(): void
{
$path = new Path('test');
$this->assertEquals('test', $path->getPath());
}
- public function testGetSetPath() : void
+ public function testGetSetPath(): void
{
$path = new Path();
$this->assertEquals('', $path->getPath());
@@ -23,13 +23,13 @@ public function testGetSetPath() : void
$this->assertEquals('test', $path->getPath());
}
- public function testGetSegments() : void
+ public function testGetSegments(): void
{
$path = new Path('about/me');
$this->assertEquals(['about', 'me'], $path->getSegments());
}
- public function testToString() : void
+ public function testToString(): void
{
$path = new Path('about/me');
$this->assertEquals('about/me', (string) $path);
diff --git a/tests/Purl/Test/QueryTest.php b/tests/Purl/Test/QueryTest.php
index 6a62372..16e40b7 100644
--- a/tests/Purl/Test/QueryTest.php
+++ b/tests/Purl/Test/QueryTest.php
@@ -9,13 +9,13 @@
class QueryTest extends TestCase
{
- public function testConstruct() : void
+ public function testConstruct(): void
{
$query = new Query('param=value');
$this->assertEquals('param=value', $query->getQuery());
}
- public function testGetSetQuery() : void
+ public function testGetSetQuery(): void
{
$query = new Query();
$this->assertEquals('', $query->getQuery());
@@ -23,13 +23,13 @@ public function testGetSetQuery() : void
$this->assertEquals('param1=value1¶m2=value2', $query->getQuery());
}
- public function testToString() : void
+ public function testToString(): void
{
$query = new Query('param1=value1¶m2=value2');
$this->assertEquals('param1=value1¶m2=value2', (string) $query);
}
- public function testGetSetData() : void
+ public function testGetSetData(): void
{
$query = new Query('param1=value1¶m2=value2');
$this->assertEquals(['param1' => 'value1', 'param2' => 'value2'], $query->getData());
diff --git a/tests/Purl/Test/UrlTest.php b/tests/Purl/Test/UrlTest.php
index ec0b071..8a2dfdf 100644
--- a/tests/Purl/Test/UrlTest.php
+++ b/tests/Purl/Test/UrlTest.php
@@ -10,11 +10,12 @@
use Purl\Path;
use Purl\Query;
use Purl\Url;
+
use function count;
class UrlTest extends TestCase
{
- public function testConstruct() : void
+ public function testConstruct(): void
{
$url = new Url();
$url->setUrl('http://jwage.com');
@@ -26,7 +27,7 @@ public function testConstruct() : void
$this->assertSame($parser, $url->getParser());
}
- public function testSetParser() : void
+ public function testSetParser(): void
{
$parser = new TestParser();
$url = new Url();
@@ -34,7 +35,7 @@ public function testSetParser() : void
$this->assertSame($parser, $url->getParser());
}
- public function testParseSanity() : void
+ public function testParseSanity(): void
{
$url = new Url('https://host.com:443/path with spaces?param1 with spaces=value1 with spaces¶m2=value2#fragment1/fragment2 with spaces?param1=value1¶m2 with spaces=value2 with spaces');
$this->assertEquals('https', $url->scheme);
@@ -52,14 +53,14 @@ public function testParseSanity() : void
$this->assertEquals('fragment1/fragment2%20with%20spaces', (string) $url->fragment->path);
}
- public function testParseStaticMethod() : void
+ public function testParseStaticMethod(): void
{
$url = Url::parse('http://google.com');
$this->assertInstanceOf('Purl\Url', $url);
$this->assertEquals('http://google.com/', (string) $url);
}
- public function testBuild() : void
+ public function testBuild(): void
{
$url = Url::parse('http://jwage.com')
->set('port', '443')
@@ -82,7 +83,7 @@ public function testBuild() : void
$this->assertEquals('https://jwage.com:443/about/me?param1=value1¶m2=value2#/fragment1/fragment2?param1=value1¶m2=value2', (string) $url);
}
- public function testJoin() : void
+ public function testJoin(): void
{
$url = new Url('http://jwage.com/about?param=value#fragment');
$this->assertEquals('http://jwage.com/about?param=value#fragment', (string) $url);
@@ -90,7 +91,7 @@ public function testJoin() : void
$this->assertEquals('http://about.me/jwage?param=value#fragment', (string) $url);
}
- public function testSetPath() : void
+ public function testSetPath(): void
{
$url = new Url('http://jwage.com');
$url->path = 'about';
@@ -98,7 +99,7 @@ public function testSetPath() : void
$this->assertEquals('about', (string) $url->path);
}
- public function testGetPath() : void
+ public function testGetPath(): void
{
$url = new Url('http://jwage.com');
$url->path = 'about';
@@ -106,7 +107,7 @@ public function testGetPath() : void
$this->assertEquals('about', (string) $url->getPath());
}
- public function testSetQuery() : void
+ public function testSetQuery(): void
{
$url = new Url('http://jwage.com');
$url->query->set('param1', 'value1');
@@ -115,7 +116,7 @@ public function testSetQuery() : void
$this->assertEquals(['param1' => 'value1'], $url->query->getData());
}
- public function testGetQuery() : void
+ public function testGetQuery(): void
{
$url = new Url('http://jwage.com');
$url->query->set('param1', 'value1');
@@ -124,7 +125,7 @@ public function testGetQuery() : void
$this->assertEquals(['param1' => 'value1'], $url->getQuery()->getData());
}
- public function testSetFragment() : void
+ public function testSetFragment(): void
{
$url = new Url('http://jwage.com');
$url->fragment->path = 'about';
@@ -132,13 +133,13 @@ public function testSetFragment() : void
$this->assertEquals('http://jwage.com/#about?param1=value1', (string) $url);
}
- public function testProtocolRelativeUrl() : void
+ public function testProtocolRelativeUrl(): void
{
$url = new Url('https://example.com');
$this->assertEquals('https', $url->join('//code.jquery.com/jquery-3.10.js')->scheme);
}
- public function testGetFragment() : void
+ public function testGetFragment(): void
{
$url = new Url('http://jwage.com');
$url->fragment->path = 'about';
@@ -146,19 +147,19 @@ public function testGetFragment() : void
$this->assertEquals('about?param1=value1', (string) $url->getFragment());
}
- public function testGetNetloc() : void
+ public function testGetNetloc(): void
{
$url = new Url('https://user:pass@jwage.com:443');
$this->assertEquals('user:pass@jwage.com:443', $url->getNetloc());
}
- public function testGetUrl() : void
+ public function testGetUrl(): void
{
$url = new Url('http://jwage.com');
$this->assertEquals('http://jwage.com/', $url->getUrl());
}
- public function testSetUrl() : void
+ public function testSetUrl(): void
{
$url = new Url('http://jwage.com');
$this->assertEquals('http://jwage.com/', $url->getUrl());
@@ -166,14 +167,14 @@ public function testSetUrl() : void
$this->assertEquals('http://google.com/', $url->getUrl());
}
- public function testArrayAccess() : void
+ public function testArrayAccess(): void
{
$url = new Url('http://jwage.com');
$url['path'] = 'about';
$this->assertEquals('http://jwage.com/about', (string) $url);
}
- public function testCanonicalization() : void
+ public function testCanonicalization(): void
{
$url = new Url('http://jwage.com');
$this->assertEquals('com.jwage', $url->canonical);
@@ -185,7 +186,7 @@ public function testCanonicalization() : void
$this->assertEquals('uk.co.jwage.domain.sub/index.php?param1=value1', $url->canonical);
}
- public function testPath() : void
+ public function testPath(): void
{
$url = new Url('http://jwage.com');
$url->path->add('about')->add('me');
@@ -194,7 +195,7 @@ public function testPath() : void
$this->assertEquals('http://jwage.com/new/path', (string) $url);
}
- public function testFragment() : void
+ public function testFragment(): void
{
$url = new Url('http://jwage.com');
$url->fragment = 'test';
@@ -207,7 +208,7 @@ public function testFragment() : void
$this->assertEquals('param1=value1', (string) $url->fragment->query);
}
- public function testQuery() : void
+ public function testQuery(): void
{
$url = new Url('http://jwage.com');
$url->query = 'param1=value1¶m2=value2';
@@ -216,7 +217,7 @@ public function testQuery() : void
$this->assertEquals('param1=value1¶m2=value2¶m3=value3', (string) $url->query);
}
- public function testIsAbsolute() : void
+ public function testIsAbsolute(): void
{
$url1 = new Url('http://jwage.com');
$this->assertTrue($url1->isAbsolute());
@@ -225,20 +226,20 @@ public function testIsAbsolute() : void
$this->assertFalse($url2->isAbsolute());
}
- public function testGetResource() : void
+ public function testGetResource(): void
{
$url = new Url('http://jwage.com/about?query=value');
$this->assertEquals('/about?query=value', $url->resource);
}
- public function testPort() : void
+ public function testPort(): void
{
$url = new Url('http://jwage.com:443');
$this->assertEquals('443', $url->port);
$this->assertEquals('http://jwage.com:443/', (string) $url);
}
- public function testAuth() : void
+ public function testAuth(): void
{
$url = new Url('http://user:pass@jwage.com');
$this->assertEquals('user', $url->user);
@@ -256,7 +257,7 @@ public function testAuth() : void
$this->assertEquals('http://user@jwage.com/', (string) $url);
}
- public function testExtract() : void
+ public function testExtract(): void
{
$urls = Url::extract("test\nmore test https://google.com ftp://jwage.com ftps://jwage.com http://google.com\ntesting this out http://jwage.com more text https://we-are-a-professional-studio-of.photography");
$this->assertEquals(6, count($urls));
@@ -268,7 +269,7 @@ public function testExtract() : void
$this->assertEquals('https://we-are-a-professional-studio-of.photography/', (string) $urls[5]);
}
- public function testManualObjectConstruction() : void
+ public function testManualObjectConstruction(): void
{
$url = new Url('http://jwage.com');
$url->set('path', new Path('about'));
@@ -277,7 +278,7 @@ public function testManualObjectConstruction() : void
$this->assertEquals('http://jwage.com/about?param=value#about?param=value', (string) $url);
}
- public function testIdeGettersAndSetters() : void
+ public function testIdeGettersAndSetters(): void
{
$url = new Url('http://jwage.com');
$url->setPath(new Path('about'));
@@ -286,7 +287,7 @@ public function testIdeGettersAndSetters() : void
$this->assertEquals('http://jwage.com/about?param=value#about?param=value', (string) $url);
}
- public function testFromCurrentServerVariables() : void
+ public function testFromCurrentServerVariables(): void
{
$_SERVER['HTTP_HOST'] = 'jwage.com';
$_SERVER['SERVER_PORT'] = 80;
@@ -335,7 +336,7 @@ public function testFromCurrentServerVariables() : void
$this->assertEquals('http://user:passwd123@jwage.com/', (string) $url);
}
- public function testRelativeUrl() : void
+ public function testRelativeUrl(): void
{
// test all resource parts
$url = new Url('/path1/path2?x=1&y=2#frag');
@@ -364,7 +365,7 @@ class TestParser implements ParserInterface
*
* @return mixed[]
*/
- public function parseUrl($url) : array
+ public function parseUrl($url): array
{
return [];
}