diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
new file mode 100644
index 0000000..9dd8027
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE.md
@@ -0,0 +1,26 @@
+> Questions should go to https://forum.phalcon.io
+> Documentation issues should go to https://github.com/phalcon/docs/issues
+
+### Expected and Actual Behavior
+
+> **Describe what you are trying to achieve and what goes wrong.**
+
+> Provide output if related
+
+```php
+// paste output here
+```
+> Provide minimal script to reproduce the issue
+
+```php
+// paste code
+```
+
+### Details
+
+* System info and versions (if possible): (`phalcon info`)
+* Phalcon Framework version: (`php --ri phalcon`)
+* PHP Version: (`php -v`)
+* Operating System:
+* Server: Nginx | Apache | Other
+* Other related info (Database, table schema):
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 0000000..5d3313c
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,16 @@
+Hello!
+
+* Type: bug fix | new feature | code quality | documentation
+* Link to issue:
+
+**In raising this pull request, I confirm the following (please check boxes):**
+
+- [ ] I have read and understood the [Contributing Guidelines][:contrib:]
+- [ ] I have checked that another pull request for this purpose does not exist
+- [ ] I wrote some tests for this PR
+
+Small description of change:
+
+Thanks
+
+[:contrib:]: https://github.com/phalcon/migrations/blob/master/CONTRIBUTING.md
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index fbd154e..b4adab4 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -3,7 +3,7 @@ name: "Tests"
on: [push, pull_request]
jobs:
- run-tests:
+ run-tests-php7:
name: PHP ${{ matrix.php-versions }}
runs-on: ubuntu-latest
env:
@@ -26,10 +26,9 @@ jobs:
strategy:
fail-fast: false
matrix:
- php-versions: ['7.2', '7.3', '7.4']
+ php-versions: ['7.3', '7.4']
steps:
- uses: actions/checkout@v1
-
- name: Setup cache environment
id: cache-env
uses: shivammathur/cache-extensions@v1
@@ -82,3 +81,4 @@ jobs:
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./tests/_output/coverage-*.xml
+
diff --git a/.github/workflows/validations.yml b/.github/workflows/validations.yml
index d9e0d60..294adc1 100644
--- a/.github/workflows/validations.yml
+++ b/.github/workflows/validations.yml
@@ -37,7 +37,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- php-versions: ['7.2', '7.3', '7.4']
+ php-versions: ['7.3', '7.4']
steps:
- name: Checkout the code
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a9bea01..d5ca255 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+# [2.2.1](https://github.com/phalcon/migrations/releases/tag/v2.2.1) (2021-08-03)
+- Fixed types and indexes definition on pgsql adapter ([#111](https://github.com/phalcon/migrations/issues/111), [#112](https://github.com/phalcon/migrations/issues/112), [#118](https://github.com/phalcon/migrations/issues/118))
+
+# [2.2.0](https://github.com/phalcon/migrations/releases/tag/v2.2.0) (2021-08-03)
+Supported Versions: 7.3, 7.4, 8.0
+
+- This release provides initial PHP 8 support.
+
# [2.1.6](https://github.com/phalcon/migrations/releases/tag/v2.1.6) (2021-03-22)
- Fixed duplicated table `phalcon_migrations` in PostgreSQL ([#104](https://github.com/phalcon/migrations/issues/104))
- Fixed morphing when column attribute `unsiged` is changed ([#109](https://github.com/phalcon/migrations/issues/109))
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..def14bc
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,65 @@
+# Contributing to Phalcon Migrations Utility
+
+Phalcon Migrations Utility is an open source project and a volunteer effort.
+Phalcon Migrations Utility welcomes contribution from everyone.
+
+## Contributions
+
+Contributions to Phalcon Migrations Utility should be made in the form of [GitHub pull requests][pr].
+Each pull request will be reviewed by a core contributor (someone with permission to land patches) and either landed in
+the main tree or given feedback for changes that would be required before it can be merged. All contributions should
+follow this format, even those from core contributors.
+
+## Questions & Support
+
+*We only accept bug reports, new feature requests and pull requests in GitHub*.
+For questions regarding the usage of the Phalcon Migrations Utility or support requests please visit the
+[official forums][forum]. IDE stubs must not be modified manually, if you want to improve them please submit a PR
+to [Phalcon Framework][cphalcon].
+
+## Bug Report Checklist
+
+- Make sure you are using the latest released version of Phalcon Framework and Phalcon Migrations Utility
+ before submitting a bug report. Bugs in versions older than the latest released one will not be addressed by the
+ core team
+
+- If you have found a bug it is important to add relevant reproducibility information to your issue to allow us
+ to reproduce the bug and fix it quicker. Add a script, small program or repository providing the necessary code to
+ make everyone reproduce the issue reported easily. If a bug cannot be reproduced by the development it would be
+ difficult provide corrections and solutions. [Submit Reproducible Test][srt] for more information.
+
+- Be sure that information such as OS, Phalcon Framework and Phalcon Migrations Utility versions and PHP version are
+ part of the bug report
+
+- If you're submitting a Segmentation Fault error, we would require a backtrace, please see [Generating a Backtrace][gb]
+
+## Pull Request Checklist
+
+- Don't submit your pull requests to the `master` branch. Branch from the required branch and,
+ if needed, rebase to the proper branch before submitting your pull request.
+ If it doesn't merge cleanly with master you may be asked to rebase your changes
+
+- Don't put submodule updates, composer.lock, etc in your pull request unless they are to landed commits
+
+- Make sure that the code you write fits with the general style and coding standards of the [Accepted PHP Standards][psr]
+
+## Getting Support
+
+If you have a question about how to use Phalcon, please see the [support page][support].
+
+## Requesting Features
+
+If you have a change or new feature in mind, please fill an [NFR][nfr].
+
+Thanks!
+Phalcon Team
+
+
+[pr]: https://help.github.com/articles/about-pull-requests/
+[forum]: https://forum.phalcon.io/
+[cphalcon]: https://github.com/phalcon/cphalcon
+[srt]: https://docs.phalcon.io/en/latest/reproducible-tests
+[gb]: https://docs.phalcon.io/en/latest/generating-backtrace
+[support]: https://phalcon.io/en/support/
+[nfr]: https://docs.phalcon.io/en/latest/new-feature-request
+[psr]: https://www.php-fig.org/psr/
diff --git a/composer.json b/composer.json
index 7b69037..f3cf87b 100644
--- a/composer.json
+++ b/composer.json
@@ -26,22 +26,22 @@
"forum": "https://forum.phalcon.io"
},
"require": {
- "php": ">=7.2",
- "ext-phalcon": "^4.0.5",
+ "php": ">=7.3",
+ "ext-phalcon": ">=4.0.5",
"phalcon/cli-options-parser": "^1.2"
},
"require-dev": {
"ext-pdo": "*",
"phalcon/ide-stubs": "^4.0.0",
- "vimeo/psalm": "^4.1",
"squizlabs/php_codesniffer": "^3.5",
- "fzaninotto/faker": "^1.9",
+ "fakerphp/faker": "^1.15",
"humbug/box": "^3.8",
"codeception/codeception": "^4.1",
"codeception/module-asserts": "^1.0.0",
"codeception/module-cli": "^1.0",
"codeception/module-phpbrowser": "^1.0.0",
"codeception/module-db": "^1.0",
+ "vimeo/psalm": "^4.6",
"vlucas/phpdotenv": "^4.1"
},
"autoload": {
diff --git a/composer.lock b/composer.lock
index ead9986..87f1400 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,27 +4,27 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "ee43103e596bac5b3281a6972a1240e1",
+ "content-hash": "9c1e43294793db8b26b31b81d27ff0c5",
"packages": [
{
"name": "phalcon/cli-options-parser",
- "version": "v1.2.1",
+ "version": "v1.3.0",
"source": {
"type": "git",
"url": "https://github.com/phalcon/cli-options-parser.git",
- "reference": "9487c84fb320c6b6882c76d4388d039316d234b9"
+ "reference": "1c5a7d0db23a88d8ba14646af75464cbbd115251"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phalcon/cli-options-parser/zipball/9487c84fb320c6b6882c76d4388d039316d234b9",
- "reference": "9487c84fb320c6b6882c76d4388d039316d234b9",
+ "url": "https://api.github.com/repos/phalcon/cli-options-parser/zipball/1c5a7d0db23a88d8ba14646af75464cbbd115251",
+ "reference": "1c5a7d0db23a88d8ba14646af75464cbbd115251",
"shasum": ""
},
"require": {
- "php": ">=7.0 <8.0"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": ">=5.3 <8.0",
+ "phpunit/phpunit": "^9.5.8",
"squizlabs/php_codesniffer": "3.*"
},
"type": "library",
@@ -67,33 +67,48 @@
"parser",
"terminal"
],
- "time": "2020-03-14T18:48:08+00:00"
+ "support": {
+ "forum": "https://forum.phalconphp.com/",
+ "issues": "https://github.com/phalcon/cli-options-parser/issues",
+ "source": "https://github.com/phalcon/cli-options-parser"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/phalcon",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/phalcon",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2021-08-03T02:44:01+00:00"
}
],
"packages-dev": [
{
"name": "amphp/amp",
- "version": "v2.5.0",
+ "version": "v2.6.0",
"source": {
"type": "git",
"url": "https://github.com/amphp/amp.git",
- "reference": "f220a51458bf4dd0dedebb171ac3457813c72bbc"
+ "reference": "caa95edeb1ca1bf7532e9118ede4a3c3126408cc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/amphp/amp/zipball/f220a51458bf4dd0dedebb171ac3457813c72bbc",
- "reference": "f220a51458bf4dd0dedebb171ac3457813c72bbc",
+ "url": "https://api.github.com/repos/amphp/amp/zipball/caa95edeb1ca1bf7532e9118ede4a3c3126408cc",
+ "reference": "caa95edeb1ca1bf7532e9118ede4a3c3126408cc",
"shasum": ""
},
"require": {
- "php": ">=7"
+ "php": ">=7.1"
},
"require-dev": {
"amphp/php-cs-fixer-config": "dev-master",
"amphp/phpunit-util": "^1",
"ext-json": "*",
"jetbrains/phpstorm-stubs": "^2019.3",
- "phpunit/phpunit": "^6.0.9 | ^7",
+ "phpunit/phpunit": "^7 | ^8 | ^9",
"psalm/phar": "^3.11@dev",
"react/promise": "^2"
},
@@ -147,20 +162,31 @@
"non-blocking",
"promise"
],
- "time": "2020-07-14T21:47:18+00:00"
+ "support": {
+ "irc": "irc://irc.freenode.org/amphp",
+ "issues": "https://github.com/amphp/amp/issues",
+ "source": "https://github.com/amphp/amp/tree/v2.6.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/amphp",
+ "type": "github"
+ }
+ ],
+ "time": "2021-07-16T20:06:06+00:00"
},
{
"name": "amphp/byte-stream",
- "version": "v1.8.0",
+ "version": "v1.8.1",
"source": {
"type": "git",
"url": "https://github.com/amphp/byte-stream.git",
- "reference": "f0c20cf598a958ba2aa8c6e5a71c697d652c7088"
+ "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/amphp/byte-stream/zipball/f0c20cf598a958ba2aa8c6e5a71c697d652c7088",
- "reference": "f0c20cf598a958ba2aa8c6e5a71c697d652c7088",
+ "url": "https://api.github.com/repos/amphp/byte-stream/zipball/acbd8002b3536485c997c4e019206b3f10ca15bd",
+ "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd",
"shasum": ""
},
"require": {
@@ -213,7 +239,18 @@
"non-blocking",
"stream"
],
- "time": "2020-06-29T18:35:05+00:00"
+ "support": {
+ "irc": "irc://irc.freenode.org/amphp",
+ "issues": "https://github.com/amphp/byte-stream/issues",
+ "source": "https://github.com/amphp/byte-stream/tree/v1.8.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/amphp",
+ "type": "github"
+ }
+ ],
+ "time": "2021-03-30T17:13:30+00:00"
},
{
"name": "amphp/parallel",
@@ -277,25 +314,29 @@
"multi-processing",
"multi-threading"
],
+ "support": {
+ "issues": "https://github.com/amphp/parallel/issues",
+ "source": "https://github.com/amphp/parallel/tree/master"
+ },
"time": "2020-04-27T15:12:37+00:00"
},
{
"name": "amphp/parallel-functions",
- "version": "v0.1.3",
+ "version": "v1.0.0",
"source": {
"type": "git",
"url": "https://github.com/amphp/parallel-functions.git",
- "reference": "12e6c602e067b02f78ddf5b720c17e9aa01ad4b4"
+ "reference": "af9795d51abfafc3676cbe7e17965479491abaad"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/amphp/parallel-functions/zipball/12e6c602e067b02f78ddf5b720c17e9aa01ad4b4",
- "reference": "12e6c602e067b02f78ddf5b720c17e9aa01ad4b4",
+ "url": "https://api.github.com/repos/amphp/parallel-functions/zipball/af9795d51abfafc3676cbe7e17965479491abaad",
+ "reference": "af9795d51abfafc3676cbe7e17965479491abaad",
"shasum": ""
},
"require": {
"amphp/amp": "^2.0.3",
- "amphp/parallel": "^0.1.8 || ^0.2 || ^1",
+ "amphp/parallel": "^1.1",
"opis/closure": "^3.0.7",
"php": ">=7"
},
@@ -324,7 +365,17 @@
}
],
"description": "Parallel processing made simple.",
- "time": "2018-10-28T15:29:02+00:00"
+ "support": {
+ "issues": "https://github.com/amphp/parallel-functions/issues",
+ "source": "https://github.com/amphp/parallel-functions/tree/master"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/amphp",
+ "type": "github"
+ }
+ ],
+ "time": "2020-07-10T17:05:35+00:00"
},
{
"name": "amphp/parser",
@@ -375,20 +426,24 @@
"parser",
"stream"
],
+ "support": {
+ "issues": "https://github.com/amphp/parser/issues",
+ "source": "https://github.com/amphp/parser/tree/is-valid"
+ },
"time": "2017-06-06T05:29:10+00:00"
},
{
"name": "amphp/process",
- "version": "v1.1.0",
+ "version": "v1.1.1",
"source": {
"type": "git",
"url": "https://github.com/amphp/process.git",
- "reference": "355b1e561b01c16ab3d78fada1ad47ccc96df70e"
+ "reference": "b88c6aef75c0b22f6f021141dd2d5e7c5db4c124"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/amphp/process/zipball/355b1e561b01c16ab3d78fada1ad47ccc96df70e",
- "reference": "355b1e561b01c16ab3d78fada1ad47ccc96df70e",
+ "url": "https://api.github.com/repos/amphp/process/zipball/b88c6aef75c0b22f6f021141dd2d5e7c5db4c124",
+ "reference": "b88c6aef75c0b22f6f021141dd2d5e7c5db4c124",
"shasum": ""
},
"require": {
@@ -419,18 +474,28 @@
"name": "Bob Weinand",
"email": "bobwei9@hotmail.com"
},
- {
- "name": "Niklas Keller",
- "email": "me@kelunik.com"
- },
{
"name": "Aaron Piotrowski",
"email": "aaron@trowski.com"
+ },
+ {
+ "name": "Niklas Keller",
+ "email": "me@kelunik.com"
}
],
"description": "Asynchronous process manager.",
"homepage": "https://github.com/amphp/process",
- "time": "2019-02-26T16:33:03+00:00"
+ "support": {
+ "issues": "https://github.com/amphp/process/issues",
+ "source": "https://github.com/amphp/process/tree/v1.1.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/amphp",
+ "type": "github"
+ }
+ ],
+ "time": "2021-03-30T20:04:22+00:00"
},
{
"name": "amphp/serialization",
@@ -484,6 +549,10 @@
"serialization",
"serialize"
],
+ "support": {
+ "issues": "https://github.com/amphp/serialization/issues",
+ "source": "https://github.com/amphp/serialization/tree/master"
+ },
"time": "2020-03-25T21:39:07+00:00"
},
{
@@ -542,91 +611,34 @@
"semaphore",
"synchronization"
],
- "time": "2020-05-07T18:57:50+00:00"
- },
- {
- "name": "beberlei/assert",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/beberlei/assert.git",
- "reference": "d63a6943fc4fd1a2aedb65994e3548715105abcf"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/beberlei/assert/zipball/d63a6943fc4fd1a2aedb65994e3548715105abcf",
- "reference": "d63a6943fc4fd1a2aedb65994e3548715105abcf",
- "shasum": ""
- },
- "require": {
- "ext-ctype": "*",
- "ext-json": "*",
- "ext-mbstring": "*",
- "ext-simplexml": "*",
- "php": "^7"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "*",
- "phpstan/phpstan-shim": "*",
- "phpunit/phpunit": ">=6.0.0 <8"
- },
- "suggest": {
- "ext-intl": "Needed to allow Assertion::count(), Assertion::isCountable(), Assertion::minCount(), and Assertion::maxCount() to operate on ResourceBundles"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Assert\\": "lib/Assert"
- },
- "files": [
- "lib/Assert/functions.php"
- ]
+ "support": {
+ "issues": "https://github.com/amphp/sync/issues",
+ "source": "https://github.com/amphp/sync/tree/v1.4.0"
},
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de",
- "role": "Lead Developer"
- },
- {
- "name": "Richard Quadling",
- "email": "rquadling@gmail.com",
- "role": "Collaborator"
- }
- ],
- "description": "Thin assertion library for input validation in business models.",
- "keywords": [
- "assert",
- "assertion",
- "validation"
- ],
- "time": "2019-12-19T17:51:41+00:00"
+ "time": "2020-05-07T18:57:50+00:00"
},
{
"name": "behat/gherkin",
- "version": "v4.6.2",
+ "version": "v4.8.0",
"source": {
"type": "git",
"url": "https://github.com/Behat/Gherkin.git",
- "reference": "51ac4500c4dc30cbaaabcd2f25694299df666a31"
+ "reference": "2391482cd003dfdc36b679b27e9f5326bd656acd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Behat/Gherkin/zipball/51ac4500c4dc30cbaaabcd2f25694299df666a31",
- "reference": "51ac4500c4dc30cbaaabcd2f25694299df666a31",
+ "url": "https://api.github.com/repos/Behat/Gherkin/zipball/2391482cd003dfdc36b679b27e9f5326bd656acd",
+ "reference": "2391482cd003dfdc36b679b27e9f5326bd656acd",
"shasum": ""
},
"require": {
- "php": ">=5.3.1"
+ "php": "~7.2|~8.0"
},
"require-dev": {
- "phpunit/phpunit": "~4.5|~5",
- "symfony/phpunit-bridge": "~2.7|~3|~4",
- "symfony/yaml": "~2.3|~3|~4"
+ "cucumber/cucumber": "dev-gherkin-16.0.0",
+ "phpunit/phpunit": "~8|~9",
+ "symfony/phpunit-bridge": "~3|~4|~5",
+ "symfony/yaml": "~3|~4|~5"
},
"suggest": {
"symfony/yaml": "If you want to parse features, represented in YAML files"
@@ -653,7 +665,7 @@
"homepage": "http://everzet.com"
}
],
- "description": "Gherkin DSL parser for PHP 5.3",
+ "description": "Gherkin DSL parser for PHP",
"homepage": "http://behat.org/",
"keywords": [
"BDD",
@@ -663,20 +675,24 @@
"gherkin",
"parser"
],
- "time": "2020-03-17T14:03:26+00:00"
+ "support": {
+ "issues": "https://github.com/Behat/Gherkin/issues",
+ "source": "https://github.com/Behat/Gherkin/tree/v4.8.0"
+ },
+ "time": "2021-02-04T12:44:21+00:00"
},
{
"name": "codeception/codeception",
- "version": "4.1.9",
+ "version": "4.1.21",
"source": {
"type": "git",
"url": "https://github.com/Codeception/Codeception.git",
- "reference": "5782e342b978a3efd0b7a776b7808902840b8213"
+ "reference": "c25f20d842a7e3fa0a8e6abf0828f102c914d419"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Codeception/Codeception/zipball/5782e342b978a3efd0b7a776b7808902840b8213",
- "reference": "5782e342b978a3efd0b7a776b7808902840b8213",
+ "url": "https://api.github.com/repos/Codeception/Codeception/zipball/c25f20d842a7e3fa0a8e6abf0828f102c914d419",
+ "reference": "c25f20d842a7e3fa0a8e6abf0828f102c914d419",
"shasum": ""
},
"require": {
@@ -696,17 +712,17 @@
"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/module-asserts": "1.*@dev",
+ "codeception/module-cli": "1.*@dev",
+ "codeception/module-db": "1.*@dev",
+ "codeception/module-filesystem": "1.*@dev",
+ "codeception/module-phpbrowser": "1.*@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"
+ "vlucas/phpdotenv": "^2.0 | ^3.0 | ^4.0 | ^5.0"
},
"suggest": {
"codeception/specify": "BDD-style code blocks",
@@ -748,7 +764,17 @@
"functional testing",
"unit testing"
],
- "time": "2020-10-23T17:59:47+00:00"
+ "support": {
+ "issues": "https://github.com/Codeception/Codeception/issues",
+ "source": "https://github.com/Codeception/Codeception/tree/4.1.21"
+ },
+ "funding": [
+ {
+ "url": "https://opencollective.com/codeception",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2021-05-28T17:43:39+00:00"
},
{
"name": "codeception/lib-asserts",
@@ -798,20 +824,24 @@
"keywords": [
"codeception"
],
+ "support": {
+ "issues": "https://github.com/Codeception/lib-asserts/issues",
+ "source": "https://github.com/Codeception/lib-asserts/tree/1.13.2"
+ },
"time": "2020-10-21T16:26:20+00:00"
},
{
"name": "codeception/lib-innerbrowser",
- "version": "1.3.4",
+ "version": "1.5.0",
"source": {
"type": "git",
"url": "https://github.com/Codeception/lib-innerbrowser.git",
- "reference": "fd921e089147057b456ca3660de72112167e40a4"
+ "reference": "4b0d89b37fe454e060a610a85280a87ab4f534f1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/fd921e089147057b456ca3660de72112167e40a4",
- "reference": "fd921e089147057b456ca3660de72112167e40a4",
+ "url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/4b0d89b37fe454e060a610a85280a87ab4f534f1",
+ "reference": "4b0d89b37fe454e060a610a85280a87ab4f534f1",
"shasum": ""
},
"require": {
@@ -854,7 +884,11 @@
"keywords": [
"codeception"
],
- "time": "2020-10-22T05:45:03+00:00"
+ "support": {
+ "issues": "https://github.com/Codeception/lib-innerbrowser/issues",
+ "source": "https://github.com/Codeception/lib-innerbrowser/tree/1.5.0"
+ },
+ "time": "2021-04-23T06:18:29+00:00"
},
{
"name": "codeception/module-asserts",
@@ -907,24 +941,28 @@
"asserts",
"codeception"
],
+ "support": {
+ "issues": "https://github.com/Codeception/module-asserts/issues",
+ "source": "https://github.com/Codeception/module-asserts/tree/1.3.1"
+ },
"time": "2020-10-21T16:48:15+00:00"
},
{
"name": "codeception/module-cli",
- "version": "1.0.4",
+ "version": "1.1.1",
"source": {
"type": "git",
"url": "https://github.com/Codeception/module-cli.git",
- "reference": "69a2b8d435c55eaaf004fc5d5dd00e29c05e2003"
+ "reference": "1f841ad4a1d43e5d9e60a43c4cc9e5af8008024f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Codeception/module-cli/zipball/69a2b8d435c55eaaf004fc5d5dd00e29c05e2003",
- "reference": "69a2b8d435c55eaaf004fc5d5dd00e29c05e2003",
+ "url": "https://api.github.com/repos/Codeception/module-cli/zipball/1f841ad4a1d43e5d9e60a43c4cc9e5af8008024f",
+ "reference": "1f841ad4a1d43e5d9e60a43c4cc9e5af8008024f",
"shasum": ""
},
"require": {
- "codeception/codeception": "^4.0",
+ "codeception/codeception": "*@dev",
"php": ">=5.6.0 <9.0"
},
"conflict": {
@@ -950,24 +988,28 @@
"keywords": [
"codeception"
],
- "time": "2020-10-23T17:37:39+00:00"
+ "support": {
+ "issues": "https://github.com/Codeception/module-cli/issues",
+ "source": "https://github.com/Codeception/module-cli/tree/1.1.1"
+ },
+ "time": "2020-12-26T16:56:19+00:00"
},
{
"name": "codeception/module-db",
- "version": "1.0.2",
+ "version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/Codeception/module-db.git",
- "reference": "d5f1def43c1f0ebdd57d506224c4a4632e3a6059"
+ "reference": "8c8076cd05d4db95798acd7dba2a56578210982c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Codeception/module-db/zipball/d5f1def43c1f0ebdd57d506224c4a4632e3a6059",
- "reference": "d5f1def43c1f0ebdd57d506224c4a4632e3a6059",
+ "url": "https://api.github.com/repos/Codeception/module-db/zipball/8c8076cd05d4db95798acd7dba2a56578210982c",
+ "reference": "8c8076cd05d4db95798acd7dba2a56578210982c",
"shasum": ""
},
"require": {
- "codeception/codeception": "^4.0",
+ "codeception/codeception": "*@dev",
"php": ">=5.6.0 <9.0"
},
"conflict": {
@@ -998,7 +1040,11 @@
"database-testing",
"db-testing"
],
- "time": "2020-10-23T18:21:20+00:00"
+ "support": {
+ "issues": "https://github.com/Codeception/module-db/issues",
+ "source": "https://github.com/Codeception/module-db/tree/1.1.0"
+ },
+ "time": "2020-12-20T13:37:07+00:00"
},
{
"name": "codeception/module-phpbrowser",
@@ -1054,31 +1100,33 @@
"functional-testing",
"http"
],
+ "support": {
+ "issues": "https://github.com/Codeception/module-phpbrowser/issues",
+ "source": "https://github.com/Codeception/module-phpbrowser/tree/1.0.2"
+ },
"time": "2020-10-24T15:29:28+00:00"
},
{
"name": "codeception/phpunit-wrapper",
- "version": "8.1.3",
+ "version": "9.0.6",
"source": {
"type": "git",
"url": "https://github.com/Codeception/phpunit-wrapper.git",
- "reference": "8c2c9b49d20b6e2d61e926a16b1bf2cee5f4db9c"
+ "reference": "b0c06abb3181eedca690170f7ed0fd26a70bfacc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/8c2c9b49d20b6e2d61e926a16b1bf2cee5f4db9c",
- "reference": "8c2c9b49d20b6e2d61e926a16b1bf2cee5f4db9c",
+ "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/b0c06abb3181eedca690170f7ed0fd26a70bfacc",
+ "reference": "b0c06abb3181eedca690170f7ed0fd26a70bfacc",
"shasum": ""
},
"require": {
"php": ">=7.2",
- "phpunit/php-code-coverage": "^7.0",
- "phpunit/phpunit": "^8.0",
- "sebastian/comparator": "^3.0",
- "sebastian/diff": "^3.0"
+ "phpunit/phpunit": "^9.0"
},
"require-dev": {
"codeception/specify": "*",
+ "consolidation/robo": "^3.0.0-alpha3",
"vlucas/phpdotenv": "^3.0"
},
"type": "library",
@@ -1095,10 +1143,17 @@
{
"name": "Davert",
"email": "davert.php@resend.cc"
+ },
+ {
+ "name": "Naktibalda"
}
],
"description": "PHPUnit classes used by Codeception",
- "time": "2020-10-11T18:16:48+00:00"
+ "support": {
+ "issues": "https://github.com/Codeception/phpunit-wrapper/issues",
+ "source": "https://github.com/Codeception/phpunit-wrapper/tree/9.0.6"
+ },
+ "time": "2020-12-28T13:59:47+00:00"
},
{
"name": "codeception/stub",
@@ -1128,20 +1183,24 @@
"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.11.99",
+ "version": "1.11.99.2",
"source": {
"type": "git",
"url": "https://github.com/composer/package-versions-deprecated.git",
- "reference": "c8c9aa8a14cc3d3bec86d0a8c3fa52ea79936855"
+ "reference": "c6522afe5540d5fc46675043d3ed5a45a740b27c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/c8c9aa8a14cc3d3bec86d0a8c3fa52ea79936855",
- "reference": "c8c9aa8a14cc3d3bec86d0a8c3fa52ea79936855",
+ "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/c6522afe5540d5fc46675043d3ed5a45a740b27c",
+ "reference": "c6522afe5540d5fc46675043d3ed5a45a740b27c",
"shasum": ""
},
"require": {
@@ -1183,27 +1242,45 @@
}
],
"description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)",
- "time": "2020-08-25T05:50:16+00:00"
+ "support": {
+ "issues": "https://github.com/composer/package-versions-deprecated/issues",
+ "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.2"
+ },
+ "funding": [
+ {
+ "url": "https://packagist.com",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/composer",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/composer/composer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-05-24T07:46:03+00:00"
},
{
"name": "composer/semver",
- "version": "3.2.2",
+ "version": "3.2.5",
"source": {
"type": "git",
"url": "https://github.com/composer/semver.git",
- "reference": "4089fddb67bcf6bf860d91b979e95be303835002"
+ "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/semver/zipball/4089fddb67bcf6bf860d91b979e95be303835002",
- "reference": "4089fddb67bcf6bf860d91b979e95be303835002",
+ "url": "https://api.github.com/repos/composer/semver/zipball/31f3ea725711245195f62e54ffa402d8ef2fdba9",
+ "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9",
"shasum": ""
},
"require": {
"php": "^5.3.2 || ^7.0 || ^8.0"
},
"require-dev": {
- "phpstan/phpstan": "^0.12.19",
+ "phpstan/phpstan": "^0.12.54",
"symfony/phpunit-bridge": "^4.2 || ^5"
},
"type": "library",
@@ -1245,28 +1322,48 @@
"validation",
"versioning"
],
- "time": "2020-10-14T08:51:15+00:00"
+ "support": {
+ "irc": "irc://irc.freenode.org/composer",
+ "issues": "https://github.com/composer/semver/issues",
+ "source": "https://github.com/composer/semver/tree/3.2.5"
+ },
+ "funding": [
+ {
+ "url": "https://packagist.com",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/composer",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/composer/composer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-05-24T12:41:47+00:00"
},
{
"name": "composer/xdebug-handler",
- "version": "1.4.4",
+ "version": "2.0.2",
"source": {
"type": "git",
"url": "https://github.com/composer/xdebug-handler.git",
- "reference": "6e076a124f7ee146f2487554a94b6a19a74887ba"
+ "reference": "84674dd3a7575ba617f5a76d7e9e29a7d3891339"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/6e076a124f7ee146f2487554a94b6a19a74887ba",
- "reference": "6e076a124f7ee146f2487554a94b6a19a74887ba",
+ "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/84674dd3a7575ba617f5a76d7e9e29a7d3891339",
+ "reference": "84674dd3a7575ba617f5a76d7e9e29a7d3891339",
"shasum": ""
},
"require": {
"php": "^5.3.2 || ^7.0 || ^8.0",
- "psr/log": "^1.0"
+ "psr/log": "^1 || ^2 || ^3"
},
"require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8"
+ "phpstan/phpstan": "^0.12.55",
+ "symfony/phpunit-bridge": "^4.2 || ^5"
},
"type": "library",
"autoload": {
@@ -1289,7 +1386,26 @@
"Xdebug",
"performance"
],
- "time": "2020-10-24T12:39:10+00:00"
+ "support": {
+ "irc": "irc://irc.freenode.org/composer",
+ "issues": "https://github.com/composer/xdebug-handler/issues",
+ "source": "https://github.com/composer/xdebug-handler/tree/2.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://packagist.com",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/composer",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/composer/composer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-07-31T17:03:58+00:00"
},
{
"name": "dnoegel/php-xdg-base-dir",
@@ -1322,40 +1438,39 @@
"MIT"
],
"description": "implementation of xdg base directory specification for php",
+ "support": {
+ "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues",
+ "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1"
+ },
"time": "2019-12-04T15:06:13+00:00"
},
{
"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/"
@@ -1369,7 +1484,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",
@@ -1378,80 +1493,117 @@
"constructor",
"instantiate"
],
- "time": "2020-05-29T17:27:14+00:00"
+ "support": {
+ "issues": "https://github.com/doctrine/instantiator/issues",
+ "source": "https://github.com/doctrine/instantiator/tree/1.4.0"
+ },
+ "funding": [
+ {
+ "url": "https://www.doctrine-project.org/sponsorship.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.patreon.com/phpdoctrine",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2020-11-10T18:47:58+00:00"
},
{
- "name": "felixfbecker/advanced-json-rpc",
- "version": "v3.1.1",
+ "name": "fakerphp/faker",
+ "version": "v1.15.0",
"source": {
"type": "git",
- "url": "https://github.com/felixfbecker/php-advanced-json-rpc.git",
- "reference": "0ed363f8de17d284d479ec813c9ad3f6834b5c40"
+ "url": "https://github.com/FakerPHP/Faker.git",
+ "reference": "89c6201c74db25fa759ff16e78a4d8f32547770e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/0ed363f8de17d284d479ec813c9ad3f6834b5c40",
- "reference": "0ed363f8de17d284d479ec813c9ad3f6834b5c40",
+ "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/89c6201c74db25fa759ff16e78a4d8f32547770e",
+ "reference": "89c6201c74db25fa759ff16e78a4d8f32547770e",
"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",
+ "psr/container": "^1.0",
+ "symfony/deprecation-contracts": "^2.2"
+ },
+ "conflict": {
+ "fzaninotto/faker": "*"
},
"require-dev": {
- "phpunit/phpunit": "^6.0.0"
+ "bamarni/composer-bin-plugin": "^1.4.1",
+ "ext-intl": "*",
+ "symfony/phpunit-bridge": "^4.4 || ^5.2"
+ },
+ "suggest": {
+ "ext-curl": "Required by Faker\\Provider\\Image to download images.",
+ "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.",
+ "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.",
+ "ext-mbstring": "Required for multibyte Unicode string functionality."
},
"type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "v1.15-dev"
+ }
+ },
"autoload": {
"psr-4": {
- "AdvancedJsonRpc\\": "lib/"
+ "Faker\\": "src/Faker/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "ISC"
+ "MIT"
],
"authors": [
{
- "name": "Felix Becker",
- "email": "felix.b@outlook.com"
+ "name": "François Zaninotto"
}
],
- "description": "A more advanced JSONRPC implementation",
- "time": "2020-03-11T15:21:41+00:00"
+ "description": "Faker is a PHP library that generates fake data for you.",
+ "keywords": [
+ "data",
+ "faker",
+ "fixtures"
+ ],
+ "support": {
+ "issues": "https://github.com/FakerPHP/Faker/issues",
+ "source": "https://github.com/FakerPHP/Faker/tree/v1.15.0"
+ },
+ "time": "2021-07-06T20:39:40+00:00"
},
{
- "name": "felixfbecker/language-server-protocol",
- "version": "v1.5.0",
+ "name": "felixfbecker/advanced-json-rpc",
+ "version": "v3.2.1",
"source": {
"type": "git",
- "url": "https://github.com/felixfbecker/php-language-server-protocol.git",
- "reference": "85e83cacd2ed573238678c6875f8f0d7ec699541"
+ "url": "https://github.com/felixfbecker/php-advanced-json-rpc.git",
+ "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/85e83cacd2ed573238678c6875f8f0d7ec699541",
- "reference": "85e83cacd2ed573238678c6875f8f0d7ec699541",
+ "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/b5f37dbff9a8ad360ca341f3240dc1c168b45447",
+ "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447",
"shasum": ""
},
"require": {
- "php": ">=7.1"
+ "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0",
+ "php": "^7.1 || ^8.0",
+ "phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0"
},
"require-dev": {
- "phpstan/phpstan": "*",
- "squizlabs/php_codesniffer": "^3.1",
- "vimeo/psalm": "^4.0"
+ "phpunit/phpunit": "^7.0 || ^8.0"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
"autoload": {
"psr-4": {
- "LanguageServerProtocol\\": "src/"
+ "AdvancedJsonRpc\\": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -1464,84 +1616,87 @@
"email": "felix.b@outlook.com"
}
],
- "description": "PHP classes for the Language Server Protocol",
- "keywords": [
- "language",
- "microsoft",
- "php",
- "server"
- ],
- "time": "2020-10-23T13:55:30+00:00"
+ "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/v3.2.1"
+ },
+ "time": "2021-06-11T22:34:44+00:00"
},
{
- "name": "fzaninotto/faker",
- "version": "v1.9.1",
+ "name": "felixfbecker/language-server-protocol",
+ "version": "1.5.1",
"source": {
"type": "git",
- "url": "https://github.com/fzaninotto/Faker.git",
- "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f"
+ "url": "https://github.com/felixfbecker/php-language-server-protocol.git",
+ "reference": "9d846d1f5cf101deee7a61c8ba7caa0a975cd730"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/fc10d778e4b84d5bd315dad194661e091d307c6f",
- "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f",
+ "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/9d846d1f5cf101deee7a61c8ba7caa0a975cd730",
+ "reference": "9d846d1f5cf101deee7a61c8ba7caa0a975cd730",
"shasum": ""
},
"require": {
- "php": "^5.3.3 || ^7.0"
+ "php": ">=7.1"
},
"require-dev": {
- "ext-intl": "*",
- "phpunit/phpunit": "^4.8.35 || ^5.7",
- "squizlabs/php_codesniffer": "^2.9.2"
+ "phpstan/phpstan": "*",
+ "squizlabs/php_codesniffer": "^3.1",
+ "vimeo/psalm": "^4.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.9-dev"
+ "dev-master": "1.x-dev"
}
},
"autoload": {
"psr-4": {
- "Faker\\": "src/Faker/"
+ "LanguageServerProtocol\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "ISC"
],
"authors": [
{
- "name": "François Zaninotto"
+ "name": "Felix Becker",
+ "email": "felix.b@outlook.com"
}
],
- "description": "Faker is a PHP library that generates fake data for you.",
+ "description": "PHP classes for the Language Server Protocol",
"keywords": [
- "data",
- "faker",
- "fixtures"
+ "language",
+ "microsoft",
+ "php",
+ "server"
],
- "abandoned": true,
- "time": "2019-12-12T13:22:17+00:00"
+ "support": {
+ "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues",
+ "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/1.5.1"
+ },
+ "time": "2021-02-22T14:02:09+00:00"
},
{
"name": "guzzlehttp/guzzle",
- "version": "7.2.0",
+ "version": "7.3.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
- "reference": "0aa74dfb41ae110835923ef10a9d803a22d50e79"
+ "reference": "7008573787b430c1c1f650e3722d9bba59967628"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/0aa74dfb41ae110835923ef10a9d803a22d50e79",
- "reference": "0aa74dfb41ae110835923ef10a9d803a22d50e79",
+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7008573787b430c1c1f650e3722d9bba59967628",
+ "reference": "7008573787b430c1c1f650e3722d9bba59967628",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/promises": "^1.4",
- "guzzlehttp/psr7": "^1.7",
+ "guzzlehttp/psr7": "^1.7 || ^2.0",
"php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0"
},
@@ -1549,6 +1704,7 @@
"psr/http-client-implementation": "1.0"
},
"require-dev": {
+ "bamarni/composer-bin-plugin": "^1.4.1",
"ext-curl": "*",
"php-http/client-integration-tests": "^3.0",
"phpunit/phpunit": "^8.5.5 || ^9.3.5",
@@ -1562,7 +1718,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "7.1-dev"
+ "dev-master": "7.3-dev"
}
},
"autoload": {
@@ -1602,20 +1758,42 @@
"rest",
"web service"
],
- "time": "2020-10-10T11:47:56+00:00"
+ "support": {
+ "issues": "https://github.com/guzzle/guzzle/issues",
+ "source": "https://github.com/guzzle/guzzle/tree/7.3.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/Nyholm",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/alexeyshockov",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/gmponos",
+ "type": "github"
+ }
+ ],
+ "time": "2021-03-23T11:33:13+00:00"
},
{
"name": "guzzlehttp/promises",
- "version": "1.4.0",
+ "version": "1.4.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
- "reference": "60d379c243457e073cff02bc323a2a86cb355631"
+ "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/60d379c243457e073cff02bc323a2a86cb355631",
- "reference": "60d379c243457e073cff02bc323a2a86cb355631",
+ "url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d",
+ "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d",
"shasum": ""
},
"require": {
@@ -1653,20 +1831,24 @@
"keywords": [
"promise"
],
- "time": "2020-09-30T07:37:28+00:00"
+ "support": {
+ "issues": "https://github.com/guzzle/promises/issues",
+ "source": "https://github.com/guzzle/promises/tree/1.4.1"
+ },
+ "time": "2021-03-07T09:25:29+00:00"
},
{
"name": "guzzlehttp/psr7",
- "version": "1.7.0",
+ "version": "1.8.2",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
- "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3"
+ "reference": "dc960a912984efb74d0a90222870c72c87f10c91"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/53330f47520498c0ae1f61f7e2c90f55690c06a3",
- "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/dc960a912984efb74d0a90222870c72c87f10c91",
+ "reference": "dc960a912984efb74d0a90222870c72c87f10c91",
"shasum": ""
},
"require": {
@@ -1724,848 +1906,71 @@
"uri",
"url"
],
- "time": "2020-09-30T07:37:11+00:00"
+ "support": {
+ "issues": "https://github.com/guzzle/psr7/issues",
+ "source": "https://github.com/guzzle/psr7/tree/1.8.2"
+ },
+ "time": "2021-04-26T09:17:50+00:00"
},
{
- "name": "hoa/compiler",
- "version": "3.17.08.08",
+ "name": "humbug/box",
+ "version": "3.13.0",
"source": {
"type": "git",
- "url": "https://github.com/hoaproject/Compiler.git",
- "reference": "aa09caf0bf28adae6654ca6ee415ee2f522672de"
+ "url": "https://github.com/box-project/box.git",
+ "reference": "275b09154c2871240e5dad16782b16b107c975e9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/hoaproject/Compiler/zipball/aa09caf0bf28adae6654ca6ee415ee2f522672de",
- "reference": "aa09caf0bf28adae6654ca6ee415ee2f522672de",
+ "url": "https://api.github.com/repos/box-project/box/zipball/275b09154c2871240e5dad16782b16b107c975e9",
+ "reference": "275b09154c2871240e5dad16782b16b107c975e9",
"shasum": ""
},
"require": {
- "hoa/consistency": "~1.0",
- "hoa/exception": "~1.0",
- "hoa/file": "~1.0",
- "hoa/iterator": "~2.0",
- "hoa/math": "~1.0",
- "hoa/protocol": "~1.0",
- "hoa/regex": "~1.0",
- "hoa/visitor": "~2.0"
+ "amphp/parallel-functions": "^1.0",
+ "composer-plugin-api": "^1.0 || ^2.0",
+ "composer/package-versions-deprecated": "^1.8",
+ "composer/semver": "^3.2",
+ "composer/xdebug-handler": "^2.0",
+ "ext-phar": "*",
+ "humbug/php-scoper": "^0.13.10 || ^0.14",
+ "justinrainbow/json-schema": "^5.2.9",
+ "nikic/iter": "^2.0",
+ "nikic/php-parser": "^4.2",
+ "opis/closure": "^3.2",
+ "paragonie/pharaoh": "^0.6",
+ "php": "^7.3 || ^8.0",
+ "phpdocumentor/reflection-docblock": "^5.2",
+ "psr/log": "^1.0",
+ "seld/jsonlint": "^1.7",
+ "symfony/console": "^4.3.5 || ^5.2",
+ "symfony/filesystem": "^4.4 || ^5.2",
+ "symfony/finder": "^4.4 || ^5.2",
+ "symfony/process": "^4.4 || ^5.2",
+ "symfony/var-dumper": "^4.4 || ^5.2",
+ "webmozart/assert": "^1.9",
+ "webmozart/path-util": "^2.3"
},
"require-dev": {
- "hoa/json": "~2.0",
- "hoa/test": "~2.0"
+ "bamarni/composer-bin-plugin": "^1.3",
+ "mikey179/vfsstream": "^1.6",
+ "phpspec/prophecy-phpunit": "^2.0",
+ "phpunit/phpunit": "^9.0",
+ "symfony/phpunit-bridge": "^4.2 || ^5.0"
},
+ "suggest": {
+ "ext-openssl": "To accelerate private key generation."
+ },
+ "bin": [
+ "bin/box"
+ ],
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Hoa\\Compiler\\": "."
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Ivan Enderlin",
- "email": "ivan.enderlin@hoa-project.net"
- },
- {
- "name": "Hoa community",
- "homepage": "https://hoa-project.net/"
- }
- ],
- "description": "The Hoa\\Compiler library.",
- "homepage": "https://hoa-project.net/",
- "keywords": [
- "algebraic",
- "ast",
- "compiler",
- "context-free",
- "coverage",
- "exhaustive",
- "grammar",
- "isotropic",
- "language",
- "lexer",
- "library",
- "ll1",
- "llk",
- "parser",
- "pp",
- "random",
- "regular",
- "rule",
- "sampler",
- "syntax",
- "token",
- "trace",
- "uniform"
- ],
- "time": "2017-08-08T07:44:07+00:00"
- },
- {
- "name": "hoa/consistency",
- "version": "1.17.05.02",
- "source": {
- "type": "git",
- "url": "https://github.com/hoaproject/Consistency.git",
- "reference": "fd7d0adc82410507f332516faf655b6ed22e4c2f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hoaproject/Consistency/zipball/fd7d0adc82410507f332516faf655b6ed22e4c2f",
- "reference": "fd7d0adc82410507f332516faf655b6ed22e4c2f",
- "shasum": ""
- },
- "require": {
- "hoa/exception": "~1.0",
- "php": ">=5.5.0"
- },
- "require-dev": {
- "hoa/stream": "~1.0",
- "hoa/test": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Hoa\\Consistency\\": "."
- },
- "files": [
- "Prelude.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Ivan Enderlin",
- "email": "ivan.enderlin@hoa-project.net"
- },
- {
- "name": "Hoa community",
- "homepage": "https://hoa-project.net/"
- }
- ],
- "description": "The Hoa\\Consistency library.",
- "homepage": "https://hoa-project.net/",
- "keywords": [
- "autoloader",
- "callable",
- "consistency",
- "entity",
- "flex",
- "keyword",
- "library"
- ],
- "time": "2017-05-02T12:18:12+00:00"
- },
- {
- "name": "hoa/event",
- "version": "1.17.01.13",
- "source": {
- "type": "git",
- "url": "https://github.com/hoaproject/Event.git",
- "reference": "6c0060dced212ffa3af0e34bb46624f990b29c54"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hoaproject/Event/zipball/6c0060dced212ffa3af0e34bb46624f990b29c54",
- "reference": "6c0060dced212ffa3af0e34bb46624f990b29c54",
- "shasum": ""
- },
- "require": {
- "hoa/consistency": "~1.0",
- "hoa/exception": "~1.0"
- },
- "require-dev": {
- "hoa/test": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Hoa\\Event\\": "."
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Ivan Enderlin",
- "email": "ivan.enderlin@hoa-project.net"
- },
- {
- "name": "Hoa community",
- "homepage": "https://hoa-project.net/"
- }
- ],
- "description": "The Hoa\\Event library.",
- "homepage": "https://hoa-project.net/",
- "keywords": [
- "event",
- "library",
- "listener",
- "observer"
- ],
- "time": "2017-01-13T15:30:50+00:00"
- },
- {
- "name": "hoa/exception",
- "version": "1.17.01.16",
- "source": {
- "type": "git",
- "url": "https://github.com/hoaproject/Exception.git",
- "reference": "091727d46420a3d7468ef0595651488bfc3a458f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hoaproject/Exception/zipball/091727d46420a3d7468ef0595651488bfc3a458f",
- "reference": "091727d46420a3d7468ef0595651488bfc3a458f",
- "shasum": ""
- },
- "require": {
- "hoa/consistency": "~1.0",
- "hoa/event": "~1.0"
- },
- "require-dev": {
- "hoa/test": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Hoa\\Exception\\": "."
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Ivan Enderlin",
- "email": "ivan.enderlin@hoa-project.net"
- },
- {
- "name": "Hoa community",
- "homepage": "https://hoa-project.net/"
- }
- ],
- "description": "The Hoa\\Exception library.",
- "homepage": "https://hoa-project.net/",
- "keywords": [
- "exception",
- "library"
- ],
- "time": "2017-01-16T07:53:27+00:00"
- },
- {
- "name": "hoa/file",
- "version": "1.17.07.11",
- "source": {
- "type": "git",
- "url": "https://github.com/hoaproject/File.git",
- "reference": "35cb979b779bc54918d2f9a4e02ed6c7a1fa67ca"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hoaproject/File/zipball/35cb979b779bc54918d2f9a4e02ed6c7a1fa67ca",
- "reference": "35cb979b779bc54918d2f9a4e02ed6c7a1fa67ca",
- "shasum": ""
- },
- "require": {
- "hoa/consistency": "~1.0",
- "hoa/event": "~1.0",
- "hoa/exception": "~1.0",
- "hoa/iterator": "~2.0",
- "hoa/stream": "~1.0"
- },
- "require-dev": {
- "hoa/test": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Hoa\\File\\": "."
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Ivan Enderlin",
- "email": "ivan.enderlin@hoa-project.net"
- },
- {
- "name": "Hoa community",
- "homepage": "https://hoa-project.net/"
- }
- ],
- "description": "The Hoa\\File library.",
- "homepage": "https://hoa-project.net/",
- "keywords": [
- "Socket",
- "directory",
- "file",
- "finder",
- "library",
- "link",
- "temporary"
- ],
- "time": "2017-07-11T07:42:15+00:00"
- },
- {
- "name": "hoa/iterator",
- "version": "2.17.01.10",
- "source": {
- "type": "git",
- "url": "https://github.com/hoaproject/Iterator.git",
- "reference": "d1120ba09cb4ccd049c86d10058ab94af245f0cc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hoaproject/Iterator/zipball/d1120ba09cb4ccd049c86d10058ab94af245f0cc",
- "reference": "d1120ba09cb4ccd049c86d10058ab94af245f0cc",
- "shasum": ""
- },
- "require": {
- "hoa/consistency": "~1.0",
- "hoa/exception": "~1.0"
- },
- "require-dev": {
- "hoa/test": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Hoa\\Iterator\\": "."
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Ivan Enderlin",
- "email": "ivan.enderlin@hoa-project.net"
- },
- {
- "name": "Hoa community",
- "homepage": "https://hoa-project.net/"
- }
- ],
- "description": "The Hoa\\Iterator library.",
- "homepage": "https://hoa-project.net/",
- "keywords": [
- "iterator",
- "library"
- ],
- "time": "2017-01-10T10:34:47+00:00"
- },
- {
- "name": "hoa/math",
- "version": "1.17.05.16",
- "source": {
- "type": "git",
- "url": "https://github.com/hoaproject/Math.git",
- "reference": "7150785d30f5d565704912116a462e9f5bc83a0c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hoaproject/Math/zipball/7150785d30f5d565704912116a462e9f5bc83a0c",
- "reference": "7150785d30f5d565704912116a462e9f5bc83a0c",
- "shasum": ""
- },
- "require": {
- "hoa/compiler": "~3.0",
- "hoa/consistency": "~1.0",
- "hoa/exception": "~1.0",
- "hoa/iterator": "~2.0",
- "hoa/protocol": "~1.0",
- "hoa/zformat": "~1.0"
- },
- "require-dev": {
- "hoa/test": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Hoa\\Math\\": "."
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Ivan Enderlin",
- "email": "ivan.enderlin@hoa-project.net"
- },
- {
- "name": "Hoa community",
- "homepage": "https://hoa-project.net/"
- }
- ],
- "description": "The Hoa\\Math library.",
- "homepage": "https://hoa-project.net/",
- "keywords": [
- "arrangement",
- "combination",
- "combinatorics",
- "counting",
- "library",
- "math",
- "permutation",
- "sampler",
- "set"
- ],
- "time": "2017-05-16T08:02:17+00:00"
- },
- {
- "name": "hoa/protocol",
- "version": "1.17.01.14",
- "source": {
- "type": "git",
- "url": "https://github.com/hoaproject/Protocol.git",
- "reference": "5c2cf972151c45f373230da170ea015deecf19e2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hoaproject/Protocol/zipball/5c2cf972151c45f373230da170ea015deecf19e2",
- "reference": "5c2cf972151c45f373230da170ea015deecf19e2",
- "shasum": ""
- },
- "require": {
- "hoa/consistency": "~1.0",
- "hoa/exception": "~1.0"
- },
- "require-dev": {
- "hoa/test": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Hoa\\Protocol\\": "."
- },
- "files": [
- "Wrapper.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Ivan Enderlin",
- "email": "ivan.enderlin@hoa-project.net"
- },
- {
- "name": "Hoa community",
- "homepage": "https://hoa-project.net/"
- }
- ],
- "description": "The Hoa\\Protocol library.",
- "homepage": "https://hoa-project.net/",
- "keywords": [
- "library",
- "protocol",
- "resource",
- "stream",
- "wrapper"
- ],
- "time": "2017-01-14T12:26:10+00:00"
- },
- {
- "name": "hoa/regex",
- "version": "1.17.01.13",
- "source": {
- "type": "git",
- "url": "https://github.com/hoaproject/Regex.git",
- "reference": "7e263a61b6fb45c1d03d8e5ef77668518abd5bec"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hoaproject/Regex/zipball/7e263a61b6fb45c1d03d8e5ef77668518abd5bec",
- "reference": "7e263a61b6fb45c1d03d8e5ef77668518abd5bec",
- "shasum": ""
- },
- "require": {
- "hoa/consistency": "~1.0",
- "hoa/exception": "~1.0",
- "hoa/math": "~1.0",
- "hoa/protocol": "~1.0",
- "hoa/ustring": "~4.0",
- "hoa/visitor": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Hoa\\Regex\\": "."
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Ivan Enderlin",
- "email": "ivan.enderlin@hoa-project.net"
- },
- {
- "name": "Hoa community",
- "homepage": "https://hoa-project.net/"
- }
- ],
- "description": "The Hoa\\Regex library.",
- "homepage": "https://hoa-project.net/",
- "keywords": [
- "compiler",
- "library",
- "regex"
- ],
- "time": "2017-01-13T16:10:24+00:00"
- },
- {
- "name": "hoa/stream",
- "version": "1.17.02.21",
- "source": {
- "type": "git",
- "url": "https://github.com/hoaproject/Stream.git",
- "reference": "3293cfffca2de10525df51436adf88a559151d82"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hoaproject/Stream/zipball/3293cfffca2de10525df51436adf88a559151d82",
- "reference": "3293cfffca2de10525df51436adf88a559151d82",
- "shasum": ""
- },
- "require": {
- "hoa/consistency": "~1.0",
- "hoa/event": "~1.0",
- "hoa/exception": "~1.0",
- "hoa/protocol": "~1.0"
- },
- "require-dev": {
- "hoa/test": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Hoa\\Stream\\": "."
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Ivan Enderlin",
- "email": "ivan.enderlin@hoa-project.net"
- },
- {
- "name": "Hoa community",
- "homepage": "https://hoa-project.net/"
- }
- ],
- "description": "The Hoa\\Stream library.",
- "homepage": "https://hoa-project.net/",
- "keywords": [
- "Context",
- "bucket",
- "composite",
- "filter",
- "in",
- "library",
- "out",
- "protocol",
- "stream",
- "wrapper"
- ],
- "time": "2017-02-21T16:01:06+00:00"
- },
- {
- "name": "hoa/ustring",
- "version": "4.17.01.16",
- "source": {
- "type": "git",
- "url": "https://github.com/hoaproject/Ustring.git",
- "reference": "e6326e2739178799b1fe3fdd92029f9517fa17a0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hoaproject/Ustring/zipball/e6326e2739178799b1fe3fdd92029f9517fa17a0",
- "reference": "e6326e2739178799b1fe3fdd92029f9517fa17a0",
- "shasum": ""
- },
- "require": {
- "hoa/consistency": "~1.0",
- "hoa/exception": "~1.0"
- },
- "require-dev": {
- "hoa/test": "~2.0"
- },
- "suggest": {
- "ext-iconv": "ext/iconv must be present (or a third implementation) to use Hoa\\Ustring::transcode().",
- "ext-intl": "To get a better Hoa\\Ustring::toAscii() and Hoa\\Ustring::compareTo()."
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Hoa\\Ustring\\": "."
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Ivan Enderlin",
- "email": "ivan.enderlin@hoa-project.net"
- },
- {
- "name": "Hoa community",
- "homepage": "https://hoa-project.net/"
- }
- ],
- "description": "The Hoa\\Ustring library.",
- "homepage": "https://hoa-project.net/",
- "keywords": [
- "library",
- "search",
- "string",
- "unicode"
- ],
- "time": "2017-01-16T07:08:25+00:00"
- },
- {
- "name": "hoa/visitor",
- "version": "2.17.01.16",
- "source": {
- "type": "git",
- "url": "https://github.com/hoaproject/Visitor.git",
- "reference": "c18fe1cbac98ae449e0d56e87469103ba08f224a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hoaproject/Visitor/zipball/c18fe1cbac98ae449e0d56e87469103ba08f224a",
- "reference": "c18fe1cbac98ae449e0d56e87469103ba08f224a",
- "shasum": ""
- },
- "require": {
- "hoa/consistency": "~1.0"
- },
- "require-dev": {
- "hoa/test": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Hoa\\Visitor\\": "."
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Ivan Enderlin",
- "email": "ivan.enderlin@hoa-project.net"
- },
- {
- "name": "Hoa community",
- "homepage": "https://hoa-project.net/"
- }
- ],
- "description": "The Hoa\\Visitor library.",
- "homepage": "https://hoa-project.net/",
- "keywords": [
- "library",
- "structure",
- "visit",
- "visitor"
- ],
- "time": "2017-01-16T07:02:03+00:00"
- },
- {
- "name": "hoa/zformat",
- "version": "1.17.01.10",
- "source": {
- "type": "git",
- "url": "https://github.com/hoaproject/Zformat.git",
- "reference": "522c381a2a075d4b9dbb42eb4592dd09520e4ac2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/hoaproject/Zformat/zipball/522c381a2a075d4b9dbb42eb4592dd09520e4ac2",
- "reference": "522c381a2a075d4b9dbb42eb4592dd09520e4ac2",
- "shasum": ""
- },
- "require": {
- "hoa/consistency": "~1.0",
- "hoa/exception": "~1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Hoa\\Zformat\\": "."
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Ivan Enderlin",
- "email": "ivan.enderlin@hoa-project.net"
- },
- {
- "name": "Hoa community",
- "homepage": "https://hoa-project.net/"
- }
- ],
- "description": "The Hoa\\Zformat library.",
- "homepage": "https://hoa-project.net/",
- "keywords": [
- "library",
- "parameter",
- "zformat"
- ],
- "time": "2017-01-10T10:39:54+00:00"
- },
- {
- "name": "humbug/box",
- "version": "3.9.0",
- "source": {
- "type": "git",
- "url": "https://github.com/box-project/box.git",
- "reference": "412da7174f63a9485acff366d5c6d68356be0315"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/box-project/box/zipball/412da7174f63a9485acff366d5c6d68356be0315",
- "reference": "412da7174f63a9485acff366d5c6d68356be0315",
- "shasum": ""
- },
- "require": {
- "amphp/parallel-functions": "^0.1.3",
- "beberlei/assert": "^3.2",
- "composer/package-versions-deprecated": "^1.8",
- "composer/semver": "^3.2",
- "composer/xdebug-handler": "^1.3.2",
- "ext-phar": "*",
- "hoa/compiler": "^3.17",
- "humbug/php-scoper": "^0.13",
- "justinrainbow/json-schema": "^5.2.9",
- "nikic/iter": "^2.0",
- "nikic/php-parser": "^4.2",
- "opis/closure": "^3.2",
- "paragonie/pharaoh": "^0.5",
- "php": "^7.2",
- "psr/log": "^1.0",
- "seld/jsonlint": "^1.7",
- "symfony/console": "^4.3.5",
- "symfony/filesystem": "^4.2",
- "symfony/finder": "^4.0",
- "symfony/process": "^4.2",
- "symfony/var-dumper": "^4.2",
- "webmozart/path-util": "^2.3"
- },
- "require-dev": {
- "bamarni/composer-bin-plugin": "^1.3",
- "mikey179/vfsstream": "^1.6",
- "phpunit/phpunit": "^8.1",
- "symfony/phpunit-bridge": "^4.2 || ^5.0"
- },
- "suggest": {
- "ext-openssl": "To accelerate private key generation."
- },
- "bin": [
- "bin/box"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- },
- "bamarni-bin": {
- "bin-links": false
+ },
+ "bamarni-bin": {
+ "bin-links": false
}
},
"autoload": {
@@ -2600,27 +2005,37 @@
"keywords": [
"phar"
],
- "time": "2020-09-29T20:14:44+00:00"
+ "support": {
+ "issues": "https://github.com/box-project/box/issues",
+ "source": "https://github.com/box-project/box/tree/3.13.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/theofidry",
+ "type": "github"
+ }
+ ],
+ "time": "2021-05-15T19:10:03+00:00"
},
{
"name": "humbug/php-scoper",
- "version": "0.13.8",
+ "version": "0.14.1",
"source": {
"type": "git",
"url": "https://github.com/humbug/php-scoper.git",
- "reference": "e4a8d139a7baec975daea24e7f903f74f510ab2a"
+ "reference": "023b2318224d30f7a9496cdb3a3e475b9444e6b7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/humbug/php-scoper/zipball/e4a8d139a7baec975daea24e7f903f74f510ab2a",
- "reference": "e4a8d139a7baec975daea24e7f903f74f510ab2a",
+ "url": "https://api.github.com/repos/humbug/php-scoper/zipball/023b2318224d30f7a9496cdb3a3e475b9444e6b7",
+ "reference": "023b2318224d30f7a9496cdb3a3e475b9444e6b7",
"shasum": ""
},
"require": {
"composer/package-versions-deprecated": "^1.8",
"jetbrains/phpstorm-stubs": "dev-master",
"nikic/php-parser": "^4.0",
- "php": "^7.2",
+ "php": "^7.3 || ^8.0",
"symfony/console": "^3.2 || ^4.0",
"symfony/filesystem": "^3.2 || ^4.0",
"symfony/finder": "^3.2 || ^4.0"
@@ -2630,8 +2045,9 @@
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.1",
- "humbug/box": "^3.8",
- "phpunit/phpunit": "^8.0"
+ "humbug/box": "^3.11",
+ "phpspec/prophecy-phpunit": "^2.0",
+ "phpunit/phpunit": "^9.0"
},
"bin": [
"bin/php-scoper"
@@ -2673,7 +2089,17 @@
}
],
"description": "Prefixes all PHP namespaces in a file or directory.",
- "time": "2020-10-29T16:16:22+00:00"
+ "support": {
+ "issues": "https://github.com/humbug/php-scoper/issues",
+ "source": "https://github.com/humbug/php-scoper/tree/0.14.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/theofidry",
+ "type": "github"
+ }
+ ],
+ "time": "2021-04-12T21:44:51+00:00"
},
{
"name": "jetbrains/phpstorm-stubs",
@@ -2681,21 +2107,22 @@
"source": {
"type": "git",
"url": "https://github.com/JetBrains/phpstorm-stubs.git",
- "reference": "5b7def27af1f88c009f137b4c4a38bb4732a3713"
+ "reference": "fb32da186ac7854b4ad205f12940e10829f709f0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/5b7def27af1f88c009f137b4c4a38bb4732a3713",
- "reference": "5b7def27af1f88c009f137b4c4a38bb4732a3713",
+ "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/fb32da186ac7854b4ad205f12940e10829f709f0",
+ "reference": "fb32da186ac7854b4ad205f12940e10829f709f0",
"shasum": ""
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "^2.16",
- "nikic/php-parser": "^4",
- "php": "^7.4",
- "phpdocumentor/reflection-docblock": "dev-master",
- "phpunit/phpunit": "^9"
+ "friendsofphp/php-cs-fixer": "@stable",
+ "nikic/php-parser": "dev-master",
+ "php": "^8.0",
+ "phpdocumentor/reflection-docblock": "@stable",
+ "phpunit/phpunit": "@stable"
},
+ "default-branch": true,
"type": "library",
"autoload": {
"files": [
@@ -2718,20 +2145,23 @@
"stubs",
"type"
],
- "time": "2020-09-14T12:37:46+00:00"
+ "support": {
+ "source": "https://github.com/JetBrains/phpstorm-stubs/tree/master"
+ },
+ "time": "2021-08-03T11:33:10+00:00"
},
{
"name": "justinrainbow/json-schema",
- "version": "5.2.10",
+ "version": "5.2.11",
"source": {
"type": "git",
"url": "https://github.com/justinrainbow/json-schema.git",
- "reference": "2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b"
+ "reference": "2ab6744b7296ded80f8cc4f9509abbff393399aa"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b",
- "reference": "2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b",
+ "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/2ab6744b7296ded80f8cc4f9509abbff393399aa",
+ "reference": "2ab6744b7296ded80f8cc4f9509abbff393399aa",
"shasum": ""
},
"require": {
@@ -2784,20 +2214,24 @@
"json",
"schema"
],
- "time": "2020-05-27T16:41:55+00:00"
+ "support": {
+ "issues": "https://github.com/justinrainbow/json-schema/issues",
+ "source": "https://github.com/justinrainbow/json-schema/tree/5.2.11"
+ },
+ "time": "2021-07-22T09:24:00+00:00"
},
{
"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": {
@@ -2832,20 +2266,30 @@
"object",
"object graph"
],
- "time": "2020-06-29T13:22:24+00:00"
+ "support": {
+ "issues": "https://github.com/myclabs/DeepCopy/issues",
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2"
+ },
+ "funding": [
+ {
+ "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2020-11-13T09:40:50+00:00"
},
{
"name": "netresearch/jsonmapper",
- "version": "v2.1.0",
+ "version": "v4.0.0",
"source": {
"type": "git",
"url": "https://github.com/cweiske/jsonmapper.git",
- "reference": "e0f1e33a71587aca81be5cffbb9746510e1fe04e"
+ "reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/e0f1e33a71587aca81be5cffbb9746510e1fe04e",
- "reference": "e0f1e33a71587aca81be5cffbb9746510e1fe04e",
+ "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d",
+ "reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d",
"shasum": ""
},
"require": {
@@ -2853,10 +2297,10 @@
"ext-pcre": "*",
"ext-reflection": "*",
"ext-spl": "*",
- "php": ">=5.6"
+ "php": ">=7.1"
},
"require-dev": {
- "phpunit/phpunit": "~4.8.35 || ~5.7 || ~6.4 || ~7.0",
+ "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0",
"squizlabs/php_codesniffer": "~3.5"
},
"type": "library",
@@ -2878,34 +2322,34 @@
}
],
"description": "Map nested JSON structures onto PHP classes",
- "time": "2020-04-16T18:48:43+00:00"
+ "support": {
+ "email": "cweiske@cweiske.de",
+ "issues": "https://github.com/cweiske/jsonmapper/issues",
+ "source": "https://github.com/cweiske/jsonmapper/tree/v4.0.0"
+ },
+ "time": "2020-12-01T19:48:11+00:00"
},
{
"name": "nikic/iter",
- "version": "v2.1.0",
+ "version": "v2.2.0",
"source": {
"type": "git",
"url": "https://github.com/nikic/iter.git",
- "reference": "a7f3aa313c1315e14cf1d7e520c0f781f584a42f"
+ "reference": "d1323929952ddcb0b06439991f93bde3816a39e9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/iter/zipball/a7f3aa313c1315e14cf1d7e520c0f781f584a42f",
- "reference": "a7f3aa313c1315e14cf1d7e520c0f781f584a42f",
+ "url": "https://api.github.com/repos/nikic/iter/zipball/d1323929952ddcb0b06439991f93bde3816a39e9",
+ "reference": "d1323929952ddcb0b06439991f93bde3816a39e9",
"shasum": ""
},
"require": {
"php": ">=7.1"
},
"require-dev": {
- "phpunit/phpunit": "~7.0"
+ "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
"autoload": {
"files": [
"src/iter.func.php",
@@ -2929,20 +2373,24 @@
"generator",
"iterator"
],
- "time": "2020-09-19T15:58:13+00:00"
+ "support": {
+ "issues": "https://github.com/nikic/iter/issues",
+ "source": "https://github.com/nikic/iter/tree/v2.2.0"
+ },
+ "time": "2021-08-02T15:04:32+00:00"
},
{
"name": "nikic/php-parser",
- "version": "v4.10.2",
+ "version": "v4.12.0",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "658f1be311a230e0907f5dfe0213742aff0596de"
+ "reference": "6608f01670c3cc5079e18c1dab1104e002579143"
},
"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/6608f01670c3cc5079e18c1dab1104e002579143",
+ "reference": "6608f01670c3cc5079e18c1dab1104e002579143",
"shasum": ""
},
"require": {
@@ -2981,7 +2429,11 @@
"parser",
"php"
],
- "time": "2020-09-26T10:30:38+00:00"
+ "support": {
+ "issues": "https://github.com/nikic/PHP-Parser/issues",
+ "source": "https://github.com/nikic/PHP-Parser/tree/v4.12.0"
+ },
+ "time": "2021-07-21T10:44:31+00:00"
},
{
"name": "openlss/lib-array2xml",
@@ -3030,20 +2482,24 @@
"xml",
"xml conversion"
],
+ "support": {
+ "issues": "https://github.com/nullivex/lib-array2xml/issues",
+ "source": "https://github.com/nullivex/lib-array2xml/tree/master"
+ },
"time": "2019-03-29T20:06:56+00:00"
},
{
"name": "opis/closure",
- "version": "3.6.0",
+ "version": "3.6.2",
"source": {
"type": "git",
"url": "https://github.com/opis/closure.git",
- "reference": "c547f8262a5fa9ff507bd06cc394067b83a75085"
+ "reference": "06e2ebd25f2869e54a306dda991f7db58066f7f6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/opis/closure/zipball/c547f8262a5fa9ff507bd06cc394067b83a75085",
- "reference": "c547f8262a5fa9ff507bd06cc394067b83a75085",
+ "url": "https://api.github.com/repos/opis/closure/zipball/06e2ebd25f2869e54a306dda991f7db58066f7f6",
+ "reference": "06e2ebd25f2869e54a306dda991f7db58066f7f6",
"shasum": ""
},
"require": {
@@ -3091,28 +2547,32 @@
"serialization",
"serialize"
],
- "time": "2020-10-11T21:42:15+00:00"
+ "support": {
+ "issues": "https://github.com/opis/closure/issues",
+ "source": "https://github.com/opis/closure/tree/3.6.2"
+ },
+ "time": "2021-04-09T13:42:10+00:00"
},
{
"name": "paragonie/constant_time_encoding",
- "version": "v2.3.0",
+ "version": "v2.4.0",
"source": {
"type": "git",
"url": "https://github.com/paragonie/constant_time_encoding.git",
- "reference": "47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2"
+ "reference": "f34c2b11eb9d2c9318e13540a1dbc2a3afbd939c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2",
- "reference": "47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2",
+ "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/f34c2b11eb9d2c9318e13540a1dbc2a3afbd939c",
+ "reference": "f34c2b11eb9d2c9318e13540a1dbc2a3afbd939c",
"shasum": ""
},
"require": {
"php": "^7|^8"
},
"require-dev": {
- "phpunit/phpunit": "^6|^7",
- "vimeo/psalm": "^1|^2|^3"
+ "phpunit/phpunit": "^6|^7|^8|^9",
+ "vimeo/psalm": "^1|^2|^3|^4"
},
"type": "library",
"autoload": {
@@ -3153,30 +2613,35 @@
"hex2bin",
"rfc4648"
],
- "time": "2019-11-06T19:20:29+00:00"
+ "support": {
+ "email": "info@paragonie.com",
+ "issues": "https://github.com/paragonie/constant_time_encoding/issues",
+ "source": "https://github.com/paragonie/constant_time_encoding"
+ },
+ "time": "2020-12-06T15:14:20+00:00"
},
{
"name": "paragonie/pharaoh",
- "version": "v0.5.0",
+ "version": "v0.6.0",
"source": {
"type": "git",
"url": "https://github.com/paragonie/pharaoh.git",
- "reference": "060418e946de2f39a3618ad70d9b6d0a61437b83"
+ "reference": "d33976a45429edc9c4282e7b0f2b6c3a3a5783fc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/paragonie/pharaoh/zipball/060418e946de2f39a3618ad70d9b6d0a61437b83",
- "reference": "060418e946de2f39a3618ad70d9b6d0a61437b83",
+ "url": "https://api.github.com/repos/paragonie/pharaoh/zipball/d33976a45429edc9c4282e7b0f2b6c3a3a5783fc",
+ "reference": "d33976a45429edc9c4282e7b0f2b6c3a3a5783fc",
"shasum": ""
},
"require": {
"paragonie/constant_time_encoding": "^2",
"paragonie/sodium_compat": "^1.3",
- "php": "^7",
+ "php": "^7|^8",
"ulrichsg/getopt-php": "^3"
},
"require-dev": {
- "vimeo/psalm": "^1|^2"
+ "vimeo/psalm": "^1|^2|^3"
},
"bin": [
"pharaoh"
@@ -3208,7 +2673,12 @@
"tool",
"utility"
],
- "time": "2018-11-02T16:45:56+00:00"
+ "support": {
+ "email": "info@paragonie.com",
+ "issues": "https://github.com/paragonie/pharaoh/issues",
+ "source": "https://github.com/paragonie/pharaoh"
+ },
+ "time": "2020-12-03T04:57:05+00:00"
},
{
"name": "paragonie/random_compat",
@@ -3253,20 +2723,25 @@
"pseudorandom",
"random"
],
+ "support": {
+ "email": "info@paragonie.com",
+ "issues": "https://github.com/paragonie/random_compat/issues",
+ "source": "https://github.com/paragonie/random_compat"
+ },
"time": "2020-10-15T08:29:30+00:00"
},
{
"name": "paragonie/sodium_compat",
- "version": "v1.13.0",
+ "version": "v1.16.1",
"source": {
"type": "git",
"url": "https://github.com/paragonie/sodium_compat.git",
- "reference": "bbade402cbe84c69b718120911506a3aa2bae653"
+ "reference": "2e856afe80bfc968b47da1f4a7e1ea8f03d06b38"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/bbade402cbe84c69b718120911506a3aa2bae653",
- "reference": "bbade402cbe84c69b718120911506a3aa2bae653",
+ "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/2e856afe80bfc968b47da1f4a7e1ea8f03d06b38",
+ "reference": "2e856afe80bfc968b47da1f4a7e1ea8f03d06b38",
"shasum": ""
},
"require": {
@@ -3274,7 +2749,7 @@
"php": "^5.2.4|^5.3|^5.4|^5.5|^5.6|^7|^8"
},
"require-dev": {
- "phpunit/phpunit": "^3|^4|^5|^6|^7"
+ "phpunit/phpunit": "^3|^4|^5|^6|^7|^8|^9"
},
"suggest": {
"ext-libsodium": "PHP < 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security.",
@@ -3335,20 +2810,24 @@
"secret-key cryptography",
"side-channel resistant"
],
- "time": "2020-03-20T21:48:09+00:00"
+ "support": {
+ "issues": "https://github.com/paragonie/sodium_compat/issues",
+ "source": "https://github.com/paragonie/sodium_compat/tree/v1.16.1"
+ },
+ "time": "2021-05-25T12:58:14+00:00"
},
{
"name": "phalcon/ide-stubs",
- "version": "v4.0.6",
+ "version": "v4.1.0",
"source": {
"type": "git",
"url": "https://github.com/phalcon/ide-stubs.git",
- "reference": "d2adae3fba488ccba913a3f7fc310f23aa6de4a3"
+ "reference": "77384e4f42542f11b065b2a860b9bca2ea20ad5a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phalcon/ide-stubs/zipball/d2adae3fba488ccba913a3f7fc310f23aa6de4a3",
- "reference": "d2adae3fba488ccba913a3f7fc310f23aa6de4a3",
+ "url": "https://api.github.com/repos/phalcon/ide-stubs/zipball/77384e4f42542f11b065b2a860b9bca2ea20ad5a",
+ "reference": "77384e4f42542f11b065b2a860b9bca2ea20ad5a",
"shasum": ""
},
"require": {
@@ -3387,32 +2866,48 @@
"stub",
"stubs"
],
- "time": "2020-05-18T20:16:38+00:00"
+ "support": {
+ "forum": "https://forum.phalcon.io/",
+ "issues": "https://github.com/phalcon/ide-stubs/issues",
+ "source": "https://github.com/phalcon/ide-stubs"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/phalcon",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/phalcon",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2020-11-13T10:58:11+00:00"
},
{
"name": "phar-io/manifest",
- "version": "1.0.3",
+ "version": "2.0.3",
"source": {
"type": "git",
"url": "https://github.com/phar-io/manifest.git",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4"
+ "reference": "97803eca37d319dfa7826cc2437fc020857acb53"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
+ "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53",
+ "reference": "97803eca37d319dfa7826cc2437fc020857acb53",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-phar": "*",
- "phar-io/version": "^2.0",
- "php": "^5.6 || ^7.0"
+ "ext-xmlwriter": "*",
+ "phar-io/version": "^3.0.1",
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "2.0.x-dev"
}
},
"autoload": {
@@ -3442,24 +2937,28 @@
}
],
"description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "time": "2018-07-08T19:23:20+00:00"
+ "support": {
+ "issues": "https://github.com/phar-io/manifest/issues",
+ "source": "https://github.com/phar-io/manifest/tree/2.0.3"
+ },
+ "time": "2021-07-20T11:28:43+00:00"
},
{
"name": "phar-io/version",
- "version": "2.0.1",
+ "version": "3.1.0",
"source": {
"type": "git",
"url": "https://github.com/phar-io/version.git",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6"
+ "reference": "bae7c545bef187884426f042434e561ab1ddb182"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6",
+ "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182",
+ "reference": "bae7c545bef187884426f042434e561ab1ddb182",
"shasum": ""
},
"require": {
- "php": "^5.6 || ^7.0"
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"autoload": {
@@ -3489,7 +2988,11 @@
}
],
"description": "Library for handling version information and constraints",
- "time": "2018-07-08T19:19:57+00:00"
+ "support": {
+ "issues": "https://github.com/phar-io/version/issues",
+ "source": "https://github.com/phar-io/version/tree/3.1.0"
+ },
+ "time": "2021-02-23T14:00:09+00:00"
},
{
"name": "phpdocumentor/reflection-common",
@@ -3538,6 +3041,10 @@
"reflection",
"static analysis"
],
+ "support": {
+ "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues",
+ "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x"
+ },
"time": "2020-06-27T09:03:43+00:00"
},
{
@@ -3590,6 +3097,10 @@
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
+ "support": {
+ "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
+ "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master"
+ },
"time": "2020-09-03T19:13:55+00:00"
},
{
@@ -3635,6 +3146,10 @@
}
],
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
+ "support": {
+ "issues": "https://github.com/phpDocumentor/TypeResolver/issues",
+ "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0"
+ },
"time": "2020-09-17T18:55:26+00:00"
},
{
@@ -3690,20 +3205,34 @@
"php",
"type"
],
+ "support": {
+ "issues": "https://github.com/schmittjoh/php-option/issues",
+ "source": "https://github.com/schmittjoh/php-option/tree/1.7.5"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption",
+ "type": "tidelift"
+ }
+ ],
"time": "2020-07-20T17:29:33+00:00"
},
{
"name": "phpspec/prophecy",
- "version": "1.12.1",
+ "version": "1.13.0",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
- "reference": "8ce87516be71aae9b956f81906aaf0338e0d8a2d"
+ "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/8ce87516be71aae9b956f81906aaf0338e0d8a2d",
- "reference": "8ce87516be71aae9b956f81906aaf0338e0d8a2d",
+ "url": "https://api.github.com/repos/phpspec/prophecy/zipball/be1996ed8adc35c3fd795488a653f4b518be70ea",
+ "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea",
"shasum": ""
},
"require": {
@@ -3715,7 +3244,7 @@
},
"require-dev": {
"phpspec/phpspec": "^6.0",
- "phpunit/phpunit": "^8.0 || ^9.0 <9.3"
+ "phpunit/phpunit": "^8.0 || ^9.0"
},
"type": "library",
"extra": {
@@ -3753,44 +3282,52 @@
"spy",
"stub"
],
- "time": "2020-09-29T09:10:42+00:00"
+ "support": {
+ "issues": "https://github.com/phpspec/prophecy/issues",
+ "source": "https://github.com/phpspec/prophecy/tree/1.13.0"
+ },
+ "time": "2021-03-17T13:42:18+00:00"
},
{
"name": "phpunit/php-code-coverage",
- "version": "7.0.10",
+ "version": "9.2.6",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "f1884187926fbb755a9aaf0b3836ad3165b478bf"
+ "reference": "f6293e1b30a2354e8428e004689671b83871edde"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f1884187926fbb755a9aaf0b3836ad3165b478bf",
- "reference": "f1884187926fbb755a9aaf0b3836ad3165b478bf",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f6293e1b30a2354e8428e004689671b83871edde",
+ "reference": "f6293e1b30a2354e8428e004689671b83871edde",
"shasum": ""
},
"require": {
"ext-dom": "*",
+ "ext-libxml": "*",
"ext-xmlwriter": "*",
- "php": "^7.2",
- "phpunit/php-file-iterator": "^2.0.2",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-token-stream": "^3.1.1",
- "sebastian/code-unit-reverse-lookup": "^1.0.1",
- "sebastian/environment": "^4.2.2",
- "sebastian/version": "^2.0.1",
- "theseer/tokenizer": "^1.1.3"
+ "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.3",
+ "sebastian/version": "^3.0.1",
+ "theseer/tokenizer": "^1.2.0"
},
"require-dev": {
- "phpunit/phpunit": "^8.2.2"
+ "phpunit/phpunit": "^9.3"
},
"suggest": {
- "ext-xdebug": "^2.7.2"
+ "ext-pcov": "*",
+ "ext-xdebug": "*"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "7.0-dev"
+ "dev-master": "9.2-dev"
}
},
"autoload": {
@@ -3816,32 +3353,42 @@
"testing",
"xunit"
],
- "time": "2019-11-20T13:55:58+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.6"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2021-03-28T07:26:59+00:00"
},
{
"name": "phpunit/php-file-iterator",
- "version": "2.0.2",
+ "version": "3.0.5",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "050bedf145a257b1ff02746c31894800e5122946"
+ "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/050bedf145a257b1ff02746c31894800e5122946",
- "reference": "050bedf145a257b1ff02746c31894800e5122946",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/aa4be8575f26070b100fccb67faabb28f21f66f8",
+ "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^7.1"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0.x-dev"
+ "dev-master": "3.0-dev"
}
},
"autoload": {
@@ -3866,26 +3413,48 @@
"filesystem",
"iterator"
],
- "time": "2018-09-13T20:33:42+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
+ "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.5"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:57:25+00:00"
},
{
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
+ "name": "phpunit/php-invoker",
+ "version": "3.1.1",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
+ "url": "https://github.com/sebastianbergmann/php-invoker.git",
+ "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
+ "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "ext-pcntl": "*",
+ "phpunit/phpunit": "^9.3"
+ },
+ "suggest": {
+ "ext-pcntl": "*"
},
"type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.1-dev"
+ }
+ },
"autoload": {
"classmap": [
"src/"
@@ -3902,37 +3471,47 @@
"role": "lead"
}
],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
+ "description": "Invoke callables with a timeout",
+ "homepage": "https://github.com/sebastianbergmann/php-invoker/",
"keywords": [
- "template"
+ "process"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-invoker/issues",
+ "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
],
- "time": "2015-06-21T13:50:34+00:00"
+ "time": "2020-09-28T05:58:55+00:00"
},
{
- "name": "phpunit/php-timer",
- "version": "2.1.2",
+ "name": "phpunit/php-text-template",
+ "version": "2.0.4",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "1038454804406b0b5f5f520358e78c1c2f71501e"
+ "url": "https://github.com/sebastianbergmann/php-text-template.git",
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/1038454804406b0b5f5f520358e78c1c2f71501e",
- "reference": "1038454804406b0b5f5f520358e78c1c2f71501e",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^7.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.1-dev"
+ "dev-master": "2.0-dev"
}
},
"autoload": {
@@ -3951,38 +3530,47 @@
"role": "lead"
}
],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
+ "description": "Simple template engine.",
+ "homepage": "https://github.com/sebastianbergmann/php-text-template/",
"keywords": [
- "timer"
+ "template"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-text-template/issues",
+ "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
],
- "time": "2019-06-07T04:22:29+00:00"
+ "time": "2020-10-26T05:33:50+00:00"
},
{
- "name": "phpunit/php-token-stream",
- "version": "3.1.1",
+ "name": "phpunit/php-timer",
+ "version": "5.0.3",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "995192df77f63a59e47f025390d2d1fdf8f425ff"
+ "url": "https://github.com/sebastianbergmann/php-timer.git",
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/995192df77f63a59e47f025390d2d1fdf8f425ff",
- "reference": "995192df77f63a59e47f025390d2d1fdf8f425ff",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
"shasum": ""
},
"require": {
- "ext-tokenizer": "*",
- "php": "^7.1"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^7.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.1-dev"
+ "dev-master": "5.0-dev"
}
},
"autoload": {
@@ -3997,65 +3585,78 @@
"authors": [
{
"name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
}
],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
+ "description": "Utility class for timing",
+ "homepage": "https://github.com/sebastianbergmann/php-timer/",
"keywords": [
- "tokenizer"
+ "timer"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-timer/issues",
+ "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
],
- "abandoned": true,
- "time": "2019-09-17T06:23:10+00:00"
+ "time": "2020-10-26T13:16:10+00:00"
},
{
"name": "phpunit/phpunit",
- "version": "8.5.8",
+ "version": "9.5.8",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "34c18baa6a44f1d1fbf0338907139e9dce95b997"
+ "reference": "191768ccd5c85513b4068bdbe99bb6390c7d54fb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/34c18baa6a44f1d1fbf0338907139e9dce95b997",
- "reference": "34c18baa6a44f1d1fbf0338907139e9dce95b997",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/191768ccd5c85513b4068bdbe99bb6390c7d54fb",
+ "reference": "191768ccd5c85513b4068bdbe99bb6390c7d54fb",
"shasum": ""
},
"require": {
- "doctrine/instantiator": "^1.2.0",
+ "doctrine/instantiator": "^1.3.1",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-xml": "*",
"ext-xmlwriter": "*",
- "myclabs/deep-copy": "^1.9.1",
- "phar-io/manifest": "^1.0.3",
- "phar-io/version": "^2.0.1",
- "php": "^7.2",
- "phpspec/prophecy": "^1.8.1",
- "phpunit/php-code-coverage": "^7.0.7",
- "phpunit/php-file-iterator": "^2.0.2",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-timer": "^2.1.2",
- "sebastian/comparator": "^3.0.2",
- "sebastian/diff": "^3.0.2",
- "sebastian/environment": "^4.2.2",
- "sebastian/exporter": "^3.1.1",
- "sebastian/global-state": "^3.0.0",
- "sebastian/object-enumerator": "^3.0.3",
- "sebastian/resource-operations": "^2.0.1",
- "sebastian/type": "^1.1.3",
- "sebastian/version": "^2.0.1"
+ "myclabs/deep-copy": "^1.10.1",
+ "phar-io/manifest": "^2.0.3",
+ "phar-io/version": "^3.0.2",
+ "php": ">=7.3",
+ "phpspec/prophecy": "^1.12.1",
+ "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",
+ "phpunit/php-timer": "^5.0.2",
+ "sebastian/cli-parser": "^1.0.1",
+ "sebastian/code-unit": "^1.0.6",
+ "sebastian/comparator": "^4.0.5",
+ "sebastian/diff": "^4.0.3",
+ "sebastian/environment": "^5.1.3",
+ "sebastian/exporter": "^4.0.3",
+ "sebastian/global-state": "^5.0.1",
+ "sebastian/object-enumerator": "^4.0.3",
+ "sebastian/resource-operations": "^3.0.3",
+ "sebastian/type": "^2.3.4",
+ "sebastian/version": "^3.0.2"
},
"require-dev": {
- "ext-pdo": "*"
+ "ext-pdo": "*",
+ "phpspec/prophecy-phpunit": "^2.0.1"
},
"suggest": {
"ext-soap": "*",
- "ext-xdebug": "*",
- "phpunit/php-invoker": "^2.0.0"
+ "ext-xdebug": "*"
},
"bin": [
"phpunit"
@@ -4063,12 +3664,15 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "8.5-dev"
+ "dev-master": "9.5-dev"
}
},
"autoload": {
"classmap": [
"src/"
+ ],
+ "files": [
+ "src/Framework/Assert/Functions.php"
]
},
"notification-url": "https://packagist.org/downloads/",
@@ -4089,31 +3693,40 @@
"testing",
"xunit"
],
- "time": "2020-06-22T07:06:58+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/phpunit/issues",
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.8"
+ },
+ "funding": [
+ {
+ "url": "https://phpunit.de/donate.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2021-07-31T15:17:34+00:00"
},
{
"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/"
@@ -4126,7 +3739,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)",
@@ -4138,7 +3751,11 @@
"container-interop",
"psr"
],
- "time": "2017-02-14T16:28:37+00:00"
+ "support": {
+ "issues": "https://github.com/php-fig/container/issues",
+ "source": "https://github.com/php-fig/container/tree/1.1.1"
+ },
+ "time": "2021-03-05T17:36:06+00:00"
},
{
"name": "psr/http-client",
@@ -4187,6 +3804,9 @@
"psr",
"psr-18"
],
+ "support": {
+ "source": "https://github.com/php-fig/http-client/tree/master"
+ },
"time": "2020-06-29T06:28:15+00:00"
},
{
@@ -4237,20 +3857,23 @@
"request",
"response"
],
+ "support": {
+ "source": "https://github.com/php-fig/http-message/tree/master"
+ },
"time": "2016-08-06T14:39:51+00:00"
},
{
"name": "psr/log",
- "version": "1.1.3",
+ "version": "1.1.4",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
- "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc"
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc",
- "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11",
"shasum": ""
},
"require": {
@@ -4274,7 +3897,7 @@
"authors": [
{
"name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for logging libraries",
@@ -4284,7 +3907,10 @@
"psr",
"psr-3"
],
- "time": "2020-03-23T09:12:05+00:00"
+ "support": {
+ "source": "https://github.com/php-fig/log/tree/1.1.4"
+ },
+ "time": "2021-05-03T11:20:27+00:00"
},
{
"name": "ralouphie/getallheaders",
@@ -4324,32 +3950,148 @@
}
],
"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": "sebastian/code-unit-reverse-lookup",
+ "name": "sebastian/cli-parser",
"version": "1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/cli-parser.git",
+ "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2",
+ "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library for parsing CLI options",
+ "homepage": "https://github.com/sebastianbergmann/cli-parser",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/cli-parser/issues",
+ "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T06:08:49+00:00"
+ },
+ {
+ "name": "sebastian/code-unit",
+ "version": "1.0.8",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/code-unit.git",
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120",
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Collection of value objects that represent the PHP code units",
+ "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.8"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:08:54+00:00"
+ },
+ {
+ "name": "sebastian/code-unit-reverse-lookup",
+ "version": "2.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
+ "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
+ "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
"shasum": ""
},
"require": {
- "php": "^5.6 || ^7.0"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "2.0-dev"
}
},
"autoload": {
@@ -4369,34 +4111,44 @@
],
"description": "Looks up which function or method a line of code belongs to",
"homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
+ "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:30:19+00:00"
},
{
"name": "sebastian/comparator",
- "version": "3.0.2",
+ "version": "4.0.6",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da"
+ "reference": "55f4261989e546dc112258c7a75935a81a7ce382"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
- "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382",
+ "reference": "55f4261989e546dc112258c7a75935a81a7ce382",
"shasum": ""
},
"require": {
- "php": "^7.1",
- "sebastian/diff": "^3.0",
- "sebastian/exporter": "^3.1"
+ "php": ">=7.3",
+ "sebastian/diff": "^4.0",
+ "sebastian/exporter": "^4.0"
},
"require-dev": {
- "phpunit/phpunit": "^7.1"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -4409,6 +4161,10 @@
"BSD-3-Clause"
],
"authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
{
"name": "Jeff Welch",
"email": "whatthejeff@gmail.com"
@@ -4420,10 +4176,6 @@
{
"name": "Bernhard Schussek",
"email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
}
],
"description": "Provides the functionality to compare PHP values for equality",
@@ -4433,33 +4185,100 @@
"compare",
"equality"
],
- "time": "2018-07-12T15:12:46+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/comparator/issues",
+ "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T15:49:45+00:00"
+ },
+ {
+ "name": "sebastian/complexity",
+ "version": "2.0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/complexity.git",
+ "reference": "739b35e53379900cc9ac327b2147867b8b6efd88"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88",
+ "reference": "739b35e53379900cc9ac327b2147867b8b6efd88",
+ "shasum": ""
+ },
+ "require": {
+ "nikic/php-parser": "^4.7",
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library for calculating the complexity of PHP code units",
+ "homepage": "https://github.com/sebastianbergmann/complexity",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/complexity/issues",
+ "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T15:52:27+00:00"
},
{
"name": "sebastian/diff",
- "version": "3.0.2",
+ "version": "4.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29"
+ "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/720fcc7e9b5cf384ea68d9d930d480907a0c1a29",
- "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29",
+ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d",
+ "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^7.5 || ^8.0",
- "symfony/process": "^2 || ^3.3 || ^4"
+ "phpunit/phpunit": "^9.3",
+ "symfony/process": "^4.2 || ^5"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -4472,13 +4291,13 @@
"BSD-3-Clause"
],
"authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
{
"name": "Sebastian Bergmann",
"email": "sebastian@phpunit.de"
+ },
+ {
+ "name": "Kore Nordmann",
+ "email": "mail@kore-nordmann.de"
}
],
"description": "Diff implementation",
@@ -4489,27 +4308,37 @@
"unidiff",
"unified diff"
],
- "time": "2019-02-04T06:01:07+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/diff/issues",
+ "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:10:38+00:00"
},
{
"name": "sebastian/environment",
- "version": "4.2.3",
+ "version": "5.1.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "464c90d7bdf5ad4e8a6aea15c091fec0603d4368"
+ "reference": "388b6ced16caa751030f6a69e588299fa09200ac"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/464c90d7bdf5ad4e8a6aea15c091fec0603d4368",
- "reference": "464c90d7bdf5ad4e8a6aea15c091fec0603d4368",
+ "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/388b6ced16caa751030f6a69e588299fa09200ac",
+ "reference": "388b6ced16caa751030f6a69e588299fa09200ac",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^7.5"
+ "phpunit/phpunit": "^9.3"
},
"suggest": {
"ext-posix": "*"
@@ -4517,7 +4346,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.2-dev"
+ "dev-master": "5.1-dev"
}
},
"autoload": {
@@ -4542,34 +4371,44 @@
"environment",
"hhvm"
],
- "time": "2019-11-20T08:46:58+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/environment/issues",
+ "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:52:38+00:00"
},
{
"name": "sebastian/exporter",
- "version": "3.1.2",
+ "version": "4.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "68609e1261d215ea5b21b7987539cbfbe156ec3e"
+ "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/68609e1261d215ea5b21b7987539cbfbe156ec3e",
- "reference": "68609e1261d215ea5b21b7987539cbfbe156ec3e",
+ "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65",
+ "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65",
"shasum": ""
},
"require": {
- "php": "^7.0",
- "sebastian/recursion-context": "^3.0"
+ "php": ">=7.3",
+ "sebastian/recursion-context": "^4.0"
},
"require-dev": {
"ext-mbstring": "*",
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.1.x-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -4609,30 +4448,40 @@
"export",
"exporter"
],
- "time": "2019-09-14T09:02:43+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/exporter/issues",
+ "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:24:23+00:00"
},
{
"name": "sebastian/global-state",
- "version": "3.0.0",
+ "version": "5.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4"
+ "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4",
- "reference": "edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4",
+ "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/23bd5951f7ff26f12d4e3242864df3e08dec4e49",
+ "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49",
"shasum": ""
},
"require": {
- "php": "^7.2",
- "sebastian/object-reflector": "^1.1.1",
- "sebastian/recursion-context": "^3.0"
+ "php": ">=7.3",
+ "sebastian/object-reflector": "^2.0",
+ "sebastian/recursion-context": "^4.0"
},
"require-dev": {
"ext-dom": "*",
- "phpunit/phpunit": "^8.0"
+ "phpunit/phpunit": "^9.3"
},
"suggest": {
"ext-uopz": "*"
@@ -4640,7 +4489,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0-dev"
+ "dev-master": "5.0-dev"
}
},
"autoload": {
@@ -4663,34 +4512,101 @@
"keywords": [
"global state"
],
- "time": "2019-02-01T05:30:01+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/global-state/issues",
+ "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2021-06-11T13:31:12+00:00"
+ },
+ {
+ "name": "sebastian/lines-of-code",
+ "version": "1.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/lines-of-code.git",
+ "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc",
+ "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc",
+ "shasum": ""
+ },
+ "require": {
+ "nikic/php-parser": "^4.6",
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library for counting the lines of code in PHP source code",
+ "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.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-28T06:42:11+00:00"
},
{
"name": "sebastian/object-enumerator",
- "version": "3.0.3",
+ "version": "4.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5"
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71",
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71",
"shasum": ""
},
"require": {
- "php": "^7.0",
- "sebastian/object-reflector": "^1.1.1",
- "sebastian/recursion-context": "^3.0"
+ "php": ">=7.3",
+ "sebastian/object-reflector": "^2.0",
+ "sebastian/recursion-context": "^4.0"
},
"require-dev": {
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0.x-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -4710,32 +4626,42 @@
],
"description": "Traverses array structures and object graphs to enumerate all referenced objects",
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-08-03T12:35:26+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
+ "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:12:34+00:00"
},
{
"name": "sebastian/object-reflector",
- "version": "1.1.1",
+ "version": "2.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-reflector.git",
- "reference": "773f97c67f28de00d397be301821b06708fca0be"
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be",
- "reference": "773f97c67f28de00d397be301821b06708fca0be",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.1-dev"
+ "dev-master": "2.0-dev"
}
},
"autoload": {
@@ -4755,32 +4681,42 @@
],
"description": "Allows reflection of object attributes, including inherited and non-public ones",
"homepage": "https://github.com/sebastianbergmann/object-reflector/",
- "time": "2017-03-29T09:07:27+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/object-reflector/issues",
+ "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:14:26+00:00"
},
{
"name": "sebastian/recursion-context",
- "version": "3.0.0",
+ "version": "4.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8"
+ "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
+ "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172",
+ "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0.x-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -4793,14 +4729,14 @@
"BSD-3-Clause"
],
"authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
{
"name": "Sebastian Bergmann",
"email": "sebastian@phpunit.de"
},
+ {
+ "name": "Jeff Welch",
+ "email": "whatthejeff@gmail.com"
+ },
{
"name": "Adam Harvey",
"email": "aharvey@php.net"
@@ -4808,29 +4744,42 @@
],
"description": "Provides functionality to recursively process PHP variables",
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2017-03-03T06:23:57+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/recursion-context/issues",
+ "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:17:30+00:00"
},
{
"name": "sebastian/resource-operations",
- "version": "2.0.1",
+ "version": "3.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9"
+ "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
- "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
+ "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
+ "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0-dev"
+ "dev-master": "3.0-dev"
}
},
"autoload": {
@@ -4850,32 +4799,42 @@
],
"description": "Provides a list of PHP built-in functions that operate on resources",
"homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2018-10-04T04:07:39+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/resource-operations/issues",
+ "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T06:45:17+00:00"
},
{
"name": "sebastian/type",
- "version": "1.1.3",
+ "version": "2.3.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/type.git",
- "reference": "3aaaa15fa71d27650d62a948be022fe3b48541a3"
+ "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/3aaaa15fa71d27650d62a948be022fe3b48541a3",
- "reference": "3aaaa15fa71d27650d62a948be022fe3b48541a3",
+ "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b8cd8a1c753c90bc1a0f5372170e3e489136f914",
+ "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914",
"shasum": ""
},
"require": {
- "php": "^7.2"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^8.2"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.1-dev"
+ "dev-master": "2.3-dev"
}
},
"autoload": {
@@ -4896,29 +4855,39 @@
],
"description": "Collection of value objects that represent the types of the PHP type system",
"homepage": "https://github.com/sebastianbergmann/type",
- "time": "2019-07-02T08:10:15+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/type/issues",
+ "source": "https://github.com/sebastianbergmann/type/tree/2.3.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2021-06-15T12:49:02+00:00"
},
{
"name": "sebastian/version",
- "version": "2.0.1",
+ "version": "3.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
+ "reference": "c6c1022351a901512170118436c764e473f6de8c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
+ "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c",
+ "reference": "c6c1022351a901512170118436c764e473f6de8c",
"shasum": ""
},
"require": {
- "php": ">=5.6"
+ "php": ">=7.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0.x-dev"
+ "dev-master": "3.0-dev"
}
},
"autoload": {
@@ -4939,20 +4908,30 @@
],
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
"homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/version/issues",
+ "source": "https://github.com/sebastianbergmann/version/tree/3.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T06:39:44+00:00"
},
{
"name": "seld/jsonlint",
- "version": "1.8.2",
+ "version": "1.8.3",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/jsonlint.git",
- "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337"
+ "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/590cfec960b77fd55e39b7d9246659e95dd6d337",
- "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337",
+ "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/9ad6ce79c342fbd44df10ea95511a1b24dee5b57",
+ "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57",
"shasum": ""
},
"require": {
@@ -4988,20 +4967,34 @@
"parser",
"validator"
],
- "time": "2020-08-25T06:56:57+00:00"
+ "support": {
+ "issues": "https://github.com/Seldaek/jsonlint/issues",
+ "source": "https://github.com/Seldaek/jsonlint/tree/1.8.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/Seldaek",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2020-11-11T09:19:24+00:00"
},
{
"name": "squizlabs/php_codesniffer",
- "version": "3.5.8",
+ "version": "3.6.0",
"source": {
"type": "git",
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "9d583721a7157ee997f235f327de038e7ea6dac4"
+ "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/9d583721a7157ee997f235f327de038e7ea6dac4",
- "reference": "9d583721a7157ee997f235f327de038e7ea6dac4",
+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625",
+ "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625",
"shasum": ""
},
"require": {
@@ -5039,25 +5032,31 @@
"phpcs",
"standards"
],
- "time": "2020-10-23T02:01:07+00:00"
+ "support": {
+ "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
+ "source": "https://github.com/squizlabs/PHP_CodeSniffer",
+ "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
+ },
+ "time": "2021-04-09T00:54:41+00:00"
},
{
"name": "symfony/browser-kit",
- "version": "v5.1.8",
+ "version": "v5.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/browser-kit.git",
- "reference": "65b7d208280f2700f43ba44a8059a25d7b01347b"
+ "reference": "c1e3f64fcc631c96e2c5843b666db66679ced11c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/65b7d208280f2700f43ba44a8059a25d7b01347b",
- "reference": "65b7d208280f2700f43ba44a8059a25d7b01347b",
+ "url": "https://api.github.com/repos/symfony/browser-kit/zipball/c1e3f64fcc631c96e2c5843b666db66679ced11c",
+ "reference": "c1e3f64fcc631c96e2c5843b666db66679ced11c",
"shasum": ""
},
"require": {
"php": ">=7.2.5",
- "symfony/dom-crawler": "^4.4|^5.0"
+ "symfony/dom-crawler": "^4.4|^5.0",
+ "symfony/polyfill-php80": "^1.16"
},
"require-dev": {
"symfony/css-selector": "^4.4|^5.0",
@@ -5091,42 +5090,60 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony BrowserKit Component",
+ "description": "Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically",
"homepage": "https://symfony.com",
- "time": "2020-10-24T12:01:57+00:00"
+ "support": {
+ "source": "https://github.com/symfony/browser-kit/tree/v5.3.4"
+ },
+ "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": "2021-07-21T12:40:44+00:00"
},
{
"name": "symfony/console",
- "version": "v4.4.16",
+ "version": "v4.4.29",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "20f73dd143a5815d475e0838ff867bce1eebd9d5"
+ "reference": "8baf0bbcfddfde7d7225ae8e04705cfd1081cd7b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/20f73dd143a5815d475e0838ff867bce1eebd9d5",
- "reference": "20f73dd143a5815d475e0838ff867bce1eebd9d5",
+ "url": "https://api.github.com/repos/symfony/console/zipball/8baf0bbcfddfde7d7225ae8e04705cfd1081cd7b",
+ "reference": "8baf0bbcfddfde7d7225ae8e04705cfd1081cd7b",
"shasum": ""
},
"require": {
"php": ">=7.1.3",
"symfony/polyfill-mbstring": "~1.0",
"symfony/polyfill-php73": "^1.8",
- "symfony/polyfill-php80": "^1.15",
+ "symfony/polyfill-php80": "^1.16",
"symfony/service-contracts": "^1.1|^2"
},
"conflict": {
+ "psr/log": ">=3",
"symfony/dependency-injection": "<3.4",
"symfony/event-dispatcher": "<4.3|>=5",
"symfony/lock": "<4.4",
"symfony/process": "<3.3"
},
"provide": {
- "psr/log-implementation": "1.0"
+ "psr/log-implementation": "1.0|2.0"
},
"require-dev": {
- "psr/log": "~1.0",
+ "psr/log": "^1|^2",
"symfony/config": "^3.4|^4.0|^5.0",
"symfony/dependency-injection": "^3.4|^4.0|^5.0",
"symfony/event-dispatcher": "^4.3",
@@ -5163,26 +5180,44 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Console Component",
+ "description": "Eases the creation of beautiful and testable command line interfaces",
"homepage": "https://symfony.com",
- "time": "2020-10-24T11:50:19+00:00"
+ "support": {
+ "source": "https://github.com/symfony/console/tree/v4.4.29"
+ },
+ "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": "2021-07-27T19:04:53+00:00"
},
{
"name": "symfony/css-selector",
- "version": "v5.1.8",
+ "version": "v5.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
- "reference": "6cbebda22ffc0d4bb8fea0c1311c2ca54c4c8fa0"
+ "reference": "7fb120adc7f600a59027775b224c13a33530dd90"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/css-selector/zipball/6cbebda22ffc0d4bb8fea0c1311c2ca54c4c8fa0",
- "reference": "6cbebda22ffc0d4bb8fea0c1311c2ca54c4c8fa0",
+ "url": "https://api.github.com/repos/symfony/css-selector/zipball/7fb120adc7f600a59027775b224c13a33530dd90",
+ "reference": "7fb120adc7f600a59027775b224c13a33530dd90",
"shasum": ""
},
"require": {
- "php": ">=7.2.5"
+ "php": ">=7.2.5",
+ "symfony/polyfill-php80": "^1.16"
},
"type": "library",
"autoload": {
@@ -5211,22 +5246,39 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony CssSelector Component",
+ "description": "Converts CSS selectors to XPath expressions",
"homepage": "https://symfony.com",
- "time": "2020-10-24T12:01:57+00:00"
+ "support": {
+ "source": "https://github.com/symfony/css-selector/tree/v5.3.4"
+ },
+ "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": "2021-07-21T12:38:00+00:00"
},
{
"name": "symfony/deprecation-contracts",
- "version": "v2.2.0",
+ "version": "v2.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
- "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665"
+ "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5fa56b4074d1ae755beb55617ddafe6f5d78f665",
- "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5f38c8804a9e97d23e0c8d63341088cd8a22d627",
+ "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627",
"shasum": ""
},
"require": {
@@ -5235,7 +5287,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.2-dev"
+ "dev-main": "2.4-dev"
},
"thanks": {
"name": "symfony/contracts",
@@ -5263,27 +5315,45 @@
],
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
- "time": "2020-09-07T11:33:47+00:00"
+ "support": {
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v2.4.0"
+ },
+ "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": "2021-03-23T23:28:01+00:00"
},
{
"name": "symfony/dom-crawler",
- "version": "v5.1.8",
+ "version": "v5.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/dom-crawler.git",
- "reference": "0969122fe144dd8ab2e8c98c7e03eedc621b368c"
+ "reference": "2dd8890bd01be59a5221999c05ccf0fcafcb354f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/0969122fe144dd8ab2e8c98c7e03eedc621b368c",
- "reference": "0969122fe144dd8ab2e8c98c7e03eedc621b368c",
+ "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/2dd8890bd01be59a5221999c05ccf0fcafcb354f",
+ "reference": "2dd8890bd01be59a5221999c05ccf0fcafcb354f",
"shasum": ""
},
"require": {
"php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1",
"symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-mbstring": "~1.0",
- "symfony/polyfill-php80": "^1.15"
+ "symfony/polyfill-php80": "^1.16"
},
"conflict": {
"masterminds/html5": "<2.6"
@@ -5318,27 +5388,45 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony DomCrawler Component",
+ "description": "Eases DOM navigation for HTML and XML documents",
"homepage": "https://symfony.com",
- "time": "2020-10-24T12:01:57+00:00"
+ "support": {
+ "source": "https://github.com/symfony/dom-crawler/tree/v5.3.4"
+ },
+ "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": "2021-07-23T15:55:36+00:00"
},
{
"name": "symfony/event-dispatcher",
- "version": "v4.4.16",
+ "version": "v4.4.27",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "4204f13d2d0b7ad09454f221bb2195fccdf1fe98"
+ "reference": "958a128b184fcf0ba45ec90c0e88554c9327c2e9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/4204f13d2d0b7ad09454f221bb2195fccdf1fe98",
- "reference": "4204f13d2d0b7ad09454f221bb2195fccdf1fe98",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/958a128b184fcf0ba45ec90c0e88554c9327c2e9",
+ "reference": "958a128b184fcf0ba45ec90c0e88554c9327c2e9",
"shasum": ""
},
"require": {
"php": ">=7.1.3",
- "symfony/event-dispatcher-contracts": "^1.1"
+ "symfony/event-dispatcher-contracts": "^1.1",
+ "symfony/polyfill-php80": "^1.16"
},
"conflict": {
"symfony/dependency-injection": "<3.4"
@@ -5348,7 +5436,7 @@
"symfony/event-dispatcher-implementation": "1.1"
},
"require-dev": {
- "psr/log": "~1.0",
+ "psr/log": "^1|^2|^3",
"symfony/config": "^3.4|^4.0|^5.0",
"symfony/dependency-injection": "^3.4|^4.0|^5.0",
"symfony/error-handler": "~3.4|~4.4",
@@ -5384,9 +5472,26 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony EventDispatcher Component",
+ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com",
- "time": "2020-10-24T11:50:19+00:00"
+ "support": {
+ "source": "https://github.com/symfony/event-dispatcher/tree/v4.4.27"
+ },
+ "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": "2021-07-23T15:41:52+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
@@ -5448,25 +5553,43 @@
"interoperability",
"standards"
],
+ "support": {
+ "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v1.1.9"
+ },
+ "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-07-06T13:19:58+00:00"
},
{
"name": "symfony/filesystem",
- "version": "v4.4.16",
+ "version": "v4.4.27",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
- "reference": "e74b873395b7213d44d1397bd4a605cd1632a68a"
+ "reference": "517fb795794faf29086a77d99eb8f35e457837a7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/e74b873395b7213d44d1397bd4a605cd1632a68a",
- "reference": "e74b873395b7213d44d1397bd4a605cd1632a68a",
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/517fb795794faf29086a77d99eb8f35e457837a7",
+ "reference": "517fb795794faf29086a77d99eb8f35e457837a7",
"shasum": ""
},
"require": {
"php": ">=7.1.3",
- "symfony/polyfill-ctype": "~1.8"
+ "symfony/polyfill-ctype": "~1.8",
+ "symfony/polyfill-php80": "^1.16"
},
"type": "library",
"autoload": {
@@ -5491,26 +5614,44 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Filesystem Component",
+ "description": "Provides basic utilities for the filesystem",
"homepage": "https://symfony.com",
- "time": "2020-10-24T11:50:19+00:00"
+ "support": {
+ "source": "https://github.com/symfony/filesystem/tree/v4.4.27"
+ },
+ "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": "2021-07-21T12:19:41+00:00"
},
{
"name": "symfony/finder",
- "version": "v4.4.16",
+ "version": "v4.4.27",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "26f63b8d4e92f2eecd90f6791a563ebb001abe31"
+ "reference": "42414d7ac96fc2880a783b872185789dea0d4262"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/26f63b8d4e92f2eecd90f6791a563ebb001abe31",
- "reference": "26f63b8d4e92f2eecd90f6791a563ebb001abe31",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/42414d7ac96fc2880a783b872185789dea0d4262",
+ "reference": "42414d7ac96fc2880a783b872185789dea0d4262",
"shasum": ""
},
"require": {
- "php": ">=7.1.3"
+ "php": ">=7.1.3",
+ "symfony/polyfill-php80": "^1.16"
},
"type": "library",
"autoload": {
@@ -5535,22 +5676,39 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Finder Component",
+ "description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
- "time": "2020-10-24T11:50:19+00:00"
+ "support": {
+ "source": "https://github.com/symfony/finder/tree/v4.4.27"
+ },
+ "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": "2021-07-23T15:41:52+00:00"
},
{
"name": "symfony/polyfill-ctype",
- "version": "v1.20.0",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41"
+ "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/f4ba089a5b6366e453971d3aad5fe8e897b37f41",
- "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41",
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce",
+ "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce",
"shasum": ""
},
"require": {
@@ -5562,7 +5720,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.20-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -5599,20 +5757,37 @@
"polyfill",
"portable"
],
- "time": "2020-10-23T14:02:19+00:00"
+ "support": {
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0"
+ },
+ "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": "2021-02-19T12:13:01+00:00"
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.20.0",
+ "version": "v1.23.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "39d483bdf39be819deabf04ec872eb0b2410b531"
+ "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/39d483bdf39be819deabf04ec872eb0b2410b531",
- "reference": "39d483bdf39be819deabf04ec872eb0b2410b531",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9174a3d80210dca8daa7f31fec659150bbeabfc6",
+ "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6",
"shasum": ""
},
"require": {
@@ -5624,7 +5799,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.20-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -5662,79 +5837,37 @@
"portable",
"shim"
],
- "time": "2020-10-23T14:02:19+00:00"
- },
- {
- "name": "symfony/polyfill-php72",
- "version": "v1.20.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-php72.git",
- "reference": "cede45fcdfabdd6043b3592e83678e42ec69e930"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/cede45fcdfabdd6043b3592e83678e42ec69e930",
- "reference": "cede45fcdfabdd6043b3592e83678e42ec69e930",
- "shasum": ""
+ "support": {
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.1"
},
- "require": {
- "php": ">=7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "1.20-dev"
- },
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Php72\\": ""
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
},
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
{
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
+ "url": "https://github.com/fabpot",
+ "type": "github"
},
{
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
}
],
- "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2020-10-23T14:02:19+00:00"
+ "time": "2021-05-27T12:26:48+00:00"
},
{
"name": "symfony/polyfill-php73",
- "version": "v1.20.0",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
- "reference": "8ff431c517be11c78c48a39a66d37431e26a6bed"
+ "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/8ff431c517be11c78c48a39a66d37431e26a6bed",
- "reference": "8ff431c517be11c78c48a39a66d37431e26a6bed",
+ "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010",
+ "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010",
"shasum": ""
},
"require": {
@@ -5743,7 +5876,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.20-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -5783,20 +5916,37 @@
"portable",
"shim"
],
- "time": "2020-10-23T14:02:19+00:00"
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0"
+ },
+ "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": "2021-02-19T12:13:01+00:00"
},
{
"name": "symfony/polyfill-php80",
- "version": "v1.20.0",
+ "version": "v1.23.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
- "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de"
+ "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/e70aa8b064c5b72d3df2abd5ab1e90464ad009de",
- "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/1100343ed1a92e3a38f9ae122fc0eb21602547be",
+ "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be",
"shasum": ""
},
"require": {
@@ -5805,7 +5955,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.20-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -5849,24 +5999,42 @@
"portable",
"shim"
],
- "time": "2020-10-23T14:02:19+00:00"
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.1"
+ },
+ "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": "2021-07-28T13:41:28+00:00"
},
{
"name": "symfony/process",
- "version": "v4.4.16",
+ "version": "v5.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "2f4b049fb80ca5e9874615a2a85dc2a502090f05"
+ "reference": "d16634ee55b895bd85ec714dadc58e4428ecf030"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/2f4b049fb80ca5e9874615a2a85dc2a502090f05",
- "reference": "2f4b049fb80ca5e9874615a2a85dc2a502090f05",
+ "url": "https://api.github.com/repos/symfony/process/zipball/d16634ee55b895bd85ec714dadc58e4428ecf030",
+ "reference": "d16634ee55b895bd85ec714dadc58e4428ecf030",
"shasum": ""
},
"require": {
- "php": ">=7.1.3"
+ "php": ">=7.2.5",
+ "symfony/polyfill-php80": "^1.16"
},
"type": "library",
"autoload": {
@@ -5891,27 +6059,44 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Process Component",
+ "description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
- "time": "2020-10-24T11:50:19+00:00"
+ "support": {
+ "source": "https://github.com/symfony/process/tree/v5.3.4"
+ },
+ "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": "2021-07-23T15:54:19+00:00"
},
{
"name": "symfony/service-contracts",
- "version": "v2.2.0",
+ "version": "v2.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/service-contracts.git",
- "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1"
+ "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d15da7ba4957ffb8f1747218be9e1a121fd298a1",
- "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1",
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb",
+ "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb",
"shasum": ""
},
"require": {
"php": ">=7.2.5",
- "psr/container": "^1.0"
+ "psr/container": "^1.1"
},
"suggest": {
"symfony/service-implementation": ""
@@ -5919,7 +6104,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.2-dev"
+ "dev-main": "2.4-dev"
},
"thanks": {
"name": "symfony/contracts",
@@ -5955,37 +6140,53 @@
"interoperability",
"standards"
],
- "time": "2020-09-07T11:33:47+00:00"
+ "support": {
+ "source": "https://github.com/symfony/service-contracts/tree/v2.4.0"
+ },
+ "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": "2021-04-01T10:43:52+00:00"
},
{
"name": "symfony/var-dumper",
- "version": "v4.4.16",
+ "version": "v5.3.6",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
- "reference": "3718e18b68d955348ad860e505991802c09f5f73"
+ "reference": "3dd8ddd1e260e58ecc61bb78da3b6584b3bfcba0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/3718e18b68d955348ad860e505991802c09f5f73",
- "reference": "3718e18b68d955348ad860e505991802c09f5f73",
+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/3dd8ddd1e260e58ecc61bb78da3b6584b3bfcba0",
+ "reference": "3dd8ddd1e260e58ecc61bb78da3b6584b3bfcba0",
"shasum": ""
},
"require": {
- "php": ">=7.1.3",
+ "php": ">=7.2.5",
"symfony/polyfill-mbstring": "~1.0",
- "symfony/polyfill-php72": "~1.5",
- "symfony/polyfill-php80": "^1.15"
+ "symfony/polyfill-php80": "^1.16"
},
"conflict": {
- "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0",
- "symfony/console": "<3.4"
+ "phpunit/phpunit": "<5.4.3",
+ "symfony/console": "<4.4"
},
"require-dev": {
"ext-iconv": "*",
- "symfony/console": "^3.4|^4.0|^5.0",
+ "symfony/console": "^4.4|^5.0",
"symfony/process": "^4.4|^5.0",
- "twig/twig": "^1.34|^2.4|^3.0"
+ "twig/twig": "^2.13|^3.0.4"
},
"suggest": {
"ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",
@@ -6021,26 +6222,43 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony mechanism for exploring and dumping PHP variables",
+ "description": "Provides mechanisms for walking through any arbitrary PHP variable",
"homepage": "https://symfony.com",
"keywords": [
"debug",
"dump"
],
- "time": "2020-10-26T20:47:51+00:00"
+ "support": {
+ "source": "https://github.com/symfony/var-dumper/tree/v5.3.6"
+ },
+ "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": "2021-07-27T01:56:02+00:00"
},
{
"name": "symfony/yaml",
- "version": "v5.1.8",
+ "version": "v5.3.6",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
- "reference": "f284e032c3cefefb9943792132251b79a6127ca6"
+ "reference": "4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/f284e032c3cefefb9943792132251b79a6127ca6",
- "reference": "f284e032c3cefefb9943792132251b79a6127ca6",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7",
+ "reference": "4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7",
"shasum": ""
},
"require": {
@@ -6083,22 +6301,39 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Yaml Component",
+ "description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
- "time": "2020-10-24T12:03:25+00:00"
+ "support": {
+ "source": "https://github.com/symfony/yaml/tree/v5.3.6"
+ },
+ "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": "2021-07-29T06:20:01+00:00"
},
{
"name": "theseer/tokenizer",
- "version": "1.2.0",
+ "version": "1.2.1",
"source": {
"type": "git",
"url": "https://github.com/theseer/tokenizer.git",
- "reference": "75a63c33a8577608444246075ea0af0d052e452a"
+ "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/theseer/tokenizer/zipball/75a63c33a8577608444246075ea0af0d052e452a",
- "reference": "75a63c33a8577608444246075ea0af0d052e452a",
+ "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e",
+ "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e",
"shasum": ""
},
"require": {
@@ -6125,7 +6360,17 @@
}
],
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
- "time": "2020-07-12T23:59:07+00:00"
+ "support": {
+ "issues": "https://github.com/theseer/tokenizer/issues",
+ "source": "https://github.com/theseer/tokenizer/tree/1.2.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/theseer",
+ "type": "github"
+ }
+ ],
+ "time": "2021-07-28T10:34:58+00:00"
},
{
"name": "ulrichsg/getopt-php",
@@ -6171,28 +6416,32 @@
],
"description": "Command line arguments parser for PHP 5.4 - 7.3",
"homepage": "http://getopt-php.github.io/getopt-php",
+ "support": {
+ "issues": "https://github.com/getopt-php/getopt-php/issues",
+ "source": "https://github.com/getopt-php/getopt-php/tree/v3.4.0"
+ },
"time": "2020-07-14T06:09:04+00:00"
},
{
"name": "vimeo/psalm",
- "version": "4.1.0",
+ "version": "4.9.2",
"source": {
"type": "git",
"url": "https://github.com/vimeo/psalm.git",
- "reference": "8929bde5354595dc61947b7e27cfe59db45e3bb0"
+ "reference": "00c062267d6e3229d91a1939992987e2d46f2393"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/vimeo/psalm/zipball/8929bde5354595dc61947b7e27cfe59db45e3bb0",
- "reference": "8929bde5354595dc61947b7e27cfe59db45e3bb0",
+ "url": "https://api.github.com/repos/vimeo/psalm/zipball/00c062267d6e3229d91a1939992987e2d46f2393",
+ "reference": "00c062267d6e3229d91a1939992987e2d46f2393",
"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",
- "composer/xdebug-handler": "^1.1",
+ "composer/xdebug-handler": "^1.1 || ^2.0",
"dnoegel/php-xdg-base-dir": "^0.1.1",
"ext-dom": "*",
"ext-json": "*",
@@ -6201,9 +6450,9 @@
"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",
- "nikic/php-parser": "^4.10.1",
+ "felixfbecker/language-server-protocol": "^1.5",
+ "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0",
+ "nikic/php-parser": "^4.12",
"openlss/lib-array2xml": "^1.0",
"php": "^7.1|^8",
"sebastian/diff": "^3.0 || ^4.0",
@@ -6214,19 +6463,19 @@
"psalm/psalm": "self.version"
},
"require-dev": {
- "amphp/amp": "^2.4.2",
"bamarni/composer-bin-plugin": "^1.2",
- "brianium/paratest": "^4.0.0",
+ "brianium/paratest": "^4.0||^6.0",
"ext-curl": "*",
- "php": "^7.3|^8",
+ "php-parallel-lint/php-parallel-lint": "^1.2",
"phpdocumentor/reflection-docblock": "^5",
- "phpmyadmin/sql-parser": "5.1.0",
+ "phpmyadmin/sql-parser": "5.1.0||dev-master",
"phpspec/prophecy": ">=1.9.0",
"phpunit/phpunit": "^9.0",
- "psalm/plugin-phpunit": "^0.13",
- "slevomat/coding-standard": "^5.0",
+ "psalm/plugin-phpunit": "^0.16",
+ "slevomat/coding-standard": "^7.0",
"squizlabs/php_codesniffer": "^3.5",
- "symfony/process": "^4.3",
+ "symfony/process": "^4.3 || ^5.0",
+ "weirdan/phpunit-appveyor-reporter": "^1.0.0",
"weirdan/prophecy-shim": "^1.0 || ^2.0"
},
"suggest": {
@@ -6272,20 +6521,24 @@
"inspection",
"php"
],
- "time": "2020-10-29T23:55:10+00:00"
+ "support": {
+ "issues": "https://github.com/vimeo/psalm/issues",
+ "source": "https://github.com/vimeo/psalm/tree/4.9.2"
+ },
+ "time": "2021-08-01T01:15:26+00:00"
},
{
"name": "vlucas/phpdotenv",
- "version": "v4.1.8",
+ "version": "v4.2.0",
"source": {
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
- "reference": "572af79d913627a9d70374d27a6f5d689a35de32"
+ "reference": "da64796370fc4eb03cc277088f6fede9fde88482"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/572af79d913627a9d70374d27a6f5d689a35de32",
- "reference": "572af79d913627a9d70374d27a6f5d689a35de32",
+ "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/da64796370fc4eb03cc277088f6fede9fde88482",
+ "reference": "da64796370fc4eb03cc277088f6fede9fde88482",
"shasum": ""
},
"require": {
@@ -6297,7 +6550,7 @@
"bamarni/composer-bin-plugin": "^1.4.1",
"ext-filter": "*",
"ext-pcre": "*",
- "phpunit/phpunit": "^4.8.35 || ^5.7.27 || ^6.5.6 || ^7.0"
+ "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20"
},
"suggest": {
"ext-filter": "Required to use the boolean validator.",
@@ -6336,34 +6589,53 @@
"env",
"environment"
],
- "time": "2020-07-14T19:22:52+00:00"
+ "support": {
+ "issues": "https://github.com/vlucas/phpdotenv/issues",
+ "source": "https://github.com/vlucas/phpdotenv/tree/v4.2.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-01-20T15:11:48+00:00"
},
{
"name": "webmozart/assert",
- "version": "1.9.1",
+ "version": "1.10.0",
"source": {
"type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"
+ "url": "https://github.com/webmozarts/assert.git",
+ "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",
- "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",
+ "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25",
+ "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25",
"shasum": ""
},
"require": {
- "php": "^5.3.3 || ^7.0 || ^8.0",
+ "php": "^7.2 || ^8.0",
"symfony/polyfill-ctype": "^1.8"
},
"conflict": {
"phpstan/phpstan": "<0.12.20",
- "vimeo/psalm": "<3.9.1"
+ "vimeo/psalm": "<4.6.1 || 4.6.2"
},
"require-dev": {
- "phpunit/phpunit": "^4.8.36 || ^7.5.13"
+ "phpunit/phpunit": "^8.5.13"
},
"type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.10-dev"
+ }
+ },
"autoload": {
"psr-4": {
"Webmozart\\Assert\\": "src/"
@@ -6385,7 +6657,11 @@
"check",
"validate"
],
- "time": "2020-07-08T17:02:28+00:00"
+ "support": {
+ "issues": "https://github.com/webmozarts/assert/issues",
+ "source": "https://github.com/webmozarts/assert/tree/1.10.0"
+ },
+ "time": "2021-03-09T10:59:23+00:00"
},
{
"name": "webmozart/path-util",
@@ -6431,6 +6707,10 @@
}
],
"description": "A robust cross-platform utility for normalizing, comparing and modifying file paths.",
+ "support": {
+ "issues": "https://github.com/webmozart/path-util/issues",
+ "source": "https://github.com/webmozart/path-util/tree/2.3.0"
+ },
"time": "2015-12-17T08:42:14+00:00"
}
],
@@ -6440,10 +6720,11 @@
"prefer-stable": true,
"prefer-lowest": false,
"platform": {
- "php": ">=7.2",
- "ext-phalcon": "^4.0.5"
+ "php": ">=7.3",
+ "ext-phalcon": ">=4.0.5"
},
"platform-dev": {
"ext-pdo": "*"
- }
+ },
+ "plugin-api-version": "2.1.0"
}
diff --git a/psalm.xml.dist b/psalm.xml.dist
index 30258a7..14389c6 100644
--- a/psalm.xml.dist
+++ b/psalm.xml.dist
@@ -12,4 +12,8 @@
+
+
+
+
diff --git a/src/Console/Commands/Migration.php b/src/Console/Commands/Migration.php
index fe09b8b..0bcdf00 100644
--- a/src/Console/Commands/Migration.php
+++ b/src/Console/Commands/Migration.php
@@ -86,13 +86,14 @@ public function run(): void
} else {
$config = $this->getConfig($path);
}
+ $application = $config->get('application') ?? [];
// Multiple dir
$migrationsDir = [];
if ($this->parser->has('migrations')) {
$migrationsDir = explode(',', $this->parser->get('migrations'));
- } elseif (isset($config['application']['migrationsDir'])) {
- $migrationsDir = explode(',', $config['application']['migrationsDir']);
+ } elseif (isset($application['migrationsDir'])) {
+ $migrationsDir = explode(',', $application['migrationsDir']);
}
if (!empty($migrationsDir)) {
@@ -113,19 +114,20 @@ public function run(): void
* Keep migrations log in db either "log-in-db" option or "logInDb"
* config variable from "application" block
*/
- $migrationsInDb = $config['application']['logInDb'] ?? $this->parser->has('log-in-db');
+ $migrationsInDb = $application['logInDb'] ?? $this->parser->has('log-in-db');
/**
* Migrations naming is timestamp-based rather than traditional, dotted versions
* either "ts-based" option or "migrationsTsBased" config variable from "application" block
*/
- $migrationsTsBased = $config['application']['migrationsTsBased'] ?? $this->parser->has('ts-based');
+ $migrationsTsBased = $application['migrationsTsBased'] ?? $this->parser->has('ts-based');
- $noAutoIncrement = $config['application']['no-auto-increment'] ?? $this->parser->has('no-auto-increment');
- $skipRefSchema = $config['application']['skip-ref-schema'] ?? $this->parser->has('skip-ref-schema');
- $skipForeignChecks = $config['application']['skip-foreign-checks'] ?? $this->parser->has('skip-foreign-checks');
- $descr = $config['application']['descr'] ?? $this->parser->get('descr');
+ $noAutoIncrement = $application['no-auto-increment'] ?? $this->parser->has('no-auto-increment');
+ $skipRefSchema = $application['skip-ref-schema'] ?? $this->parser->has('skip-ref-schema');
+ $skipForeignChecks = $application['skip-foreign-checks'] ?? $this->parser->has('skip-foreign-checks');
+
+ $descr = $application['descr'] ?? $this->parser->get('descr');
$tableName = $this->parser->get('table', '@');
switch ($action) {
@@ -210,11 +212,12 @@ public function getHelp(): void
protected function exportFromTables($config): array
{
$tables = [];
+ $application = $config->get('application') ?? [];
if ($this->parser->has('exportDataFromTables')) {
$tables = explode(',', $this->parser->get('exportDataFromTables'));
- } elseif (isset($config['application']['exportDataFromTables'])) {
- $configTables = $config['application']['exportDataFromTables'];
+ } elseif (isset($application['exportDataFromTables'])) {
+ $configTables = $application['exportDataFromTables'];
if ($configTables instanceof Config) {
$tables = $configTables->toArray();
} else {
diff --git a/src/Db/Adapter/Pdo/PdoPostgresql.php b/src/Db/Adapter/Pdo/PdoPostgresql.php
new file mode 100644
index 0000000..7ab5303
--- /dev/null
+++ b/src/Db/Adapter/Pdo/PdoPostgresql.php
@@ -0,0 +1,128 @@
+
+ *
+ * For the full copyright and license information, please view
+ * the LICENSE file that was distributed with this source code.
+ */
+
+declare(strict_types=1);
+
+namespace Phalcon\Migrations\Db\Adapter\Pdo;
+
+use Phalcon\Db\Adapter\Pdo\Postgresql;
+use Phalcon\Db\Enum;
+use Phalcon\Db\Index;
+use Phalcon\Db\IndexInterface;
+use Phalcon\Db\Reference;
+use Phalcon\Db\ReferenceInterface;
+
+class PdoPostgresql extends Postgresql
+{
+ public const INDEX_TYPE_PRIMARY = 'PRIMARY KEY';
+ public const INDEX_TYPE_UNIQUE = 'UNIQUE';
+
+ /**
+ * Lists table references
+ *
+ * @param string $table
+ * @param string|null $schema
+ *
+ * @return ReferenceInterface[]
+ */
+ public function describeReferences(string $table, string $schema = null): array
+ {
+ $references = [];
+
+ $rows = $this->fetchAll($this->getDialect()->describeReferences($table, $schema), Enum::FETCH_NUM);
+ foreach ($rows as $reference) {
+ $constraintName = $reference[2];
+ if (!isset($references[$constraintName])) {
+ $referencedSchema = $reference[3];
+ $referencedTable = $reference[4];
+ $referenceUpdate = $reference[6];
+ $referenceDelete = $reference[7];
+ $columns = [];
+ $referencedColumns = [];
+ } else {
+ $referencedSchema = $references[$constraintName]['referencedSchema'];
+ $referencedTable = $references[$constraintName]['referencedTable'];
+ $columns = $references[$constraintName]['columns'];
+ $referencedColumns = $references[$constraintName]['referencedColumns'];
+ $referenceUpdate = $references[$constraintName]['onUpdate'];
+ $referenceDelete = $references[$constraintName]['onDelete'];
+ }
+
+ $columns[] = $reference[1];
+ $referencedColumns[] = $reference[5];
+
+ $references[$constraintName] = [
+ 'referencedSchema' => $referencedSchema,
+ 'referencedTable' => $referencedTable,
+ 'columns' => $columns,
+ 'referencedColumns' => $referencedColumns,
+ 'onUpdate' => $referenceUpdate,
+ 'onDelete' => $referenceDelete
+ ];
+ }
+
+ $referenceObjects = [];
+ foreach ($references as $name => $arrayReference) {
+ $referenceObjects[$name] = new Reference($name, [
+ 'referencedSchema' => $arrayReference['referencedSchema'],
+ 'referencedTable' => $arrayReference['referencedTable'],
+ 'columns' => $arrayReference['columns'],
+ 'referencedColumns' => $arrayReference['referencedColumns'],
+ 'onUpdate' => $arrayReference['onUpdate'],
+ 'onDelete' => $arrayReference['onDelete'],
+ ]);
+ }
+
+ return $referenceObjects;
+ }
+
+ /**
+ * @param string $table
+ * @param string|null $schema
+ *
+ * @return IndexInterface[]
+ */
+ public function describeIndexes(string $table, string $schema = null): array
+ {
+ $indexes = [];
+ $indexObjects = [];
+
+ $_indexes = $this->fetchAll($this->dialect->describeIndexes($table, $schema));
+ foreach ($_indexes as $index) {
+ $keyName = $index['key_name'] ?? $index[2];
+ $nonUnique = $index['non_unique'] ?? true;
+ $isPrimary = $index['is_primary'] ?? false;
+
+ if ($isPrimary) {
+ $indexType = self::INDEX_TYPE_PRIMARY;
+ } elseif (!$nonUnique) {
+ $indexType = self::INDEX_TYPE_UNIQUE;
+ } else {
+ $indexType = '';
+ }
+
+ $columns = $indexes[$keyName]['columns'] ?? [];
+ $columns[] = $index['column_name'] ?? $index[4];
+ $indexes[$keyName]['columns'] = $columns;
+ $indexes[$keyName]['type'] = $indexType;
+ }
+
+ foreach ($indexes as $name => $index) {
+ $indexObjects[$name] = new Index(
+ $name,
+ $index['columns'] ?? [],
+ $index['type'] ?? ''
+ );
+ }
+
+ return $indexObjects;
+ }
+}
diff --git a/src/Db/Dialect/DialectMysql.php b/src/Db/Dialect/DialectMysql.php
new file mode 100644
index 0000000..773de28
--- /dev/null
+++ b/src/Db/Dialect/DialectMysql.php
@@ -0,0 +1,62 @@
+
+ *
+ * For the full copyright and license information, please view
+ * the LICENSE file that was distributed with this source code.
+ */
+
+declare(strict_types=1);
+
+namespace Phalcon\Migrations\Db\Dialect;
+
+use Phalcon\Db\Dialect\Mysql;
+use Phalcon\Db\ReferenceInterface;
+
+class DialectMysql extends Mysql
+{
+ /**
+ * Generates SQL to add an foreign key to a table.
+ *
+ * @param string $tableName
+ * @param string $schemaName
+ * @param ReferenceInterface $reference
+ *
+ * @return string
+ */
+ public function addForeignKey(string $tableName, string $schemaName, ReferenceInterface $reference): string
+ {
+ $sql = 'ALTER TABLE ' . $this->prepareTable($tableName, $schemaName) . ' ADD';
+ if ($reference->getName()) {
+ $sql .= ' CONSTRAINT `' . $reference->getName() . '`';
+ }
+ $sql .= ' FOREIGN KEY (' . $this->getColumnList($reference->getColumns()) . ') REFERENCES ' .
+ $this->prepareTable($reference->getReferencedTable(), $reference->getReferencedSchema()) . '(' .
+ $this->getColumnList($reference->getReferencedColumns()) . ')';
+
+ $onDelete = $reference->getOnDelete();
+ if ($onDelete) {
+ $sql .= ' ON DELETE ' . $onDelete;
+ }
+
+ $onUpdate = $reference->getOnUpdate();
+ if ($onUpdate) {
+ $sql .= ' ON UPDATE ' . $onUpdate;
+ }
+
+ return $sql;
+ }
+
+ /**
+ * Generates SQL to check DB parameter FOREIGN_KEY_CHECKS.
+ *
+ * @return string
+ */
+ public function getForeignKeyChecks(): string
+ {
+ return 'SELECT @@foreign_key_checks';
+ }
+}
diff --git a/src/Db/Dialect/DialectPostgresql.php b/src/Db/Dialect/DialectPostgresql.php
new file mode 100644
index 0000000..23a477a
--- /dev/null
+++ b/src/Db/Dialect/DialectPostgresql.php
@@ -0,0 +1,82 @@
+
+ *
+ * For the full copyright and license information, please view
+ * the LICENSE file that was distributed with this source code.
+ */
+
+declare(strict_types=1);
+
+namespace Phalcon\Migrations\Db\Dialect;
+
+use Phalcon\Db\Dialect\Postgresql;
+
+class DialectPostgresql extends Postgresql
+{
+ /**
+ * Generates SQL to query foreign keys on a table
+ *
+ * @param string $table
+ * @param string|null $schema
+ *
+ * @return string
+ */
+ public function describeReferences(string $table, string $schema = null): string
+ {
+ $sql = "
+ SELECT DISTINCT
+ tc.table_name as TABLE_NAME,
+ kcu.column_name as COLUMN_NAME,
+ tc.constraint_name as CONSTRAINT_NAME,
+ tc.table_schema as REFERENCED_TABLE_SCHEMA,
+ ccu.table_name AS REFERENCED_TABLE_NAME,
+ ccu.column_name AS REFERENCED_COLUMN_NAME,
+ rc.update_rule AS UPDATE_RULE,
+ rc.delete_rule AS DELETE_RULE
+ FROM information_schema.table_constraints AS tc
+ JOIN information_schema.key_column_usage AS kcu
+ ON tc.constraint_name = kcu.constraint_name
+ JOIN information_schema.constraint_column_usage AS ccu
+ ON ccu.constraint_name = tc.constraint_name
+ JOIN information_schema.referential_constraints rc
+ ON tc.constraint_catalog = rc.constraint_catalog
+ AND tc.constraint_schema = rc.constraint_schema
+ AND tc.constraint_name = rc.constraint_name
+ AND tc.constraint_type = 'FOREIGN KEY'
+ WHERE constraint_type = 'FOREIGN KEY'
+ AND ";
+
+ if ($schema) {
+ $sql .= "tc.table_schema = '" . $schema . "' AND tc.table_name='" . $table . "'";
+ } else {
+ $sql .= "tc.table_schema = 'public' AND tc.table_name='" . $table . "'";
+ }
+
+ return $sql;
+ }
+
+ public function describeIndexes(string $table, string $schema = null): string
+ {
+ return "
+ SELECT
+ t.relname as table_name,
+ NOT ix.indisunique AS non_unique,
+ i.relname as key_name,
+ ix.indisprimary AS is_primary,
+ a.attname as column_name
+ FROM pg_class t, pg_class i, pg_index ix, pg_attribute a
+ WHERE
+ t.oid = ix.indrelid
+ AND i.oid = ix.indexrelid
+ AND a.attrelid = t.oid
+ AND a.attnum = ANY(ix.indkey)
+ AND t.relkind = 'r'
+ AND t.relname = '" . $table . "'
+ ORDER BY t.relname, i.relname;
+ ";
+ }
+}
diff --git a/src/Migration/Action/Generate.php b/src/Migration/Action/Generate.php
index 63ba2eb..050bb05 100644
--- a/src/Migration/Action/Generate.php
+++ b/src/Migration/Action/Generate.php
@@ -64,6 +64,20 @@ class Generate
Column::TYPE_ENUM => 'TYPE_ENUM',
];
+ /**
+ * @var array
+ */
+ protected $supportedColumnTypesPgsql = [
+ Column::TYPE_DOUBLE => 'TYPE_FLOAT',
+ ];
+
+ /**
+ * @var array
+ */
+ protected $supportedColumnTypesMysql = [
+ Column::TYPE_DOUBLE => 'TYPE_DOUBLE',
+ ];
+
/**
* @var array
*/
@@ -198,28 +212,35 @@ public function __construct(
public function getColumns(): Generator
{
$currentColumnName = null;
+ if ($this->adapter === Migration::DB_ADAPTER_POSTGRESQL) {
+ $supportedColumnTypes = \array_replace($this->supportedColumnTypes, $this->supportedColumnTypesPgsql);
+ } elseif ($this->adapter === Migration::DB_ADAPTER_MYSQL) {
+ $supportedColumnTypes = \array_replace($this->supportedColumnTypes, $this->supportedColumnTypesMysql);
+ } else {
+ $supportedColumnTypes = $this->supportedColumnTypes;
+ }
foreach ($this->columns as $column) {
/** @var ColumnInterface $column */
$columnType = $column->getType();
- if (!isset($this->supportedColumnTypes[$columnType])) {
+ if (!isset($supportedColumnTypes[$columnType])) {
throw new UnknownColumnTypeException($column);
}
- if (in_array($columnType, $this->numericColumnTypes)) {
+ if (in_array($columnType, $this->numericColumnTypes, true)) {
$this->numericColumns[$column->getName()] = true;
}
$definition = [
- "'type' => Column::" . $this->supportedColumnTypes[$columnType],
+ "'type' => Column::" . $supportedColumnTypes[$columnType],
];
if ($column->hasDefault() && !$column->isAutoIncrement()) {
$definition[] = sprintf("'default' => \"%s\"", $column->getDefault());
}
- if ($column->isPrimary() && $this->adapter == Migration::DB_ADAPTER_POSTGRESQL) {
+ if ($this->adapter === Migration::DB_ADAPTER_POSTGRESQL && $column->isPrimary()) {
$definition[] = "'primary' => true";
$this->primaryColumnName = $column->getName();
}
@@ -277,7 +298,7 @@ public function getIndexes(): Generator
$definition = [];
foreach ($index->getColumns() as $column) {
// [PostgreSQL] Skip primary key column
- if ($this->adapter !== Migration::DB_ADAPTER_POSTGRESQL && $column !== $this->getPrimaryColumnName()) {
+ if ($column !== $this->getPrimaryColumnName()) {
$definition[] = $this->wrapWithQuotes($column);
}
}
@@ -336,7 +357,7 @@ public function getOptions(bool $skipAI): array
* All options keys must be UPPERCASE!
*/
$name = strtoupper($name);
- if ($skipAI && $name == 'AUTO_INCREMENT') {
+ if ($skipAI && $name === 'AUTO_INCREMENT') {
$value = '';
}
diff --git a/src/Migrations.php b/src/Migrations.php
index 3944161..5f8b650 100644
--- a/src/Migrations.php
+++ b/src/Migrations.php
@@ -21,6 +21,8 @@
use Phalcon\Db\Exception as DbException;
use Phalcon\Migrations\Console\Color;
use Phalcon\Migrations\Console\OptionStack;
+use Phalcon\Migrations\Db\Dialect\DialectMysql;
+use Phalcon\Migrations\Db\Dialect\DialectPostgresql;
use Phalcon\Migrations\Exception\RuntimeException;
use Phalcon\Migrations\Mvc\Model\Migration as ModelMigration;
use Phalcon\Migrations\Mvc\Model\Migration\TableAware\ListTablesDb;
@@ -154,7 +156,7 @@ public static function generate(array $options)
$optionStack->setOption('tableName', $listTables->listTablesForPrefix($prefix));
}
- if ($optionStack->getOption('tableName') == '') {
+ if ($optionStack->getOption('tableName') === '') {
print Color::info('No one table is created. You should create tables first.') . PHP_EOL;
return;
}
@@ -178,10 +180,12 @@ public static function generate(array $options)
}
}
- if (self::isConsole() && $wasMigrated) {
- print Color::success('Version ' . $versionItem->getVersion() . ' was successfully generated') . PHP_EOL;
- } elseif (self::isConsole() && !$optionStack->getOption('verbose')) {
- print Color::info('Nothing to generate. You should create tables first.') . PHP_EOL;
+ if (self::isConsole()) {
+ if ($wasMigrated) {
+ print Color::success('Version ' . $versionItem->getVersion() . ' was successfully generated') . PHP_EOL;
+ } elseif (!$optionStack->getOption('verbose')) {
+ print Color::info('Nothing to generate. You should create tables first.') . PHP_EOL;
+ }
}
return true;
@@ -314,24 +318,27 @@ public static function run(array $options)
/** @var IncrementalItem $versionItem */
foreach ($versionsBetween as $versionItem) {
- if ($initialVersion->getVersion() == $versionItem->getVersion()) {
+ if ($initialVersion->getVersion() === $versionItem->getVersion()) {
$initialVersion->setPath($versionItem->getPath());
}
// If we are rolling back, we skip migrating when initialVersion is the same as current
if (
- $initialVersion->getVersion() === $versionItem->getVersion() &&
ModelMigration::DIRECTION_BACK === $direction
+ && $initialVersion->getVersion() === $versionItem->getVersion()
) {
continue;
}
-
- if ((ModelMigration::DIRECTION_FORWARD === $direction) && isset($completedVersions[(string)$versionItem])) {
+ if (
+ ModelMigration::DIRECTION_FORWARD === $direction
+ && isset($completedVersions[(string)$versionItem])
+ ) {
print Color::info('Version ' . (string)$versionItem . ' was already applied');
continue;
- } elseif (
- (ModelMigration::DIRECTION_BACK === $direction) &&
- !isset($completedVersions[(string)$initialVersion])
+ }
+ if (
+ ModelMigration::DIRECTION_BACK === $direction
+ && !isset($completedVersions[(string)$initialVersion])
) {
print Color::info('Version ' . (string)$initialVersion . ' was already rolled back');
$initialVersion = $versionItem;
@@ -355,8 +362,8 @@ public static function run(array $options)
$iterator = new DirectoryIterator($directoryIterator);
if (
- $initialVersion->getVersion() === $finalVersion->getVersion() &&
ModelMigration::DIRECTION_BACK === $direction
+ && $initialVersion->getVersion() === $finalVersion->getVersion()
) {
break;
}
@@ -393,7 +400,7 @@ public static function run(array $options)
}
}
- if (ModelMigration::DIRECTION_FORWARD == $direction) {
+ if (ModelMigration::DIRECTION_FORWARD === $direction) {
self::addCurrentVersion($optionStack->getOptions(), (string)$versionItem, $migrationStartTime);
print Color::success('Version ' . $versionItem . ' was successfully migrated');
} else {
@@ -513,10 +520,16 @@ private static function connectionSetup(array $options): void
unset($configArray['adapter']);
self::$storage = new $adapter($configArray);
- if ($database->adapter === 'Mysql') {
+ $dbAdapter = strtolower((string) $database->adapter);
+ if ($dbAdapter === ModelMigration::DB_ADAPTER_MYSQL) {
+ self::$storage->setDialect(new DialectMysql());
self::$storage->query('SET FOREIGN_KEY_CHECKS=0');
}
+ if ($dbAdapter === ModelMigration::DB_ADAPTER_POSTGRESQL) {
+ self::$storage->setDialect(new DialectPostgresql());
+ }
+
if (!self::$storage->tableExists(self::MIGRATION_LOG_TABLE)) {
self::createLogTable();
}
@@ -541,10 +554,14 @@ private static function connectionSetup(array $options): void
if (is_file($path)) {
unlink($path);
- mkdir($path);
+ if (!mkdir($path) && !is_dir($path)) {
+ throw new \RuntimeException(sprintf('Directory "%s" was not created', $path));
+ }
chmod($path, 0775);
} elseif (!is_dir($path)) {
- mkdir($path);
+ if (!mkdir($path) && !is_dir($path)) {
+ throw new \RuntimeException(sprintf('Directory "%s" was not created', $path));
+ }
chmod($path, 0775);
}
@@ -578,24 +595,22 @@ public static function getCurrentVersion(array $options)
if (0 == $lastGoodMigration->numRows()) {
return VersionCollection::createItem(null);
- } else {
- $lastGoodMigration = $lastGoodMigration->fetchArray();
-
- return VersionCollection::createItem($lastGoodMigration['version']);
- }
- } else {
- // Get and clean migration
- $version = file_exists(self::$storage) ? file_get_contents(self::$storage) : null;
- $version = $version ? trim($version) : null;
-
- if ($version !== null) {
- $version = preg_split('/\r\n|\r|\n/', $version, -1, PREG_SPLIT_NO_EMPTY);
- natsort($version);
- $version = array_pop($version);
}
+ $lastGoodMigration = $lastGoodMigration->fetchArray();
- return VersionCollection::createItem($version);
+ return VersionCollection::createItem($lastGoodMigration['version']);
}
+ // Get and clean migration
+ $version = file_exists(self::$storage) ? file_get_contents(self::$storage) : null;
+ $version = $version ? trim($version) : null;
+
+ if ($version !== null) {
+ $version = preg_split('/\r\n|\r|\n/', $version, -1, PREG_SPLIT_NO_EMPTY);
+ natsort($version);
+ $version = array_pop($version);
+ }
+
+ return VersionCollection::createItem($version);
}
/**
diff --git a/src/Mvc/Model/Migration.php b/src/Mvc/Model/Migration.php
index ea7ca00..50a24fe 100644
--- a/src/Mvc/Model/Migration.php
+++ b/src/Mvc/Model/Migration.php
@@ -18,13 +18,15 @@
use Phalcon\Config;
use Phalcon\Db\Adapter\AbstractAdapter;
use Phalcon\Db\Adapter\Pdo\Mysql as PdoMysql;
-use Phalcon\Db\Adapter\Pdo\Postgresql as PdoPostgresql;
use Phalcon\Db\ColumnInterface;
use Phalcon\Db\Enum;
use Phalcon\Db\Exception as DbException;
use Phalcon\Db\IndexInterface;
use Phalcon\Db\ReferenceInterface;
use Phalcon\Events\Manager as EventsManager;
+use Phalcon\Migrations\Db\Adapter\Pdo\PdoPostgresql;
+use Phalcon\Migrations\Db\Dialect\DialectMysql;
+use Phalcon\Migrations\Db\Dialect\DialectPostgresql;
use Phalcon\Migrations\Exception\Db\UnknownColumnTypeException;
use Phalcon\Migrations\Exception\RuntimeException;
use Phalcon\Migrations\Generator\Snippet;
@@ -110,9 +112,10 @@ public static function setup(Config $database, bool $verbose = false): void
*
* @see: Phalcon\Db\Dialect\PdoMysql The extended and fixed dialect class for MySQL
*/
- if ($database->adapter == 'Mysql') {
+ $dbAdapter = strtolower((string) $database->adapter);
+ if ($dbAdapter === self::DB_ADAPTER_MYSQL) {
$adapter = PdoMysql::class;
- } elseif ($database->adapter == 'Postgresql') {
+ } elseif ($dbAdapter === self::DB_ADAPTER_POSTGRESQL) {
$adapter = PdoPostgresql::class;
} else {
$adapter = '\\Phalcon\\Db\\Adapter\\Pdo\\' . $database->adapter;
@@ -130,7 +133,17 @@ public static function setup(Config $database, bool $verbose = false): void
self::$connection = $connection;
self::$databaseConfig = $database;
- if (!Migrations::isConsole() || !$verbose) {
+ // Connection custom dialect Dialect/DialectMysql
+ if ($dbAdapter === self::DB_ADAPTER_MYSQL) {
+ self::$connection->setDialect(new DialectMysql());
+ }
+
+ // Connection custom dialect Dialect/DialectPostgresql
+ if ($dbAdapter === self::DB_ADAPTER_POSTGRESQL) {
+ self::$connection->setDialect(new DialectPostgresql());
+ }
+
+ if (!$verbose || !Migrations::isConsole()) {
return;
}
@@ -205,7 +218,7 @@ public static function generate(
bool $skipRefSchema = false
): string {
$snippet = new Snippet();
- $adapter = (string)self::$databaseConfig->path('adapter');
+ $adapter = strtolower((string)self::$databaseConfig->path('adapter'));
$defaultSchema = self::resolveDbSchema(self::$databaseConfig);
$description = self::$connection->describeColumns($table, $defaultSchema);
$indexes = self::$connection->describeIndexes($table, $defaultSchema);
@@ -227,7 +240,7 @@ public static function generate(
*/
$indexesDefinition = [];
foreach ($generateAction->getIndexes() as $indexName => $indexDefinition) {
- list($definition, $type) = $indexDefinition;
+ [$definition, $type] = $indexDefinition;
$indexesDefinition[] = $snippet->getIndexDefinition($indexName, $definition, $type);
}
@@ -276,7 +289,7 @@ public static function generate(
// down()
$classData .= $snippet->getMigrationDown();
- if ($exportData == 'always' || self::shouldExportDataFromTable($table, $exportTables)) {
+ if ($exportData === 'always' || self::shouldExportDataFromTable($table, $exportTables)) {
$classData .= $snippet->getMigrationBatchDelete($table);
}
@@ -293,8 +306,8 @@ public static function generate(
$numericColumns = $generateAction->getNumericColumns();
// dump data
if (
- $exportData == 'always' ||
- $exportData == 'oncreate' ||
+ $exportData === 'always' ||
+ $exportData === 'oncreate' ||
self::shouldExportDataFromTable($table, $exportTables)
) {
$fileHandler = fopen(self::$migrationPath . $version->getVersion() . '/' . $table . '.dat', 'w');
@@ -321,8 +334,7 @@ public static function generate(
}
fputcsv($fileHandler, $data);
- unset($row);
- unset($data);
+ unset($row, $data);
}
fclose($fileHandler);
@@ -354,7 +366,7 @@ public static function migrate(
$fromVersion = $fromVersion ?: VersionCollection::createItem($fromVersion);
$toVersion = $toVersion ?: VersionCollection::createItem($toVersion);
- if ($fromVersion->getStamp() == $toVersion->getStamp()) {
+ if ($fromVersion->getStamp() === $toVersion->getStamp()) {
return; // nothing to do
}
@@ -370,7 +382,7 @@ public static function migrate(
if ($fromVersion->getStamp() < $toVersion->getStamp()) {
$toMigration = self::createClass($toVersion, $tableName);
- if (is_object($toMigration)) {
+ if (null !== $toMigration) {
// morph the table structure
if (method_exists($toMigration, 'morph')) {
$toMigration->morph();
@@ -389,7 +401,7 @@ public static function migrate(
// reset the data modifications
$fromMigration = self::createClass($fromVersion, $tableName);
- if (is_object($fromMigration) && method_exists($fromMigration, 'down')) {
+ if (null !== $fromMigration && method_exists($fromMigration, 'down')) {
$fromMigration->down();
if (method_exists($fromMigration, 'afterDown')) {
@@ -510,7 +522,7 @@ public function morphTable(string $tableName, array $definition): void
$tableSchema = (string)$defaultSchema;
if (isset($definition['columns'])) {
- if (count($definition['columns']) == 0) {
+ if (count($definition['columns']) === 0) {
throw new DbException('Table must have at least one column');
}
@@ -557,23 +569,23 @@ public function morphTable(string $tableName, array $definition): void
}
$changed = false;
- if ($localFields[$fieldName]->getType() != $column->getType()) {
+ if ($localFields[$fieldName]->getType() !== $column->getType()) {
$changed = true;
}
- if ($localFields[$fieldName]->getSize() != $column->getSize()) {
+ if ($localFields[$fieldName]->getSize() !== $column->getSize()) {
$changed = true;
}
- if ($localFields[$fieldName]->isNotNull() != $column->isNotNull()) {
+ if ($localFields[$fieldName]->isNotNull() !== $column->isNotNull()) {
$changed = true;
}
- if ($localFields[$fieldName]->getDefault() != $column->getDefault()) {
+ if ($localFields[$fieldName]->getDefault() !== $column->getDefault()) {
$changed = true;
}
- if ($localFields[$fieldName]->isUnsigned() != $column->isUnsigned()) {
+ if ($localFields[$fieldName]->isUnsigned() !== $column->isUnsigned()) {
$changed = true;
}
@@ -679,33 +691,31 @@ public function morphTable(string $tableName, array $definition): void
$changed = false;
if (
- $tableReference->getReferencedTable() !=
+ $tableReference->getReferencedTable() !==
$localReferences[$tableReference->getName()]['referencedTable']
) {
$changed = true;
}
- if (!$changed) {
- if (
- count($tableReference->getColumns()) !=
- count($localReferences[$tableReference->getName()]['columns'])
- ) {
- $changed = true;
- }
+ if (
+ !$changed
+ && count($tableReference->getColumns()) !==
+ count($localReferences[$tableReference->getName()]['columns'])
+ ) {
+ $changed = true;
}
- if (!$changed) {
- if (
- count($tableReference->getReferencedColumns()) !=
- count($localReferences[$tableReference->getName()]['referencedColumns'])
- ) {
- $changed = true;
- }
+ if (
+ !$changed
+ && count($tableReference->getReferencedColumns()) !==
+ count($localReferences[$tableReference->getName()]['referencedColumns'])
+ ) {
+ $changed = true;
}
if (!$changed) {
foreach ($tableReference->getColumns() as $columnName) {
- if (!in_array($columnName, $localReferences[$tableReference->getName()]['columns'])) {
+ if (!in_array($columnName, $localReferences[$tableReference->getName()]['columns'], true)) {
$changed = true;
break;
}
@@ -714,7 +724,8 @@ public function morphTable(string $tableName, array $definition): void
if (!$changed) {
foreach ($tableReference->getReferencedColumns() as $columnName) {
- if (!in_array($columnName, $localReferences[$tableReference->getName()]['referencedColumns'])) {
+ $referencedColumns = $localReferences[$tableReference->getName()]['referencedColumns'];
+ if (!in_array($columnName, $referencedColumns, true)) {
$changed = true;
break;
}
@@ -797,18 +808,18 @@ public function morphTable(string $tableName, array $definition): void
foreach ($definition['indexes'] as $tableIndex) {
if (!isset($localIndexes[$tableIndex->getName()])) {
- if ($tableIndex->getName() == 'PRIMARY') {
+ if ($tableIndex->getName() === 'PRIMARY' || $tableIndex->getType() === 'PRIMARY KEY') {
$this->addPrimaryKey($tableName, $tableSchema, $tableIndex);
} else {
$this->addIndex($tableName, $tableSchema, $tableIndex);
}
} else {
$changed = false;
- if (count($tableIndex->getColumns()) != count($localIndexes[$tableIndex->getName()])) {
+ if (count($tableIndex->getColumns()) !== count($localIndexes[$tableIndex->getName()])) {
$changed = true;
} else {
foreach ($tableIndex->getColumns() as $columnName) {
- if (!in_array($columnName, $localIndexes[$tableIndex->getName()])) {
+ if (!in_array($columnName, $localIndexes[$tableIndex->getName()], true)) {
$changed = true;
break;
}
@@ -816,7 +827,7 @@ public function morphTable(string $tableName, array $definition): void
}
if ($changed) {
- if ($tableIndex->getName() == 'PRIMARY') {
+ if ($tableIndex->getName() === 'PRIMARY' || $tableIndex->getType() === 'PRIMARY KEY') {
$this->dropPrimaryKey($tableName, $tableSchema);
$this->addPrimaryKey($tableName, $tableSchema, $tableIndex);
} else {
diff --git a/tests/_support/Helper/Mysql.php b/tests/_support/Helper/Mysql.php
index 091f037..72d1d36 100644
--- a/tests/_support/Helper/Mysql.php
+++ b/tests/_support/Helper/Mysql.php
@@ -11,6 +11,8 @@
use Phalcon\Db\Adapter\Pdo\AbstractPdo;
use Phalcon\Db\Adapter\PdoFactory;
use Phalcon\Db\Exception;
+use Phalcon\Db\Adapter\Pdo\Mysql as PdoMysql;
+use Phalcon\Migrations\Db\Dialect\DialectMysql;
use Phalcon\Migrations\Migrations;
class Mysql extends Module
@@ -23,11 +25,8 @@ class Mysql extends Module
public function _initialize()
{
/** @var AbstractPdo $db */
- self::$phalconDb = (new PdoFactory())
- ->newInstance(
- 'mysql',
- $this->getMigrationsConfig()->get('database')->toArray()
- );
+ self::$phalconDb = new PdoMysql($this->getMigrationsConfig()->get('database')->toArray());
+ self::$phalconDb->setDialect(new DialectMysql());
}
public function _before(TestInterface $test)
diff --git a/tests/_support/Helper/Postgresql.php b/tests/_support/Helper/Postgresql.php
index e9eb78b..24ee577 100644
--- a/tests/_support/Helper/Postgresql.php
+++ b/tests/_support/Helper/Postgresql.php
@@ -8,7 +8,8 @@
use Codeception\TestInterface;
use Phalcon\Config;
use Phalcon\Db\Adapter\Pdo\AbstractPdo;
-use Phalcon\Db\Adapter\PdoFactory;
+use Phalcon\Migrations\Db\Adapter\Pdo\PdoPostgresql;
+use Phalcon\Migrations\Db\Dialect\DialectPostgresql;
use Phalcon\Migrations\Migrations;
class Postgresql extends Module
@@ -33,11 +34,8 @@ public function _initialize()
self::$defaultSchema = getenv('POSTGRES_TEST_DB_SCHEMA');
/** @var AbstractPdo $db */
- self::$phalconDb = (new PdoFactory())
- ->newInstance(
- 'postgresql',
- $options
- );
+ self::$phalconDb = new PdoPostgresql($options);
+ self::$phalconDb->setDialect(new DialectPostgresql());
}
public function _before(TestInterface $test)
diff --git a/tests/_support/MysqlTester.php b/tests/_support/MysqlTester.php
index 531a5e4..0245076 100644
--- a/tests/_support/MysqlTester.php
+++ b/tests/_support/MysqlTester.php
@@ -22,4 +22,14 @@ class MysqlTester extends \Codeception\Actor
/**
* Define custom actions here
*/
+ public function seeExceptionThrown(string $exception, $function): ?bool
+ {
+ try {
+ $function();
+
+ return false;
+ } catch (\Throwable $throwable) {
+ return get_class($throwable) === $exception;
+ }
+ }
}
diff --git a/tests/_support/PostgresqlTester.php b/tests/_support/PostgresqlTester.php
index 5464645..f86d54a 100644
--- a/tests/_support/PostgresqlTester.php
+++ b/tests/_support/PostgresqlTester.php
@@ -14,12 +14,22 @@
* @method void pause()
*
* @SuppressWarnings(PHPMD)
-*/
+ */
class PostgresqlTester extends \Codeception\Actor
{
use _generated\PostgresqlTesterActions;
- /**
- * Define custom actions here
- */
+ /**
+ * Define custom actions here
+ */
+ public function seeExceptionThrown(string $exception, $function): ?bool
+ {
+ try {
+ $function();
+
+ return false;
+ } catch (\Throwable $throwable) {
+ return get_class($throwable) === $exception;
+ }
+ }
}
diff --git a/tests/cli/GenerateCest.php b/tests/cli/GenerateCest.php
index 8130378..8e24efe 100644
--- a/tests/cli/GenerateCest.php
+++ b/tests/cli/GenerateCest.php
@@ -61,6 +61,10 @@ public function generateFirstVersion(CliTester $I): void
'size' => 10,
'notNull' => true,
]),
+ new Column('num_point', [
+ 'type' => Column::TYPE_FLOAT,
+ 'notNull' => true,
+ ]),
],
]);
diff --git a/tests/integration/Migration/Action/GenerateCest.php b/tests/integration/Migration/Action/GenerateCest.php
index bdfe6f6..5c80f00 100644
--- a/tests/integration/Migration/Action/GenerateCest.php
+++ b/tests/integration/Migration/Action/GenerateCest.php
@@ -26,9 +26,9 @@ final class GenerateCest
* @param IntegrationTester $I
* @throws UnknownColumnTypeException
*/
- public function construct(IntegrationTester $I): void
+ public function constructMysql(IntegrationTester $I): void
{
- $I->wantToTest('Migration\Action\Generate - __construct()');
+ $I->wantToTest('Migration\Action\Generate - __construct(Mysql)');
$adapter = 'mysql';
$class = new Generate($adapter);
@@ -42,6 +42,26 @@ public function construct(IntegrationTester $I): void
$I->assertNull($class->getPrimaryColumnName());
}
+ /**
+ * @param IntegrationTester $I
+ * @throws UnknownColumnTypeException
+ */
+ public function constructPostgresql(IntegrationTester $I): void
+ {
+ $I->wantToTest('Migration\Action\Generate - __construct(Postgresql)');
+
+ $adapter = 'postgresql';
+ $class = new Generate($adapter);
+
+ $I->assertSame($adapter, $class->getAdapter());
+ $I->assertIsObject($class->getColumns());
+ $I->assertIsObject($class->getIndexes());
+ $I->assertIsObject($class->getReferences());
+ $I->assertIsArray($class->getOptions(false));
+ $I->assertIsArray($class->getNumericColumns());
+ $I->assertNull($class->getPrimaryColumnName());
+ }
+
/**
* @param IntegrationTester $I
*/
diff --git a/tests/mysql/Issue29Cest.php b/tests/mysql/Issue29Cest.php
deleted file mode 100644
index a4b8fe5..0000000
--- a/tests/mysql/Issue29Cest.php
+++ /dev/null
@@ -1,47 +0,0 @@
-
- *
- * For the full copyright and license information, please view
- * the LICENSE file that was distributed with this source code.
- */
-
-declare(strict_types=1);
-
-namespace Phalcon\Migrations\Tests\Mysql;
-
-use MysqlTester;
-use Phalcon\Db\Exception;
-use Phalcon\Migrations\Migrations;
-
-use function codecept_data_dir;
-
-/**
- * @see https://github.com/phalcon/migrations/issues/29
- */
-class Issue29Cest
-{
- /**
- * @param MysqlTester $I
- * @throws Exception
- */
- public function testIssue29(MysqlTester $I): void
- {
- $I->wantToTest('Issue #29 - Foreign key was created');
-
- ob_start();
- Migrations::run([
- 'migrationsDir' => codecept_data_dir('issues/29'),
- 'config' => $I->getMigrationsConfig(),
- 'migrationsInDb' => true,
- ]);
- ob_clean();
-
- $I->assertTrue($I->getPhalconDb()->tableExists('tasks'));
- $I->assertTrue($I->getPhalconDb()->tableExists('task_jobs'));
- $I->assertArrayHasKey('task_jobs_tasks_id_fk', $I->getPhalconDb()->describeReferences('task_jobs'));
- }
-}
diff --git a/tests/mysql/Issue2Cest.php b/tests/mysql/IssuesCest.php
similarity index 52%
rename from tests/mysql/Issue2Cest.php
rename to tests/mysql/IssuesCest.php
index 8e70fd9..bae1b9f 100644
--- a/tests/mysql/Issue2Cest.php
+++ b/tests/mysql/IssuesCest.php
@@ -19,13 +19,13 @@
use function codecept_data_dir;
-/**
- * @see https://github.com/phalcon/migrations/issues/2
- */
-class Issue2Cest
+class IssuesCest
{
/**
+ * @see https://github.com/phalcon/migrations/issues/2
* @param MysqlTester $I
+ * @throws \Phalcon\Migrations\Script\ScriptException
+ * @throws \Phalcon\Mvc\Model\Exception
* @throws Exception
*/
public function testDisableEnableForeignKeyChecks(MysqlTester $I): void
@@ -44,4 +44,28 @@ public function testDisableEnableForeignKeyChecks(MysqlTester $I): void
$I->assertTrue($I->getPhalconDb()->tableExists('client'));
$I->assertArrayHasKey('fk_accessToken_client_1', $I->getPhalconDb()->describeReferences('accessToken'));
}
+
+ /**
+ * @see https://github.com/phalcon/migrations/issues/29
+ * @param MysqlTester $I
+ * @throws \Phalcon\Migrations\Script\ScriptException
+ * @throws \Phalcon\Mvc\Model\Exception
+ * @throws Exception
+ */
+ public function testIssue29(MysqlTester $I): void
+ {
+ $I->wantToTest('Issue #29 - Foreign key was created');
+
+ ob_start();
+ Migrations::run([
+ 'migrationsDir' => codecept_data_dir('issues/29'),
+ 'config' => $I->getMigrationsConfig(),
+ 'migrationsInDb' => true,
+ ]);
+ ob_clean();
+
+ $I->assertTrue($I->getPhalconDb()->tableExists('tasks'));
+ $I->assertTrue($I->getPhalconDb()->tableExists('task_jobs'));
+ $I->assertArrayHasKey('task_jobs_tasks_id_fk', $I->getPhalconDb()->describeReferences('task_jobs'));
+ }
}
diff --git a/tests/mysql/MigrationsCest.php b/tests/mysql/MigrationsCest.php
index 631cdc1..0c06d76 100644
--- a/tests/mysql/MigrationsCest.php
+++ b/tests/mysql/MigrationsCest.php
@@ -273,7 +273,7 @@ public function generateWithAutoIncrement(MysqlTester $I): void
ob_clean();
$I->assertEquals(4, $autoIncrement);
- $I->assertContains(
+ $I->assertStringContainsString(
"'AUTO_INCREMENT' => '4'",
file_get_contents($migrationsDir . '/1.0.0/' . $tableName . '.php')
);
@@ -322,7 +322,7 @@ public function generateWithoutAutoIncrement(MysqlTester $I): void
ob_clean();
$I->assertEquals(4, $autoIncrement);
- $I->assertContains(
+ $I->assertStringContainsString(
"'AUTO_INCREMENT' => ''",
file_get_contents($migrationsDir . '/1.0.0/' . $tableName . '.php')
);
@@ -401,7 +401,7 @@ public function generateWithExportOnCreate(MysqlTester $I): void
$migrationContents = file_get_contents($migrationsDir . '/1.0.0/' . $tableName . '.php');
$I->assertSame(1, substr_count($migrationContents, 'this->batchInsert'));
- $I->assertContains(
+ $I->assertStringContainsString(
'3',
file_get_contents($migrationsDir . '/1.0.0/' . $tableName . '.dat')
);
diff --git a/tests/postgresql/IssuesCest.php b/tests/postgresql/IssuesCest.php
index d31f105..8a10e78 100644
--- a/tests/postgresql/IssuesCest.php
+++ b/tests/postgresql/IssuesCest.php
@@ -13,7 +13,10 @@
namespace Phalcon\Migrations\Tests\PostgreSQL;
+use Exception;
use Phalcon\Db\Column;
+use Phalcon\Db\Index;
+use Phalcon\Migrations\Db\Adapter\Pdo\PdoPostgresql;
use Phalcon\Migrations\Migrations;
use PostgresqlTester;
@@ -21,6 +24,8 @@ final class IssuesCest
{
public function issue1(PostgresqlTester $I): void
{
+ $I->wantToTest('Issue #1 - Primary key was created');
+
$tableName = 'table_primary_test';
$migrationsDir = codecept_output_dir(__FUNCTION__);
@@ -56,4 +61,123 @@ public function issue1(PostgresqlTester $I): void
$I->assertSame(1, count($indexes));
}
+
+ /**
+ * @throws Exception
+ */
+ public function testIssue111Fail(PostgresqlTester $I): void
+ {
+ $I->wantToTest('Issue #111 - Unrecognized PostgreSQL data type [FAIL]');
+
+ $tableName = 'pg_phalcon_double';
+ $migrationsDir = codecept_output_dir(__FUNCTION__);
+
+ $I->seeExceptionThrown(
+ Phalcon\Db\Exception::class,
+ function () use ($I, $tableName) {
+ $I->getPhalconDb()->createTable($tableName, $I->getDefaultSchema(), [
+ 'columns' => [
+ new Column('point_double_column', [
+ 'type' => Column::TYPE_DOUBLE,
+ 'default' => 0,
+ 'notNull' => false,
+ 'comment' => "Double typed column",
+ ]),
+ ],
+ ]);
+ }
+ );
+
+ ob_start();
+ Migrations::generate([
+ 'migrationsDir' => [
+ $migrationsDir,
+ ],
+ 'config' => $I->getMigrationsConfig(),
+ 'tableName' => '@',
+ ]);
+ $I->getPhalconDb()->dropTable($tableName);
+ Migrations::run([
+ 'migrationsDir' => $migrationsDir,
+ 'config' => $I->getMigrationsConfig(),
+ 'migrationsInDb' => true,
+ ]);
+ ob_clean();
+
+ $indexes = $I->getPhalconDb()->describeIndexes(Migrations::MIGRATION_LOG_TABLE);
+
+ $I->assertFalse($I->getPhalconDb()->tableExists($tableName, $I->getDefaultSchema()));
+ $I->assertTrue($I->getPhalconDb()->tableExists(Migrations::MIGRATION_LOG_TABLE, $I->getDefaultSchema()));
+ $I->assertSame(1, count($indexes));
+ }
+
+ /**
+ * @throws Exception
+ */
+ public function testIssue111Fixed(PostgresqlTester $I): void
+ {
+ $I->wantToTest('Issue #111 - Unrecognized PostgreSQL data type [FIXED]');
+
+ $tableName = 'pg_phalcon_double';
+ $migrationsDir = codecept_output_dir(__FUNCTION__);
+ $I->getPhalconDb()->createTable($tableName, $I->getDefaultSchema(), [
+ 'columns' => [
+ new Column('point_double_column', [
+ 'type' => Column::TYPE_FLOAT,
+ 'default' => 0,
+ 'notNull' => false,
+ 'comment' => "Double typed column",
+ ]),
+ ],
+ ]);
+
+ ob_start();
+ Migrations::generate([
+ 'migrationsDir' => [
+ $migrationsDir,
+ ],
+ 'config' => $I->getMigrationsConfig(),
+ 'tableName' => '@',
+ ]);
+ $I->getPhalconDb()->dropTable($tableName);
+ Migrations::run([
+ 'migrationsDir' => $migrationsDir,
+ 'config' => $I->getMigrationsConfig(),
+ 'migrationsInDb' => true,
+ ]);
+ ob_clean();
+
+ $indexes = $I->getPhalconDb()->describeIndexes(Migrations::MIGRATION_LOG_TABLE);
+
+ $I->assertTrue($I->getPhalconDb()->tableExists($tableName, $I->getDefaultSchema()));
+ $I->assertTrue($I->getPhalconDb()->tableExists(Migrations::MIGRATION_LOG_TABLE, $I->getDefaultSchema()));
+ $I->assertSame(1, count($indexes));
+ }
+
+ /**
+ * @throws Exception
+ */
+ public function testIssue112(PostgresqlTester $I): void
+ {
+ $I->wantToTest('Issue #112 - Index should be primary key, instead of Normal Index');
+
+ $tableName = 'pg_phalcon_primary_index';
+ $I->getPhalconDb()->createTable($tableName, $I->getDefaultSchema(), [
+ 'columns' => [
+ new Column('id', [
+ 'type' => Column::TYPE_INTEGER,
+ 'notNull' => true,
+ 'first' => true,
+ ]),
+ ],
+ 'indexes' => [
+ new Index('pk_id_0', ['id'], 'PRIMARY KEY'),
+ ],
+ ]);
+
+ $indexes = $I->getPhalconDb()->describeIndexes($tableName, $I->getDefaultSchema());
+ $index = array_shift($indexes);
+
+ $I->assertSame(PdoPostgresql::INDEX_TYPE_PRIMARY, $index->getType());
+ }
}
diff --git a/tests/postgresql/MigrationsCest.php b/tests/postgresql/MigrationsCest.php
index 739f66d..9f0ba20 100644
--- a/tests/postgresql/MigrationsCest.php
+++ b/tests/postgresql/MigrationsCest.php
@@ -104,7 +104,7 @@ public function generateWithExportOnCreate(PostgresqlTester $I): void
$migrationContents = file_get_contents($migrationsDir . '/1.0.0/' . $tableName . '.php');
$I->assertSame(1, substr_count($migrationContents, 'this->batchInsert'));
- $I->assertContains(
+ $I->assertStringContainsString(
'3',
file_get_contents($migrationsDir . '/1.0.0/' . $tableName . '.dat')
);