Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Figueroa <amenadiel@gmail.com>2021-03-16 11:22:11 +0300
committerFelipe Figueroa <amenadiel@gmail.com>2021-03-16 11:22:11 +0300
commit56799989dffb5c78520f0d663b7da6bf7b09509d (patch)
treece3079fa876d6afb14f089f12d7c732dcba4ba95
parentdb612762bed3dae98877bf5920418464ec1e67c6 (diff)
replaces codeception with pest
-rw-r--r--Makefile2
-rw-r--r--codeception.yml58
-rw-r--r--composer.json9
-rw-r--r--composer.lock1638
-rw-r--r--phpunit.xml18
-rw-r--r--tests/.gitignore2
-rw-r--r--tests/Feature/ViewTest.php65
-rw-r--r--tests/Pest.php41
-rw-r--r--tests/Unit/ContainerTest.php38
-rw-r--r--tests/_support/AcceptanceTester.php17
-rw-r--r--tests/_support/FunctionalTester.php17
-rw-r--r--tests/_support/Helper/Acceptance.php14
-rw-r--r--tests/_support/Helper/Functional.php14
-rw-r--r--tests/_support/Helper/Unit.php38
-rw-r--r--tests/_support/UnitTester.php17
-rw-r--r--tests/_support/_generated/UnitTesterActions.php1060
-rw-r--r--tests/acceptance.suite.yml12
-rw-r--r--tests/functional.suite.yml12
-rw-r--r--tests/unit.suite.yml9
-rw-r--r--tests/unit/ContainerTest.php67
-rw-r--r--tests/unit/DataEntitiesTest.php68
-rw-r--r--tests/unit/PublicSectionsTest.php133
-rw-r--r--tests/unit/TablesAndViewsTest.php131
-rw-r--r--tests/unit/UserEntitiesTest.php66
-rw-r--r--tests/unit/ViewTest.php147
25 files changed, 990 insertions, 2703 deletions
diff --git a/Makefile b/Makefile
index 079529d9..8f1e0bf0 100644
--- a/Makefile
+++ b/Makefile
@@ -89,7 +89,7 @@ test:
ifeq ("$(wildcard config.inc.php)","")
cp config.inc.php-dist config.inc.php
endif
- ./vendor/bin/codecept run unit --debug
+ ./vendor/bin/pest
diff --git a/codeception.yml b/codeception.yml
deleted file mode 100644
index 53b964c9..00000000
--- a/codeception.yml
+++ /dev/null
@@ -1,58 +0,0 @@
-paths:
- tests: tests
- output: tests/_output
- data: tests/_data
- support: tests/_support
- envs: tests/_envs
-actor_suffix: Tester
-extensions:
- enabled:
- - Codeception\Extension\RunFailed
-settings:
-
- # name of bootstrap that will be used
- # each bootstrap file should be
- # inside a suite directory.
- #bootstrap: ../../src/lib.inc.php
-
- # enable/disable syntax of test files before loading
- # for php < 7 exec('php -l') is used
- # disable if you need to speed up tests execution
- lint: true
-
- # randomize test order
- shuffle: true
-
- # by default it's false on Windows
- # use [ANSICON](https://github.com/adoxa/ansicon) to colorize output.
- colors: true
-
- # Generate XML JUnit report using strict schema
- # Avoid putting additional report fields like steps or scenario names tot it
- # Required for XML reports on Jenkins CI
- strict_xml: false
-
- # Tests (especially functional) can take a lot of memory
- # We set a high limit for them by default.
- memory_limit: 1024M
-
- # This value controls whether PHPUnit attempts to backup global variables
- # See https://phpunit.de/manual/current/en/appendixes.annotations.html#appendixes.annotations.backupGlobals
- backup_globals: true
-
- # PHPUnit can be strict about tests that do not test anything
- # See https://phpunit.de/manual/current/en/risky-tests.html#risky-tests.useless-tests
- report_useless_tests: false
-
- # PHPUnit can be strict about output during tests.
- # See https://phpunit.de/manual/current/en/risky-tests.html#risky-tests.output-during-test-execution
- disallow_test_output: false
-
- # PHPUnit can be strict about tests that manipulate global state.
- # See https://phpunit.de/manual/current/en/risky-tests.html#risky-tests.global-state-manipulation
- be_strict_about_changes_to_global_state: false
-
- # Log the incomplete and skipped tests into junit report
- # See https://phpunit.de/manual/current/en/appendixes.configuration.html
- # Section logging > junit
- log_incomplete_skipped: false \ No newline at end of file
diff --git a/composer.json b/composer.json
index e5a88983..9f5da389 100644
--- a/composer.json
+++ b/composer.json
@@ -28,20 +28,19 @@
"twig/twig": "~3"
},
"require-dev": {
- "codeception/codeception": "*",
- "codeception/module-asserts": "^1.1",
"ergebnis/composer-normalize": "^2.2",
"ergebnis/php-cs-fixer-config": "^2.0",
"filp/whoops": "^2.7",
"friendsofphp/php-cs-fixer": "^2.16",
"kint-php/kint": "~3.3",
+ "pestphp/pest": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpmd/phpmd": "^2.9",
"phpstan/phpstan": "^0.12.64",
"rector/rector-prefixed": "^0.9.31",
"simpletest/simpletest": "^1.2",
"staabm/annotate-pull-request-from-checkstyle": "^1.4",
- "vimeo/psalm": "^4"
+ "vimeo/psalm": "^4.6"
},
"extra": {
"version": "6.1.3"
@@ -67,9 +66,13 @@
"vendor/adodb/adodb-php/drivers/adodb-pdo_pgsql.inc.php"
]
},
+ "autoload-dev": {
+ "Tests\\": "tests"
+ },
"scripts": {
"post-install-cmd": "@clear_twig_cache",
"post-autoload-dump": "@composer normalize",
+ "test": "pest",
"post-create-project-cmd": "@clear_twig_cache",
"clear_twig_cache": [
"make fix_permissions",
diff --git a/composer.lock b/composer.lock
index 97f9b6e4..48f446e4 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "66789c6f3cf55b113dfcd3cf15e9bdb9",
+ "content-hash": "6e02c8707ebddfbb84409255720e26ca",
"packages": [
{
"name": "adodb/adodb-php",
@@ -170,27 +170,22 @@
},
{
"name": "psr/container",
- "version": "1.0.0",
+ "version": "1.1.1",
"source": {
"type": "git",
"url": "https://github.com/php-fig/container.git",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
+ "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
+ "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf",
+ "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf",
"shasum": ""
},
"require": {
- "php": ">=5.3.0"
+ "php": ">=7.2.0"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
"autoload": {
"psr-4": {
"Psr\\Container\\": "src/"
@@ -203,7 +198,7 @@
"authors": [
{
"name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "homepage": "https://www.php-fig.org/"
}
],
"description": "Common Container Interface (PHP FIG PSR-11)",
@@ -217,9 +212,9 @@
],
"support": {
"issues": "https://github.com/php-fig/container/issues",
- "source": "https://github.com/php-fig/container/tree/master"
+ "source": "https://github.com/php-fig/container/tree/1.1.1"
},
- "time": "2017-02-14T16:28:37+00:00"
+ "time": "2021-03-05T17:36:06+00:00"
},
{
"name": "psr/http-message",
@@ -527,20 +522,20 @@
},
{
"name": "symfony/polyfill-ctype",
- "version": "v1.18.1",
+ "version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "1c302646f6efc070cd46856e600e5e0684d6b454"
+ "reference": "c6c942b1ac76c82448322025e084cadc56048b4e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/1c302646f6efc070cd46856e600e5e0684d6b454",
- "reference": "1c302646f6efc070cd46856e600e5e0684d6b454",
+ "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"
@@ -548,7 +543,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.22-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -586,7 +581,7 @@
"portable"
],
"support": {
- "source": "https://github.com/symfony/polyfill-ctype/tree/v1.18.0"
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.22.1"
},
"funding": [
{
@@ -602,24 +597,24 @@
"type": "tidelift"
}
],
- "time": "2020-07-14T12:35:20+00:00"
+ "time": "2021-01-07T16:49:33+00:00"
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.18.1",
+ "version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a"
+ "reference": "5232de97ee3b75b0360528dae24e73db49566ab1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/a6977d63bf9a0ad4c65cd352709e230876f9904a",
- "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/5232de97ee3b75b0360528dae24e73db49566ab1",
+ "reference": "5232de97ee3b75b0360528dae24e73db49566ab1",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"suggest": {
"ext-mbstring": "For best performance"
@@ -627,7 +622,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.22-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -666,7 +661,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.18.1"
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.1"
},
"funding": [
{
@@ -682,7 +677,7 @@
"type": "tidelift"
}
],
- "time": "2020-07-14T12:35:20+00:00"
+ "time": "2021-01-22T09:19:47+00:00"
},
{
"name": "symfony/polyfill-php74",
@@ -924,16 +919,16 @@
"packages-dev": [
{
"name": "amphp/amp",
- "version": "v2.5.0",
+ "version": "v2.5.2",
"source": {
"type": "git",
"url": "https://github.com/amphp/amp.git",
- "reference": "f220a51458bf4dd0dedebb171ac3457813c72bbc"
+ "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/amphp/amp/zipball/f220a51458bf4dd0dedebb171ac3457813c72bbc",
- "reference": "f220a51458bf4dd0dedebb171ac3457813c72bbc",
+ "url": "https://api.github.com/repos/amphp/amp/zipball/efca2b32a7580087adb8aabbff6be1dc1bb924a9",
+ "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9",
"shasum": ""
},
"require": {
@@ -1001,7 +996,7 @@
"support": {
"irc": "irc://irc.freenode.org/amphp",
"issues": "https://github.com/amphp/amp/issues",
- "source": "https://github.com/amphp/amp/tree/master"
+ "source": "https://github.com/amphp/amp/tree/v2.5.2"
},
"funding": [
{
@@ -1009,7 +1004,7 @@
"type": "github"
}
],
- "time": "2020-07-14T21:47:18+00:00"
+ "time": "2021-01-10T17:06:37+00:00"
},
{
"name": "amphp/byte-stream",
@@ -1083,379 +1078,25 @@
"time": "2020-06-29T18:35:05+00:00"
},
{
- "name": "behat/gherkin",
- "version": "v4.6.2",
- "source": {
- "type": "git",
- "url": "https://github.com/Behat/Gherkin.git",
- "reference": "51ac4500c4dc30cbaaabcd2f25694299df666a31"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Behat/Gherkin/zipball/51ac4500c4dc30cbaaabcd2f25694299df666a31",
- "reference": "51ac4500c4dc30cbaaabcd2f25694299df666a31",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.1"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.5|~5",
- "symfony/phpunit-bridge": "~2.7|~3|~4",
- "symfony/yaml": "~2.3|~3|~4"
- },
- "suggest": {
- "symfony/yaml": "If you want to parse features, represented in YAML files"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Behat\\Gherkin": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- }
- ],
- "description": "Gherkin DSL parser for PHP 5.3",
- "homepage": "http://behat.org/",
- "keywords": [
- "BDD",
- "Behat",
- "Cucumber",
- "DSL",
- "gherkin",
- "parser"
- ],
- "support": {
- "issues": "https://github.com/Behat/Gherkin/issues",
- "source": "https://github.com/Behat/Gherkin/tree/master"
- },
- "time": "2020-03-17T14:03:26+00:00"
- },
- {
- "name": "codeception/codeception",
- "version": "4.1.8",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/Codeception.git",
- "reference": "41036e8af66e727c4587012f0366b7f0576a99da"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/Codeception/zipball/41036e8af66e727c4587012f0366b7f0576a99da",
- "reference": "41036e8af66e727c4587012f0366b7f0576a99da",
- "shasum": ""
- },
- "require": {
- "behat/gherkin": "^4.4.0",
- "codeception/lib-asserts": "^1.0",
- "codeception/phpunit-wrapper": ">6.0.15 <6.1.0 | ^6.6.1 | ^7.7.1 | ^8.1.1 | ^9.0",
- "codeception/stub": "^2.0 | ^3.0",
- "ext-curl": "*",
- "ext-json": "*",
- "ext-mbstring": "*",
- "guzzlehttp/psr7": "~1.4",
- "php": ">=5.6.0 <8.0",
- "symfony/console": ">=2.7 <6.0",
- "symfony/css-selector": ">=2.7 <6.0",
- "symfony/event-dispatcher": ">=2.7 <6.0",
- "symfony/finder": ">=2.7 <6.0",
- "symfony/yaml": ">=2.7 <6.0"
- },
- "require-dev": {
- "codeception/module-asserts": "*@dev",
- "codeception/module-cli": "*@dev",
- "codeception/module-db": "*@dev",
- "codeception/module-filesystem": "*@dev",
- "codeception/module-phpbrowser": "*@dev",
- "codeception/specify": "~0.3",
- "codeception/util-universalframework": "*@dev",
- "monolog/monolog": "~1.8",
- "squizlabs/php_codesniffer": "~2.0",
- "symfony/process": ">=2.7 <6.0",
- "vlucas/phpdotenv": "^2.0 | ^3.0 | ^4.0"
- },
- "suggest": {
- "codeception/specify": "BDD-style code blocks",
- "codeception/verify": "BDD-style assertions",
- "hoa/console": "For interactive console functionality",
- "stecman/symfony-console-completion": "For BASH autocompletion",
- "symfony/phpunit-bridge": "For phpunit-bridge support"
- },
- "bin": [
- "codecept"
- ],
- "type": "library",
- "extra": {
- "branch-alias": []
- },
- "autoload": {
- "psr-4": {
- "Codeception\\": "src/Codeception",
- "Codeception\\Extension\\": "ext"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Bodnarchuk",
- "email": "davert@mail.ua",
- "homepage": "http://codegyre.com"
- }
- ],
- "description": "BDD-style testing framework",
- "homepage": "http://codeception.com/",
- "keywords": [
- "BDD",
- "TDD",
- "acceptance testing",
- "functional testing",
- "unit testing"
- ],
- "support": {
- "issues": "https://github.com/Codeception/Codeception/issues",
- "source": "https://github.com/Codeception/Codeception/tree/4.1.8"
- },
- "funding": [
- {
- "url": "https://opencollective.com/codeception",
- "type": "open_collective"
- }
- ],
- "time": "2020-10-11T17:54:58+00:00"
- },
- {
- "name": "codeception/lib-asserts",
- "version": "1.13.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/lib-asserts.git",
- "reference": "263ef0b7eff80643e82f4cf55351eca553a09a10"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/lib-asserts/zipball/263ef0b7eff80643e82f4cf55351eca553a09a10",
- "reference": "263ef0b7eff80643e82f4cf55351eca553a09a10",
- "shasum": ""
- },
- "require": {
- "codeception/phpunit-wrapper": ">6.0.15 <6.1.0 | ^6.6.1 | ^7.7.1 | ^8.0.3 | ^9.0",
- "ext-dom": "*",
- "php": ">=5.6.0 <8.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Bodnarchuk",
- "email": "davert@mail.ua",
- "homepage": "http://codegyre.com"
- },
- {
- "name": "Gintautas Miselis"
- },
- {
- "name": "Gustavo Nieves",
- "homepage": "https://medium.com/@ganieves"
- }
- ],
- "description": "Assertion methods used by Codeception core and Asserts module",
- "homepage": "https://codeception.com/",
- "keywords": [
- "codeception"
- ],
- "support": {
- "issues": "https://github.com/Codeception/lib-asserts/issues",
- "source": "https://github.com/Codeception/lib-asserts/tree/1.13.1"
- },
- "time": "2020-08-28T07:49:36+00:00"
- },
- {
- "name": "codeception/module-asserts",
- "version": "1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/module-asserts.git",
- "reference": "32e5be519faaeb60ed3692383dcd1b3390ec2667"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/module-asserts/zipball/32e5be519faaeb60ed3692383dcd1b3390ec2667",
- "reference": "32e5be519faaeb60ed3692383dcd1b3390ec2667",
- "shasum": ""
- },
- "require": {
- "codeception/codeception": "*@dev",
- "codeception/lib-asserts": "^1.13.1",
- "php": ">=5.6.0 <8.0"
- },
- "conflict": {
- "codeception/codeception": "<4.0"
- },
- "require-dev": {
- "codeception/util-robohelpers": "dev-master"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Bodnarchuk"
- },
- {
- "name": "Gintautas Miselis"
- },
- {
- "name": "Gustavo Nieves",
- "homepage": "https://medium.com/@ganieves"
- }
- ],
- "description": "Codeception module containing various assertions",
- "homepage": "https://codeception.com/",
- "keywords": [
- "assertions",
- "asserts",
- "codeception"
- ],
- "support": {
- "issues": "https://github.com/Codeception/module-asserts/issues",
- "source": "https://github.com/Codeception/module-asserts/tree/master"
- },
- "time": "2020-08-28T08:06:29+00:00"
- },
- {
- "name": "codeception/phpunit-wrapper",
- "version": "9.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/phpunit-wrapper.git",
- "reference": "72bac7770866799e23a7dda1ac6bec2f8baccf45"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/72bac7770866799e23a7dda1ac6bec2f8baccf45",
- "reference": "72bac7770866799e23a7dda1ac6bec2f8baccf45",
- "shasum": ""
- },
- "require": {
- "php": ">=7.2",
- "phpunit/phpunit": "^9.0"
- },
- "require-dev": {
- "codeception/specify": "*",
- "vlucas/phpdotenv": "^3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Codeception\\PHPUnit\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Davert",
- "email": "davert.php@resend.cc"
- },
- {
- "name": "Naktibalda"
- }
- ],
- "description": "PHPUnit classes used by Codeception",
- "support": {
- "issues": "https://github.com/Codeception/phpunit-wrapper/issues",
- "source": "https://github.com/Codeception/phpunit-wrapper/tree/9.0.5"
- },
- "time": "2020-10-11T18:14:42+00:00"
- },
- {
- "name": "codeception/stub",
- "version": "3.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/Codeception/Stub.git",
- "reference": "468dd5fe659f131fc997f5196aad87512f9b1304"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Codeception/Stub/zipball/468dd5fe659f131fc997f5196aad87512f9b1304",
- "reference": "468dd5fe659f131fc997f5196aad87512f9b1304",
- "shasum": ""
- },
- "require": {
- "phpunit/phpunit": "^8.4 | ^9.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Codeception\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Flexible Stub wrapper for PHPUnit's Mock Builder",
- "support": {
- "issues": "https://github.com/Codeception/Stub/issues",
- "source": "https://github.com/Codeception/Stub/tree/3.7.0"
- },
- "time": "2020-07-03T15:54:43+00:00"
- },
- {
"name": "composer/package-versions-deprecated",
- "version": "1.8.0",
+ "version": "1.11.99.1",
"source": {
"type": "git",
"url": "https://github.com/composer/package-versions-deprecated.git",
- "reference": "98df7f1b293c0550bd5b1ce6b60b59bdda23aa47"
+ "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/98df7f1b293c0550bd5b1ce6b60b59bdda23aa47",
- "reference": "98df7f1b293c0550bd5b1ce6b60b59bdda23aa47",
+ "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/7413f0b55a051e89485c5cb9f765fe24bb02a7b6",
+ "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6",
"shasum": ""
},
"require": {
"composer-plugin-api": "^1.1.0 || ^2.0",
- "php": "^7"
+ "php": "^7 || ^8"
},
"replace": {
- "ocramius/package-versions": "1.2 - 1.8.99"
+ "ocramius/package-versions": "1.11.99"
},
"require-dev": {
"composer/composer": "^1.9.3 || ^2.0@dev",
@@ -1490,7 +1131,8 @@
],
"description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)",
"support": {
- "source": "https://github.com/composer/package-versions-deprecated/tree/1.8.0"
+ "issues": "https://github.com/composer/package-versions-deprecated/issues",
+ "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.1"
},
"funding": [
{
@@ -1498,11 +1140,15 @@
"type": "custom"
},
{
+ "url": "https://github.com/composer",
+ "type": "github"
+ },
+ {
"url": "https://tidelift.com/funding/github/packagist/composer/composer",
"type": "tidelift"
}
],
- "time": "2020-04-23T11:49:37+00:00"
+ "time": "2020-11-11T10:22:58+00:00"
},
{
"name": "composer/semver",
@@ -1760,36 +1406,31 @@
},
{
"name": "doctrine/instantiator",
- "version": "1.3.1",
+ "version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/instantiator.git",
- "reference": "f350df0268e904597e3bd9c4685c53e0e333feea"
+ "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/f350df0268e904597e3bd9c4685c53e0e333feea",
- "reference": "f350df0268e904597e3bd9c4685c53e0e333feea",
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b",
+ "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b",
"shasum": ""
},
"require": {
"php": "^7.1 || ^8.0"
},
"require-dev": {
- "doctrine/coding-standard": "^6.0",
+ "doctrine/coding-standard": "^8.0",
"ext-pdo": "*",
"ext-phar": "*",
- "phpbench/phpbench": "^0.13",
- "phpstan/phpstan-phpunit": "^0.11",
- "phpstan/phpstan-shim": "^0.11",
- "phpunit/phpunit": "^7.0"
+ "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"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
"autoload": {
"psr-4": {
"Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
@@ -1803,7 +1444,7 @@
{
"name": "Marco Pivetta",
"email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
+ "homepage": "https://ocramius.github.io/"
}
],
"description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
@@ -1814,7 +1455,7 @@
],
"support": {
"issues": "https://github.com/doctrine/instantiator/issues",
- "source": "https://github.com/doctrine/instantiator/tree/1.3.x"
+ "source": "https://github.com/doctrine/instantiator/tree/1.4.0"
},
"funding": [
{
@@ -1830,7 +1471,7 @@
"type": "tidelift"
}
],
- "time": "2020-05-29T17:27:14+00:00"
+ "time": "2020-11-10T18:47:58+00:00"
},
{
"name": "doctrine/lexer",
@@ -2193,26 +1834,79 @@
"time": "2020-10-08T18:03:06+00:00"
},
{
+ "name": "facade/ignition-contracts",
+ "version": "1.0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/facade/ignition-contracts.git",
+ "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/facade/ignition-contracts/zipball/3c921a1cdba35b68a7f0ccffc6dffc1995b18267",
+ "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.3|^8.0"
+ },
+ "require-dev": {
+ "friendsofphp/php-cs-fixer": "^v2.15.8",
+ "phpunit/phpunit": "^9.3.11",
+ "vimeo/psalm": "^3.17.1"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Facade\\IgnitionContracts\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Freek Van der Herten",
+ "email": "freek@spatie.be",
+ "homepage": "https://flareapp.io",
+ "role": "Developer"
+ }
+ ],
+ "description": "Solution contracts for Ignition",
+ "homepage": "https://github.com/facade/ignition-contracts",
+ "keywords": [
+ "contracts",
+ "flare",
+ "ignition"
+ ],
+ "support": {
+ "issues": "https://github.com/facade/ignition-contracts/issues",
+ "source": "https://github.com/facade/ignition-contracts/tree/1.0.2"
+ },
+ "time": "2020-10-16T08:27:54+00:00"
+ },
+ {
"name": "felixfbecker/advanced-json-rpc",
- "version": "v3.1.1",
+ "version": "v3.2.0",
"source": {
"type": "git",
"url": "https://github.com/felixfbecker/php-advanced-json-rpc.git",
- "reference": "0ed363f8de17d284d479ec813c9ad3f6834b5c40"
+ "reference": "06f0b06043c7438959dbdeed8bb3f699a19be22e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/0ed363f8de17d284d479ec813c9ad3f6834b5c40",
- "reference": "0ed363f8de17d284d479ec813c9ad3f6834b5c40",
+ "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/06f0b06043c7438959dbdeed8bb3f699a19be22e",
+ "reference": "06f0b06043c7438959dbdeed8bb3f699a19be22e",
"shasum": ""
},
"require": {
"netresearch/jsonmapper": "^1.0 || ^2.0",
- "php": ">=7.0",
- "phpdocumentor/reflection-docblock": "^4.0.0 || ^5.0.0"
+ "php": "^7.1 || ^8.0",
+ "phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0"
},
"require-dev": {
- "phpunit/phpunit": "^6.0.0"
+ "phpunit/phpunit": "^7.0 || ^8.0"
},
"type": "library",
"autoload": {
@@ -2233,33 +1927,38 @@
"description": "A more advanced JSONRPC implementation",
"support": {
"issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues",
- "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/master"
+ "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.0"
},
- "time": "2020-03-11T15:21:41+00:00"
+ "time": "2021-01-10T17:48:47+00:00"
},
{
"name": "felixfbecker/language-server-protocol",
- "version": "v1.4.0",
+ "version": "1.5.1",
"source": {
"type": "git",
"url": "https://github.com/felixfbecker/php-language-server-protocol.git",
- "reference": "378801f6139bb74ac215d81cca1272af61df9a9f"
+ "reference": "9d846d1f5cf101deee7a61c8ba7caa0a975cd730"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/378801f6139bb74ac215d81cca1272af61df9a9f",
- "reference": "378801f6139bb74ac215d81cca1272af61df9a9f",
+ "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/9d846d1f5cf101deee7a61c8ba7caa0a975cd730",
+ "reference": "9d846d1f5cf101deee7a61c8ba7caa0a975cd730",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": ">=7.1"
},
"require-dev": {
"phpstan/phpstan": "*",
- "phpunit/phpunit": "^6.3",
- "squizlabs/php_codesniffer": "^3.1"
+ "squizlabs/php_codesniffer": "^3.1",
+ "vimeo/psalm": "^4.0"
},
"type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.x-dev"
+ }
+ },
"autoload": {
"psr-4": {
"LanguageServerProtocol\\": "src/"
@@ -2284,22 +1983,22 @@
],
"support": {
"issues": "https://github.com/felixfbecker/php-language-server-protocol/issues",
- "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.4.0"
+ "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/1.5.1"
},
- "time": "2019-06-23T21:03:50+00:00"
+ "time": "2021-02-22T14:02:09+00:00"
},
{
"name": "filp/whoops",
- "version": "2.8.0",
+ "version": "2.9.2",
"source": {
"type": "git",
"url": "https://github.com/filp/whoops.git",
- "reference": "fa50d9db1c0c2fae99cf988d27023effda5524a3"
+ "reference": "df7933820090489623ce0be5e85c7e693638e536"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/filp/whoops/zipball/fa50d9db1c0c2fae99cf988d27023effda5524a3",
- "reference": "fa50d9db1c0c2fae99cf988d27023effda5524a3",
+ "url": "https://api.github.com/repos/filp/whoops/zipball/df7933820090489623ce0be5e85c7e693638e536",
+ "reference": "df7933820090489623ce0be5e85c7e693638e536",
"shasum": ""
},
"require": {
@@ -2349,9 +2048,15 @@
],
"support": {
"issues": "https://github.com/filp/whoops/issues",
- "source": "https://github.com/filp/whoops/tree/2.8.0"
+ "source": "https://github.com/filp/whoops/tree/2.9.2"
},
- "time": "2020-10-17T09:00:00+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/denis-sokolov",
+ "type": "github"
+ }
+ ],
+ "time": "2021-01-24T12:00:00+00:00"
},
{
"name": "friendsofphp/php-cs-fixer",
@@ -2455,81 +2160,6 @@
"time": "2020-06-27T23:57:46+00:00"
},
{
- "name": "guzzlehttp/psr7",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/53330f47520498c0ae1f61f7e2c90f55690c06a3",
- "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0",
- "ralouphie/getallheaders": "^2.0.5 || ^3.0.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "ext-zlib": "*",
- "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10"
- },
- "suggest": {
- "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.7-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "psr-7",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "support": {
- "issues": "https://github.com/guzzle/psr7/issues",
- "source": "https://github.com/guzzle/psr7/tree/1.7.0"
- },
- "time": "2020-09-30T07:37:11+00:00"
- },
- {
"name": "justinrainbow/json-schema",
"version": "5.2.10",
"source": {
@@ -2735,16 +2365,16 @@
},
{
"name": "myclabs/deep-copy",
- "version": "1.10.1",
+ "version": "1.10.2",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5"
+ "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/969b211f9a51aa1f6c01d1d2aef56d3bd91598e5",
- "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220",
+ "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220",
"shasum": ""
},
"require": {
@@ -2781,7 +2411,7 @@
],
"support": {
"issues": "https://github.com/myclabs/DeepCopy/issues",
- "source": "https://github.com/myclabs/DeepCopy/tree/1.x"
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2"
},
"funding": [
{
@@ -2789,20 +2419,20 @@
"type": "tidelift"
}
],
- "time": "2020-06-29T13:22:24+00:00"
+ "time": "2020-11-13T09:40:50+00:00"
},
{
"name": "netresearch/jsonmapper",
- "version": "v1.6.0",
+ "version": "v2.1.0",
"source": {
"type": "git",
"url": "https://github.com/cweiske/jsonmapper.git",
- "reference": "0d4d1b48d682a93b6bfedf60b88c7750e9cb0b06"
+ "reference": "e0f1e33a71587aca81be5cffbb9746510e1fe04e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/0d4d1b48d682a93b6bfedf60b88c7750e9cb0b06",
- "reference": "0d4d1b48d682a93b6bfedf60b88c7750e9cb0b06",
+ "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/e0f1e33a71587aca81be5cffbb9746510e1fe04e",
+ "reference": "e0f1e33a71587aca81be5cffbb9746510e1fe04e",
"shasum": ""
},
"require": {
@@ -2813,8 +2443,8 @@
"php": ">=5.6"
},
"require-dev": {
- "phpunit/phpunit": "~4.8.35 || ~5.7 || ~6.4",
- "squizlabs/php_codesniffer": "~1.5"
+ "phpunit/phpunit": "~4.8.35 || ~5.7 || ~6.4 || ~7.0",
+ "squizlabs/php_codesniffer": "~3.5"
},
"type": "library",
"autoload": {
@@ -2840,20 +2470,20 @@
"issues": "https://github.com/cweiske/jsonmapper/issues",
"source": "https://github.com/cweiske/jsonmapper/tree/master"
},
- "time": "2019-08-15T19:41:25+00:00"
+ "time": "2020-04-16T18:48:43+00:00"
},
{
"name": "nikic/php-parser",
- "version": "v4.10.2",
+ "version": "v4.10.4",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "658f1be311a230e0907f5dfe0213742aff0596de"
+ "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/658f1be311a230e0907f5dfe0213742aff0596de",
- "reference": "658f1be311a230e0907f5dfe0213742aff0596de",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/c6d052fc58cb876152f89f532b95a8d7907e7f0e",
+ "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e",
"shasum": ""
},
"require": {
@@ -2894,9 +2524,97 @@
],
"support": {
"issues": "https://github.com/nikic/PHP-Parser/issues",
- "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.2"
+ "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.4"
+ },
+ "time": "2020-12-20T10:01:03+00:00"
+ },
+ {
+ "name": "nunomaduro/collision",
+ "version": "v5.3.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/nunomaduro/collision.git",
+ "reference": "aca63581f380f63a492b1e3114604e411e39133a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/nunomaduro/collision/zipball/aca63581f380f63a492b1e3114604e411e39133a",
+ "reference": "aca63581f380f63a492b1e3114604e411e39133a",
+ "shasum": ""
+ },
+ "require": {
+ "facade/ignition-contracts": "^1.0",
+ "filp/whoops": "^2.7.2",
+ "php": "^7.3 || ^8.0",
+ "symfony/console": "^5.0"
+ },
+ "require-dev": {
+ "brianium/paratest": "^6.1",
+ "fideloper/proxy": "^4.4.1",
+ "friendsofphp/php-cs-fixer": "^2.17.3",
+ "fruitcake/laravel-cors": "^2.0.3",
+ "laravel/framework": "^9.0",
+ "nunomaduro/larastan": "^0.6.2",
+ "nunomaduro/mock-final-classes": "^1.0",
+ "orchestra/testbench": "^7.0",
+ "phpstan/phpstan": "^0.12.64",
+ "phpunit/phpunit": "^9.5.0"
+ },
+ "type": "library",
+ "extra": {
+ "laravel": {
+ "providers": [
+ "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider"
+ ]
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "NunoMaduro\\Collision\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nuno Maduro",
+ "email": "enunomaduro@gmail.com"
+ }
+ ],
+ "description": "Cli error handling for console/command-line PHP applications.",
+ "keywords": [
+ "artisan",
+ "cli",
+ "command-line",
+ "console",
+ "error",
+ "handling",
+ "laravel",
+ "laravel-zero",
+ "php",
+ "symfony"
+ ],
+ "support": {
+ "issues": "https://github.com/nunomaduro/collision/issues",
+ "source": "https://github.com/nunomaduro/collision"
},
- "time": "2020-09-26T10:30:38+00:00"
+ "funding": [
+ {
+ "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/nunomaduro",
+ "type": "github"
+ },
+ {
+ "url": "https://www.patreon.com/nunomaduro",
+ "type": "patreon"
+ }
+ ],
+ "time": "2021-01-25T15:34:13+00:00"
},
{
"name": "openlss/lib-array2xml",
@@ -3059,6 +2777,410 @@
"time": "2020-06-20T10:53:13+00:00"
},
{
+ "name": "pestphp/pest",
+ "version": "v1.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/pestphp/pest.git",
+ "reference": "b6c2812a9150bcc71fec729a4e71ffb3a7d07db3"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/pestphp/pest/zipball/b6c2812a9150bcc71fec729a4e71ffb3a7d07db3",
+ "reference": "b6c2812a9150bcc71fec729a4e71ffb3a7d07db3",
+ "shasum": ""
+ },
+ "require": {
+ "nunomaduro/collision": "^5.0",
+ "pestphp/pest-plugin": "^1.0",
+ "pestphp/pest-plugin-coverage": "^1.0",
+ "pestphp/pest-plugin-expectations": "^1.0",
+ "pestphp/pest-plugin-init": "^1.0",
+ "php": "^7.3 || ^8.0",
+ "phpunit/phpunit": ">= 9.3.7 <= 9.5.2"
+ },
+ "require-dev": {
+ "illuminate/console": "^8.32.1",
+ "illuminate/support": "^8.32.1",
+ "laravel/dusk": "^6.13.0",
+ "mockery/mockery": "^1.4.3",
+ "pestphp/pest-dev-tools": "dev-master"
+ },
+ "bin": [
+ "bin/pest"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.x-dev"
+ },
+ "pest": {
+ "plugins": [
+ "Pest\\Plugins\\Version"
+ ]
+ },
+ "laravel": {
+ "providers": [
+ "Pest\\Laravel\\PestServiceProvider"
+ ]
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Pest\\": "src/"
+ },
+ "files": [
+ "src/Functions.php",
+ "src/Pest.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nuno Maduro",
+ "email": "enunomaduro@gmail.com"
+ }
+ ],
+ "description": "An elegant PHP Testing Framework.",
+ "keywords": [
+ "framework",
+ "pest",
+ "php",
+ "test",
+ "testing",
+ "unit"
+ ],
+ "support": {
+ "issues": "https://github.com/pestphp/pest/issues",
+ "source": "https://github.com/pestphp/pest/tree/v1.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/nunomaduro",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/octoper",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/olivernybroe",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/owenvoke",
+ "type": "github"
+ },
+ {
+ "url": "https://www.patreon.com/nunomaduro",
+ "type": "patreon"
+ }
+ ],
+ "time": "2021-03-13T11:14:27+00:00"
+ },
+ {
+ "name": "pestphp/pest-plugin",
+ "version": "v1.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/pestphp/pest-plugin.git",
+ "reference": "fc8519de148699fe612d9c669be60554cd2db4fa"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/pestphp/pest-plugin/zipball/fc8519de148699fe612d9c669be60554cd2db4fa",
+ "reference": "fc8519de148699fe612d9c669be60554cd2db4fa",
+ "shasum": ""
+ },
+ "require": {
+ "composer-plugin-api": "^1.1 || ^2.0",
+ "php": "^7.3 || ^8.0"
+ },
+ "conflict": {
+ "pestphp/pest": "<1.0"
+ },
+ "require-dev": {
+ "composer/composer": "^1.10.19",
+ "pestphp/pest": "^1.0",
+ "pestphp/pest-dev-tools": "dev-master"
+ },
+ "type": "composer-plugin",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.x-dev"
+ },
+ "class": "Pest\\Plugin\\Manager"
+ },
+ "autoload": {
+ "psr-4": {
+ "Pest\\Plugin\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "The Pest plugin manager",
+ "keywords": [
+ "framework",
+ "manager",
+ "pest",
+ "php",
+ "plugin",
+ "test",
+ "testing",
+ "unit"
+ ],
+ "support": {
+ "source": "https://github.com/pestphp/pest-plugin/tree/v1.0.0"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/nunomaduro",
+ "type": "github"
+ },
+ {
+ "url": "https://www.patreon.com/nunomaduro",
+ "type": "patreon"
+ }
+ ],
+ "time": "2021-01-03T15:53:42+00:00"
+ },
+ {
+ "name": "pestphp/pest-plugin-coverage",
+ "version": "v1.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/pestphp/pest-plugin-coverage.git",
+ "reference": "50260c8671377a5082a06b9e228a984c13ed199c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/pestphp/pest-plugin-coverage/zipball/50260c8671377a5082a06b9e228a984c13ed199c",
+ "reference": "50260c8671377a5082a06b9e228a984c13ed199c",
+ "shasum": ""
+ },
+ "require": {
+ "pestphp/pest-plugin": "^1.0",
+ "php": "^7.3 || ^8.0",
+ "sebastian/environment": "^5.1.2"
+ },
+ "conflict": {
+ "pestphp/pest": "<1.0"
+ },
+ "require-dev": {
+ "pestphp/pest": "^1.0",
+ "pestphp/pest-dev-tools": "dev-master"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.x-dev"
+ },
+ "pest": {
+ "plugins": [
+ "Pest\\PluginCoverage\\Plugin"
+ ]
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Pest\\PluginCoverage\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "The Pest Coverage Plugin",
+ "keywords": [
+ "coverage",
+ "framework",
+ "pest",
+ "php",
+ "plugin",
+ "test",
+ "testing",
+ "unit"
+ ],
+ "support": {
+ "source": "https://github.com/pestphp/pest-plugin-coverage/tree/v1.0.0"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/nunomaduro",
+ "type": "github"
+ },
+ {
+ "url": "https://www.patreon.com/nunomaduro",
+ "type": "patreon"
+ }
+ ],
+ "time": "2021-01-03T15:51:41+00:00"
+ },
+ {
+ "name": "pestphp/pest-plugin-expectations",
+ "version": "v1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/pestphp/pest-plugin-expectations.git",
+ "reference": "e543acd6d0ca33c9bdaae05d4dffbfc8c66a0285"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/pestphp/pest-plugin-expectations/zipball/e543acd6d0ca33c9bdaae05d4dffbfc8c66a0285",
+ "reference": "e543acd6d0ca33c9bdaae05d4dffbfc8c66a0285",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.3 || ^8.0",
+ "phpunit/phpunit": "^9.0"
+ },
+ "conflict": {
+ "pestphp/pest": "<1.0"
+ },
+ "require-dev": {
+ "pestphp/pest": "^1.0",
+ "pestphp/pest-dev-tools": "dev-master"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Pest\\Expectations\\": "src/"
+ },
+ "files": [
+ "src/Autoload.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "Add expectations testing capabilities to Pest or PHPUnit",
+ "keywords": [
+ "expectations",
+ "framework",
+ "pest",
+ "php",
+ "test",
+ "testing",
+ "unit"
+ ],
+ "support": {
+ "source": "https://github.com/pestphp/pest-plugin-expectations/tree/v1.0.1"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/nunomaduro",
+ "type": "github"
+ },
+ {
+ "url": "https://www.patreon.com/nunomaduro",
+ "type": "patreon"
+ }
+ ],
+ "time": "2021-01-03T16:02:34+00:00"
+ },
+ {
+ "name": "pestphp/pest-plugin-init",
+ "version": "v1.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/pestphp/pest-plugin-init.git",
+ "reference": "bd6fdb058ba5dc7a9f7f3645ad4e0bdc34cf0026"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/pestphp/pest-plugin-init/zipball/bd6fdb058ba5dc7a9f7f3645ad4e0bdc34cf0026",
+ "reference": "bd6fdb058ba5dc7a9f7f3645ad4e0bdc34cf0026",
+ "shasum": ""
+ },
+ "require": {
+ "pestphp/pest-plugin": "^1.0",
+ "php": "^7.3 || ^8.0"
+ },
+ "conflict": {
+ "pestphp/pest": "<1.0"
+ },
+ "require-dev": {
+ "pestphp/pest": "^1.0",
+ "pestphp/pest-dev-tools": "dev-master"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.x-dev"
+ },
+ "pest": {
+ "plugins": [
+ "Pest\\Init\\Plugin"
+ ]
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Pest\\Init\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "The Pest Init plugin",
+ "keywords": [
+ "framework",
+ "init",
+ "pest",
+ "php",
+ "plugin",
+ "test",
+ "testing",
+ "unit"
+ ],
+ "support": {
+ "source": "https://github.com/pestphp/pest-plugin-init/tree/v1.0.0"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/nunomaduro",
+ "type": "github"
+ },
+ {
+ "url": "https://www.patreon.com/nunomaduro",
+ "type": "patreon"
+ }
+ ],
+ "time": "2021-01-03T15:47:48+00:00"
+ },
+ {
"name": "phar-io/manifest",
"version": "2.0.1",
"source": {
@@ -3120,16 +3242,16 @@
},
{
"name": "phar-io/version",
- "version": "3.0.2",
+ "version": "3.1.0",
"source": {
"type": "git",
"url": "https://github.com/phar-io/version.git",
- "reference": "c6bb6825def89e0a32220f88337f8ceaf1975fa0"
+ "reference": "bae7c545bef187884426f042434e561ab1ddb182"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/c6bb6825def89e0a32220f88337f8ceaf1975fa0",
- "reference": "c6bb6825def89e0a32220f88337f8ceaf1975fa0",
+ "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182",
+ "reference": "bae7c545bef187884426f042434e561ab1ddb182",
"shasum": ""
},
"require": {
@@ -3165,9 +3287,9 @@
"description": "Library for handling version information and constraints",
"support": {
"issues": "https://github.com/phar-io/version/issues",
- "source": "https://github.com/phar-io/version/tree/master"
+ "source": "https://github.com/phar-io/version/tree/3.1.0"
},
- "time": "2020-06-27T14:39:04+00:00"
+ "time": "2021-02-23T14:00:09+00:00"
},
{
"name": "php-cs-fixer/diff",
@@ -3524,16 +3646,16 @@
},
{
"name": "phpspec/prophecy",
- "version": "1.12.1",
+ "version": "1.12.2",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
- "reference": "8ce87516be71aae9b956f81906aaf0338e0d8a2d"
+ "reference": "245710e971a030f42e08f4912863805570f23d39"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/8ce87516be71aae9b956f81906aaf0338e0d8a2d",
- "reference": "8ce87516be71aae9b956f81906aaf0338e0d8a2d",
+ "url": "https://api.github.com/repos/phpspec/prophecy/zipball/245710e971a030f42e08f4912863805570f23d39",
+ "reference": "245710e971a030f42e08f4912863805570f23d39",
"shasum": ""
},
"require": {
@@ -3545,7 +3667,7 @@
},
"require-dev": {
"phpspec/phpspec": "^6.0",
- "phpunit/phpunit": "^8.0 || ^9.0 <9.3"
+ "phpunit/phpunit": "^8.0 || ^9.0"
},
"type": "library",
"extra": {
@@ -3585,9 +3707,9 @@
],
"support": {
"issues": "https://github.com/phpspec/prophecy/issues",
- "source": "https://github.com/phpspec/prophecy/tree/1.12.1"
+ "source": "https://github.com/phpspec/prophecy/tree/1.12.2"
},
- "time": "2020-09-29T09:10:42+00:00"
+ "time": "2020-12-19T10:15:11+00:00"
},
{
"name": "phpstan/phpstan",
@@ -3651,30 +3773,30 @@
},
{
"name": "phpunit/php-code-coverage",
- "version": "9.2.0",
+ "version": "9.2.5",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "53a4b737e83be724efd2bc4e7b929b9a30c48972"
+ "reference": "f3e026641cc91909d421802dd3ac7827ebfd97e1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/53a4b737e83be724efd2bc4e7b929b9a30c48972",
- "reference": "53a4b737e83be724efd2bc4e7b929b9a30c48972",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f3e026641cc91909d421802dd3ac7827ebfd97e1",
+ "reference": "f3e026641cc91909d421802dd3ac7827ebfd97e1",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-libxml": "*",
"ext-xmlwriter": "*",
- "nikic/php-parser": "^4.8",
+ "nikic/php-parser": "^4.10.2",
"php": ">=7.3",
"phpunit/php-file-iterator": "^3.0.3",
"phpunit/php-text-template": "^2.0.2",
"sebastian/code-unit-reverse-lookup": "^2.0.2",
"sebastian/complexity": "^2.0",
"sebastian/environment": "^5.1.2",
- "sebastian/lines-of-code": "^1.0",
+ "sebastian/lines-of-code": "^1.0.3",
"sebastian/version": "^3.0.1",
"theseer/tokenizer": "^1.2.0"
},
@@ -3716,7 +3838,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
- "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.0"
+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.5"
},
"funding": [
{
@@ -3724,7 +3846,7 @@
"type": "github"
}
],
- "time": "2020-10-02T03:37:32+00:00"
+ "time": "2020-11-28T06:44:49+00:00"
},
{
"name": "phpunit/php-file-iterator",
@@ -3851,16 +3973,16 @@
},
{
"name": "phpunit/php-text-template",
- "version": "2.0.3",
+ "version": "2.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "18c887016e60e52477e54534956d7b47bc52cd84"
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/18c887016e60e52477e54534956d7b47bc52cd84",
- "reference": "18c887016e60e52477e54534956d7b47bc52cd84",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
"shasum": ""
},
"require": {
@@ -3898,7 +4020,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-text-template/issues",
- "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.3"
+ "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4"
},
"funding": [
{
@@ -3906,20 +4028,20 @@
"type": "github"
}
],
- "time": "2020-09-28T06:03:05+00:00"
+ "time": "2020-10-26T05:33:50+00:00"
},
{
"name": "phpunit/php-timer",
- "version": "5.0.2",
+ "version": "5.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "c9ff14f493699e2f6adee9fd06a0245b276643b7"
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/c9ff14f493699e2f6adee9fd06a0245b276643b7",
- "reference": "c9ff14f493699e2f6adee9fd06a0245b276643b7",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
"shasum": ""
},
"require": {
@@ -3957,7 +4079,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-timer/issues",
- "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.2"
+ "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3"
},
"funding": [
{
@@ -3965,20 +4087,20 @@
"type": "github"
}
],
- "time": "2020-09-28T06:00:25+00:00"
+ "time": "2020-10-26T13:16:10+00:00"
},
{
"name": "phpunit/phpunit",
- "version": "9.4.1",
+ "version": "9.5.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "1f09a12726593737e8a228ebb1c8647305d07c41"
+ "reference": "f661659747f2f87f9e72095bb207bceb0f151cb4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1f09a12726593737e8a228ebb1c8647305d07c41",
- "reference": "1f09a12726593737e8a228ebb1c8647305d07c41",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f661659747f2f87f9e72095bb207bceb0f151cb4",
+ "reference": "f661659747f2f87f9e72095bb207bceb0f151cb4",
"shasum": ""
},
"require": {
@@ -3994,7 +4116,7 @@
"phar-io/version": "^3.0.2",
"php": ">=7.3",
"phpspec/prophecy": "^1.12.1",
- "phpunit/php-code-coverage": "^9.2",
+ "phpunit/php-code-coverage": "^9.2.3",
"phpunit/php-file-iterator": "^3.0.5",
"phpunit/php-invoker": "^3.1.1",
"phpunit/php-text-template": "^2.0.3",
@@ -4025,7 +4147,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "9.4-dev"
+ "dev-master": "9.5-dev"
}
},
"autoload": {
@@ -4056,7 +4178,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
- "source": "https://github.com/sebastianbergmann/phpunit/tree/9.4.1"
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.2"
},
"funding": [
{
@@ -4068,7 +4190,7 @@
"type": "github"
}
],
- "time": "2020-10-11T07:41:19+00:00"
+ "time": "2021-02-02T14:45:58+00:00"
},
{
"name": "psr/event-dispatcher",
@@ -4171,50 +4293,6 @@
"time": "2020-03-23T09:12:05+00:00"
},
{
- "name": "ralouphie/getallheaders",
- "version": "3.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/ralouphie/getallheaders.git",
- "reference": "120b605dfeb996808c31b6477290a714d356e822"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822",
- "reference": "120b605dfeb996808c31b6477290a714d356e822",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "require-dev": {
- "php-coveralls/php-coveralls": "^2.1",
- "phpunit/phpunit": "^5 || ^6.5"
- },
- "type": "library",
- "autoload": {
- "files": [
- "src/getallheaders.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Ralph Khattar",
- "email": "ralph.khattar@gmail.com"
- }
- ],
- "description": "A polyfill for getallheaders.",
- "support": {
- "issues": "https://github.com/ralouphie/getallheaders/issues",
- "source": "https://github.com/ralouphie/getallheaders/tree/develop"
- },
- "time": "2019-03-08T08:55:37+00:00"
- },
- {
"name": "rector/rector-prefixed",
"version": "0.9.31",
"source": {
@@ -4304,16 +4382,16 @@
},
{
"name": "sebastian/code-unit",
- "version": "1.0.7",
+ "version": "1.0.8",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/code-unit.git",
- "reference": "59236be62b1bb9919e6d7f60b0b832dc05cef9ab"
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/59236be62b1bb9919e6d7f60b0b832dc05cef9ab",
- "reference": "59236be62b1bb9919e6d7f60b0b832dc05cef9ab",
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120",
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120",
"shasum": ""
},
"require": {
@@ -4348,7 +4426,7 @@
"homepage": "https://github.com/sebastianbergmann/code-unit",
"support": {
"issues": "https://github.com/sebastianbergmann/code-unit/issues",
- "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.7"
+ "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8"
},
"funding": [
{
@@ -4356,7 +4434,7 @@
"type": "github"
}
],
- "time": "2020-10-02T14:47:54+00:00"
+ "time": "2020-10-26T13:08:54+00:00"
},
{
"name": "sebastian/code-unit-reverse-lookup",
@@ -4415,16 +4493,16 @@
},
{
"name": "sebastian/comparator",
- "version": "4.0.5",
+ "version": "4.0.6",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "7a8ff306445707539c1a6397372a982a1ec55120"
+ "reference": "55f4261989e546dc112258c7a75935a81a7ce382"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/7a8ff306445707539c1a6397372a982a1ec55120",
- "reference": "7a8ff306445707539c1a6397372a982a1ec55120",
+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382",
+ "reference": "55f4261989e546dc112258c7a75935a81a7ce382",
"shasum": ""
},
"require": {
@@ -4477,7 +4555,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/comparator/issues",
- "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.5"
+ "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6"
},
"funding": [
{
@@ -4485,20 +4563,20 @@
"type": "github"
}
],
- "time": "2020-09-30T06:47:25+00:00"
+ "time": "2020-10-26T15:49:45+00:00"
},
{
"name": "sebastian/complexity",
- "version": "2.0.1",
+ "version": "2.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/complexity.git",
- "reference": "ba8cc2da0c0bfbc813d03b56406734030c7f1eff"
+ "reference": "739b35e53379900cc9ac327b2147867b8b6efd88"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/ba8cc2da0c0bfbc813d03b56406734030c7f1eff",
- "reference": "ba8cc2da0c0bfbc813d03b56406734030c7f1eff",
+ "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88",
+ "reference": "739b35e53379900cc9ac327b2147867b8b6efd88",
"shasum": ""
},
"require": {
@@ -4534,7 +4612,7 @@
"homepage": "https://github.com/sebastianbergmann/complexity",
"support": {
"issues": "https://github.com/sebastianbergmann/complexity/issues",
- "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.1"
+ "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2"
},
"funding": [
{
@@ -4542,20 +4620,20 @@
"type": "github"
}
],
- "time": "2020-09-28T06:05:03+00:00"
+ "time": "2020-10-26T15:52:27+00:00"
},
{
"name": "sebastian/diff",
- "version": "4.0.3",
+ "version": "4.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "ffc949a1a2aae270ea064453d7535b82e4c32092"
+ "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ffc949a1a2aae270ea064453d7535b82e4c32092",
- "reference": "ffc949a1a2aae270ea064453d7535b82e4c32092",
+ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d",
+ "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d",
"shasum": ""
},
"require": {
@@ -4600,7 +4678,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/diff/issues",
- "source": "https://github.com/sebastianbergmann/diff/tree/4.0.3"
+ "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4"
},
"funding": [
{
@@ -4608,7 +4686,7 @@
"type": "github"
}
],
- "time": "2020-09-28T05:32:55+00:00"
+ "time": "2020-10-26T13:10:38+00:00"
},
{
"name": "sebastian/environment",
@@ -4752,16 +4830,16 @@
},
{
"name": "sebastian/global-state",
- "version": "5.0.1",
+ "version": "5.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "ea779cb749a478b22a2564ac41cd7bda79c78dc7"
+ "reference": "a90ccbddffa067b51f574dea6eb25d5680839455"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/ea779cb749a478b22a2564ac41cd7bda79c78dc7",
- "reference": "ea779cb749a478b22a2564ac41cd7bda79c78dc7",
+ "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/a90ccbddffa067b51f574dea6eb25d5680839455",
+ "reference": "a90ccbddffa067b51f574dea6eb25d5680839455",
"shasum": ""
},
"require": {
@@ -4804,7 +4882,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/global-state/issues",
- "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.1"
+ "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.2"
},
"funding": [
{
@@ -4812,20 +4890,20 @@
"type": "github"
}
],
- "time": "2020-09-28T05:54:06+00:00"
+ "time": "2020-10-26T15:55:19+00:00"
},
{
"name": "sebastian/lines-of-code",
- "version": "1.0.1",
+ "version": "1.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/lines-of-code.git",
- "reference": "6514b8f21906b8b46f520d1fbd17a4523fa59a54"
+ "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/6514b8f21906b8b46f520d1fbd17a4523fa59a54",
- "reference": "6514b8f21906b8b46f520d1fbd17a4523fa59a54",
+ "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc",
+ "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc",
"shasum": ""
},
"require": {
@@ -4861,7 +4939,7 @@
"homepage": "https://github.com/sebastianbergmann/lines-of-code",
"support": {
"issues": "https://github.com/sebastianbergmann/lines-of-code/issues",
- "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.1"
+ "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3"
},
"funding": [
{
@@ -4869,20 +4947,20 @@
"type": "github"
}
],
- "time": "2020-09-28T06:07:27+00:00"
+ "time": "2020-11-28T06:42:11+00:00"
},
{
"name": "sebastian/object-enumerator",
- "version": "4.0.3",
+ "version": "4.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "f6f5957013d84725427d361507e13513702888a4"
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/f6f5957013d84725427d361507e13513702888a4",
- "reference": "f6f5957013d84725427d361507e13513702888a4",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71",
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71",
"shasum": ""
},
"require": {
@@ -4918,7 +4996,7 @@
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
"support": {
"issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
- "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.3"
+ "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4"
},
"funding": [
{
@@ -4926,20 +5004,20 @@
"type": "github"
}
],
- "time": "2020-09-28T05:55:06+00:00"
+ "time": "2020-10-26T13:12:34+00:00"
},
{
"name": "sebastian/object-reflector",
- "version": "2.0.3",
+ "version": "2.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-reflector.git",
- "reference": "d9d0ab3b12acb1768bc1e0a89b23c90d2043cbe5"
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/d9d0ab3b12acb1768bc1e0a89b23c90d2043cbe5",
- "reference": "d9d0ab3b12acb1768bc1e0a89b23c90d2043cbe5",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
"shasum": ""
},
"require": {
@@ -4973,7 +5051,7 @@
"homepage": "https://github.com/sebastianbergmann/object-reflector/",
"support": {
"issues": "https://github.com/sebastianbergmann/object-reflector/issues",
- "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.3"
+ "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4"
},
"funding": [
{
@@ -4981,20 +5059,20 @@
"type": "github"
}
],
- "time": "2020-09-28T05:56:16+00:00"
+ "time": "2020-10-26T13:14:26+00:00"
},
{
"name": "sebastian/recursion-context",
- "version": "4.0.3",
+ "version": "4.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "ed8c9cd355089134bc9cba421b5cfdd58f0eaef7"
+ "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/ed8c9cd355089134bc9cba421b5cfdd58f0eaef7",
- "reference": "ed8c9cd355089134bc9cba421b5cfdd58f0eaef7",
+ "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172",
+ "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172",
"shasum": ""
},
"require": {
@@ -5036,7 +5114,7 @@
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
"support": {
"issues": "https://github.com/sebastianbergmann/recursion-context/issues",
- "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.3"
+ "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4"
},
"funding": [
{
@@ -5044,7 +5122,7 @@
"type": "github"
}
],
- "time": "2020-09-28T05:17:32+00:00"
+ "time": "2020-10-26T13:17:30+00:00"
},
{
"name": "sebastian/resource-operations",
@@ -5103,16 +5181,16 @@
},
{
"name": "sebastian/type",
- "version": "2.3.0",
+ "version": "2.3.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/type.git",
- "reference": "fa592377f3923946cb90bf1f6a71ba2e5f229909"
+ "reference": "81cd61ab7bbf2de744aba0ea61fae32f721df3d2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fa592377f3923946cb90bf1f6a71ba2e5f229909",
- "reference": "fa592377f3923946cb90bf1f6a71ba2e5f229909",
+ "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/81cd61ab7bbf2de744aba0ea61fae32f721df3d2",
+ "reference": "81cd61ab7bbf2de744aba0ea61fae32f721df3d2",
"shasum": ""
},
"require": {
@@ -5147,7 +5225,7 @@
"homepage": "https://github.com/sebastianbergmann/type",
"support": {
"issues": "https://github.com/sebastianbergmann/type/issues",
- "source": "https://github.com/sebastianbergmann/type/tree/2.3.0"
+ "source": "https://github.com/sebastianbergmann/type/tree/2.3.1"
},
"funding": [
{
@@ -5155,7 +5233,7 @@
"type": "github"
}
],
- "time": "2020-10-06T08:41:03+00:00"
+ "time": "2020-10-26T13:18:59+00:00"
},
{
"name": "sebastian/version",
@@ -5412,16 +5490,16 @@
},
{
"name": "symfony/console",
- "version": "v5.1.7",
+ "version": "v5.2.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "ae789a8a2ad189ce7e8216942cdb9b77319f5eb8"
+ "reference": "938ebbadae1b0a9c9d1ec313f87f9708609f1b79"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/ae789a8a2ad189ce7e8216942cdb9b77319f5eb8",
- "reference": "ae789a8a2ad189ce7e8216942cdb9b77319f5eb8",
+ "url": "https://api.github.com/repos/symfony/console/zipball/938ebbadae1b0a9c9d1ec313f87f9708609f1b79",
+ "reference": "938ebbadae1b0a9c9d1ec313f87f9708609f1b79",
"shasum": ""
},
"require": {
@@ -5458,11 +5536,6 @@
"symfony/process": ""
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.1-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Console\\": ""
@@ -5485,80 +5558,16 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Console Component",
+ "description": "Eases the creation of beautiful and testable command line interfaces",
"homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/console/tree/v5.1.7"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2020-10-07T15:23:00+00:00"
- },
- {
- "name": "symfony/css-selector",
- "version": "v5.1.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/css-selector.git",
- "reference": "e544e24472d4c97b2d11ade7caacd446727c6bf9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/css-selector/zipball/e544e24472d4c97b2d11ade7caacd446727c6bf9",
- "reference": "e544e24472d4c97b2d11ade7caacd446727c6bf9",
- "shasum": ""
- },
- "require": {
- "php": ">=7.2.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.1-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\CssSelector\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Jean-François Simon",
- "email": "jeanfrancois.simon@sensiolabs.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
+ "keywords": [
+ "cli",
+ "command line",
+ "console",
+ "terminal"
],
- "description": "Symfony CssSelector Component",
- "homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/css-selector/tree/v5.1.4"
+ "source": "https://github.com/symfony/console/tree/v5.2.5"
},
"funding": [
{
@@ -5574,7 +5583,7 @@
"type": "tidelift"
}
],
- "time": "2020-05-20T17:43:50+00:00"
+ "time": "2021-03-06T13:42:15+00:00"
},
{
"name": "symfony/dependency-injection",
@@ -6040,20 +6049,20 @@
},
{
"name": "symfony/polyfill-intl-grapheme",
- "version": "v1.18.1",
+ "version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-grapheme.git",
- "reference": "b740103edbdcc39602239ee8860f0f45a8eb9aa5"
+ "reference": "5601e09b69f26c1828b13b6bb87cb07cddba3170"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b740103edbdcc39602239ee8860f0f45a8eb9aa5",
- "reference": "b740103edbdcc39602239ee8860f0f45a8eb9aa5",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/5601e09b69f26c1828b13b6bb87cb07cddba3170",
+ "reference": "5601e09b69f26c1828b13b6bb87cb07cddba3170",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"suggest": {
"ext-intl": "For best performance"
@@ -6061,7 +6070,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.22-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -6101,7 +6110,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.18.1"
+ "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.22.1"
},
"funding": [
{
@@ -6117,24 +6126,24 @@
"type": "tidelift"
}
],
- "time": "2020-07-14T12:35:20+00:00"
+ "time": "2021-01-22T09:19:47+00:00"
},
{
"name": "symfony/polyfill-intl-normalizer",
- "version": "v1.18.1",
+ "version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-normalizer.git",
- "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e"
+ "reference": "43a0283138253ed1d48d352ab6d0bdb3f809f248"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e",
- "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/43a0283138253ed1d48d352ab6d0bdb3f809f248",
+ "reference": "43a0283138253ed1d48d352ab6d0bdb3f809f248",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"suggest": {
"ext-intl": "For best performance"
@@ -6142,7 +6151,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.22-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -6185,7 +6194,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.18.1"
+ "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.22.1"
},
"funding": [
{
@@ -6201,7 +6210,7 @@
"type": "tidelift"
}
],
- "time": "2020-07-14T12:35:20+00:00"
+ "time": "2021-01-22T09:19:47+00:00"
},
{
"name": "symfony/polyfill-php70",
@@ -6361,25 +6370,25 @@
},
{
"name": "symfony/polyfill-php73",
- "version": "v1.18.1",
+ "version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
- "reference": "fffa1a52a023e782cdcc221d781fe1ec8f87fcca"
+ "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fffa1a52a023e782cdcc221d781fe1ec8f87fcca",
- "reference": "fffa1a52a023e782cdcc221d781fe1ec8f87fcca",
+ "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2",
+ "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.22-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -6420,7 +6429,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php73/tree/master"
+ "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.1"
},
"funding": [
{
@@ -6436,29 +6445,29 @@
"type": "tidelift"
}
],
- "time": "2020-07-14T12:35:20+00:00"
+ "time": "2021-01-07T16:49:33+00:00"
},
{
"name": "symfony/polyfill-php80",
- "version": "v1.18.1",
+ "version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
- "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981"
+ "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/d87d5766cbf48d72388a9f6b85f280c8ad51f981",
- "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91",
+ "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91",
"shasum": ""
},
"require": {
- "php": ">=7.0.8"
+ "php": ">=7.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.22-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -6503,7 +6512,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php80/tree/master"
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.1"
},
"funding": [
{
@@ -6519,7 +6528,7 @@
"type": "tidelift"
}
],
- "time": "2020-07-14T12:35:20+00:00"
+ "time": "2021-01-07T16:49:33+00:00"
},
{
"name": "symfony/process",
@@ -6736,16 +6745,16 @@
},
{
"name": "symfony/string",
- "version": "v5.1.7",
+ "version": "v5.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
- "reference": "4a9afe9d07bac506f75bcee8ed3ce76da5a9343e"
+ "reference": "4e78d7d47061fa183639927ec40d607973699609"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/string/zipball/4a9afe9d07bac506f75bcee8ed3ce76da5a9343e",
- "reference": "4a9afe9d07bac506f75bcee8ed3ce76da5a9343e",
+ "url": "https://api.github.com/repos/symfony/string/zipball/4e78d7d47061fa183639927ec40d607973699609",
+ "reference": "4e78d7d47061fa183639927ec40d607973699609",
"shasum": ""
},
"require": {
@@ -6763,11 +6772,6 @@
"symfony/var-exporter": "^4.4|^5.0"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.1-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\String\\": ""
@@ -6793,7 +6797,7 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony String component",
+ "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way",
"homepage": "https://symfony.com",
"keywords": [
"grapheme",
@@ -6804,7 +6808,7 @@
"utf8"
],
"support": {
- "source": "https://github.com/symfony/string/tree/v5.1.7"
+ "source": "https://github.com/symfony/string/tree/v5.2.4"
},
"funding": [
{
@@ -6820,7 +6824,7 @@
"type": "tidelift"
}
],
- "time": "2020-09-15T12:23:47+00:00"
+ "time": "2021-02-16T10:20:28+00:00"
},
{
"name": "theseer/tokenizer",
@@ -6874,20 +6878,20 @@
},
{
"name": "vimeo/psalm",
- "version": "4.3.2",
+ "version": "4.6.3",
"source": {
"type": "git",
"url": "https://github.com/vimeo/psalm.git",
- "reference": "57b53ff26237074fdf5cbcb034f7da5172be4524"
+ "reference": "f1a840727dd756899eee2f1f9ea443e265a4763f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/vimeo/psalm/zipball/57b53ff26237074fdf5cbcb034f7da5172be4524",
- "reference": "57b53ff26237074fdf5cbcb034f7da5172be4524",
+ "url": "https://api.github.com/repos/vimeo/psalm/zipball/f1a840727dd756899eee2f1f9ea443e265a4763f",
+ "reference": "f1a840727dd756899eee2f1f9ea443e265a4763f",
"shasum": ""
},
"require": {
- "amphp/amp": "^2.1",
+ "amphp/amp": "^2.4.2",
"amphp/byte-stream": "^1.5",
"composer/package-versions-deprecated": "^1.8.0",
"composer/semver": "^1.4 || ^2.0 || ^3.0",
@@ -6900,8 +6904,8 @@
"ext-simplexml": "*",
"ext-tokenizer": "*",
"felixfbecker/advanced-json-rpc": "^3.0.3",
- "felixfbecker/language-server-protocol": "^1.4",
- "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0",
+ "felixfbecker/language-server-protocol": "^1.5",
+ "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0",
"nikic/php-parser": "^4.10.1",
"openlss/lib-array2xml": "^1.0",
"php": "^7.1|^8",
@@ -6913,10 +6917,10 @@
"psalm/psalm": "self.version"
},
"require-dev": {
- "amphp/amp": "^2.4.2",
"bamarni/composer-bin-plugin": "^1.2",
"brianium/paratest": "^4.0||^6.0",
"ext-curl": "*",
+ "php-parallel-lint/php-parallel-lint": "^1.2",
"phpdocumentor/reflection-docblock": "^5",
"phpmyadmin/sql-parser": "5.1.0||dev-master",
"phpspec/prophecy": ">=1.9.0",
@@ -6972,21 +6976,21 @@
],
"support": {
"issues": "https://github.com/vimeo/psalm/issues",
- "source": "https://github.com/vimeo/psalm/tree/4.3.2"
+ "source": "https://github.com/vimeo/psalm/tree/4.6.3"
},
- "time": "2020-12-29T17:37:09+00:00"
+ "time": "2021-03-14T00:28:24+00:00"
},
{
"name": "webmozart/assert",
"version": "1.9.1",
"source": {
"type": "git",
- "url": "https://github.com/webmozart/assert.git",
+ "url": "https://github.com/webmozarts/assert.git",
"reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",
+ "url": "https://api.github.com/repos/webmozarts/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",
"reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",
"shasum": ""
},
@@ -7024,8 +7028,8 @@
"validate"
],
"support": {
- "issues": "https://github.com/webmozart/assert/issues",
- "source": "https://github.com/webmozart/assert/tree/master"
+ "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"
},
diff --git a/phpunit.xml b/phpunit.xml
new file mode 100644
index 00000000..8f4b58c9
--- /dev/null
+++ b/phpunit.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
+ bootstrap="vendor/autoload.php"
+ colors="true"
+>
+ <testsuites>
+ <testsuite name="Test Suite">
+ <directory suffix="Test.php">./tests</directory>
+ </testsuite>
+ </testsuites>
+ <coverage processUncoveredFiles="true">
+ <include>
+ <directory suffix=".php">./app</directory>
+ <directory suffix=".php">./src</directory>
+ </include>
+ </coverage>
+</phpunit>
diff --git a/tests/.gitignore b/tests/.gitignore
deleted file mode 100644
index 7cfa666e..00000000
--- a/tests/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-selenium
-simpletest
diff --git a/tests/Feature/ViewTest.php b/tests/Feature/ViewTest.php
new file mode 100644
index 00000000..6807194c
--- /dev/null
+++ b/tests/Feature/ViewTest.php
@@ -0,0 +1,65 @@
+<?php
+namespace Tests\Feature;
+beforeEach(function() {
+ $this->container=containerInstance();
+ $this->container->get('misc')->setNoDBConnection(true);
+
+
+});
+
+
+test('view snippet renders the right controller',function($viewName,$methodName,$controller_name) {
+ $_container = $this->container;
+ require dirname(__DIR__,2) . sprintf('/tests/views/%s.php',$viewName);
+ @ob_start();
+ $controller = $methodName($_container);
+ $output = \ob_get_clean();
+
+ expect($controller->controller_name)->toBe($controller_name);
+})->with([
+ ['acinsert','acinsertFactory','AcinsertController'],
+ ['aggregates','aggregatesFactory','AggregatesController'],
+ ['casts','castsFactory','CastsController'],
+ ['conversions','conversionsFactory','ConversionsController'],
+ ['domains','domainsFactory','DomainsController'],
+ ['fulltext','fulltextFactory','FulltextController'],
+ ['functions','functionsFactory','FunctionsController'],
+ ['languages','languagesFactory','LanguagesController'],
+ ['opclasses','opclassesFactory','OpclassesController'],
+ ['operators','operatorsFactory','OperatorsController'],
+ ['rules','rulesFactory','RulesController'],
+ ['triggers','triggersFactory','TriggersController'],
+ ['types','typesFactory','TypesController'],
+ ['dataexport','dataexportFactory','DataexportController'],
+['dataimport','dataimportFactory','DataimportController'],
+['dbexport','dbexportFactory','DbexportController'],
+['display','displayFactory','DisplayController'],
+['alldb', 'alldbFactory', 'AlldbController'],
+['browser', 'browserFactory', 'BrowserController'],
+['database', 'databaseFactory', 'DatabaseController'],
+['help', 'helpFactory', 'HelpController'],
+['history', 'historyFactory', 'HistoryController'],
+['info', 'infoFactory', 'InfoController'],
+['intro', 'introFactory', 'IntroController'],
+['login', 'loginFactory', 'LoginController'],
+['schemas', 'schemasFactory', 'SchemasController'],
+['servers', 'serversFactory', 'ServersController'],
+['sql', 'sqlFactory', 'SqlController'],
+['sqledit', 'sqleditFactory', 'SqleditController'],
+['tablespaces','tablespacesFactory', 'TablespacesController'],
+['materializedviewproperties','materializedviewpropertiesFactory', 'MaterializedviewpropertiesController'],
+['materializedviews','materializedviewsFactory', 'MaterializedviewsController'],
+['tables','tablesFactory', 'TablesController'],
+['colproperties','colpropertiesFactory', 'ColpropertiesController'],
+['constraints','constraintsFactory', 'ConstraintsController'],
+['sequences','sequencesFactory', 'SequencesController'],
+['indexes','indexesFactory', 'IndexesController'],
+['tblproperties','tblpropertiesFactory', 'TblpropertiesController'],
+['viewproperties','viewpropertiesFactory', 'ViewpropertiesController'],
+['views','viewsFactory', 'ViewsController'],
+['groups', 'groupsFactory','GroupsController'],
+['privileges', 'privilegesFactory','PrivilegesController'],
+['roles', 'rolesFactory','RolesController'],
+['users', 'usersFactory','UsersController']
+]);
+
diff --git a/tests/Pest.php b/tests/Pest.php
new file mode 100644
index 00000000..dc4abeed
--- /dev/null
+++ b/tests/Pest.php
@@ -0,0 +1,41 @@
+<?php
+
+/*
+|--------------------------------------------------------------------------
+| Test Case
+|--------------------------------------------------------------------------
+|
+| The closure you provide to your test functions is always bound to a specific PHPUnit test
+| case class. By default, that class is "PHPUnit\Framework\TestCase". Of course, you may
+| need to change it using the "uses()" function to bind a different classes or traits.
+|
+*/
+
+// uses(Tests\TestCase::class)->in('Feature');
+
+/*
+|--------------------------------------------------------------------------
+| Expectations
+|--------------------------------------------------------------------------
+|
+| When you're writing tests, you often need to check that values meet certain conditions. The
+| "expect()" function gives you access to a set of "expectations" methods that you can use
+| to assert different things. Of course, you may extend the Expectation API at any time.
+|
+*/
+
+
+expect()->extend('toBeOne', function () {
+ return $this->toBe(1);
+});
+
+/*
+|--------------------------------------------------------------------------
+| Functions
+|--------------------------------------------------------------------------
+|
+| While Pest is very powerful out-of-the-box, you may have some testing code specific to your
+| project that you don't want to repeat in every file. Here you can also expose helpers as
+| global functions to help you to reduce the number of lines of code in your test files.
+|
+*/
diff --git a/tests/Unit/ContainerTest.php b/tests/Unit/ContainerTest.php
new file mode 100644
index 00000000..6f86a19a
--- /dev/null
+++ b/tests/Unit/ContainerTest.php
@@ -0,0 +1,38 @@
+<?php
+namespace Tests\Unit;
+
+use PHPPgAdmin\ContainerUtils;
+use PHPPgAdmin\Misc;
+use Psr\Container\ContainerInterface;
+use Slim\Views\Twig;
+
+beforeEach(function() {
+ $this->container=containerInstance();
+ $this->container->get('misc')->setNoDBConnection(true);
+
+
+});
+
+
+
+
+ it('Ensures container is instance of Slim ContainerInterface',function() {
+ expect( $this->container)->toBeInstanceOf(ContainerInterface::class);
+ });
+
+
+ it('Ensures container is instance of ContainerUtils',function() {
+ expect( $this->container)->toBeInstanceOf(ContainerUtils::class);
+ });
+
+
+ it('Ensures container->misc is instance of PHPPgAdmin\Misc',function() {
+ expect( $this->container->misc)->toBeInstanceOf( Misc::class);
+ });
+
+
+ it('Ensures container->view is an instance of Slim\Views\Twig',function() {
+ expect( $this->container->view)->toBeInstanceOf( Twig::class);
+ });
+
+ \ No newline at end of file
diff --git a/tests/_support/AcceptanceTester.php b/tests/_support/AcceptanceTester.php
deleted file mode 100644
index d81f02f5..00000000
--- a/tests/_support/AcceptanceTester.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-/**
- * PHPPgAdmin 6.0.0.
- */
-class AcceptanceTester extends \Codeception\Actor
-{
- use _generated\AcceptanceTesterActions;
-
- /*
- * Define custom actions here
- */
-}
diff --git a/tests/_support/FunctionalTester.php b/tests/_support/FunctionalTester.php
deleted file mode 100644
index ae2a8fd0..00000000
--- a/tests/_support/FunctionalTester.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-/**
- * PHPPgAdmin 6.0.0.
- */
-class FunctionalTester extends \Codeception\Actor
-{
- use _generated\FunctionalTesterActions;
-
- /*
- * Define custom actions here
- */
-}
diff --git a/tests/_support/Helper/Acceptance.php b/tests/_support/Helper/Acceptance.php
deleted file mode 100644
index 3d9f12e4..00000000
--- a/tests/_support/Helper/Acceptance.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-namespace Helper;
-
-// here you can define custom actions
-// all public methods declared in helper class will be available in $I
-
-class Acceptance extends \Codeception\Module
-{
-}
diff --git a/tests/_support/Helper/Functional.php b/tests/_support/Helper/Functional.php
deleted file mode 100644
index 840edb48..00000000
--- a/tests/_support/Helper/Functional.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-namespace Helper;
-
-// here you can define custom actions
-// all public methods declared in helper class will be available in $I
-
-class Functional extends \Codeception\Module
-{
-}
diff --git a/tests/_support/Helper/Unit.php b/tests/_support/Helper/Unit.php
deleted file mode 100644
index 014b0a07..00000000
--- a/tests/_support/Helper/Unit.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-namespace Helper;
-
-\defined('IN_TEST') || \define('IN_TEST', true);
-$bootstrapfile = \dirname(__DIR__, 3) . '/vendor/autoload.php';
-
-require_once $bootstrapfile;
-// here you can define custom actions
-// all public methods declared in helper class will be available in $I
-
-class Unit extends \Codeception\Module
-{
- /**
- * @var \PHPPgAdmin\ContainerUtils
- */
- private static $_container;
-
- private static $_conf;
-
- public static function getContainer()
- {
- //$conf = self::getConf();
- if (!static::$_container) {
- self::$_container = containerInstance();
- }
-
- //dump(PHP_SAPI);
-
- //\Codeception\Util\Debug::debug('BASE_PATH is ' . \BASE_PATH);
-
- return self::$_container;
- }
-}
diff --git a/tests/_support/UnitTester.php b/tests/_support/UnitTester.php
deleted file mode 100644
index 23df2c9c..00000000
--- a/tests/_support/UnitTester.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-/**
- * PHPPgAdmin 6.0.0.
- */
-class UnitTester extends \Codeception\Actor
-{
- use _generated\UnitTesterActions;
-
- /*
- * Define custom actions here
- */
-}
diff --git a/tests/_support/_generated/UnitTesterActions.php b/tests/_support/_generated/UnitTesterActions.php
deleted file mode 100644
index 4d0dda72..00000000
--- a/tests/_support/_generated/UnitTesterActions.php
+++ /dev/null
@@ -1,1060 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-namespace _generated;
-
-/**
- * This class was automatically generated by build task
- * You should not change it manually as it will be overwritten on next build.
- *
- * @codingStandardsIgnoreFile
- */
-trait UnitTesterActions
-{
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Handles and checks exception called inside callback function.
- * Either exception class name or exception instance should be provided.
- *
- * ```php
- * <?php
- * $I->expectException(MyException::class, function() {
- * $this->doSomethingBad();
- * });
- *
- * $I->expectException(new MyException(), function() {
- * $this->doSomethingBad();
- * });
- * ```
- * If you want to check message or exception code, you can pass them with exception instance:
- * ```php
- * <?php
- * // will check that exception MyException is thrown with "Don't do bad things" message
- * $I->expectException(new MyException("Don't do bad things"), function() {
- * $this->doSomethingBad();
- * });
- * ```
- *
- * @deprecated Use expectThrowable() instead
- *
- * @param $exception string or \Exception
- * @param $callback
- *
- * @see \Codeception\Module\Asserts::expectException()
- */
- public function expectException($exception, $callback)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('expectException', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Handles and checks throwables (Exceptions/Errors) called inside the callback function.
- * Either throwable class name or throwable instance should be provided.
- *
- * ```php
- * <?php
- * $I->expectThrowable(MyThrowable::class, function() {
- * $this->doSomethingBad();
- * });
- *
- * $I->expectThrowable(new MyException(), function() {
- * $this->doSomethingBad();
- * });
- * ```
- * If you want to check message or throwable code, you can pass them with throwable instance:
- * ```php
- * <?php
- * // will check that throwable MyError is thrown with "Don't do bad things" message
- * $I->expectThrowable(new MyError("Don't do bad things"), function() {
- * $this->doSomethingBad();
- * });
- * ```
- *
- * @param $throwable string or \Throwable
- * @param $callback
- *
- * @see \Codeception\Module\Asserts::expectThrowable()
- */
- public function expectThrowable($throwable, $callback)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('expectThrowable', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that two variables are equal.
- *
- * @param $expected
- * @param $actual
- * @param string $message
- * @param float $delta
- *
- * @see \Codeception\Module\Asserts::assertEquals()
- */
- public function assertEquals($expected, $actual, $message = null, $delta = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertEquals', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that two variables are not equal
- *
- * @param $expected
- * @param $actual
- * @param string $message
- * @param float $delta
- *
- * @see \Codeception\Module\Asserts::assertNotEquals()
- */
- public function assertNotEquals($expected, $actual, $message = null, $delta = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEquals', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that two variables are same
- *
- * @param $expected
- * @param $actual
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertSame()
- */
- public function assertSame($expected, $actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertSame', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that two variables are not same
- *
- * @param $expected
- * @param $actual
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertNotSame()
- */
- public function assertNotSame($expected, $actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotSame', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that actual is greater than expected
- *
- * @param $expected
- * @param $actual
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertGreaterThan()
- */
- public function assertGreaterThan($expected, $actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertGreaterThan', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that actual is greater or equal than expected
- *
- * @param $expected
- * @param $actual
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertGreaterThanOrEqual()
- */
- public function assertGreaterThanOrEqual($expected, $actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertGreaterThanOrEqual', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that actual is less than expected
- *
- * @param $expected
- * @param $actual
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertLessThan()
- */
- public function assertLessThan($expected, $actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertLessThan', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that actual is less or equal than expected
- *
- * @param $expected
- * @param $actual
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertLessThanOrEqual()
- */
- public function assertLessThanOrEqual($expected, $actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertLessThanOrEqual', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that haystack contains needle
- *
- * @param $needle
- * @param $haystack
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertContains()
- */
- public function assertContains($needle, $haystack, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertContains', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that haystack doesn't contain needle.
- *
- * @param $needle
- * @param $haystack
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertNotContains()
- */
- public function assertNotContains($needle, $haystack, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotContains', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that string match with pattern
- *
- * @param string $pattern
- * @param string $string
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertRegExp()
- */
- public function assertRegExp($pattern, $string, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertRegExp', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that string not match with pattern
- *
- * @param string $pattern
- * @param string $string
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertNotRegExp()
- */
- public function assertNotRegExp($pattern, $string, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotRegExp', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that a string starts with the given prefix.
- *
- * @param string $prefix
- * @param string $string
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertStringStartsWith()
- */
- public function assertStringStartsWith($prefix, $string, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringStartsWith', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that a string doesn't start with the given prefix.
- *
- * @param string $prefix
- * @param string $string
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertStringStartsNotWith()
- */
- public function assertStringStartsNotWith($prefix, $string, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringStartsNotWith', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that variable is empty.
- *
- * @param $actual
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertEmpty()
- */
- public function assertEmpty($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertEmpty', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that variable is not empty.
- *
- * @param $actual
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertNotEmpty()
- */
- public function assertNotEmpty($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEmpty', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that variable is NULL
- *
- * @param $actual
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertNull()
- */
- public function assertNull($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNull', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that variable is not NULL
- *
- * @param $actual
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertNotNull()
- */
- public function assertNotNull($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotNull', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that condition is positive.
- *
- * @param $condition
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertTrue()
- */
- public function assertTrue($condition, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertTrue', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that the condition is NOT true (everything but true)
- *
- * @param $condition
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertNotTrue()
- */
- public function assertNotTrue($condition, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotTrue', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that condition is negative.
- *
- * @param $condition
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertFalse()
- */
- public function assertFalse($condition, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFalse', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks that the condition is NOT false (everything but false)
- *
- * @param $condition
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertNotFalse()
- */
- public function assertNotFalse($condition, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotFalse', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks if file exists
- *
- * @param string $filename
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertFileExists()
- */
- public function assertFileExists($filename, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileExists', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Checks if file doesn't exist
- *
- * @param string $filename
- * @param string $message
- *
- * @see \Codeception\Module\Asserts::assertFileNotExists()
- */
- public function assertFileNotExists($filename, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileNotExists', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @param $expected
- * @param $actual
- * @param $description
- *
- * @see \Codeception\Module\Asserts::assertGreaterOrEquals()
- */
- public function assertGreaterOrEquals($expected, $actual, $description = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertGreaterOrEquals', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @param $expected
- * @param $actual
- * @param $description
- *
- * @see \Codeception\Module\Asserts::assertLessOrEquals()
- */
- public function assertLessOrEquals($expected, $actual, $description = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertLessOrEquals', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @param $actual
- * @param $description
- *
- * @see \Codeception\Module\Asserts::assertIsEmpty()
- */
- public function assertIsEmpty($actual, $description = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsEmpty', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @param $key
- * @param $actual
- * @param $description
- *
- * @see \Codeception\Module\Asserts::assertArrayHasKey()
- */
- public function assertArrayHasKey($key, $actual, $description = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertArrayHasKey', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @param $key
- * @param $actual
- * @param $description
- *
- * @see \Codeception\Module\Asserts::assertArrayNotHasKey()
- */
- public function assertArrayNotHasKey($key, $actual, $description = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertArrayNotHasKey', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @param $expectedCount
- * @param $actual
- * @param $description
- *
- * @see \Codeception\Module\Asserts::assertCount()
- */
- public function assertCount($expectedCount, $actual, $description = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertCount', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @param $class
- * @param $actual
- * @param $description
- *
- * @see \Codeception\Module\Asserts::assertInstanceOf()
- */
- public function assertInstanceOf($class, $actual, $description = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertInstanceOf', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @param $class
- * @param $actual
- * @param $description
- *
- * @see \Codeception\Module\Asserts::assertNotInstanceOf()
- */
- public function assertNotInstanceOf($class, $actual, $description = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotInstanceOf', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @param $type
- * @param $actual
- * @param $description
- *
- * @see \Codeception\Module\Asserts::assertInternalType()
- */
- public function assertInternalType($type, $actual, $description = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertInternalType', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * Fails the test with message.
- *
- * @param $message
- *
- * @see \Codeception\Module\Asserts::fail()
- */
- public function fail($message)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('fail', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertStringContainsString()
- *
- * @param mixed $needle
- * @param mixed $haystack
- * @param null|mixed $message
- */
- public function assertStringContainsString($needle, $haystack, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringContainsString', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertStringNotContainsString()
- *
- * @param mixed $needle
- * @param mixed $haystack
- * @param null|mixed $message
- */
- public function assertStringNotContainsString($needle, $haystack, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringNotContainsString', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertStringContainsStringIgnoringCase()
- *
- * @param mixed $needle
- * @param mixed $haystack
- * @param null|mixed $message
- */
- public function assertStringContainsStringIgnoringCase($needle, $haystack, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringContainsStringIgnoringCase', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertStringNotContainsStringIgnoringCase()
- *
- * @param mixed $needle
- * @param mixed $haystack
- * @param null|mixed $message
- */
- public function assertStringNotContainsStringIgnoringCase($needle, $haystack, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringNotContainsStringIgnoringCase', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @since 1.1.0 of module-asserts
- * @see \Codeception\Module\Asserts::assertStringEndsWith()
- *
- * @param mixed $suffix
- * @param mixed $string
- * @param null|mixed $message
- */
- public function assertStringEndsWith($suffix, $string, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringEndsWith', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @since 1.1.0 of module-asserts
- * @see \Codeception\Module\Asserts::assertStringEndsNotWith()
- *
- * @param mixed $suffix
- * @param mixed $string
- * @param null|mixed $message
- */
- public function assertStringEndsNotWith($suffix, $string, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringEndsNotWith', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsArray()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsArray($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsArray', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsBool()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsBool($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsBool', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsFloat()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsFloat($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsFloat', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsInt()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsInt($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsInt', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsNumeric()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsNumeric($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNumeric', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsObject()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsObject($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsObject', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsResource()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsResource($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsResource', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsString()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsString($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsString', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsScalar()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsScalar($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsScalar', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsCallable()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsCallable($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsCallable', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsNotArray()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsNotArray($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotArray', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsNotBool()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsNotBool($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotBool', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsNotFloat()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsNotFloat($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotFloat', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsNotInt()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsNotInt($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotInt', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsNotNumeric()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsNotNumeric($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotNumeric', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsNotObject()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsNotObject($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotObject', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsNotResource()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsNotResource($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotResource', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsNotString()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsNotString($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotString', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsNotScalar()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsNotScalar($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotScalar', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertIsNotCallable()
- *
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertIsNotCallable($actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotCallable', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertEqualsCanonicalizing()
- *
- * @param mixed $expected
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertEqualsCanonicalizing($expected, $actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertEqualsCanonicalizing', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertNotEqualsCanonicalizing()
- *
- * @param mixed $expected
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertNotEqualsCanonicalizing($expected, $actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEqualsCanonicalizing', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertEqualsIgnoringCase()
- *
- * @param mixed $expected
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertEqualsIgnoringCase($expected, $actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertEqualsIgnoringCase', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertNotEqualsIgnoringCase()
- *
- * @param mixed $expected
- * @param mixed $actual
- * @param null|mixed $message
- */
- public function assertNotEqualsIgnoringCase($expected, $actual, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEqualsIgnoringCase', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertEqualsWithDelta()
- *
- * @param mixed $expected
- * @param mixed $actual
- * @param mixed $delta
- * @param null|mixed $message
- */
- public function assertEqualsWithDelta($expected, $actual, $delta, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertEqualsWithDelta', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Codeception\Module\Asserts::assertNotEqualsWithDelta()
- *
- * @param mixed $expected
- * @param mixed $actual
- * @param mixed $delta
- * @param null|mixed $message
- */
- public function assertNotEqualsWithDelta($expected, $actual, $delta, $message = null)
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEqualsWithDelta', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Helper\Unit::getDir()
- */
- public function getDir()
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('getDir', \func_get_args()));
- }
-
- /**
- * [!] Method is generated. Documentation taken from corresponding module.
- *
- * @see \Helper\Unit::getContainer()
- */
- public function getContainer()
- {
- return $this->getScenario()->runStep(new \Codeception\Step\Action('getContainer', \func_get_args()));
- }
-
- /**
- * @return \Codeception\Scenario
- */
- abstract protected function getScenario();
-}
diff --git a/tests/acceptance.suite.yml b/tests/acceptance.suite.yml
deleted file mode 100644
index bb977c48..00000000
--- a/tests/acceptance.suite.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-# Codeception Test Suite Configuration
-#
-# Suite for acceptance tests.
-# Perform tests in browser using the WebDriver or PhpBrowser.
-# If you need both WebDriver and PHPBrowser tests - create a separate suite.
-
-actor: AcceptanceTester
-modules:
- enabled:
- - PhpBrowser:
- url: http://localhost/myapp
- - \Helper\Acceptance \ No newline at end of file
diff --git a/tests/functional.suite.yml b/tests/functional.suite.yml
deleted file mode 100644
index 94c1fe29..00000000
--- a/tests/functional.suite.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-# Codeception Test Suite Configuration
-#
-# Suite for functional tests
-# Emulate web requests and make application process them
-# Include one of framework modules (Symfony2, Yii2, Laravel5) to use it
-# Remove this suite if you don't use frameworks
-
-actor: FunctionalTester
-modules:
- enabled:
- # add a framework module here
- - \Helper\Functional \ No newline at end of file
diff --git a/tests/unit.suite.yml b/tests/unit.suite.yml
deleted file mode 100644
index 026c91db..00000000
--- a/tests/unit.suite.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Codeception Test Suite Configuration
-#
-# Suite for unit or integration tests.
-
-actor: UnitTester
-modules:
- enabled:
- - Asserts
- - \Helper\Unit \ No newline at end of file
diff --git a/tests/unit/ContainerTest.php b/tests/unit/ContainerTest.php
deleted file mode 100644
index f1b6829f..00000000
--- a/tests/unit/ContainerTest.php
+++ /dev/null
@@ -1,67 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-/**
- * PHPPgAdmin vv6.0.0-RC8-16-g13de173f.
- *
- * @internal
- * @coversNothing
- */
-class ContainerTest extends \Codeception\Test\Unit
-{
- protected static $BASE_PATH;
-
- /**
- * @var \UnitTester
- */
- protected $tester;
-
- /**
- * Undocumented variable.
- *
- * @var null|\PHPPgAdmin\ContainerUtils
- */
- protected $container;
-
- public function testContainerValidity(): void
- {
- self::assertTrue(
- $this->container instanceof \Psr\Container\ContainerInterface,
- '$container must be an instance of \Psr\Container\ContainerInterface'
- );
- }
-
- public function testContainerUtils(): void
- {
- self::assertTrue(
- $this->container instanceof \PHPPgAdmin\ContainerUtils,
- '$container->utils must be an instance of PHPPgAdmin\ContainerUtils'
- );
- }
-
- public function testContainermisc(): void
- {
- self::assertTrue(
- $this->container->misc instanceof \PHPPgAdmin\Misc,
- '$container->misc must be an instance of \PHPPgAdmin\Misc'
- );
- }
-
- public function testContainerview(): void
- {
- self::assertTrue(
- $this->container->view instanceof \Slim\Views\Twig,
- '$container->view must be an instance of \Slim\Views\Twig'
- );
- }
-
- protected function _before(): void
- {
- $this->container = containerInstance();
- self::$BASE_PATH = $this->container->BASE_PATH;
- $this->container->get('misc')->setNoDBConnection(true);
- }
-}
diff --git a/tests/unit/DataEntitiesTest.php b/tests/unit/DataEntitiesTest.php
deleted file mode 100644
index 405147cc..00000000
--- a/tests/unit/DataEntitiesTest.php
+++ /dev/null
@@ -1,68 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-/**
- * @internal
- * @coversNothing
- */
-class DataEntitiesTest extends \Codeception\Test\Unit
-{
- protected static $BASE_PATH;
-
- protected ?\PHPPgAdmin\ContainerUtils $container;
-
- //const BASE_PATH = self::BASE_PATH;
-
- /**
- * @var \UnitTester
- */
- protected $tester;
-
- // tests
-
- public function testDataexportView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/dataexport.php';
- $controller = dataexportFactory($_container);
- self::assertSame($controller->controller_name, 'DataexportController', 'controller name should be DataexportController');
- }
-
- public function testDataimportView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/dataimport.php';
- $controller = dataimportFactory($_container);
- self::assertSame($controller->controller_name, 'DataimportController', 'controller name should be DataimportController');
- }
-
- public function testDbexportView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/dbexport.php';
- $controller = dbexportFactory($_container);
- self::assertSame($controller->controller_name, 'DbexportController', 'controller name should be DbexportController');
- }
-
- public function testDisplayView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/display.php';
- $controller = displayFactory($_container);
- self::assertSame($controller->controller_name, 'DisplayController', 'controller name should be DisplayController');
- }
-
- protected function _before(): void
- {
- $this->container = containerInstance();
- self::$BASE_PATH = $this->container->BASE_PATH;
- $this->container->get('misc')->setNoDBConnection(true);
- }
-}
diff --git a/tests/unit/PublicSectionsTest.php b/tests/unit/PublicSectionsTest.php
deleted file mode 100644
index f63c8ca8..00000000
--- a/tests/unit/PublicSectionsTest.php
+++ /dev/null
@@ -1,133 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-/**
- * @internal
- * @coversNothing
- */
-class PublicSectionsTest extends \Codeception\Test\Unit
-{
- protected static $BASE_PATH;
-
- protected ?\PHPPgAdmin\ContainerUtils $container;
-
- protected $tester;
-
- public function testAlldbView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/alldb.php';
- $controller = alldbFactory($_container);
- self::assertSame($controller->controller_name, 'AlldbController', 'controller name should be AlldbController');
- }
-
- public function testBrowserView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/browser.php';
- $controller = browserFactory($_container);
- self::assertSame($controller->controller_name, 'BrowserController', 'controller name should be BrowserController');
- }
-
- public function testDatabaseView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/database.php';
- $controller = databaseFactory($_container);
- self::assertSame($controller->controller_name, 'DatabaseController', 'controller name should be DatabaseController');
- }
-
- public function testHelpView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/help.php';
- $controller = helpFactory($_container);
- self::assertSame($controller->controller_name, 'HelpController', 'controller name should be HelpController');
- }
-
- public function testHistoryView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/history.php';
- $controller = historyFactory($_container);
- self::assertSame($controller->controller_name, 'HistoryController', 'controller name should be HistoryController');
- }
-
- public function testInfoView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/info.php';
- $controller = infoFactory($_container);
- self::assertSame($controller->controller_name, 'InfoController', 'controller name should be InfoController');
- }
-
- public function testIntroView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/intro.php';
- $controller = introFactory($_container);
- self::assertSame($controller->controller_name, 'IntroController', 'controller name should be IntroController');
- }
-
- public function testLoginView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/login.php';
- $controller = loginFactory($_container);
- self::assertSame($controller->controller_name, 'LoginController', 'controller name should be LoginController');
- }
-
- public function testSchemasView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/schemas.php';
- $controller = schemasFactory($_container);
- self::assertSame($controller->controller_name, 'SchemasController', 'controller name should be SchemasController');
- }
-
- public function testServersView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/servers.php';
- $controller = serversFactory($_container);
- self::assertSame($controller->controller_name, 'ServersController', 'controller name should be ServersController');
- }
-
- public function testSqlView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/sql.php';
- $controller = sqlFactory($_container);
- self::assertSame($controller->controller_name, 'SqlController', 'controller name should be SqlController');
- }
-
- public function testSqleditView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/sqledit.php';
- $controller = sqleditFactory($_container);
- self::assertSame($controller->controller_name, 'SqleditController', 'controller name should be SqleditController');
- }
-
- protected function _before(): void
- {
- $this->container = containerInstance();
- self::$BASE_PATH = $this->container->BASE_PATH;
- $this->container->get('misc')->setNoDBConnection(true);
- }
-}
diff --git a/tests/unit/TablesAndViewsTest.php b/tests/unit/TablesAndViewsTest.php
deleted file mode 100644
index d32fb6ff..00000000
--- a/tests/unit/TablesAndViewsTest.php
+++ /dev/null
@@ -1,131 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-/**
- * @internal
- * @coversNothing
- */
-class TablesAndViewsTest extends \Codeception\Test\Unit
-{
- protected static $BASE_PATH;
-
- /**
- * @var \UnitTester
- */
- protected $tester;
-
- protected ?\PHPPgAdmin\ContainerUtils $container;
-
- public function testTablespacesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/tablespaces.php';
- $controller = tablespacesFactory($_container);
- self::assertSame($controller->controller_name, 'TablespacesController', 'controller name should be TablespacesController');
- }
-
- public function testMaterializedviewpropertiesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/materializedviewproperties.php';
- $controller = materializedviewpropertiesFactory($_container);
- self::assertSame($controller->controller_name, 'MaterializedviewpropertiesController', 'controller name should be MaterializedviewpropertiesController');
- }
-
- public function testMaterializedviewsView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/materializedviews.php';
- $controller = materializedviewsFactory($_container);
- self::assertSame($controller->controller_name, 'MaterializedviewsController', 'controller name should be MaterializedviewsController');
- }
-
- public function testTablesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/tables.php';
- $controller = tablesFactory($_container);
- self::assertSame($controller->controller_name, 'TablesController', 'controller name should be TablesController');
- }
-
- public function testColpropertiesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/colproperties.php';
- $controller = colpropertiesFactory($_container);
- self::assertSame($controller->controller_name, 'ColpropertiesController', 'controller name should be ColpropertiesController');
- }
-
- public function testConstraintsView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/constraints.php';
- $controller = constraintsFactory($_container);
- self::assertSame($controller->controller_name, 'ConstraintsController', 'controller name should be ConstraintsController');
- }
-
- public function testSequencesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/sequences.php';
- $controller = sequencesFactory($_container);
- self::assertSame($controller->controller_name, 'SequencesController', 'controller name should be SequencesController');
- }
-
- public function testIndexesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/indexes.php';
- $controller = indexesFactory($_container);
- self::assertSame($controller->controller_name, 'IndexesController', 'controller name should be IndexesController');
- }
-
- public function testTblpropertiesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/tblproperties.php';
- $controller = tblpropertiesFactory($_container);
- self::assertSame($controller->controller_name, 'TblpropertiesController', 'controller name should be TblpropertiesController');
- }
-
- public function testViewpropertiesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/viewproperties.php';
- $controller = viewpropertiesFactory($_container);
- self::assertSame($controller->controller_name, 'ViewpropertiesController', 'controller name should be ViewpropertiesController');
- }
-
- public function testViewsView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/views.php';
- $controller = viewsFactory($_container);
- self::assertSame($controller->controller_name, 'ViewsController', 'controller name should be ViewsController');
- }
-
- protected function _before(): void
- {
- $this->container = containerInstance();
- self::$BASE_PATH = $this->container->BASE_PATH;
- $this->container->get('misc')->setNoDBConnection(true);
- }
-
- protected function _after(): void
- {
- }
-}
diff --git a/tests/unit/UserEntitiesTest.php b/tests/unit/UserEntitiesTest.php
deleted file mode 100644
index 066bdfc0..00000000
--- a/tests/unit/UserEntitiesTest.php
+++ /dev/null
@@ -1,66 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-/**
- * @internal
- * @coversNothing
- */
-class UserEntitiesTest extends \Codeception\Test\Unit
-{
- protected static $BASE_PATH;
-
- protected ?\PHPPgAdmin\ContainerUtils $container;
-
- /**
- * @var \UnitTester
- */
- protected $tester;
-
- // tests
-
- public function testGroupsView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/groups.php';
- $controller = groupsFactory($_container);
- self::assertSame($controller->controller_name, 'GroupsController', 'controller name should be GroupsController');
- }
-
- public function testPrivilegesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/privileges.php';
- $controller = privilegesFactory($_container);
- self::assertSame($controller->controller_name, 'PrivilegesController', 'controller name should be PrivilegesController');
- }
-
- public function testRolesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/roles.php';
- $controller = rolesFactory($_container);
- self::assertSame($controller->controller_name, 'RolesController', 'controller name should be RolesController');
- }
-
- public function testUsersView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/users.php';
- $controller = usersFactory($_container);
- self::assertSame($controller->controller_name, 'UsersController', 'controller name should be UsersController');
- }
-
- protected function _before(): void
- {
- $this->container = containerInstance();
- self::$BASE_PATH = $this->container->BASE_PATH;
- $this->container->get('misc')->setNoDBConnection(true);
- }
-}
diff --git a/tests/unit/ViewTest.php b/tests/unit/ViewTest.php
deleted file mode 100644
index f0a2b512..00000000
--- a/tests/unit/ViewTest.php
+++ /dev/null
@@ -1,147 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-/**
- * @internal
- * @coversNothing
- */
-class ViewTest extends \Codeception\Test\Unit
-{
- protected static $BASE_PATH;
-
- protected ?\PHPPgAdmin\ContainerUtils $container;
-
- /**
- * @var \UnitTester
- */
- protected $tester;
-
- // tests
-
- public function testAcinsertView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/acinsert.php';
- $controller = acinsertFactory($_container);
- self::assertSame($controller->controller_name, 'AcinsertController', 'controller name should be AcinsertController');
- }
-
- public function testAggregatesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/aggregates.php';
- $controller = aggregatesFactory($_container);
- self::assertSame($controller->controller_name, 'AggregatesController', 'controller name should be AggregatesController');
- }
-
- public function testCastsView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/casts.php';
- $controller = castsFactory($_container);
- self::assertSame($controller->controller_name, 'CastsController', 'controller name should be CastsController');
- }
-
- public function testConversionsView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/conversions.php';
- $controller = conversionsFactory($_container);
- self::assertSame($controller->controller_name, 'ConversionsController', 'controller name should be ConversionsController');
- }
-
- public function testDomainsView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/domains.php';
- $controller = domainsFactory($_container);
- self::assertSame($controller->controller_name, 'DomainsController', 'controller name should be DomainsController');
- }
-
- public function testFulltextView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/fulltext.php';
- $controller = fulltextFactory($_container);
- self::assertSame($controller->controller_name, 'FulltextController', 'controller name should be FulltextController');
- }
-
- public function testFunctionsView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/functions.php';
- $controller = functionsFactory($_container);
- self::assertSame($controller->controller_name, 'FunctionsController', 'controller name should be FunctionsController');
- }
-
- public function testLanguagesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/languages.php';
- $controller = languagesFactory($_container);
- self::assertSame($controller->controller_name, 'LanguagesController', 'controller name should be LanguagesController');
- }
-
- public function testOpclassesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/opclasses.php';
- $controller = opclassesFactory($_container);
- self::assertSame($controller->controller_name, 'OpclassesController', 'controller name should be OpclassesController');
- }
-
- public function testOperatorsView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/operators.php';
- $controller = operatorsFactory($_container);
- self::assertSame($controller->controller_name, 'OperatorsController', 'controller name should be OperatorsController');
- }
-
- public function testRulesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/rules.php';
- $controller = rulesFactory($_container);
- self::assertSame($controller->controller_name, 'RulesController', 'controller name should be RulesController');
- }
-
- public function testTriggersView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/triggers.php';
- $controller = triggersFactory($_container);
- self::assertSame($controller->controller_name, 'TriggersController', 'controller name should be TriggersController');
- }
-
- public function testTypesView(): void
- {
- $_container = $this->container;
-
- require self::$BASE_PATH . '/tests/views/types.php';
- $controller = typesFactory($_container);
- self::assertSame($controller->controller_name, 'TypesController', 'controller name should be TypesController');
- }
-
- protected function _before(): void
- {
- $this->container = containerInstance();
- self::$BASE_PATH = $this->container->BASE_PATH;
- $this->container->get('misc')->setNoDBConnection(true);
- }
-}