diff --git a/.dockerignore b/.dockerignore index 52ba871..47564a0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,14 +1,13 @@ # -# JBZoo Toolbox - Mock-Server +# JBZoo Toolbox - Mock-Server. # # This file is part of the JBZoo Toolbox project. # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. # -# @package Mock-Server # @license MIT # @copyright Copyright (C) JBZoo.com, All rights reserved. -# @link https://github.com/JBZoo/Mock-Server +# @see https://github.com/JBZoo/Mock-Server # .idea diff --git a/.editorconfig b/.editorconfig index feaf0f0..865bd10 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,14 +1,13 @@ # -# JBZoo Toolbox - Mock-Server +# JBZoo Toolbox - Mock-Server. # # This file is part of the JBZoo Toolbox project. # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. # -# @package Mock-Server # @license MIT # @copyright Copyright (C) JBZoo.com, All rights reserved. -# @link https://github.com/JBZoo/Mock-Server +# @see https://github.com/JBZoo/Mock-Server # # EditorConfig is awesome: http://EditorConfig.org diff --git a/.gitattributes b/.gitattributes index b4e9102..ae0be2a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,14 +1,13 @@ # -# JBZoo Toolbox - Mock-Server +# JBZoo Toolbox - Mock-Server. # # This file is part of the JBZoo Toolbox project. # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. # -# @package Mock-Server # @license MIT # @copyright Copyright (C) JBZoo.com, All rights reserved. -# @link https://github.com/JBZoo/Mock-Server +# @see https://github.com/JBZoo/Mock-Server # /build export-ignore diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 66604bb..749feb5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,14 +1,13 @@ # -# JBZoo Toolbox - Mock-Server +# JBZoo Toolbox - Mock-Server. # # This file is part of the JBZoo Toolbox project. # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. # -# @package Mock-Server # @license MIT # @copyright Copyright (C) JBZoo.com, All rights reserved. -# @link https://github.com/JBZoo/Mock-Server +# @see https://github.com/JBZoo/Mock-Server # name: CI @@ -21,7 +20,7 @@ on: branches: - 'master' schedule: - - cron: '20 */8 * * *' + - cron: '51 */8 * * *' env: COLUMNS: 120 @@ -35,11 +34,12 @@ jobs: JBZOO_COMPOSER_UPDATE_FLAGS: ${{ matrix.composer_flags }} strategy: matrix: - php-version: [ 7.2, 7.3, 7.4 ] + php-version: [ 8.1, 8.2 ] + coverage: [ xdebug, none ] composer_flags: [ "--prefer-lowest", "" ] steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -47,20 +47,26 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - coverage: xdebug + coverage: ${{ matrix.coverage }} tools: composer + extensions: ast - name: Build the Project - continue-on-error: true - run: make build --no-print-directory + run: make update --no-print-directory - name: ๐Ÿงช PHPUnit Tests - continue-on-error: true run: make test --no-print-directory + - name: Uploading coverage to coveralls + if: ${{ matrix.coverage == 'xdebug' }} + continue-on-error: true + env: + COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: make report-coveralls --no-print-directory || true + - name: Upload Artifacts + uses: actions/upload-artifact@v3 continue-on-error: true - uses: actions/upload-artifact@v2 with: name: PHPUnit - ${{ matrix.php-version }} - ${{ matrix.coverage }} path: build/ @@ -71,10 +77,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: [ 7.2, 7.3, 7.4, 8.0 ] + php-version: [ 8.1, 8.2 ] steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -82,20 +88,19 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - extensions: ast + coverage: none tools: composer + extensions: ast - name: Build the Project - continue-on-error: true run: make update --no-print-directory - name: ๐Ÿ‘ Code Quality - continue-on-error: true run: make codestyle --no-print-directory - name: Upload Artifacts + uses: actions/upload-artifact@v3 continue-on-error: true - uses: actions/upload-artifact@v2 with: name: Linters - ${{ matrix.php-version }} path: build/ @@ -106,10 +111,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: [ 7.2, 7.3, 7.4, 8.0 ] + php-version: [ 8.1, 8.2 ] steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -119,18 +124,17 @@ jobs: php-version: ${{ matrix.php-version }} coverage: xdebug tools: composer + extensions: ast - name: Build the Project - continue-on-error: true run: make update --no-print-directory - name: ๐Ÿ“ Build Reports - continue-on-error: true run: make report-all --no-print-directory - name: Upload Artifacts + uses: actions/upload-artifact@v3 continue-on-error: true - uses: actions/upload-artifact@v2 with: name: Reports - ${{ matrix.php-version }} path: build/ diff --git a/.gitignore b/.gitignore index e31f6b6..a9b5323 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,13 @@ # -# JBZoo Toolbox - Mock-Server +# JBZoo Toolbox - Mock-Server. # # This file is part of the JBZoo Toolbox project. # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. # -# @package Mock-Server # @license MIT # @copyright Copyright (C) JBZoo.com, All rights reserved. -# @link https://github.com/JBZoo/Mock-Server +# @see https://github.com/JBZoo/Mock-Server # .idea diff --git a/.phan/config.php b/.phan.php similarity index 75% rename from .phan/config.php rename to .phan.php index ccd62c1..bfeee3b 100644 --- a/.phan/config.php +++ b/.phan.php @@ -1,23 +1,22 @@ [ 'src', @@ -31,5 +30,5 @@ 'vendor/nikic/fast-route/src', 'vendor/symfony/console', 'vendor/guzzlehttp/guzzle/src', - ] + ], ]); diff --git a/.travis.yml b/.travis.yml index 194c5f2..edc1cdd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,13 @@ # -# JBZoo Toolbox - Mock-Server +# JBZoo Toolbox - Mock-Server. # # This file is part of the JBZoo Toolbox project. # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. # -# @package Mock-Server # @license MIT # @copyright Copyright (C) JBZoo.com, All rights reserved. -# @link https://github.com/JBZoo/Mock-Server +# @see https://github.com/JBZoo/Mock-Server # language: php diff --git a/Dockerfile b/Dockerfile index 54fb193..59ff1b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,13 @@ # -# JBZoo Toolbox - Mock-Server +# JBZoo Toolbox - Mock-Server. # # This file is part of the JBZoo Toolbox project. # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. # -# @package Mock-Server # @license MIT # @copyright Copyright (C) JBZoo.com, All rights reserved. -# @link https://github.com/JBZoo/Mock-Server +# @see https://github.com/JBZoo/Mock-Server # FROM php:7.4-cli-alpine diff --git a/Makefile b/Makefile index 7f321af..47c9c0d 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,13 @@ # -# JBZoo Toolbox - Mock-Server +# JBZoo Toolbox - Mock-Server. # # This file is part of the JBZoo Toolbox project. # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. # -# @package Mock-Server # @license MIT # @copyright Copyright (C) JBZoo.com, All rights reserved. -# @link https://github.com/JBZoo/Mock-Server +# @see https://github.com/JBZoo/Mock-Server # .PHONY: build @@ -30,34 +29,15 @@ MOCK_SERVER_DOCKER ?= docker run --rm \ -p $(MOCK_SERVER_PORT_TLS):8090 \ jbzoo-mock-server -PHAR_BOX ?= $(PHP_BIN) `pwd`/vendor/bin/box.phar PHAR_FILE ?= `pwd`/build/mock-server.phar PHAR_FILE_BIN ?= $(PHP_BIN) $(PHAR_FILE) -BOX_PHAR = https://github.com/box-project/box/releases/download/3.9.1/box.phar - -ifeq ($(strip $(PHP_VERSION_ALIAS)),72) - PHAR_BOX_SOURCE ?= https://github.com/box-project/box/releases/download/3.9.1/box.phar -else - PHAR_BOX_SOURCE ?= https://github.com/box-project/box/releases/download/3.11.1/box.phar -endif - - build: ##@Project Install all 3rd party dependencies $(call title,"Install/Update all 3rd party dependencies") @composer install --optimize-autoloader --no-progress @make build-phar -build-phar: ##@Project Compile phar file - $(call download_phar,$(BOX_PHAR),"box") - @$(PHP_BIN) `pwd`/vendor/bin/box.phar --version - @$(PHP_BIN) `pwd`/vendor/bin/box.phar validate -vvv - @composer config autoloader-suffix JBZooPhar -v - @$(PHAR_BOX) compile --working-dir="`pwd`" -v - @composer config autoloader-suffix --unset -v - - build-docker: $(call title,"Building Docker Image") @docker build -t jbzoo-mock-server . diff --git a/README.md b/README.md index 35683c2..ccad495 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # JBZoo / Mock-Server -[![Build Status](https://travis-ci.org/JBZoo/Mock-Server.svg)](https://travis-ci.org/JBZoo/Mock-Server) [![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/jbzoo/mock-server.svg)](https://hub.docker.com/r/jbzoo/mock-server) [![Coverage Status](https://coveralls.io/repos/JBZoo/Mock-Server/badge.svg)](https://coveralls.io/github/JBZoo/Mock-Server) [![Psalm Coverage](https://shepherd.dev/github/JBZoo/Mock-Server/coverage.svg)](https://shepherd.dev/github/JBZoo/Mock-Server) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/jbzoo/mock-server/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/jbzoo/mock-server/?branch=master) [![CodeFactor](https://www.codefactor.io/repository/github/jbzoo/mock-server/badge)](https://www.codefactor.io/repository/github/jbzoo/mock-server/issues) [![PHP Strict Types](https://img.shields.io/badge/strict__types-%3D1-brightgreen)](https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.strict) -[![Stable Version](https://poser.pugx.org/jbzoo/mock-server/version)](https://packagist.org/packages/jbzoo/mock-server) [![Dependents](https://poser.pugx.org/jbzoo/mock-server/dependents)](https://packagist.org/packages/jbzoo/mock-server/dependents?order_by=downloads) [![GitHub Issues](https://img.shields.io/github/issues/jbzoo/mock-server)](https://github.com/JBZoo/Mock-Server/issues) [![Total Downloads](https://poser.pugx.org/jbzoo/mock-server/downloads)](https://packagist.org/packages/jbzoo/mock-server/stats) [![Docker Pulls](https://img.shields.io/docker/pulls/jbzoo/mock-server.svg)](https://hub.docker.com/r/jbzoo/mock-server) [![GitHub License](https://img.shields.io/github/license/jbzoo/mock-server)](https://github.com/JBZoo/Mock-Server/blob/master/LICENSE) +[![CI](https://github.com/JBZoo/Mock-Server/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/JBZoo/Mock-Server/actions/workflows/main.yml?query=branch%3Amaster) [![Coverage Status](https://coveralls.io/repos/github/JBZoo/Mock-Server/badge.svg?branch=master)](https://coveralls.io/github/JBZoo/Mock-Server?branch=master) [![Psalm Coverage](https://shepherd.dev/github/JBZoo/Mock-Server/coverage.svg)](https://shepherd.dev/github/JBZoo/Mock-Server) [![Psalm Level](https://shepherd.dev/github/JBZoo/Mock-Server/level.svg)](https://shepherd.dev/github/JBZoo/Mock-Server) [![CodeFactor](https://www.codefactor.io/repository/github/jbzoo/mock-server/badge)](https://www.codefactor.io/repository/github/jbzoo/mock-server/issues) +[![Stable Version](https://poser.pugx.org/jbzoo/mock-server/version)](https://packagist.org/packages/jbzoo/mock-server/) [![Total Downloads](https://poser.pugx.org/jbzoo/mock-server/downloads)](https://packagist.org/packages/jbzoo/mock-server/stats) [![Dependents](https://poser.pugx.org/jbzoo/mock-server/dependents)](https://packagist.org/packages/jbzoo/mock-server/dependents?order_by=downloads) [![Visitors](https://visitor-badge.glitch.me/badge?page_id=jbzoo.mock-server)]() [![GitHub License](https://img.shields.io/github/license/jbzoo/mock-server)](https://github.com/JBZoo/Mock-Server/blob/master/LICENSE) diff --git a/composer.json b/composer.json index eeb868b..8d9f8a1 100644 --- a/composer.json +++ b/composer.json @@ -1,12 +1,12 @@ { "name" : "jbzoo/mock-server", "type" : "library", + "license" : "MIT", "description" : "Flexible HTTP mocking application for testing and fast prototyping", "keywords" : [ "testing", "mock", "php", "http", "mock-server", "stubbing", "http-server", "prototyping", "jbzoo", "httpmock", "mmock" ], - "license" : "MIT", "authors" : [ { @@ -16,33 +16,36 @@ } ], + "minimum-stability" : "dev", + "prefer-stable" : true, + "require" : { - "php" : ">=7.2", + "php" : "^8.1", "ext-pcntl" : "*", - "amphp/amp" : "^2.5.2", - "amphp/log" : "^1.1.0", - "amphp/file" : "^1.0.2", - "amphp/http-client" : "^4.5.5", - "amphp/http-server" : "^2.1.2", - "amphp/http-server-router" : "^1.0.2", - "amphp/http-server-form-parser" : "^1.1.4", + "amphp/amp" : ">=2.6.2", + "amphp/log" : ">=1.2.0", + "amphp/file" : ">=2.0.4", + "amphp/http-client" : ">=4.6.2", + "amphp/http-server" : ">=2.1.8", + "amphp/http-server-router" : ">=1.0.2", + "amphp/http-server-form-parser" : ">=1.1.5", - "jbzoo/data" : "^4.3.1", - "jbzoo/utils" : "^4.5.2", + "jbzoo/data" : "7.x-dev", + "jbzoo/utils" : "7.x-dev", - "symfony/console" : ">=4.4.24", - "symfony/yaml" : ">=5.2.9", + "symfony/console" : ">=6.2.7", + "symfony/yaml" : ">=6.2.7", - "monolog/monolog" : "^2.2.0", - "yosymfony/resource-watcher" : "^3.0.0", - "winzou/state-machine" : "^0.4.1" + "monolog/monolog" : ">=3.3.1", + "yosymfony/resource-watcher" : ">=3.0.0", + "winzou/state-machine" : ">=0.4.3" }, "require-dev" : { - "jbzoo/http-client" : "^3.6.1", - "jbzoo/toolbox-dev" : "^2.13.1", - "guzzlehttp/guzzle" : "^7.3.0" + "jbzoo/toolbox-dev" : "7.x-dev", + "jbzoo/http-client" : "7.x-dev", + "guzzlehttp/guzzle" : ">=7.5.0" }, "bin" : ["jbzoo-mock-server"], @@ -53,19 +56,21 @@ }, "files" : ["src/functions.php"] }, + "autoload-dev" : { - "classmap" : ["tests"] + "psr-4" : { + "JBZoo\\PHPUnit\\" : "tests" + } }, - "minimum-stability" : "dev", - "prefer-stable" : true, "config" : { - "optimize-autoloader" : true + "optimize-autoloader" : true, + "allow-plugins" : {"composer/package-versions-deprecated" : true} }, "extra" : { "branch-alias" : { - "dev-master" : "1.x-dev" + "dev-master" : "7.x-dev" } } } diff --git a/composer.lock b/composer.lock index f4f5f20..fdb32db 100644 --- a/composer.lock +++ b/composer.lock @@ -4,31 +4,31 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "113a0a1ac52f18284a019f1a751b6b0f", + "content-hash": "060476bb542afe85e9115eb6a4ef2e32", "packages": [ { "name": "amphp/amp", - "version": "v2.5.2", + "version": "v2.6.2", "source": { "type": "git", "url": "https://github.com/amphp/amp.git", - "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9" + "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/amp/zipball/efca2b32a7580087adb8aabbff6be1dc1bb924a9", - "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9", + "url": "https://api.github.com/repos/amphp/amp/zipball/9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", + "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", "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" }, @@ -39,13 +39,13 @@ } }, "autoload": { - "psr-4": { - "Amp\\": "lib" - }, "files": [ "lib/functions.php", "lib/Internal/functions.php" - ] + ], + "psr-4": { + "Amp\\": "lib" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -70,7 +70,7 @@ } ], "description": "A non-blocking concurrency framework for PHP applications.", - "homepage": "http://amphp.org/amp", + "homepage": "https://amphp.org/amp", "keywords": [ "async", "asynchronous", @@ -85,7 +85,7 @@ "support": { "irc": "irc://irc.freenode.org/amphp", "issues": "https://github.com/amphp/amp/issues", - "source": "https://github.com/amphp/amp/tree/v2.5.2" + "source": "https://github.com/amphp/amp/tree/v2.6.2" }, "funding": [ { @@ -93,7 +93,7 @@ "type": "github" } ], - "time": "2021-01-10T17:06:37+00:00" + "time": "2022-02-20T17:52:18+00:00" }, { "name": "amphp/byte-stream", @@ -128,12 +128,12 @@ } }, "autoload": { - "psr-4": { - "Amp\\ByteStream\\": "lib" - }, "files": [ "lib/functions.php" - ] + ], + "psr-4": { + "Amp\\ByteStream\\": "lib" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -174,16 +174,16 @@ }, { "name": "amphp/cache", - "version": "v1.4.0", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/amphp/cache.git", - "reference": "e7bccc526fc2a555d59e6ee8380eeb39a95c0835" + "reference": "2b6b5dbb70e54cc914df9952ba7c012bc4cbcd28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/cache/zipball/e7bccc526fc2a555d59e6ee8380eeb39a95c0835", - "reference": "e7bccc526fc2a555d59e6ee8380eeb39a95c0835", + "url": "https://api.github.com/repos/amphp/cache/zipball/2b6b5dbb70e54cc914df9952ba7c012bc4cbcd28", + "reference": "2b6b5dbb70e54cc914df9952ba7c012bc4cbcd28", "shasum": "" }, "require": { @@ -193,14 +193,14 @@ "php": ">=7.1" }, "conflict": { - "amphp/file": "<0.2 || >=2" + "amphp/file": "<0.2 || >=3" }, "require-dev": { - "amphp/file": "^1", + "amphp/file": "^1 || ^2", "amphp/php-cs-fixer-config": "dev-master", "amphp/phpunit-util": "^1.1", "phpunit/phpunit": "^6 | ^7 | ^8 | ^9", - "vimeo/psalm": "^3.11@dev" + "vimeo/psalm": "^4" }, "type": "library", "autoload": { @@ -227,9 +227,15 @@ "support": { "irc": "irc://irc.freenode.org/amphp", "issues": "https://github.com/amphp/cache/issues", - "source": "https://github.com/amphp/cache/tree/v1.4.0" + "source": "https://github.com/amphp/cache/tree/v1.5.0" }, - "time": "2020-04-19T16:10:08+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2021-06-29T17:12:43+00:00" }, { "name": "amphp/dns", @@ -263,12 +269,12 @@ }, "type": "library", "autoload": { - "psr-4": { - "Amp\\Dns\\": "lib" - }, "files": [ "lib/functions.php" - ] + ], + "psr-4": { + "Amp\\Dns\\": "lib" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -320,44 +326,45 @@ }, { "name": "amphp/file", - "version": "v1.0.2", + "version": "v2.0.4", "source": { "type": "git", "url": "https://github.com/amphp/file.git", - "reference": "54dcef2a3e38f445ae78ea44ff12c95738e46420" + "reference": "be639a9b1f579d3fe847ca0dcc17c7a7f5168910" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/file/zipball/54dcef2a3e38f445ae78ea44ff12c95738e46420", - "reference": "54dcef2a3e38f445ae78ea44ff12c95738e46420", + "url": "https://api.github.com/repos/amphp/file/zipball/be639a9b1f579d3fe847ca0dcc17c7a7f5168910", + "reference": "be639a9b1f579d3fe847ca0dcc17c7a7f5168910", "shasum": "" }, "require": { - "amphp/amp": "^2.2", - "amphp/byte-stream": "^1.6.1", - "amphp/parallel": "^1.2", + "amphp/amp": "^2.5.2", + "amphp/byte-stream": "^1.8.1", + "amphp/parallel": "^1.4", + "amphp/sync": "^1.4", "php": ">=7.1" }, "require-dev": { "amphp/php-cs-fixer-config": "dev-master", "amphp/phpunit-util": "^1.1", - "ext-eio": "^2", + "ext-eio": "^2 || ^3", "ext-uv": "^0.3 || ^0.2", - "phpunit/phpunit": "^8 || ^7" + "phpunit/phpunit": "^9 || ^8 || ^7" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-master": "2.x-dev" } }, "autoload": { - "psr-4": { - "Amp\\File\\": "src" - }, "files": [ "src/functions.php" - ] + ], + "psr-4": { + "Amp\\File\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -392,7 +399,7 @@ ], "support": { "issues": "https://github.com/amphp/file/issues", - "source": "https://github.com/amphp/file/tree/v1.0.2" + "source": "https://github.com/amphp/file/tree/v2.0.4" }, "funding": [ { @@ -400,20 +407,20 @@ "type": "github" } ], - "time": "2020-07-14T15:15:32+00:00" + "time": "2022-09-08T17:22:23+00:00" }, { "name": "amphp/hpack", - "version": "v3.1.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/amphp/hpack.git", - "reference": "0dcd35f9a8d9fc04d5fb8af0aeb109d4474cfad8" + "reference": "cf4f1663e9fd58f60258c06177098655ca6377a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/hpack/zipball/0dcd35f9a8d9fc04d5fb8af0aeb109d4474cfad8", - "reference": "0dcd35f9a8d9fc04d5fb8af0aeb109d4474cfad8", + "url": "https://api.github.com/repos/amphp/hpack/zipball/cf4f1663e9fd58f60258c06177098655ca6377a5", + "reference": "cf4f1663e9fd58f60258c06177098655ca6377a5", "shasum": "" }, "require": { @@ -425,6 +432,11 @@ "phpunit/phpunit": "^6 | ^7" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, "autoload": { "psr-4": { "Amp\\Http\\": "src" @@ -460,22 +472,28 @@ ], "support": { "issues": "https://github.com/amphp/hpack/issues", - "source": "https://github.com/amphp/hpack/tree/v3.1.0" + "source": "https://github.com/amphp/hpack/tree/v3.1.1" }, - "time": "2020-01-11T19:33:14+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2021-06-11T20:03:34+00:00" }, { "name": "amphp/http", - "version": "v1.6.3", + "version": "v1.7.1", "source": { "type": "git", "url": "https://github.com/amphp/http.git", - "reference": "e2b75561011a9596e4574cc867e07a706d56394b" + "reference": "0d729b09fbace00dd1fd35ae8d4d45eb25f39d96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/http/zipball/e2b75561011a9596e4574cc867e07a706d56394b", - "reference": "e2b75561011a9596e4574cc867e07a706d56394b", + "url": "https://api.github.com/repos/amphp/http/zipball/0d729b09fbace00dd1fd35ae8d4d45eb25f39d96", + "reference": "0d729b09fbace00dd1fd35ae8d4d45eb25f39d96", "shasum": "" }, "require": { @@ -483,8 +501,8 @@ "php": ">=7.1" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "phpunit/phpunit": "^7 || ^6.5" + "amphp/php-cs-fixer-config": "^2-dev", + "phpunit/phpunit": "^9 || ^8 || ^7" }, "type": "library", "extra": { @@ -493,12 +511,12 @@ } }, "autoload": { - "psr-4": { - "Amp\\Http\\": "src" - }, "files": [ "src/functions.php" - ] + ], + "psr-4": { + "Amp\\Http\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -513,7 +531,7 @@ "description": "Basic HTTP primitives which can be shared by servers and clients.", "support": { "issues": "https://github.com/amphp/http/issues", - "source": "https://github.com/amphp/http/tree/v1.6.3" + "source": "https://github.com/amphp/http/tree/v1.7.1" }, "funding": [ { @@ -521,20 +539,20 @@ "type": "github" } ], - "time": "2020-11-28T17:04:34+00:00" + "time": "2023-02-08T00:29:51+00:00" }, { "name": "amphp/http-client", - "version": "v4.5.5", + "version": "v4.6.2", "source": { "type": "git", "url": "https://github.com/amphp/http-client.git", - "reference": "ac286c0a2bf1bf175b08aa89d3086d1e9be03985" + "reference": "453f84f623e409889168351e60246f5feddc1b3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/http-client/zipball/ac286c0a2bf1bf175b08aa89d3086d1e9be03985", - "reference": "ac286c0a2bf1bf175b08aa89d3086d1e9be03985", + "url": "https://api.github.com/repos/amphp/http-client/zipball/453f84f623e409889168351e60246f5feddc1b3c", + "reference": "453f84f623e409889168351e60246f5feddc1b3c", "shasum": "" }, "require": { @@ -549,10 +567,10 @@ "psr/http-message": "^1" }, "conflict": { - "amphp/file": "<0.2" + "amphp/file": "<0.2 || >=3" }, "require-dev": { - "amphp/file": "^1 || ^0.3 || ^0.2", + "amphp/file": "^0.2 || ^0.3 || ^1 || ^2", "amphp/http-server": "^2", "amphp/php-cs-fixer-config": "dev-master", "amphp/phpunit-util": "^1.1", @@ -562,7 +580,7 @@ "kelunik/link-header-rfc5988": "^1.0", "laminas/laminas-diactoros": "^2.3", "phpunit/phpunit": "^7 || ^8 || ^9", - "vimeo/psalm": "^3.9@dev" + "vimeo/psalm": "^4" }, "suggest": { "amphp/file": "Required for file request bodies and HTTP archive logging", @@ -576,12 +594,12 @@ } }, "autoload": { - "psr-4": { - "Amp\\Http\\Client\\": "src" - }, "files": [ "src/Internal/functions.php" - ] + ], + "psr-4": { + "Amp\\Http\\Client\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -613,7 +631,7 @@ ], "support": { "issues": "https://github.com/amphp/http-client/issues", - "source": "https://github.com/amphp/http-client/tree/v4.5.5" + "source": "https://github.com/amphp/http-client/tree/v4.6.2" }, "funding": [ { @@ -621,20 +639,20 @@ "type": "github" } ], - "time": "2020-12-23T16:54:43+00:00" + "time": "2021-10-09T14:11:46+00:00" }, { "name": "amphp/http-server", - "version": "v2.1.2", + "version": "v2.1.8", "source": { "type": "git", "url": "https://github.com/amphp/http-server.git", - "reference": "d1f71b05c5a2f642b54df88b8b328b721eada625" + "reference": "49a7ff6d89ebe84ba0c64604613f898a697bb353" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/http-server/zipball/d1f71b05c5a2f642b54df88b8b328b721eada625", - "reference": "d1f71b05c5a2f642b54df88b8b328b721eada625", + "url": "https://api.github.com/repos/amphp/http-server/zipball/49a7ff6d89ebe84ba0c64604613f898a697bb353", + "reference": "49a7ff6d89ebe84ba0c64604613f898a697bb353", "shasum": "" }, "require": { @@ -647,7 +665,7 @@ "league/uri": "^6", "php": ">=7.2", "psr/http-message": "^1", - "psr/log": "^1" + "psr/log": "^1|^2|^3" }, "require-dev": { "amphp/http-client": "^4", @@ -669,14 +687,14 @@ } }, "autoload": { - "psr-4": { - "Amp\\Http\\Server\\": "src" - }, "files": [ "src/Middleware/functions.php", "src/functions.php", "src/Server.php" - ] + ], + "psr-4": { + "Amp\\Http\\Server\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -711,7 +729,7 @@ ], "support": { "issues": "https://github.com/amphp/http-server/issues", - "source": "https://github.com/amphp/http-server/tree/v2.1.2" + "source": "https://github.com/amphp/http-server/tree/v2.1.8" }, "funding": [ { @@ -719,20 +737,20 @@ "type": "github" } ], - "time": "2021-04-16T08:52:44+00:00" + "time": "2023-02-01T01:09:54+00:00" }, { "name": "amphp/http-server-form-parser", - "version": "v1.1.4", + "version": "v1.1.5", "source": { "type": "git", "url": "https://github.com/amphp/http-server-form-parser.git", - "reference": "657d945ebc4d5a3b1ea7b1d25c52fb2fdb118f1d" + "reference": "b20cedbdcf87c19816e7f8cb4f992655599dad41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/http-server-form-parser/zipball/657d945ebc4d5a3b1ea7b1d25c52fb2fdb118f1d", - "reference": "657d945ebc4d5a3b1ea7b1d25c52fb2fdb118f1d", + "url": "https://api.github.com/repos/amphp/http-server-form-parser/zipball/b20cedbdcf87c19816e7f8cb4f992655599dad41", + "reference": "b20cedbdcf87c19816e7f8cb4f992655599dad41", "shasum": "" }, "require": { @@ -750,12 +768,12 @@ }, "type": "library", "autoload": { - "psr-4": { - "Amp\\Http\\Server\\FormParser\\": "src" - }, "files": [ "src/functions.php" - ] + ], + "psr-4": { + "Amp\\Http\\Server\\FormParser\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -790,9 +808,15 @@ ], "support": { "issues": "https://github.com/amphp/http-server-form-parser/issues", - "source": "https://github.com/amphp/http-server-form-parser/tree/master" + "source": "https://github.com/amphp/http-server-form-parser/tree/v1.1.5" }, - "time": "2020-03-24T20:17:15+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2022-04-11T13:31:54+00:00" }, { "name": "amphp/http-server-router", @@ -863,23 +887,24 @@ }, { "name": "amphp/log", - "version": "v1.1.0", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/amphp/log.git", - "reference": "25dcd3b58622bd22ffa7129288edb85e0c17081a" + "reference": "c067b03281f5e018ca4bd05f5d161208685cbc03" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/log/zipball/25dcd3b58622bd22ffa7129288edb85e0c17081a", - "reference": "25dcd3b58622bd22ffa7129288edb85e0c17081a", + "url": "https://api.github.com/repos/amphp/log/zipball/c067b03281f5e018ca4bd05f5d161208685cbc03", + "reference": "c067b03281f5e018ca4bd05f5d161208685cbc03", "shasum": "" }, "require": { "amphp/amp": "^2", "amphp/byte-stream": "^1.3", - "monolog/monolog": "^2 || ^1.23", - "php": ">=7.1" + "monolog/monolog": "^3|^2|^1.23", + "php": ">=7.2", + "psr/log": "^3|^2|^1" }, "require-dev": { "amphp/php-cs-fixer-config": "dev-master", @@ -888,12 +913,12 @@ }, "type": "library", "autoload": { - "psr-4": { - "Amp\\Log\\": "src" - }, "files": [ "src/functions.php" - ] + ], + "psr-4": { + "Amp\\Log\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -922,22 +947,28 @@ ], "support": { "issues": "https://github.com/amphp/log/issues", - "source": "https://github.com/amphp/log/tree/master" + "source": "https://github.com/amphp/log/tree/v1.2.0" }, - "time": "2019-09-04T15:31:40+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2023-02-03T01:46:14+00:00" }, { "name": "amphp/parallel", - "version": "v1.4.0", + "version": "v1.4.3", "source": { "type": "git", "url": "https://github.com/amphp/parallel.git", - "reference": "2c1039bf7ca137eae4d954b14c09a7535d7d4e1c" + "reference": "3aac213ba7858566fd83d38ccb85b91b2d652cb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/parallel/zipball/2c1039bf7ca137eae4d954b14c09a7535d7d4e1c", - "reference": "2c1039bf7ca137eae4d954b14c09a7535d7d4e1c", + "url": "https://api.github.com/repos/amphp/parallel/zipball/3aac213ba7858566fd83d38ccb85b91b2d652cb0", + "reference": "3aac213ba7858566fd83d38ccb85b91b2d652cb0", "shasum": "" }, "require": { @@ -956,14 +987,14 @@ }, "type": "library", "autoload": { - "psr-4": { - "Amp\\Parallel\\": "lib" - }, "files": [ "lib/Context/functions.php", "lib/Sync/functions.php", "lib/Worker/functions.php" - ] + ], + "psr-4": { + "Amp\\Parallel\\": "lib" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -990,35 +1021,42 @@ ], "support": { "issues": "https://github.com/amphp/parallel/issues", - "source": "https://github.com/amphp/parallel/tree/master" + "source": "https://github.com/amphp/parallel/tree/v1.4.3" }, - "time": "2020-04-27T15:12:37+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2023-03-23T08:04:23+00:00" }, { "name": "amphp/parser", - "version": "v1.0.0", + "version": "v1.1.0", "source": { "type": "git", "url": "https://github.com/amphp/parser.git", - "reference": "f83e68f03d5b8e8e0365b8792985a7f341c57ae1" + "reference": "ff1de4144726c5dad5fab97f66692ebe8de3e151" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/parser/zipball/f83e68f03d5b8e8e0365b8792985a7f341c57ae1", - "reference": "f83e68f03d5b8e8e0365b8792985a7f341c57ae1", + "url": "https://api.github.com/repos/amphp/parser/zipball/ff1de4144726c5dad5fab97f66692ebe8de3e151", + "reference": "ff1de4144726c5dad5fab97f66692ebe8de3e151", "shasum": "" }, "require": { - "php": ">=7" + "php": ">=7.4" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.3", - "phpunit/phpunit": "^6" + "amphp/php-cs-fixer-config": "^2", + "phpunit/phpunit": "^9", + "psalm/phar": "^5.4" }, "type": "library", "autoload": { "psr-4": { - "Amp\\Parser\\": "lib" + "Amp\\Parser\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1026,13 +1064,13 @@ "MIT" ], "authors": [ - { - "name": "Niklas Keller", - "email": "me@kelunik.com" - }, { "name": "Aaron Piotrowski", "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" } ], "description": "A generator parser to make streaming parsers simple.", @@ -1045,22 +1083,28 @@ ], "support": { "issues": "https://github.com/amphp/parser/issues", - "source": "https://github.com/amphp/parser/tree/is-valid" + "source": "https://github.com/amphp/parser/tree/v1.1.0" }, - "time": "2017-06-06T05:29:10+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2022-12-30T18:08:47+00:00" }, { "name": "amphp/process", - "version": "v1.1.1", + "version": "v1.1.4", "source": { "type": "git", "url": "https://github.com/amphp/process.git", - "reference": "b88c6aef75c0b22f6f021141dd2d5e7c5db4c124" + "reference": "76e9495fd6818b43a20167cb11d8a67f7744ee0f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/process/zipball/b88c6aef75c0b22f6f021141dd2d5e7c5db4c124", - "reference": "b88c6aef75c0b22f6f021141dd2d5e7c5db4c124", + "url": "https://api.github.com/repos/amphp/process/zipball/76e9495fd6818b43a20167cb11d8a67f7744ee0f", + "reference": "76e9495fd6818b43a20167cb11d8a67f7744ee0f", "shasum": "" }, "require": { @@ -1075,12 +1119,12 @@ }, "type": "library", "autoload": { - "psr-4": { - "Amp\\Process\\": "lib" - }, "files": [ "lib/functions.php" - ] + ], + "psr-4": { + "Amp\\Process\\": "lib" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1104,7 +1148,7 @@ "homepage": "https://github.com/amphp/process", "support": { "issues": "https://github.com/amphp/process/issues", - "source": "https://github.com/amphp/process/tree/v1.1.1" + "source": "https://github.com/amphp/process/tree/v1.1.4" }, "funding": [ { @@ -1112,7 +1156,7 @@ "type": "github" } ], - "time": "2021-03-30T20:04:22+00:00" + "time": "2022-07-06T23:50:12+00:00" }, { "name": "amphp/serialization", @@ -1137,12 +1181,12 @@ }, "type": "library", "autoload": { - "psr-4": { - "Amp\\Serialization\\": "src" - }, "files": [ "src/functions.php" - ] + ], + "psr-4": { + "Amp\\Serialization\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1174,16 +1218,16 @@ }, { "name": "amphp/socket", - "version": "v1.1.3", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/amphp/socket.git", - "reference": "b9064b98742d12f8f438eaf73369bdd7d8446331" + "reference": "a8af9f5d0a66c5fe9567da45a51509e592788fe6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/socket/zipball/b9064b98742d12f8f438eaf73369bdd7d8446331", - "reference": "b9064b98742d12f8f438eaf73369bdd7d8446331", + "url": "https://api.github.com/repos/amphp/socket/zipball/a8af9f5d0a66c5fe9567da45a51509e592788fe6", + "reference": "a8af9f5d0a66c5fe9567da45a51509e592788fe6", "shasum": "" }, "require": { @@ -1208,13 +1252,13 @@ } }, "autoload": { - "psr-4": { - "Amp\\Socket\\": "src" - }, "files": [ "src/functions.php", "src/Internal/functions.php" - ] + ], + "psr-4": { + "Amp\\Socket\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1247,22 +1291,28 @@ ], "support": { "issues": "https://github.com/amphp/socket/issues", - "source": "https://github.com/amphp/socket/tree/master" + "source": "https://github.com/amphp/socket/tree/v1.2.0" }, - "time": "2020-06-25T18:55:28+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2021-07-09T18:18:48+00:00" }, { "name": "amphp/sync", - "version": "v1.4.0", + "version": "v1.4.2", "source": { "type": "git", "url": "https://github.com/amphp/sync.git", - "reference": "613047ac54c025aa800a9cde5b05c3add7327ed4" + "reference": "85ab06764f4f36d63b1356b466df6111cf4b89cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/sync/zipball/613047ac54c025aa800a9cde5b05c3add7327ed4", - "reference": "613047ac54c025aa800a9cde5b05c3add7327ed4", + "url": "https://api.github.com/repos/amphp/sync/zipball/85ab06764f4f36d63b1356b466df6111cf4b89cf", + "reference": "85ab06764f4f36d63b1356b466df6111cf4b89cf", "shasum": "" }, "require": { @@ -1276,13 +1326,13 @@ }, "type": "library", "autoload": { - "psr-4": { - "Amp\\Sync\\": "src" - }, "files": [ "src/functions.php", "src/ConcurrentIterator/functions.php" - ] + ], + "psr-4": { + "Amp\\Sync\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1309,9 +1359,15 @@ ], "support": { "issues": "https://github.com/amphp/sync/issues", - "source": "https://github.com/amphp/sync/tree/v1.4.0" + "source": "https://github.com/amphp/sync/tree/v1.4.2" }, - "time": "2020-05-07T18:57:50+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2021-10-25T18:29:10+00:00" }, { "name": "amphp/windows-registry", @@ -1411,16 +1467,16 @@ }, { "name": "daverandom/libdns", - "version": "v2.0.2", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/DaveRandom/LibDNS.git", - "reference": "e8b6d6593d18ac3a6a14666d8a68a4703b2e05f9" + "reference": "42c2d700d1178c9f9e78664793463f7f1aea248c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/DaveRandom/LibDNS/zipball/e8b6d6593d18ac3a6a14666d8a68a4703b2e05f9", - "reference": "e8b6d6593d18ac3a6a14666d8a68a4703b2e05f9", + "url": "https://api.github.com/repos/DaveRandom/LibDNS/zipball/42c2d700d1178c9f9e78664793463f7f1aea248c", + "reference": "42c2d700d1178c9f9e78664793463f7f1aea248c", "shasum": "" }, "require": { @@ -1432,12 +1488,12 @@ }, "type": "library", "autoload": { - "psr-4": { - "LibDNS\\": "src/" - }, "files": [ "src/functions.php" - ] + ], + "psr-4": { + "LibDNS\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1449,41 +1505,47 @@ ], "support": { "issues": "https://github.com/DaveRandom/LibDNS/issues", - "source": "https://github.com/DaveRandom/LibDNS/tree/v2.0.2" + "source": "https://github.com/DaveRandom/LibDNS/tree/v2.0.3" }, - "time": "2019-12-03T09:12:46+00:00" + "time": "2022-09-20T18:15:38+00:00" }, { "name": "jbzoo/data", - "version": "4.3.1", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/JBZoo/Data.git", - "reference": "cfc5adebf1623b76900a99043b42c3016bb0b500" + "reference": "c21704f61c30448d2dadf6317beb9b6f3cdf6e4f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JBZoo/Data/zipball/cfc5adebf1623b76900a99043b42c3016bb0b500", - "reference": "cfc5adebf1623b76900a99043b42c3016bb0b500", + "url": "https://api.github.com/repos/JBZoo/Data/zipball/c21704f61c30448d2dadf6317beb9b6f3cdf6e4f", + "reference": "c21704f61c30448d2dadf6317beb9b6f3cdf6e4f", "shasum": "" }, "require": { "ext-json": "*", - "php": ">=7.2" + "php": "^8.1" }, "require-dev": { - "jbzoo/toolbox-dev": "^2.13.1", - "jbzoo/utils": "^4.4.0", - "symfony/yaml": "^4.4|^5.0" + "jbzoo/toolbox-dev": "7.x-dev", + "jbzoo/utils": "7.x-dev", + "symfony/polyfill-ctype": ">=1.27.0", + "symfony/polyfill-mbstring": ">=1.27.0", + "symfony/polyfill-php73": ">=1.27.0", + "symfony/polyfill-php80": ">=1.27.0", + "symfony/polyfill-php81": ">=1.27.0", + "symfony/yaml": ">=4.4" }, "suggest": { - "jbzoo/utils": ">=4.2.2", + "jbzoo/utils": ">=7.0", "symfony/yaml": ">=4.4" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.x-dev" + "dev-master": "7.x-dev" } }, "autoload": { @@ -1518,46 +1580,48 @@ ], "support": { "issues": "https://github.com/JBZoo/Data/issues", - "source": "https://github.com/JBZoo/Data/tree/4.3.1" + "source": "https://github.com/JBZoo/Data/tree/master" }, - "time": "2021-04-28T19:54:35+00:00" + "time": "2023-03-17T23:23:46+00:00" }, { "name": "jbzoo/utils", - "version": "4.5.2", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/JBZoo/Utils.git", - "reference": "45a96c52c35146bb15a0474a28e2954237418f17" + "reference": "a4001fcdd0943a88922e729c2739d653952f1175" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JBZoo/Utils/zipball/45a96c52c35146bb15a0474a28e2954237418f17", - "reference": "45a96c52c35146bb15a0474a28e2954237418f17", + "url": "https://api.github.com/repos/JBZoo/Utils/zipball/a4001fcdd0943a88922e729c2739d653952f1175", + "reference": "a4001fcdd0943a88922e729c2739d653952f1175", "shasum": "" }, "require": { "ext-dom": "*", "ext-filter": "*", + "ext-gd": "*", "ext-posix": "*", - "php": ">=7.2" + "php": "^8.1" }, "require-dev": { - "jbzoo/toolbox-dev": "^2.13.1", + "jbzoo/data": "7.x-dev", + "jbzoo/toolbox-dev": "7.x-dev", "symfony/process": ">=4.4" }, "suggest": { - "ext-gd": "To use Image helper", "ext-intl": "*", "ext-mbstring": "Provides multibyte specific string functions", "jbzoo/data": ">=4.0", "symfony/polyfill-mbstring": "For UTF-8 if ext-mbstring disabled", "symfony/process": "For Cli::exec() method only" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.x-dev" + "dev-master": "7.x-dev" } }, "autoload": { @@ -1616,36 +1680,41 @@ ], "support": { "issues": "https://github.com/JBZoo/Utils/issues", - "source": "https://github.com/JBZoo/Utils/tree/4.5.2" + "source": "https://github.com/JBZoo/Utils/tree/master" }, - "time": "2021-04-28T20:22:53+00:00" + "time": "2023-03-18T21:44:41+00:00" }, { "name": "kelunik/certificate", - "version": "v1.1.2", + "version": "v1.1.3", "source": { "type": "git", "url": "https://github.com/kelunik/certificate.git", - "reference": "56542e62d51533d04d0a9713261fea546bff80f6" + "reference": "7e00d498c264d5eb4f78c69f41c8bd6719c0199e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kelunik/certificate/zipball/56542e62d51533d04d0a9713261fea546bff80f6", - "reference": "56542e62d51533d04d0a9713261fea546bff80f6", + "url": "https://api.github.com/repos/kelunik/certificate/zipball/7e00d498c264d5eb4f78c69f41c8bd6719c0199e", + "reference": "7e00d498c264d5eb4f78c69f41c8bd6719c0199e", "shasum": "" }, "require": { "ext-openssl": "*", - "php": ">=5.4" + "php": ">=7.0" }, "require-dev": { - "fabpot/php-cs-fixer": "^1.9", - "phpunit/phpunit": "^4.8" + "amphp/php-cs-fixer-config": "^2", + "phpunit/phpunit": "^6 | 7 | ^8 | ^9" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, "autoload": { "psr-4": { - "Kelunik\\Certificate\\": "lib" + "Kelunik\\Certificate\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1669,40 +1738,44 @@ ], "support": { "issues": "https://github.com/kelunik/certificate/issues", - "source": "https://github.com/kelunik/certificate/tree/v1.1.2" + "source": "https://github.com/kelunik/certificate/tree/v1.1.3" }, - "time": "2019-05-29T19:02:31+00:00" + "time": "2023-02-03T21:26:53+00:00" }, { "name": "league/uri", - "version": "6.4.0", + "version": "6.8.0", "source": { "type": "git", "url": "https://github.com/thephpleague/uri.git", - "reference": "09da64118eaf4c5d52f9923a1e6a5be1da52fd9a" + "reference": "a700b4656e4c54371b799ac61e300ab25a2d1d39" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/uri/zipball/09da64118eaf4c5d52f9923a1e6a5be1da52fd9a", - "reference": "09da64118eaf4c5d52f9923a1e6a5be1da52fd9a", + "url": "https://api.github.com/repos/thephpleague/uri/zipball/a700b4656e4c54371b799ac61e300ab25a2d1d39", + "reference": "a700b4656e4c54371b799ac61e300ab25a2d1d39", "shasum": "" }, "require": { "ext-json": "*", - "league/uri-interfaces": "^2.1", - "php": ">=7.2", - "psr/http-message": "^1.0" + "league/uri-interfaces": "^2.3", + "php": "^8.1", + "psr/http-message": "^1.0.1" }, "conflict": { "league/uri-schemes": "^1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.16", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^8.0 || ^9.0", - "psr/http-factory": "^1.0" + "friendsofphp/php-cs-fixer": "^v3.9.5", + "nyholm/psr7": "^1.5.1", + "php-http/psr7-integration-tests": "^1.1.1", + "phpbench/phpbench": "^1.2.6", + "phpstan/phpstan": "^1.8.5", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.1.1", + "phpstan/phpstan-strict-rules": "^1.4.3", + "phpunit/phpunit": "^9.5.24", + "psr/http-factory": "^1.0.1" }, "suggest": { "ext-fileinfo": "Needed to create Data URI from a filepath", @@ -1733,7 +1806,7 @@ } ], "description": "URI manipulation library", - "homepage": "http://uri.thephpleague.com", + "homepage": "https://uri.thephpleague.com", "keywords": [ "data-uri", "file-uri", @@ -1759,7 +1832,7 @@ "docs": "https://uri.thephpleague.com", "forum": "https://thephpleague.slack.com", "issues": "https://github.com/thephpleague/uri/issues", - "source": "https://github.com/thephpleague/uri/tree/6.4.0" + "source": "https://github.com/thephpleague/uri/tree/6.8.0" }, "funding": [ { @@ -1767,31 +1840,36 @@ "type": "github" } ], - "time": "2020-11-22T14:29:11+00:00" + "time": "2022-09-13T19:58:47+00:00" }, { "name": "league/uri-interfaces", - "version": "2.2.0", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/thephpleague/uri-interfaces.git", - "reference": "667f150e589d65d79c89ffe662e426704f84224f" + "reference": "00e7e2943f76d8cb50c7dfdc2f6dee356e15e383" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/667f150e589d65d79c89ffe662e426704f84224f", - "reference": "667f150e589d65d79c89ffe662e426704f84224f", + "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/00e7e2943f76d8cb50c7dfdc2f6dee356e15e383", + "reference": "00e7e2943f76d8cb50c7dfdc2f6dee356e15e383", "shasum": "" }, "require": { "ext-json": "*", - "php": "^7.1 || ^8.0" + "php": "^7.2 || ^8.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.0", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12" + "friendsofphp/php-cs-fixer": "^2.19", + "phpstan/phpstan": "^0.12.90", + "phpstan/phpstan-phpunit": "^0.12.19", + "phpstan/phpstan-strict-rules": "^0.12.9", + "phpunit/phpunit": "^8.5.15 || ^9.5" + }, + "suggest": { + "ext-intl": "to use the IDNA feature", + "symfony/intl": "to use the IDNA feature via Symfony Polyfill" }, "type": "library", "extra": { @@ -1825,7 +1903,7 @@ ], "support": { "issues": "https://github.com/thephpleague/uri-interfaces/issues", - "source": "https://github.com/thephpleague/uri-interfaces/tree/2.2.0" + "source": "https://github.com/thephpleague/uri-interfaces/tree/2.3.0" }, "funding": [ { @@ -1833,7 +1911,7 @@ "type": "github" } ], - "time": "2020-10-31T13:45:51+00:00" + "time": "2021-06-28T04:27:21+00:00" }, { "name": "league/uri-parser", @@ -1870,12 +1948,12 @@ } }, "autoload": { - "psr-4": { - "League\\Uri\\": "src" - }, "files": [ "src/functions_include.php" - ] + ], + "psr-4": { + "League\\Uri\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1902,63 +1980,69 @@ "issues": "https://github.com/thephpleague/uri-parser/issues", "source": "https://github.com/thephpleague/uri-parser/tree/master" }, + "abandoned": true, "time": "2018-11-22T07:55:51+00:00" }, { "name": "monolog/monolog", - "version": "2.2.0", + "version": "3.3.1", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "1cb1cde8e8dd0f70cc0fe51354a59acad9302084" + "reference": "9b5daeaffce5b926cac47923798bba91059e60e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1cb1cde8e8dd0f70cc0fe51354a59acad9302084", - "reference": "1cb1cde8e8dd0f70cc0fe51354a59acad9302084", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/9b5daeaffce5b926cac47923798bba91059e60e2", + "reference": "9b5daeaffce5b926cac47923798bba91059e60e2", "shasum": "" }, "require": { - "php": ">=7.2", - "psr/log": "^1.0.1" + "php": ">=8.1", + "psr/log": "^2.0 || ^3.0" }, "provide": { - "psr/log-implementation": "1.0.0" + "psr/log-implementation": "3.0.0" }, "require-dev": { - "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "aws/aws-sdk-php": "^3.0", "doctrine/couchdb": "~1.0@dev", - "elasticsearch/elasticsearch": "^7", - "graylog2/gelf-php": "^1.4.2", + "elasticsearch/elasticsearch": "^7 || ^8", + "ext-json": "*", + "graylog2/gelf-php": "^1.4.2 || ^2@dev", + "guzzlehttp/guzzle": "^7.4.5", + "guzzlehttp/psr7": "^2.2", "mongodb/mongodb": "^1.8", - "php-amqplib/php-amqplib": "~2.4", - "php-console/php-console": "^3.1.3", - "phpspec/prophecy": "^1.6.1", - "phpstan/phpstan": "^0.12.59", - "phpunit/phpunit": "^8.5", - "predis/predis": "^1.1", - "rollbar/rollbar": "^1.3", - "ruflin/elastica": ">=0.90 <7.0.1", - "swiftmailer/swiftmailer": "^5.3|^6.0" + "php-amqplib/php-amqplib": "~2.4 || ^3", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-strict-rules": "^1.4", + "phpunit/phpunit": "^9.5.26", + "predis/predis": "^1.1 || ^2", + "ruflin/elastica": "^7", + "symfony/mailer": "^5.4 || ^6", + "symfony/mime": "^5.4 || ^6" }, "suggest": { "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", "doctrine/couchdb": "Allow sending log messages to a CouchDB server", "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHandler", "ext-mbstring": "Allow to work properly with unicode symbols", "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", + "ext-openssl": "Required to send log messages using SSL", + "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)", "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", - "php-console/php-console": "Allow sending log messages to Google Chrome", "rollbar/rollbar": "Allow sending log messages to Rollbar", "ruflin/elastica": "Allow sending log messages to an Elastic Search server" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -1986,7 +2070,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.2.0" + "source": "https://github.com/Seldaek/monolog/tree/3.3.1" }, "funding": [ { @@ -1998,7 +2082,7 @@ "type": "tidelift" } ], - "time": "2020-12-14T13:15:25+00:00" + "time": "2023-02-06T13:46:10+00:00" }, { "name": "nikic/fast-route", @@ -2022,12 +2106,12 @@ }, "type": "library", "autoload": { - "psr-4": { - "FastRoute\\": "src/" - }, "files": [ "src/functions.php" - ] + ], + "psr-4": { + "FastRoute\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2052,20 +2136,20 @@ }, { "name": "psr/cache", - "version": "1.0.1", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/cache.git", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=8.0.0" }, "type": "library", "extra": { @@ -2085,7 +2169,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for caching libraries", @@ -2095,28 +2179,33 @@ "psr-6" ], "support": { - "source": "https://github.com/php-fig/cache/tree/master" + "source": "https://github.com/php-fig/cache/tree/3.0.0" }, - "time": "2016-08-06T20:24:11+00:00" + "time": "2021-02-03T23:26:27+00:00" }, { "name": "psr/container", - "version": "1.1.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf" + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf", - "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", "shasum": "" }, "require": { - "php": ">=7.2.0" + "php": ">=7.4.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, "autoload": { "psr-4": { "Psr\\Container\\": "src/" @@ -2143,9 +2232,59 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.1" + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" }, - "time": "2021-03-05T17:36:06+00:00" + "time": "2019-01-08T18:20:26+00:00" }, { "name": "psr/http-message", @@ -2202,30 +2341,30 @@ }, { "name": "psr/log", - "version": "1.1.4", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11" + "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11", + "url": "https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376", + "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=8.0.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { "psr-4": { - "Psr\\Log\\": "Psr/Log/" + "Psr\\Log\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -2246,62 +2385,63 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/1.1.4" + "source": "https://github.com/php-fig/log/tree/2.0.0" }, - "time": "2021-05-03T11:20:27+00:00" + "time": "2021-07-14T16:41:46+00:00" }, { "name": "symfony/cache", - "version": "v5.2.9", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "17a6d585603fade3838bc692548b619d97ded67e" + "reference": "01a36b32f930018764bcbde006fbbe421fa6b61e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/17a6d585603fade3838bc692548b619d97ded67e", - "reference": "17a6d585603fade3838bc692548b619d97ded67e", + "url": "https://api.github.com/repos/symfony/cache/zipball/01a36b32f930018764bcbde006fbbe421fa6b61e", + "reference": "01a36b32f930018764bcbde006fbbe421fa6b61e", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/cache": "^1.0|^2.0", - "psr/log": "^1.1", - "symfony/cache-contracts": "^1.1.7|^2", - "symfony/polyfill-php80": "^1.15", - "symfony/service-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0" + "php": ">=8.1", + "psr/cache": "^2.0|^3.0", + "psr/log": "^1.1|^2|^3", + "symfony/cache-contracts": "^1.1.7|^2|^3", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/var-exporter": "^6.2.7" }, "conflict": { - "doctrine/dbal": "<2.10", - "symfony/dependency-injection": "<4.4", - "symfony/http-kernel": "<4.4", - "symfony/var-dumper": "<4.4" + "doctrine/dbal": "<2.13.1", + "symfony/dependency-injection": "<5.4", + "symfony/http-kernel": "<5.4", + "symfony/var-dumper": "<5.4" }, "provide": { - "psr/cache-implementation": "1.0|2.0", - "psr/simple-cache-implementation": "1.0", - "symfony/cache-implementation": "1.0|2.0" + "psr/cache-implementation": "2.0|3.0", + "psr/simple-cache-implementation": "1.0|2.0|3.0", + "symfony/cache-implementation": "1.1|2.0|3.0" }, "require-dev": { "cache/integration-tests": "dev-master", - "doctrine/cache": "^1.6|^2.0", - "doctrine/dbal": "^2.10|^3.0", + "doctrine/dbal": "^2.13.1|^3.0", "predis/predis": "^1.1", - "psr/simple-cache": "^1.0", - "symfony/config": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/filesystem": "^4.4|^5.0", - "symfony/http-kernel": "^4.4|^5.0", - "symfony/messenger": "^4.4|^5.0", - "symfony/var-dumper": "^4.4|^5.0" + "psr/simple-cache": "^1.0|^2.0|^3.0", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/filesystem": "^5.4|^6.0", + "symfony/http-kernel": "^5.4|^6.0", + "symfony/messenger": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" }, "type": "library", "autoload": { "psr-4": { "Symfony\\Component\\Cache\\": "" }, + "classmap": [ + "Traits/ValueWrapper.php" + ], "exclude-from-classmap": [ "/Tests/" ] @@ -2320,14 +2460,14 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Provides an extended PSR-6, PSR-16 (and tags) implementation", + "description": "Provides extended PSR-6, PSR-16 (and tags) implementations", "homepage": "https://symfony.com", "keywords": [ "caching", "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v5.2.9" + "source": "https://github.com/symfony/cache/tree/v6.2.7" }, "funding": [ { @@ -2343,25 +2483,25 @@ "type": "tidelift" } ], - "time": "2021-05-17T19:35:40+00:00" + "time": "2023-02-21T16:15:44+00:00" }, { "name": "symfony/cache-contracts", - "version": "v2.4.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/cache-contracts.git", - "reference": "c0446463729b89dd4fa62e9aeecc80287323615d" + "reference": "eeb71f04b6f7f34ca6d15633df82e014528b1632" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/c0446463729b89dd4fa62e9aeecc80287323615d", - "reference": "c0446463729b89dd4fa62e9aeecc80287323615d", + "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/eeb71f04b6f7f34ca6d15633df82e014528b1632", + "reference": "eeb71f04b6f7f34ca6d15633df82e014528b1632", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/cache": "^1.0|^2.0|^3.0" + "php": ">=8.1", + "psr/cache": "^3.0" }, "suggest": { "symfony/cache-implementation": "" @@ -2369,7 +2509,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -2406,7 +2546,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/cache-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/cache-contracts/tree/v3.2.1" }, "funding": [ { @@ -2422,46 +2562,47 @@ "type": "tidelift" } ], - "time": "2021-03-23T23:28:01+00:00" + "time": "2023-03-01T10:32:47+00:00" }, { "name": "symfony/console", - "version": "v4.4.24", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "1b15ca1b1bedda86f98064da9ff5d800560d4c6d" + "reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/1b15ca1b1bedda86f98064da9ff5d800560d4c6d", - "reference": "1b15ca1b1bedda86f98064da9ff5d800560d4c6d", + "url": "https://api.github.com/repos/symfony/console/zipball/cbad09eb8925b6ad4fb721c7a179344dc4a19d45", + "reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45", "shasum": "" }, "require": { - "php": ">=7.1.3", + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.8", - "symfony/polyfill-php80": "^1.15", - "symfony/service-contracts": "^1.1|^2" + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.4|^6.0" }, "conflict": { - "symfony/dependency-injection": "<3.4", - "symfony/event-dispatcher": "<4.3|>=5", - "symfony/lock": "<4.4", - "symfony/process": "<3.3" + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" }, "provide": { - "psr/log-implementation": "1.0" + "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { - "psr/log": "~1.0", - "symfony/config": "^3.4|^4.0|^5.0", - "symfony/dependency-injection": "^3.4|^4.0|^5.0", - "symfony/event-dispatcher": "^4.3", - "symfony/lock": "^4.4|^5.0", - "symfony/process": "^3.4|^4.0|^5.0", - "symfony/var-dumper": "^4.3|^5.0" + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/lock": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" }, "suggest": { "psr/log": "For using the console logger", @@ -2494,8 +2635,14 @@ ], "description": "Eases the creation of beautiful and testable command line interfaces", "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command line", + "console", + "terminal" + ], "support": { - "source": "https://github.com/symfony/console/tree/v4.4.24" + "source": "https://github.com/symfony/console/tree/v6.2.7" }, "funding": [ { @@ -2511,29 +2658,29 @@ "type": "tidelift" } ], - "time": "2021-05-13T06:28:07+00:00" + "time": "2023-02-25T17:00:03+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v2.4.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627" + "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5f38c8804a9e97d23e0c8d63341088cd8a22d627", - "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", + "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -2562,7 +2709,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.1" }, "funding": [ { @@ -2578,42 +2725,42 @@ "type": "tidelift" } ], - "time": "2021-03-23T23:28:01+00:00" + "time": "2023-03-01T10:25:55+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v4.4.20", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "c352647244bd376bf7d31efbd5401f13f50dad0c" + "reference": "404b307de426c1c488e5afad64403e5f145e82a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c352647244bd376bf7d31efbd5401f13f50dad0c", - "reference": "c352647244bd376bf7d31efbd5401f13f50dad0c", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/404b307de426c1c488e5afad64403e5f145e82a5", + "reference": "404b307de426c1c488e5afad64403e5f145e82a5", "shasum": "" }, "require": { - "php": ">=7.1.3", - "symfony/event-dispatcher-contracts": "^1.1" + "php": ">=8.1", + "symfony/event-dispatcher-contracts": "^2|^3" }, "conflict": { - "symfony/dependency-injection": "<3.4" + "symfony/dependency-injection": "<5.4" }, "provide": { "psr/event-dispatcher-implementation": "1.0", - "symfony/event-dispatcher-implementation": "1.1" + "symfony/event-dispatcher-implementation": "2.0|3.0" }, "require-dev": { - "psr/log": "~1.0", - "symfony/config": "^3.4|^4.0|^5.0", - "symfony/dependency-injection": "^3.4|^4.0|^5.0", - "symfony/error-handler": "~3.4|~4.4", - "symfony/expression-language": "^3.4|^4.0|^5.0", - "symfony/http-foundation": "^3.4|^4.0|^5.0", - "symfony/service-contracts": "^1.1|^2", - "symfony/stopwatch": "^3.4|^4.0|^5.0" + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/error-handler": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/http-foundation": "^5.4|^6.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/stopwatch": "^5.4|^6.0" }, "suggest": { "symfony/dependency-injection": "", @@ -2645,7 +2792,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v4.4.20" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.2.7" }, "funding": [ { @@ -2661,33 +2808,33 @@ "type": "tidelift" } ], - "time": "2021-01-27T09:09:26+00:00" + "time": "2023-02-14T08:44:56+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v1.1.9", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "84e23fdcd2517bf37aecbd16967e83f0caee25a7" + "reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/84e23fdcd2517bf37aecbd16967e83f0caee25a7", - "reference": "84e23fdcd2517bf37aecbd16967e83f0caee25a7", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0ad3b6f1e4e2da5690fefe075cd53a238646d8dd", + "reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd", "shasum": "" }, "require": { - "php": ">=7.1.3" + "php": ">=8.1", + "psr/event-dispatcher": "^1" }, "suggest": { - "psr/event-dispatcher": "", "symfony/event-dispatcher-implementation": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -2724,7 +2871,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v1.1.9" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.2.1" }, "funding": [ { @@ -2740,27 +2887,26 @@ "type": "tidelift" } ], - "time": "2020-07-06T13:19:58+00:00" + "time": "2023-03-01T10:32:47+00:00" }, { "name": "symfony/expression-language", - "version": "v5.2.7", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/expression-language.git", - "reference": "c8bb14c3bcc397845d7e86a1cc5022671eed1ff8" + "reference": "83e1fee4c018aa60bcbbecd585a2c54af6aca905" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/expression-language/zipball/c8bb14c3bcc397845d7e86a1cc5022671eed1ff8", - "reference": "c8bb14c3bcc397845d7e86a1cc5022671eed1ff8", + "url": "https://api.github.com/repos/symfony/expression-language/zipball/83e1fee4c018aa60bcbbecd585a2c54af6aca905", + "reference": "83e1fee4c018aa60bcbbecd585a2c54af6aca905", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/cache": "^4.4|^5.0", - "symfony/polyfill-php80": "^1.15", - "symfony/service-contracts": "^1.1|^2" + "php": ">=8.1", + "symfony/cache": "^5.4|^6.0", + "symfony/service-contracts": "^1.1|^2|^3" }, "type": "library", "autoload": { @@ -2788,7 +2934,7 @@ "description": "Provides an engine that can compile and evaluate expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/expression-language/tree/v5.3.0-BETA1" + "source": "https://github.com/symfony/expression-language/tree/v6.2.7" }, "funding": [ { @@ -2804,24 +2950,26 @@ "type": "tidelift" } ], - "time": "2021-04-07T16:07:52+00:00" + "time": "2023-02-16T09:57:23+00:00" }, { "name": "symfony/finder", - "version": "v5.2.9", + "version": "v5.4.21", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "ccccb9d48ca42757dd12f2ca4bf857a4e217d90d" + "reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/ccccb9d48ca42757dd12f2ca4bf857a4e217d90d", - "reference": "ccccb9d48ca42757dd12f2ca4bf857a4e217d90d", + "url": "https://api.github.com/repos/symfony/finder/zipball/078e9a5e1871fcfe6a5ce421b539344c21afef19", + "reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19", "shasum": "" }, "require": { - "php": ">=7.2.5" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -2849,7 +2997,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.2.9" + "source": "https://github.com/symfony/finder/tree/v5.4.21" }, "funding": [ { @@ -2865,32 +3013,35 @@ "type": "tidelift" } ], - "time": "2021-05-16T13:07:46+00:00" + "time": "2023-02-16T09:33:00+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.22.1", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "c6c942b1ac76c82448322025e084cadc56048b4e" + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c6c942b1ac76c82448322025e084cadc56048b4e", - "reference": "c6c942b1ac76c82448322025e084cadc56048b4e", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", "shasum": "" }, "require": { "php": ">=7.1" }, + "provide": { + "ext-ctype": "*" + }, "suggest": { "ext-ctype": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2898,12 +3049,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2928,7 +3079,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.22.1" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" }, "funding": [ { @@ -2944,20 +3095,20 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.22.1", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "5601e09b69f26c1828b13b6bb87cb07cddba3170" + "reference": "511a08c03c1960e08a883f4cffcacd219b758354" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/5601e09b69f26c1828b13b6bb87cb07cddba3170", - "reference": "5601e09b69f26c1828b13b6bb87cb07cddba3170", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", + "reference": "511a08c03c1960e08a883f4cffcacd219b758354", "shasum": "" }, "require": { @@ -2969,7 +3120,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2977,12 +3128,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3009,7 +3160,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.22.1" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" }, "funding": [ { @@ -3025,20 +3176,20 @@ "type": "tidelift" } ], - "time": "2021-01-22T09:19:47+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.22.1", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "43a0283138253ed1d48d352ab6d0bdb3f809f248" + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/43a0283138253ed1d48d352ab6d0bdb3f809f248", - "reference": "43a0283138253ed1d48d352ab6d0bdb3f809f248", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", "shasum": "" }, "require": { @@ -3050,7 +3201,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3058,12 +3209,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -3093,7 +3244,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.22.1" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" }, "funding": [ { @@ -3109,32 +3260,35 @@ "type": "tidelift" } ], - "time": "2021-01-22T09:19:47+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.22.1", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "5232de97ee3b75b0360528dae24e73db49566ab1" + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/5232de97ee3b75b0360528dae24e73db49566ab1", - "reference": "5232de97ee3b75b0360528dae24e73db49566ab1", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", "shasum": "" }, "require": { "php": ">=7.1" }, + "provide": { + "ext-mbstring": "*" + }, "suggest": { "ext-mbstring": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3142,12 +3296,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3173,7 +3327,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.1" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" }, "funding": [ { @@ -3189,20 +3343,20 @@ "type": "tidelift" } ], - "time": "2021-01-22T09:19:47+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { - "name": "symfony/polyfill-php73", - "version": "v1.22.1", + "name": "symfony/polyfill-php80", + "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2" + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", - "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", "shasum": "" }, "require": { @@ -3211,7 +3365,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3219,91 +3373,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, "files": [ "bootstrap.php" ], - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.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-01-07T16:49:33+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.22.1", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91", - "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.22-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { "psr-4": { "Symfony\\Polyfill\\Php80\\": "" }, - "files": [ - "bootstrap.php" - ], "classmap": [ "Resources/stubs" ] @@ -3335,7 +3410,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.1" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" }, "funding": [ { @@ -3351,30 +3426,29 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/property-access", - "version": "v5.2.4", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/property-access.git", - "reference": "3af8ed262bd3217512a13b023981fe68f36ad5f3" + "reference": "5a389172011e2c37b47c896d0b156549126690a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-access/zipball/3af8ed262bd3217512a13b023981fe68f36ad5f3", - "reference": "3af8ed262bd3217512a13b023981fe68f36ad5f3", + "url": "https://api.github.com/repos/symfony/property-access/zipball/5a389172011e2c37b47c896d0b156549126690a1", + "reference": "5a389172011e2c37b47c896d0b156549126690a1", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-php80": "^1.15", - "symfony/property-info": "^5.2" + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/property-info": "^5.4|^6.0" }, "require-dev": { - "symfony/cache": "^4.4|^5.0" + "symfony/cache": "^5.4|^6.0" }, "suggest": { "psr/cache-implementation": "To cache access methods." @@ -3416,7 +3490,7 @@ "reflection" ], "support": { - "source": "https://github.com/symfony/property-access/tree/v5.2.4" + "source": "https://github.com/symfony/property-access/tree/v6.2.7" }, "funding": [ { @@ -3432,39 +3506,38 @@ "type": "tidelift" } ], - "time": "2021-01-27T10:15:41+00:00" + "time": "2023-02-14T08:44:56+00:00" }, { "name": "symfony/property-info", - "version": "v5.2.8", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/property-info.git", - "reference": "cc8121baf91039648d5f8feb894dc4a9d4935cc0" + "reference": "5cf906918ea0f74032ffc5c0b85def246ce409df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-info/zipball/cc8121baf91039648d5f8feb894dc4a9d4935cc0", - "reference": "cc8121baf91039648d5f8feb894dc4a9d4935cc0", + "url": "https://api.github.com/repos/symfony/property-info/zipball/5cf906918ea0f74032ffc5c0b85def246ce409df", + "reference": "5cf906918ea0f74032ffc5c0b85def246ce409df", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-php80": "^1.15", - "symfony/string": "^5.1" + "php": ">=8.1", + "symfony/string": "^5.4|^6.0" }, "conflict": { - "phpdocumentor/reflection-docblock": "<3.2.2", - "phpdocumentor/type-resolver": "<1.4.0", - "symfony/dependency-injection": "<4.4" + "phpdocumentor/reflection-docblock": "<5.2", + "phpdocumentor/type-resolver": "<1.5.1", + "symfony/dependency-injection": "<5.4" }, "require-dev": { - "doctrine/annotations": "^1.10.4", - "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "symfony/cache": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/serializer": "^4.4|^5.0" + "doctrine/annotations": "^1.10.4|^2", + "phpdocumentor/reflection-docblock": "^5.2", + "phpstan/phpdoc-parser": "^1.0", + "symfony/cache": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/serializer": "^5.4|^6.0" }, "suggest": { "phpdocumentor/reflection-docblock": "To use the PHPDoc", @@ -3506,7 +3579,7 @@ "validator" ], "support": { - "source": "https://github.com/symfony/property-info/tree/v5.2.8" + "source": "https://github.com/symfony/property-info/tree/v6.2.7" }, "funding": [ { @@ -3522,25 +3595,28 @@ "type": "tidelift" } ], - "time": "2021-05-07T14:04:56+00:00" + "time": "2023-02-14T08:53:37+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.4.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb" + "reference": "a8c9cedf55f314f3a186041d19537303766df09a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", - "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/a8c9cedf55f314f3a186041d19537303766df09a", + "reference": "a8c9cedf55f314f3a186041d19537303766df09a", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/container": "^1.1" + "php": ">=8.1", + "psr/container": "^2.0" + }, + "conflict": { + "ext-psr": "<1.1|>=2" }, "suggest": { "symfony/service-implementation": "" @@ -3548,7 +3624,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -3558,7 +3634,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3585,7 +3664,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.2.1" }, "funding": [ { @@ -3601,44 +3680,47 @@ "type": "tidelift" } ], - "time": "2021-04-01T10:43:52+00:00" + "time": "2023-03-01T10:32:47+00:00" }, { "name": "symfony/string", - "version": "v5.2.8", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "01b35eb64cac8467c3f94cd0ce2d0d376bb7d1db" + "reference": "67b8c1eec78296b85dc1c7d9743830160218993d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/01b35eb64cac8467c3f94cd0ce2d0d376bb7d1db", - "reference": "01b35eb64cac8467c3f94cd0ce2d0d376bb7d1db", + "url": "https://api.github.com/repos/symfony/string/zipball/67b8c1eec78296b85dc1c7d9743830160218993d", + "reference": "67b8c1eec78296b85dc1c7d9743830160218993d", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.1", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "~1.15" + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/translation-contracts": "<2.0" }, "require-dev": { - "symfony/error-handler": "^4.4|^5.0", - "symfony/http-client": "^4.4|^5.0", - "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0" + "symfony/error-handler": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/intl": "^6.2", + "symfony/translation-contracts": "^2.0|^3.0", + "symfony/var-exporter": "^5.4|^6.0" }, "type": "library", "autoload": { - "psr-4": { - "Symfony\\Component\\String\\": "" - }, "files": [ "Resources/functions.php" ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, "exclude-from-classmap": [ "/Tests/" ] @@ -3668,7 +3750,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.2.8" + "source": "https://github.com/symfony/string/tree/v6.2.7" }, "funding": [ { @@ -3684,28 +3766,27 @@ "type": "tidelift" } ], - "time": "2021-05-10T14:56:10+00:00" + "time": "2023-02-24T10:42:00+00:00" }, { "name": "symfony/var-exporter", - "version": "v5.2.8", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "d26db2d2b2d7eb2c1adb8545179f8803998b8237" + "reference": "86062dd0103530e151588c8f60f5b85a139f1442" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/d26db2d2b2d7eb2c1adb8545179f8803998b8237", - "reference": "d26db2d2b2d7eb2c1adb8545179f8803998b8237", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/86062dd0103530e151588c8f60f5b85a139f1442", + "reference": "86062dd0103530e151588c8f60f5b85a139f1442", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-php80": "^1.15" + "php": ">=8.1" }, "require-dev": { - "symfony/var-dumper": "^4.4.9|^5.0.9" + "symfony/var-dumper": "^5.4|^6.0" }, "type": "library", "autoload": { @@ -3738,10 +3819,12 @@ "export", "hydrate", "instantiate", + "lazy loading", + "proxy", "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v5.3.0-BETA3" + "source": "https://github.com/symfony/var-exporter/tree/v6.2.7" }, "funding": [ { @@ -3757,32 +3840,31 @@ "type": "tidelift" } ], - "time": "2021-05-07T13:42:21+00:00" + "time": "2023-02-24T10:42:00+00:00" }, { "name": "symfony/yaml", - "version": "v5.2.9", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "d23115e4a3d50520abddccdbec9514baab1084c8" + "reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/d23115e4a3d50520abddccdbec9514baab1084c8", - "reference": "d23115e4a3d50520abddccdbec9514baab1084c8", + "url": "https://api.github.com/repos/symfony/yaml/zipball/e8e6a1d59e050525f27a1f530aa9703423cb7f57", + "reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-ctype": "~1.8" + "php": ">=8.1", + "symfony/polyfill-ctype": "^1.8" }, "conflict": { - "symfony/console": "<4.4" + "symfony/console": "<5.4" }, "require-dev": { - "symfony/console": "^4.4|^5.0" + "symfony/console": "^5.4|^6.0" }, "suggest": { "symfony/console": "For validating YAML files using the lint command" @@ -3816,7 +3898,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.2.9" + "source": "https://github.com/symfony/yaml/tree/v6.2.7" }, "funding": [ { @@ -3832,30 +3914,30 @@ "type": "tidelift" } ], - "time": "2021-05-16T13:07:46+00:00" + "time": "2023-02-16T09:57:23+00:00" }, { "name": "winzou/state-machine", - "version": "0.4.1", + "version": "0.4.3", "source": { "type": "git", "url": "https://github.com/winzou/state-machine.git", - "reference": "7633c95034a40ba5b3e9619dd02f4a2d0043a784" + "reference": "d155f66d8386e7743c99e7add7d3201d6b55fcc2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/winzou/state-machine/zipball/7633c95034a40ba5b3e9619dd02f4a2d0043a784", - "reference": "7633c95034a40ba5b3e9619dd02f4a2d0043a784", + "url": "https://api.github.com/repos/winzou/state-machine/zipball/d155f66d8386e7743c99e7add7d3201d6b55fcc2", + "reference": "d155f66d8386e7743c99e7add7d3201d6b55fcc2", "shasum": "" }, "require": { "php": "^7.1.3|^8.0", - "symfony/event-dispatcher": "^4.3|^5.0", - "symfony/expression-language": "^4.3|^5.0", - "symfony/property-access": "^4.3|^5.0" + "symfony/event-dispatcher": "^4.3|^5.0|^6.0", + "symfony/expression-language": "^4.3|^5.0|^6.0", + "symfony/property-access": "^4.3|^5.0|^6.0" }, "require-dev": { - "phpspec/phpspec": "^5.0|^6.0", + "phpspec/phpspec": "^5.0|^6.0|^7.1", "twig/twig": "^2.10|^3.0" }, "suggest": { @@ -3888,9 +3970,9 @@ ], "support": { "issues": "https://github.com/winzou/state-machine/issues", - "source": "https://github.com/winzou/state-machine/tree/0.4.1" + "source": "https://github.com/winzou/state-machine/tree/0.4.3" }, - "time": "2021-03-03T21:03:15+00:00" + "time": "2022-01-29T13:38:09+00:00" }, { "name": "yosymfony/resource-watcher", @@ -3952,31 +4034,36 @@ ], "packages-dev": [ { - "name": "2bj/phanybar", - "version": "v1.0.0", + "name": "composer/pcre", + "version": "3.1.0", "source": { "type": "git", - "url": "https://github.com/2bj/Phanybar.git", - "reference": "88ff671e18f30c2047a34f8cf2465a7ff93c819b" + "url": "https://github.com/composer/pcre.git", + "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/2bj/Phanybar/zipball/88ff671e18f30c2047a34f8cf2465a7ff93c819b", - "reference": "88ff671e18f30c2047a34f8cf2465a7ff93c819b", + "url": "https://api.github.com/repos/composer/pcre/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", + "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.3", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^5" }, - "bin": [ - "bin/phanybar" - ], "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, "autoload": { "psr-4": { - "Bakyt\\": [ - "src/" - ] + "Composer\\Pcre\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -3985,42 +4072,68 @@ ], "authors": [ { - "name": "Bakyt Turgumbaev", - "email": "dev2bj@gmail.com" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" } ], - "description": "Control AnyBar from your php", + "description": "PCRE wrapping library that offers type-safe preg_* replacements.", "keywords": [ - "anybar", - "phanybar" + "PCRE", + "preg", + "regex", + "regular expression" ], "support": { - "issues": "https://github.com/2bj/Phanybar/issues", - "source": "https://github.com/2bj/Phanybar/tree/master" + "issues": "https://github.com/composer/pcre/issues", + "source": "https://github.com/composer/pcre/tree/3.1.0" }, - "time": "2015-03-06T12:14:28+00:00" + "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": "2022-11-17T09:50:14+00:00" }, { - "name": "codedungeon/php-cli-colors", - "version": "1.12.2", + "name": "composer/semver", + "version": "3.3.2", "source": { "type": "git", - "url": "https://github.com/mikeerickson/php-cli-colors.git", - "reference": "e346156f75717140a3dd622124d2ec686aa7ff8e" + "url": "https://github.com/composer/semver.git", + "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mikeerickson/php-cli-colors/zipball/e346156f75717140a3dd622124d2ec686aa7ff8e", - "reference": "e346156f75717140a3dd622124d2ec686aa7ff8e", + "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", + "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", "shasum": "" }, + "require": { + "php": "^5.3.2 || ^7.0 || ^8.0" + }, "require-dev": { - "phpunit/phpunit": ">=5.2" + "phpstan/phpstan": "^1.4", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, "autoload": { "psr-4": { - "Codedungeon\\PHPCliColors\\": "src/" + "Composer\\Semver\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -4029,53 +4142,77 @@ ], "authors": [ { - "name": "Mike Erickson", - "email": "codedungeon@gmail.com" + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "http://www.naderman.de" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + }, + { + "name": "Rob Bast", + "email": "rob.bast@gmail.com", + "homepage": "http://robbast.nl" } ], - "description": "Liven up you PHP Console Apps with standard colors", - "homepage": "https://github.com/mikeerickson/php-cli-colors", + "description": "Semver library that offers utilities, version constraint parsing and validation.", "keywords": [ - "color", - "colors", - "composer", - "package", - "php" + "semantic", + "semver", + "validation", + "versioning" ], "support": { - "issues": "https://github.com/mikeerickson/php-cli-colors/issues", - "source": "https://github.com/mikeerickson/php-cli-colors/tree/1.12.2" - }, - "time": "2021-01-05T04:48:27+00:00" - }, - { - "name": "codedungeon/phpunit-result-printer", - "version": "0.30.1", - "source": { - "type": "git", - "url": "https://github.com/mikeerickson/phpunit-pretty-result-printer.git", - "reference": "a361009eeb7078c1478ba835976f7722a4952870" + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/semver/issues", + "source": "https://github.com/composer/semver/tree/3.3.2" }, - "dist": { + "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": "2022-04-01T19:23:25+00:00" + }, + { + "name": "composer/xdebug-handler", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/composer/xdebug-handler.git", + "reference": "ced299686f41dce890debac69273b47ffe98a40c" + }, + "dist": { "type": "zip", - "url": "https://api.github.com/repos/mikeerickson/phpunit-pretty-result-printer/zipball/a361009eeb7078c1478ba835976f7722a4952870", - "reference": "a361009eeb7078c1478ba835976f7722a4952870", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", + "reference": "ced299686f41dce890debac69273b47ffe98a40c", "shasum": "" }, "require": { - "2bj/phanybar": "^1.0", - "codedungeon/php-cli-colors": "^1.10.2", - "hassankhan/config": "^0.11.2|^1.0|^2.0", - "php": "^7.1 | ^8.0", - "symfony/yaml": "^2.7|^3.0|^4.0|^5.0" + "composer/pcre": "^1 || ^2 || ^3", + "php": "^7.2.5 || ^8.0", + "psr/log": "^1 || ^2 || ^3" }, "require-dev": { - "spatie/phpunit-watcher": "^1.6" + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^6.0" }, "type": "library", "autoload": { "psr-4": { - "Codedungeon\\PHPUnitPrettyResultPrinter\\": "src/" + "Composer\\XdebugHandler\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -4084,56 +4221,108 @@ ], "authors": [ { - "name": "Mike Erickson", - "email": "codedungeon@gmail.com" + "name": "John Stevenson", + "email": "john-stevenson@blueyonder.co.uk" } ], - "description": "PHPUnit Pretty Result Printer", + "description": "Restarts a process without Xdebug.", "keywords": [ - "TDD", - "composer", - "package", - "phpunit", - "printer", - "result-printer", - "testing" + "Xdebug", + "performance" ], "support": { - "issues": "https://github.com/mikeerickson/phpunit-pretty-result-printer/issues", - "source": "https://github.com/mikeerickson/phpunit-pretty-result-printer/tree/0.30.1" + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/xdebug-handler/issues", + "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" }, - "time": "2020-12-24T20:19:03+00:00" + "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": "2022-02-25T21:32:43+00:00" }, { - "name": "composer/semver", - "version": "3.2.5", + "name": "dnoegel/php-xdg-base-dir", + "version": "v0.1.1", "source": { "type": "git", - "url": "https://github.com/composer/semver.git", - "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9" + "url": "https://github.com/dnoegel/php-xdg-base-dir.git", + "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/31f3ea725711245195f62e54ffa402d8ef2fdba9", - "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9", + "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", + "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" + "php": ">=5.3.2" }, "require-dev": { - "phpstan/phpstan": "^0.12.54", - "symfony/phpunit-bridge": "^4.2 || ^5" + "phpunit/phpunit": "~7.0|~6.0|~5.0|~4.8.35" }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.x-dev" + "autoload": { + "psr-4": { + "XdgBaseDir\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "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/annotations", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/annotations.git", + "reference": "e157ef3f3124bbf6fe7ce0ffd109e8a8ef284e7f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/e157ef3f3124bbf6fe7ce0ffd109e8a8ef284e7f", + "reference": "e157ef3f3124bbf6fe7ce0ffd109e8a8ef284e7f", + "shasum": "" + }, + "require": { + "doctrine/lexer": "^2 || ^3", + "ext-tokenizer": "*", + "php": "^7.2 || ^8.0", + "psr/cache": "^1 || ^2 || ^3" + }, + "require-dev": { + "doctrine/cache": "^2.0", + "doctrine/coding-standard": "^10", + "phpstan/phpstan": "^1.8.0", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "symfony/cache": "^5.4 || ^6", + "vimeo/psalm": "^4.10" + }, + "suggest": { + "php": "PHP 8.0 or higher comes with attributes, a native replacement for annotations" + }, + "type": "library", "autoload": { "psr-4": { - "Composer\\Semver\\": "src" + "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" } }, "notification-url": "https://packagist.org/downloads/", @@ -4142,75 +4331,113 @@ ], "authors": [ { - "name": "Nils Adermann", - "email": "naderman@naderman.de", - "homepage": "http://www.naderman.de" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" }, { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "name": "Roman Borschel", + "email": "roman@code-factory.org" }, { - "name": "Rob Bast", - "email": "rob.bast@gmail.com", - "homepage": "http://robbast.nl" + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "Semver library that offers utilities, version constraint parsing and validation.", + "description": "Docblock Annotations Parser", + "homepage": "https://www.doctrine-project.org/projects/annotations.html", "keywords": [ - "semantic", - "semver", - "validation", - "versioning" + "annotations", + "docblock", + "parser" ], "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.2.5" + "issues": "https://github.com/doctrine/annotations/issues", + "source": "https://github.com/doctrine/annotations/tree/2.0.1" }, - "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": "2023-02-02T22:02:53+00:00" + }, + { + "name": "doctrine/deprecations", + "version": "v1.0.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/deprecations.git", + "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", + "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", + "shasum": "" + }, + "require": { + "php": "^7.1|^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9", + "phpunit/phpunit": "^7.5|^8.5|^9.5", + "psr/log": "^1|^2|^3" + }, + "suggest": { + "psr/log": "Allows logging deprecations via PSR-3 logger implementation" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" ], - "time": "2021-05-24T12:41:47+00:00" + "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", + "homepage": "https://www.doctrine-project.org/", + "support": { + "issues": "https://github.com/doctrine/deprecations/issues", + "source": "https://github.com/doctrine/deprecations/tree/v1.0.0" + }, + "time": "2022-05-02T15:47:09+00:00" }, { - "name": "composer/xdebug-handler", - "version": "2.0.1", + "name": "doctrine/instantiator", + "version": "2.0.0", "source": { "type": "git", - "url": "https://github.com/composer/xdebug-handler.git", - "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496" + "url": "https://github.com/doctrine/instantiator.git", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/964adcdd3a28bf9ed5d9ac6450064e0d71ed7496", - "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0 || ^8.0", - "psr/log": "^1.0" + "php": "^8.1" }, "require-dev": { - "phpstan/phpstan": "^0.12.55", - "symfony/phpunit-bridge": "^4.2 || ^5" + "doctrine/coding-standard": "^11", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^1.2", + "phpstan/phpstan": "^1.9.4", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5.27", + "vimeo/psalm": "^5.4" }, "type": "library", "autoload": { "psr-4": { - "Composer\\XdebugHandler\\": "src" + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4219,66 +4446,65 @@ ], "authors": [ { - "name": "John Stevenson", - "email": "john-stevenson@blueyonder.co.uk" + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" } ], - "description": "Restarts a process without Xdebug.", + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", "keywords": [ - "Xdebug", - "performance" + "constructor", + "instantiate" ], "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.1" + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/2.0.0" }, "funding": [ { - "url": "https://packagist.com", + "url": "https://www.doctrine-project.org/sponsorship.html", "type": "custom" }, { - "url": "https://github.com/composer", - "type": "github" + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" }, { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", "type": "tidelift" } ], - "time": "2021-05-05T19:37:51+00:00" + "time": "2022-12-30T00:23:10+00:00" }, { - "name": "doctrine/instantiator", - "version": "1.4.0", + "name": "doctrine/lexer", + "version": "3.0.0", "source": { "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b" + "url": "https://github.com/doctrine/lexer.git", + "reference": "84a527db05647743d50373e0ec53a152f2cde568" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/84a527db05647743d50373e0ec53a152f2cde568", + "reference": "84a527db05647743d50373e0ec53a152f2cde568", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^8.0", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^0.13 || 1.0.0-alpha2", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "doctrine/coding-standard": "^10", + "phpstan/phpstan": "^1.9", + "phpunit/phpunit": "^9.5", + "psalm/plugin-phpunit": "^0.18.3", + "vimeo/psalm": "^5.0" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + "Doctrine\\Common\\Lexer\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -4287,20 +4513,30 @@ ], "authors": [ { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", "keywords": [ - "constructor", - "instantiate" + "annotations", + "docblock", + "lexer", + "parser", + "php" ], "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.4.0" + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/3.0.0" }, "funding": [ { @@ -4312,40 +4548,43 @@ "type": "patreon" }, { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", "type": "tidelift" } ], - "time": "2020-11-10T18:47:58+00:00" + "time": "2022-12-15T16:57:16+00:00" }, { "name": "fakerphp/faker", - "version": "v1.14.1", + "version": "v1.21.0", "source": { "type": "git", "url": "https://github.com/FakerPHP/Faker.git", - "reference": "ed22aee8d17c7b396f74a58b1e7fefa4f90d5ef1" + "reference": "92efad6a967f0b79c499705c69b662f738cc9e4d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/ed22aee8d17c7b396f74a58b1e7fefa4f90d5ef1", - "reference": "ed22aee8d17c7b396f74a58b1e7fefa4f90d5ef1", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/92efad6a967f0b79c499705c69b662f738cc9e4d", + "reference": "92efad6a967f0b79c499705c69b662f738cc9e4d", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "psr/container": "^1.0", - "symfony/deprecation-contracts": "^2.2" + "php": "^7.4 || ^8.0", + "psr/container": "^1.0 || ^2.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" }, "conflict": { "fzaninotto/faker": "*" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.4.1", + "doctrine/persistence": "^1.3 || ^2.0", "ext-intl": "*", - "symfony/phpunit-bridge": "^4.4 || ^5.2" + "phpunit/phpunit": "^9.5.26", + "symfony/phpunit-bridge": "^5.4.16" }, "suggest": { + "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", "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.", @@ -4354,7 +4593,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "v1.15-dev" + "dev-main": "v1.21-dev" } }, "autoload": { @@ -4379,146 +4618,144 @@ ], "support": { "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/v.1.14.1" + "source": "https://github.com/FakerPHP/Faker/tree/v1.21.0" }, - "time": "2021-03-30T06:27:33+00:00" + "time": "2022-12-13T13:54:32+00:00" }, { - "name": "guzzlehttp/guzzle", - "version": "7.3.0", + "name": "felixfbecker/advanced-json-rpc", + "version": "v3.2.1", "source": { "type": "git", - "url": "https://github.com/guzzle/guzzle.git", - "reference": "7008573787b430c1c1f650e3722d9bba59967628" + "url": "https://github.com/felixfbecker/php-advanced-json-rpc.git", + "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7008573787b430c1c1f650e3722d9bba59967628", - "reference": "7008573787b430c1c1f650e3722d9bba59967628", + "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/b5f37dbff9a8ad360ca341f3240dc1c168b45447", + "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447", "shasum": "" }, "require": { - "ext-json": "*", - "guzzlehttp/promises": "^1.4", - "guzzlehttp/psr7": "^1.7 || ^2.0", - "php": "^7.2.5 || ^8.0", - "psr/http-client": "^1.0" - }, - "provide": { - "psr/http-client-implementation": "1.0" + "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": { - "bamarni/composer-bin-plugin": "^1.4.1", - "ext-curl": "*", - "php-http/client-integration-tests": "^3.0", - "phpunit/phpunit": "^8.5.5 || ^9.3.5", - "psr/log": "^1.1" + "phpunit/phpunit": "^7.0 || ^8.0" }, - "suggest": { - "ext-curl": "Required for CURL handler support", - "ext-intl": "Required for Internationalized Domain Name (IDN) support", - "psr/log": "Required for using the Log middleware" + "type": "library", + "autoload": { + "psr-4": { + "AdvancedJsonRpc\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "ISC" + ], + "authors": [ + { + "name": "Felix Becker", + "email": "felix.b@outlook.com" + } + ], + "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": "felixfbecker/language-server-protocol", + "version": "v1.5.2", + "source": { + "type": "git", + "url": "https://github.com/felixfbecker/php-language-server-protocol.git", + "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/6e82196ffd7c62f7794d778ca52b69feec9f2842", + "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "phpstan/phpstan": "*", + "squizlabs/php_codesniffer": "^3.1", + "vimeo/psalm": "^4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.3-dev" + "dev-master": "1.x-dev" } }, "autoload": { "psr-4": { - "GuzzleHttp\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] + "LanguageServerProtocol\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "ISC" ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Mรกrk Sรกgi-Kazรกr", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://sagikazarmark.hu" + "name": "Felix Becker", + "email": "felix.b@outlook.com" } ], - "description": "Guzzle is a PHP HTTP client library", - "homepage": "http://guzzlephp.org/", + "description": "PHP classes for the Language Server Protocol", "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "psr-18", - "psr-7", - "rest", - "web service" + "language", + "microsoft", + "php", + "server" ], "support": { - "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.3.0" + "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues", + "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.2" }, - "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" + "time": "2022-03-02T22:36:06+00:00" }, { - "name": "guzzlehttp/promises", - "version": "1.4.1", + "name": "fidry/cpu-core-counter", + "version": "0.5.1", "source": { "type": "git", - "url": "https://github.com/guzzle/promises.git", - "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d" + "url": "https://github.com/theofidry/cpu-core-counter.git", + "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d", - "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/b58e5a3933e541dc286cc91fc4f3898bbc6f1623", + "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623", "shasum": "" }, "require": { - "php": ">=5.5" + "php": "^7.2 || ^8.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" + "fidry/makefile": "^0.2.0", + "phpstan/extension-installer": "^1.2.0", + "phpstan/phpstan": "^1.9.2", + "phpstan/phpstan-deprecation-rules": "^1.0.0", + "phpstan/phpstan-phpunit": "^1.2.2", + "phpstan/phpstan-strict-rules": "^1.4.4", + "phpunit/phpunit": "^9.5.26 || ^8.5.31", + "theofidry/php-cs-fixer-config": "^1.0", + "webmozarts/strict-phpunit": "^7.5" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4-dev" - } - }, "autoload": { "psr-4": { - "GuzzleHttp\\Promise\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] + "Fidry\\CpuCoreCounter\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4526,63 +4763,89 @@ ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" + "name": "Thรฉo FIDRY", + "email": "theo.fidry@gmail.com" } ], - "description": "Guzzle promises library", + "description": "Tiny utility to get the number of CPU cores.", "keywords": [ - "promise" + "CPU", + "core" ], "support": { - "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.4.1" + "issues": "https://github.com/theofidry/cpu-core-counter/issues", + "source": "https://github.com/theofidry/cpu-core-counter/tree/0.5.1" }, - "time": "2021-03-07T09:25:29+00:00" + "funding": [ + { + "url": "https://github.com/theofidry", + "type": "github" + } + ], + "time": "2022-12-24T12:35:10+00:00" }, { - "name": "guzzlehttp/psr7", - "version": "1.8.2", + "name": "friendsofphp/php-cs-fixer", + "version": "v3.15.1", "source": { "type": "git", - "url": "https://github.com/guzzle/psr7.git", - "reference": "dc960a912984efb74d0a90222870c72c87f10c91" + "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", + "reference": "d48755372a113bddb99f749e34805d83f3acfe04" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/dc960a912984efb74d0a90222870c72c87f10c91", - "reference": "dc960a912984efb74d0a90222870c72c87f10c91", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/d48755372a113bddb99f749e34805d83f3acfe04", + "reference": "d48755372a113bddb99f749e34805d83f3acfe04", "shasum": "" }, "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0", - "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" - }, - "provide": { - "psr/http-message-implementation": "1.0" + "composer/semver": "^3.3", + "composer/xdebug-handler": "^3.0.3", + "doctrine/annotations": "^2", + "doctrine/lexer": "^2 || ^3", + "ext-json": "*", + "ext-tokenizer": "*", + "php": "^7.4 || ^8.0", + "sebastian/diff": "^4.0 || ^5.0", + "symfony/console": "^5.4 || ^6.0", + "symfony/event-dispatcher": "^5.4 || ^6.0", + "symfony/filesystem": "^5.4 || ^6.0", + "symfony/finder": "^5.4 || ^6.0", + "symfony/options-resolver": "^5.4 || ^6.0", + "symfony/polyfill-mbstring": "^1.27", + "symfony/polyfill-php80": "^1.27", + "symfony/polyfill-php81": "^1.27", + "symfony/process": "^5.4 || ^6.0", + "symfony/stopwatch": "^5.4 || ^6.0" }, "require-dev": { - "ext-zlib": "*", - "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10" + "justinrainbow/json-schema": "^5.2", + "keradus/cli-executor": "^2.0", + "mikey179/vfsstream": "^1.6.11", + "php-coveralls/php-coveralls": "^2.5.3", + "php-cs-fixer/accessible-object": "^1.1", + "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", + "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1", + "phpspec/prophecy": "^1.16", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5", + "phpunitgoodpractices/polyfill": "^1.6", + "phpunitgoodpractices/traits": "^1.9.2", + "symfony/phpunit-bridge": "^6.2.3", + "symfony/yaml": "^5.4 || ^6.0" }, "suggest": { - "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.7-dev" - } + "ext-dom": "For handling output formats in XML", + "ext-mbstring": "For handling non-UTF8 characters." }, + "bin": [ + "php-cs-fixer" + ], + "type": "application", "autoload": { "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] + "PhpCsFixer\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4590,111 +4853,86 @@ ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { - "name": "Tobias Schultze", - "homepage": "https://github.com/Tobion" + "name": "Dariusz Rumiล„ski", + "email": "dariusz.ruminski@gmail.com" } ], - "description": "PSR-7 message implementation that also provides common utility methods", + "description": "A tool to automatically fix PHP code style", "keywords": [ - "http", - "message", - "psr-7", - "request", - "response", - "stream", - "uri", - "url" + "Static code analysis", + "fixer", + "standards", + "static analysis" ], "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": "hanneskod/classtools", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/hanneskod/classtools.git", - "reference": "d365ddac0e602027c0471ea292f4ba2afcb49394" + "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.15.1" }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/hanneskod/classtools/zipball/d365ddac0e602027c0471ea292f4ba2afcb49394", - "reference": "d365ddac0e602027c0471ea292f4ba2afcb49394", - "shasum": "" - }, - "require": { - "nikic/php-parser": "^4", - "php": ">=7.1", - "symfony/finder": "^4|^5" - }, - "type": "library", - "autoload": { - "psr-4": { - "hanneskod\\classtools\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "WTFPL" - ], - "authors": [ + "funding": [ { - "name": "Hannes Forsgรฅrd", - "email": "hannes.forsgard@fripost.org" + "url": "https://github.com/keradus", + "type": "github" } ], - "description": "Find, extract and process classes from file system", - "homepage": "https://github.com/hanneskod/classtools", - "keywords": [ - "class finder", - "code generator", - "metaprogramming", - "minimizer" - ], - "support": { - "issues": "https://github.com/hanneskod/classtools/issues", - "source": "https://github.com/hanneskod/classtools/tree/1.0" - }, - "time": "2020-03-05T20:41:28+00:00" + "time": "2023-03-13T23:26:30+00:00" }, { - "name": "hassankhan/config", - "version": "2.2.0", + "name": "guzzlehttp/guzzle", + "version": "7.5.0", "source": { "type": "git", - "url": "https://github.com/hassankhan/config.git", - "reference": "62b0fd17540136efa94ab6b39f04044c6dc5e4a7" + "url": "https://github.com/guzzle/guzzle.git", + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hassankhan/config/zipball/62b0fd17540136efa94ab6b39f04044c6dc5e4a7", - "reference": "62b0fd17540136efa94ab6b39f04044c6dc5e4a7", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", "shasum": "" }, "require": { - "php": ">=5.5.9" + "ext-json": "*", + "guzzlehttp/promises": "^1.5", + "guzzlehttp/psr7": "^1.9 || ^2.4", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" }, "require-dev": { - "phpunit/phpunit": "~4.8.36 || ~5.7 || ~6.5 || ~7.5", - "scrutinizer/ocular": "~1.1", - "squizlabs/php_codesniffer": "~2.2", - "symfony/yaml": "~3.4" + "bamarni/composer-bin-plugin": "^1.8.1", + "ext-curl": "*", + "php-http/client-integration-tests": "^3.0", + "phpunit/phpunit": "^8.5.29 || ^9.5.23", + "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { - "symfony/yaml": "~3.4" + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" }, "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, + "branch-alias": { + "dev-master": "7.5-dev" + } + }, "autoload": { + "files": [ + "src/functions_include.php" + ], "psr-4": { - "Noodlehaus\\": "src" + "GuzzleHttp\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4703,121 +4941,105 @@ ], "authors": [ { - "name": "Hassan Khan", - "homepage": "http://hassankhan.me/", - "role": "Developer" + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Mรกrk Sรกgi-Kazรกr", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" } ], - "description": "Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files", - "homepage": "http://hassankhan.me/config/", + "description": "Guzzle is a PHP HTTP client library", "keywords": [ - "config", - "configuration", - "ini", - "json", - "microphp", - "unframework", - "xml", - "yaml", - "yml" + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" ], "support": { - "issues": "https://github.com/hassankhan/config/issues", - "source": "https://github.com/hassankhan/config/tree/2.2.0" - }, - "time": "2020-12-07T16:04:15+00:00" - }, - { - "name": "jakub-onderka/php-console-color", - "version": "v0.2", - "source": { - "type": "git", - "url": "https://github.com/JakubOnderka/PHP-Console-Color.git", - "reference": "d5deaecff52a0d61ccb613bb3804088da0307191" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Color/zipball/d5deaecff52a0d61ccb613bb3804088da0307191", - "reference": "d5deaecff52a0d61ccb613bb3804088da0307191", - "shasum": "" - }, - "require": { - "php": ">=5.4.0" - }, - "require-dev": { - "jakub-onderka/php-code-style": "1.0", - "jakub-onderka/php-parallel-lint": "1.0", - "jakub-onderka/php-var-dump-check": "0.*", - "phpunit/phpunit": "~4.3", - "squizlabs/php_codesniffer": "1.*" - }, - "type": "library", - "autoload": { - "psr-4": { - "JakubOnderka\\PhpConsoleColor\\": "src/" - } + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.5.0" }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ + "funding": [ { - "name": "Jakub Onderka", - "email": "jakub.onderka@gmail.com" + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" } ], - "support": { - "issues": "https://github.com/JakubOnderka/PHP-Console-Color/issues", - "source": "https://github.com/JakubOnderka/PHP-Console-Color/tree/master" - }, - "abandoned": "php-parallel-lint/php-console-color", - "time": "2018-09-29T17:23:10+00:00" + "time": "2022-08-28T15:39:27+00:00" }, { - "name": "jbzoo/ci-report-converter", - "version": "2.5.2", + "name": "guzzlehttp/promises", + "version": "1.5.2", "source": { "type": "git", - "url": "https://github.com/JBZoo/CI-Report-Converter.git", - "reference": "03f04c89d05e9f224f09221eb829662c9e1d25af" + "url": "https://github.com/guzzle/promises.git", + "reference": "b94b2807d85443f9719887892882d0329d1e2598" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JBZoo/CI-Report-Converter/zipball/03f04c89d05e9f224f09221eb829662c9e1d25af", - "reference": "03f04c89d05e9f224f09221eb829662c9e1d25af", + "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", + "reference": "b94b2807d85443f9719887892882d0329d1e2598", "shasum": "" }, "require": { - "ext-dom": "*", - "ext-hash": "*", - "ext-simplexml": "*", - "jbzoo/data": "^4.3.1", - "jbzoo/utils": "^4.5.2", - "php": ">=7.2", - "symfony/console": "^4.4|^5.0" - }, - "replace": { - "jbzoo/toolbox-ci": "*" + "php": ">=5.5" }, "require-dev": { - "jbzoo/codestyle": "^2.16.1", - "jbzoo/mermaid-php": "^2.3.1", - "jbzoo/toolbox-dev": "^2.13.1", - "roave/security-advisories": "dev-master" + "symfony/phpunit-bridge": "^4.4 || ^5.1" }, - "bin": [ - "ci-report-converter" - ], "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev" + "dev-master": "1.5-dev" } }, "autoload": { + "files": [ + "src/functions_include.php" + ], "psr-4": { - "JBZoo\\CiReportConverter\\": "src" + "GuzzleHttp\\Promise\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4826,88 +5048,96 @@ ], "authors": [ { - "name": "Denis Smetannikov", - "email": "admin@jbzoo.com", - "role": "lead" + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" } ], - "description": "The tool converts different error reporting standards for deep integration with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc)", + "description": "Guzzle promises library", "keywords": [ - "Codestyle", - "Github Actions", - "IntelliJ IDEA", - "PHPStan", - "actions", - "checkstyle", - "ci", - "continuous integration", - "github", - "inspections", - "junit", - "phan", - "phpcs", - "phploc", - "phpmd", - "phpmnd", - "phpstorm", - "pmd", - "psalm", - "teamcity", - "teamcity-inspections", - "tests" + "promise" ], "support": { - "issues": "https://github.com/JBZoo/CI-Report-Converter/issues", - "source": "https://github.com/JBZoo/CI-Report-Converter/tree/2.5.2" + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/1.5.2" }, - "time": "2021-05-23T19:47:42+00:00" + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "time": "2022-08-28T14:55:35+00:00" }, { - "name": "jbzoo/codestyle", - "version": "2.18.0", + "name": "guzzlehttp/psr7", + "version": "2.4.4", "source": { "type": "git", - "url": "https://github.com/JBZoo/Codestyle.git", - "reference": "85e7c167a7154150728edbb10673d9f2f6761a49" + "url": "https://github.com/guzzle/psr7.git", + "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JBZoo/Codestyle/zipball/85e7c167a7154150728edbb10673d9f2f6761a49", - "reference": "85e7c167a7154150728edbb10673d9f2f6761a49", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", + "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", "shasum": "" }, "require": { - "jbzoo/ci-report-converter": "^2.5.2", - "jbzoo/composer-diff": "^1.5.1", - "jbzoo/composer-graph": "^1.3.1", - "mheap/phpunit-github-actions-printer": "^1.5.1", - "nikic/php-parser": ">=4.10.5", - "php": ">=7.2", - "phpcompatibility/php-compatibility": ">=9.3.5", - "phpmd/phpmd": ">=2.10.1", - "phpmetrics/phpmetrics": ">=2.7.4", - "phpstan/phpstan": ">=0.12.88", - "phpstan/phpstan-strict-rules": ">=0.12.9", - "povils/phpmnd": ">=2.4.0", - "psalm/phar": ">=4.7.1", - "squizlabs/php_codesniffer": ">=3.6.0", - "symfony/console": ">=4.4.16", - "symfony/yaml": ">=4.4.16" + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" }, "require-dev": { - "jbzoo/phpunit": "^4.10.0", - "jbzoo/utils": "^4.5.2" + "bamarni/composer-bin-plugin": "^1.8.1", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.29 || ^9.5.23" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, "branch-alias": { - "dev-master": "2.x-dev" + "dev-master": "2.4-dev" } }, "autoload": { - "files": [ - "src/php/compatibility.php" - ] + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4915,65 +5145,123 @@ ], "authors": [ { - "name": "Denis Smetannikov", - "email": "admin@jbzoo.com", - "role": "lead" + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Mรกrk Sรกgi-Kazรกr", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Mรกrk Sรกgi-Kazรกr", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" } ], - "description": "Collection of QA tools and JBZoo code standards", + "description": "PSR-7 message implementation that also provides common utility methods", "keywords": [ - "Codestyle", - "coding-standard", - "jbzoo", - "php", - "qa", - "tests" + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.4.4" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } ], - "support": { - "issues": "https://github.com/JBZoo/Codestyle/issues", - "source": "https://github.com/JBZoo/Codestyle/tree/2.18.0" - }, - "time": "2021-05-23T22:43:10+00:00" + "time": "2023-03-09T13:19:02+00:00" }, { - "name": "jbzoo/composer-diff", - "version": "1.5.1", + "name": "jbzoo/codestyle", + "version": "dev-master", "source": { "type": "git", - "url": "https://github.com/JBZoo/Composer-Diff.git", - "reference": "b8e024d5531af3caf8b82d83acd07186cfcb17f2" + "url": "https://github.com/JBZoo/Codestyle.git", + "reference": "28198a27c78ea2e58a86aeda42a71334bcefbf38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JBZoo/Composer-Diff/zipball/b8e024d5531af3caf8b82d83acd07186cfcb17f2", - "reference": "b8e024d5531af3caf8b82d83acd07186cfcb17f2", + "url": "https://api.github.com/repos/JBZoo/Codestyle/zipball/28198a27c78ea2e58a86aeda42a71334bcefbf38", + "reference": "28198a27c78ea2e58a86aeda42a71334bcefbf38", "shasum": "" }, "require": { - "composer/semver": "^1.0|^2.0|^3.0", - "ext-filter": "*", - "ext-json": "*", - "jbzoo/data": "^4.3.0", - "php": ">=7.2", - "symfony/console": "^4.4|^5.0", - "symfony/process": "^4.4|^5.0" + "friendsofphp/php-cs-fixer": ">=3.15.1", + "jbzoo/data": "7.x-dev", + "kubawerlos/php-cs-fixer-custom-fixers": ">=3.13.0", + "nikic/php-parser": ">=4.15.3", + "pdepend/pdepend": ">=2.13.0", + "phan/phan": ">=5.4.2", + "php": "^8.1", + "phpmd/phpmd": ">=2.13.0", + "phpmetrics/phpmetrics": ">=2.8.2", + "phpstan/phpstan": ">=1.10.6", + "phpstan/phpstan-strict-rules": ">=1.5.0", + "povils/phpmnd": ">=3.0.1", + "squizlabs/php_codesniffer": ">=3.7.2", + "symfony/console": ">=4.4.16", + "symfony/finder": ">=4.4.16", + "symfony/yaml": ">=4.4.16", + "vimeo/psalm": ">=5.8.0" }, "require-dev": { - "jbzoo/toolbox-dev": "^2.13.1", - "roave/security-advisories": "dev-master" + "jbzoo/phpunit": "7.x-dev", + "jbzoo/utils": "7.x-dev", + "symfony/var-dumper": ">=4.4.16" }, - "bin": [ - "composer-diff" - ], + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-master": "7.x-dev" } }, "autoload": { + "files": [ + "src/compatibility.php" + ], "psr-4": { - "JBZoo\\ComposerDiff\\": "src" + "JBZoo\\Codestyle\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -4985,66 +5273,63 @@ "name": "Denis Smetannikov", "email": "admin@jbzoo.com", "role": "lead" - }, - { - "name": "David Jonas", - "homepage": "https://github.com/davidrjonas", - "role": "Original Idea" } ], - "description": "See what has changed after a composer update.", + "description": "Collection of QA tools and JBZoo code standards", "keywords": [ - "composer", - "composer diff", - "composer-diff", - "composer.json", - "composer.lock", - "diff", - "php" + "Codestyle", + "PHPStan", + "coding-standard", + "jbzoo", + "phan", + "php", + "php-cs-fixer", + "phpcompatibility", + "phpcs", + "phpmd", + "phpmetrics", + "phpunit", + "psalm", + "qa", + "tests" ], "support": { - "issues": "https://github.com/JBZoo/Composer-Diff/issues", - "source": "https://github.com/JBZoo/Composer-Diff/tree/1.5.1" + "issues": "https://github.com/JBZoo/Codestyle/issues", + "source": "https://github.com/JBZoo/Codestyle/tree/master" }, - "time": "2021-04-28T19:32:29+00:00" + "time": "2023-03-26T21:39:58+00:00" }, { - "name": "jbzoo/composer-graph", - "version": "1.3.1", + "name": "jbzoo/event", + "version": "dev-master", "source": { "type": "git", - "url": "https://github.com/JBZoo/Composer-Graph.git", - "reference": "720174a9832215d877c799a25b63d0038ea872ec" + "url": "https://github.com/JBZoo/Event.git", + "reference": "569da2562733f81ccebda527a563c66bf49f03af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JBZoo/Composer-Graph/zipball/720174a9832215d877c799a25b63d0038ea872ec", - "reference": "720174a9832215d877c799a25b63d0038ea872ec", + "url": "https://api.github.com/repos/JBZoo/Event/zipball/569da2562733f81ccebda527a563c66bf49f03af", + "reference": "569da2562733f81ccebda527a563c66bf49f03af", "shasum": "" }, "require": { - "jbzoo/data": "^4.3.0", - "jbzoo/mermaid-php": "^2.3.0", - "jbzoo/utils": "^4.5.1", - "php": ">=7.2", - "symfony/console": "^4.4|^5.0" + "php": "^8.1" }, "require-dev": { - "jbzoo/toolbox-dev": "^2.13.1", - "symfony/process": "^4.4|^5.0" + "jbzoo/data": "7.x-dev", + "jbzoo/toolbox-dev": "7.x-dev" }, - "bin": [ - "composer-graph" - ], + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-master": "7.x-dev" } }, "autoload": { "psr-4": { - "JBZoo\\ComposerGraph\\": "src" + "JBZoo\\Event\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -5056,62 +5341,68 @@ "name": "Denis Smetannikov", "email": "admin@jbzoo.com", "role": "lead" + }, + { + "name": "Evert Pot", + "email": "me@evertpot.com", + "homepage": "https://sabre.io/event/" } ], - "description": "Render composer.json + composer.lock dependencies graph", + "description": "Library for event-based development", "keywords": [ - "composer", - "composer-dependency", - "composer-graph", - "composer-packages", - "dependencies", - "diagram", - "graph", + "HOOK", + "emit", + "emitter", + "event-manager", + "eventmanager", + "events", "jbzoo", - "mermaidjs" + "listener", + "observer", + "signal" ], "support": { - "issues": "https://github.com/JBZoo/Composer-Graph/issues", - "source": "https://github.com/JBZoo/Composer-Graph/tree/1.3.1" + "issues": "https://github.com/JBZoo/Event/issues", + "source": "https://github.com/JBZoo/Event/tree/master" }, - "time": "2021-04-28T19:50:35+00:00" + "time": "2023-03-09T09:43:17+00:00" }, { "name": "jbzoo/http-client", - "version": "3.6.1", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/JBZoo/Http-Client.git", - "reference": "2243240e072e74b1ac7ec379237160519074dc2f" + "reference": "7eeb1db8dcc1ca939a6924276438ddcb19b142f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JBZoo/Http-Client/zipball/2243240e072e74b1ac7ec379237160519074dc2f", - "reference": "2243240e072e74b1ac7ec379237160519074dc2f", + "url": "https://api.github.com/repos/JBZoo/Http-Client/zipball/7eeb1db8dcc1ca939a6924276438ddcb19b142f7", + "reference": "7eeb1db8dcc1ca939a6924276438ddcb19b142f7", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": ">=1.4.0", - "jbzoo/data": "^4.3.0", - "jbzoo/utils": "^4.5.0", - "php": ">=7.2" + "jbzoo/data": "7.x-dev", + "jbzoo/event": "7.x-dev", + "jbzoo/utils": "7.x-dev", + "php": "^8.1" }, "require-dev": { - "guzzlehttp/guzzle": ">=6.5.5", - "jbzoo/event": "^3.2.0", - "jbzoo/toolbox-dev": "^2.13.1", - "rmccue/requests": "^1.7.0" + "guzzlehttp/guzzle": ">=7.5.0", + "jbzoo/toolbox-dev": "7.x-dev", + "rmccue/requests": ">=2.0.5" }, "suggest": { "guzzlehttp/guzzle": "Recommended default http-driver", - "jbzoo/event": ">=3.0", - "rmccue/requests": "Only if you can't use guzzle guzzlehttp/guzzle^6.4" + "jbzoo/event": "^7.0", + "rmccue/requests": "Only if you can't use guzzle guzzlehttp/guzzle^7.5.0" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.x-dev" + "dev-master": "7.x-dev" } }, "autoload": { @@ -5144,9 +5435,9 @@ ], "support": { "issues": "https://github.com/JBZoo/Http-Client/issues", - "source": "https://github.com/JBZoo/Http-Client/tree/3.6.1" + "source": "https://github.com/JBZoo/Http-Client/tree/master" }, - "time": "2021-04-28T20:03:07+00:00" + "time": "2023-03-12T23:42:28+00:00" }, { "name": "jbzoo/jbdump", @@ -5223,35 +5514,36 @@ "time": "2021-03-31T09:21:47+00:00" }, { - "name": "jbzoo/mermaid-php", - "version": "2.3.1", + "name": "jbzoo/markdown", + "version": "dev-master", "source": { "type": "git", - "url": "https://github.com/JBZoo/Mermaid-PHP.git", - "reference": "aa278dbbb34027f86206e535321b0d6363254efa" + "url": "https://github.com/JBZoo/Markdown.git", + "reference": "c16ae3a10328758a7f8f32fce25c6c2d34c376e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JBZoo/Mermaid-PHP/zipball/aa278dbbb34027f86206e535321b0d6363254efa", - "reference": "aa278dbbb34027f86206e535321b0d6363254efa", + "url": "https://api.github.com/repos/JBZoo/Markdown/zipball/c16ae3a10328758a7f8f32fce25c6c2d34c376e9", + "reference": "c16ae3a10328758a7f8f32fce25c6c2d34c376e9", "shasum": "" }, "require": { - "ext-json": "*", - "php": ">=7.2" + "jbzoo/utils": "7.x-dev", + "php": "^8.1" }, "require-dev": { - "jbzoo/toolbox-dev": "^2.13.1" + "jbzoo/toolbox-dev": "7.x-dev" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev" + "dev-master": "7.x-dev" } }, "autoload": { "psr-4": { - "JBZoo\\MermaidPHP\\": "src" + "JBZoo\\Markdown\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -5265,59 +5557,59 @@ "role": "lead" } ], - "description": "Generate diagrams and flowcharts with the help of the mermaid script language", + "description": "Tools to render markdown text from PHP code", "keywords": [ - "diagrams", - "flowcharts", - "mermaid", - "mermaid-js" + "Rendering", + "jbzoo", + "markdown", + "readme", + "text" ], "support": { - "issues": "https://github.com/JBZoo/Mermaid-PHP/issues", - "source": "https://github.com/JBZoo/Mermaid-PHP/tree/2.3.1" + "issues": "https://github.com/JBZoo/Markdown/issues", + "source": "https://github.com/JBZoo/Markdown/tree/master" }, - "time": "2021-04-28T20:08:13+00:00" + "time": "2023-03-12T23:58:55+00:00" }, { "name": "jbzoo/phpunit", - "version": "4.10.0", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/JBZoo/PHPUnit.git", - "reference": "0d52ea50fc3bc3ae8ec45b556c80a353c4dd64ce" + "reference": "947fc1f9c23f998ff437002a016b0fe2e8c0be02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JBZoo/PHPUnit/zipball/0d52ea50fc3bc3ae8ec45b556c80a353c4dd64ce", - "reference": "0d52ea50fc3bc3ae8ec45b556c80a353c4dd64ce", + "url": "https://api.github.com/repos/JBZoo/PHPUnit/zipball/947fc1f9c23f998ff437002a016b0fe2e8c0be02", + "reference": "947fc1f9c23f998ff437002a016b0fe2e8c0be02", "shasum": "" }, "require": { - "codedungeon/phpunit-result-printer": ">=0.30.1", "ext-filter": "*", "ext-mbstring": "*", - "hanneskod/classtools": "^1.2.1", - "mheap/phpunit-github-actions-printer": "^1.5.1", - "php": ">=7.2", - "phpunit/phpcov": ">=6.0.1", - "phpunit/phpunit": ">=8.5.15", - "ulrichsg/getopt-php": "^3.4.0" + "jbzoo/markdown": "7.x-dev", + "php": "^8.1", + "phpunit/phpunit": ">=9.5.20", + "ulrichsg/getopt-php": ">=4.0.2" }, "require-dev": { - "guzzlehttp/guzzle": ">=7.3.0", - "jbzoo/data": "^4.2.1", - "jbzoo/http-client": "^3.5.0", - "jbzoo/toolbox-dev": "^2.13.0", - "jbzoo/utils": "^4.4.0", - "symfony/process": ">=5.2.4" + "guzzlehttp/guzzle": ">=7.4.3", + "jbzoo/codestyle": "7.x-dev", + "jbzoo/data": "7.x-dev", + "jbzoo/http-client": "7.x-dev", + "jbzoo/toolbox-dev": "7.x-dev", + "jbzoo/utils": "7.x-dev", + "symfony/process": ">=5.4.8" }, "suggest": { - "jbzoo/utils": "^4.2.3 to use all functionals" + "jbzoo/utils": "^4.2.3" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.x-dev" + "dev-master": "7.x-dev" } }, "autoload": { @@ -5354,46 +5646,48 @@ ], "support": { "issues": "https://github.com/JBZoo/PHPUnit/issues", - "source": "https://github.com/JBZoo/PHPUnit/tree/4.10.0" + "source": "https://github.com/JBZoo/PHPUnit/tree/master" }, - "time": "2021-04-28T01:36:08+00:00" + "time": "2023-03-09T08:57:31+00:00" }, { "name": "jbzoo/toolbox-dev", - "version": "2.13.1", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/JBZoo/Toolbox-Dev.git", - "reference": "053293a4c348237c9af98849e2aa28c887ee9563" + "reference": "c494ec7675f6ef0da1bfb760d0385f823118f834" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JBZoo/Toolbox-Dev/zipball/053293a4c348237c9af98849e2aa28c887ee9563", - "reference": "053293a4c348237c9af98849e2aa28c887ee9563", + "url": "https://api.github.com/repos/JBZoo/Toolbox-Dev/zipball/c494ec7675f6ef0da1bfb760d0385f823118f834", + "reference": "c494ec7675f6ef0da1bfb760d0385f823118f834", "shasum": "" }, "require": { - "fakerphp/faker": "^1.14.1", - "jbzoo/codestyle": "^2.16.1", - "jbzoo/jbdump": "^1.5.6", - "jbzoo/phpunit": "^4.10.0", - "php": ">=7.2", - "php-coveralls/php-coveralls": "^2.4.3", - "symfony/var-dumper": "^4.4|^5.0" - }, + "fakerphp/faker": ">=1.21.0", + "jbzoo/codestyle": "7.x-dev", + "jbzoo/jbdump": ">=1.5.6|7.x-dev", + "jbzoo/markdown": "7.x-dev", + "jbzoo/phpunit": "7.x-dev", + "php": "^8.1", + "php-coveralls/php-coveralls": ">=2.5.3", + "symfony/var-dumper": ">=4.4" + }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev" + "dev-master": "7.x-dev" } }, "autoload": { - "psr-4": { - "JBZoo\\ToolboxDev\\": "src" - }, "files": [ "src/var-dumper.php" - ] + ], + "psr-4": { + "JBZoo\\ToolboxDev\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5407,37 +5701,93 @@ } ], "description": "Developer toolbox only for JBZoo libs on github+travis", + "keywords": [ + "Toolbox", + "debug", + "dev", + "dev-kit", + "developer", + "devkit", + "jbzoo" + ], "support": { "issues": "https://github.com/JBZoo/Toolbox-Dev/issues", - "source": "https://github.com/JBZoo/Toolbox-Dev/tree/2.13.1" + "source": "https://github.com/JBZoo/Toolbox-Dev/tree/master" }, - "time": "2021-04-28T12:07:45+00:00" + "time": "2023-03-09T08:52:14+00:00" }, { - "name": "mheap/phpunit-github-actions-printer", - "version": "v1.5.1", + "name": "kubawerlos/php-cs-fixer-custom-fixers", + "version": "v3.13.0", "source": { "type": "git", - "url": "https://github.com/mheap/phpunit-github-actions-printer.git", - "reference": "877ab6e5f9d552f83101ffa19bbd2a50f2feed44" + "url": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers.git", + "reference": "fb53d8bbe2224383a84c71f451d76eb7bc6c8e33" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mheap/phpunit-github-actions-printer/zipball/877ab6e5f9d552f83101ffa19bbd2a50f2feed44", - "reference": "877ab6e5f9d552f83101ffa19bbd2a50f2feed44", + "url": "https://api.github.com/repos/kubawerlos/php-cs-fixer-custom-fixers/zipball/fb53d8bbe2224383a84c71f451d76eb7bc6c8e33", + "reference": "fb53d8bbe2224383a84c71f451d76eb7bc6c8e33", "shasum": "" }, + "require": { + "ext-filter": "*", + "ext-tokenizer": "*", + "friendsofphp/php-cs-fixer": "^3.6.0", + "php": "^7.4 || ^8.0" + }, "require-dev": { - "phpunit/phpunit": "^9", - "squizlabs/php_codesniffer": "3.*" + "phpunit/phpunit": "^9.5.20" + }, + "type": "library", + "autoload": { + "psr-4": { + "PhpCsFixerCustomFixers\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kuba Werล‚os", + "email": "werlos@gmail.com" + } + ], + "description": "A set of custom fixers for PHP CS Fixer", + "support": { + "issues": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/issues", + "source": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/tree/v3.13.0" + }, + "time": "2023-02-15T18:51:16+00:00" + }, + { + "name": "microsoft/tolerant-php-parser", + "version": "v0.1.2", + "source": { + "type": "git", + "url": "https://github.com/microsoft/tolerant-php-parser.git", + "reference": "3eccfd273323aaf69513e2f1c888393f5947804b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/microsoft/tolerant-php-parser/zipball/3eccfd273323aaf69513e2f1c888393f5947804b", + "reference": "3eccfd273323aaf69513e2f1c888393f5947804b", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.15" }, "type": "library", "autoload": { - "files": [ - "src/Functions/helpers.php" - ], "psr-4": { - "mheap\\GithubActionsReporter\\": "src" + "Microsoft\\PhpParser\\": [ + "src/" + ] } }, "notification-url": "https://packagist.org/downloads/", @@ -5446,50 +5796,51 @@ ], "authors": [ { - "name": "Michael Heap", - "email": "m@michaelheap.com" + "name": "Rob Lourens", + "email": "roblou@microsoft.com" } ], - "description": "PHPUnit Printer for adding test failures as annotations on GitHub Actions", + "description": "Tolerant PHP-to-AST parser designed for IDE usage scenarios", "support": { - "issues": "https://github.com/mheap/phpunit-github-actions-printer/issues", - "source": "https://github.com/mheap/phpunit-github-actions-printer/tree/v1.5.1" + "issues": "https://github.com/microsoft/tolerant-php-parser/issues", + "source": "https://github.com/microsoft/tolerant-php-parser/tree/v0.1.2" }, - "time": "2021-01-09T18:11:16+00:00" + "time": "2022-10-05T17:30:19+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.10.2", + "version": "1.11.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220" + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, - "replace": { - "myclabs/deep-copy": "self.version" + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" }, "require-dev": { - "doctrine/collections": "^1.0", - "doctrine/common": "^2.6", - "phpunit/phpunit": "^7.1" + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", "autoload": { - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - }, "files": [ "src/DeepCopy/deep_copy.php" - ] + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5505,7 +5856,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2" + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" }, "funding": [ { @@ -5513,20 +5864,71 @@ "type": "tidelift" } ], - "time": "2020-11-13T09:40:50+00:00" + "time": "2023-03-08T13:26:56+00:00" + }, + { + "name": "netresearch/jsonmapper", + "version": "v4.1.0", + "source": { + "type": "git", + "url": "https://github.com/cweiske/jsonmapper.git", + "reference": "cfa81ea1d35294d64adb9c68aa4cb9e92400e53f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/cfa81ea1d35294d64adb9c68aa4cb9e92400e53f", + "reference": "cfa81ea1d35294d64adb9c68aa4cb9e92400e53f", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-pcre": "*", + "ext-reflection": "*", + "ext-spl": "*", + "php": ">=7.1" + }, + "require-dev": { + "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0", + "squizlabs/php_codesniffer": "~3.5" + }, + "type": "library", + "autoload": { + "psr-0": { + "JsonMapper": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "OSL-3.0" + ], + "authors": [ + { + "name": "Christian Weiske", + "email": "cweiske@cweiske.de", + "homepage": "http://github.com/cweiske/jsonmapper/", + "role": "Developer" + } + ], + "description": "Map nested JSON structures onto PHP classes", + "support": { + "email": "cweiske@cweiske.de", + "issues": "https://github.com/cweiske/jsonmapper/issues", + "source": "https://github.com/cweiske/jsonmapper/tree/v4.1.0" + }, + "time": "2022-12-08T20:46:14+00:00" }, { "name": "nikic/php-parser", - "version": "v4.10.5", + "version": "v4.15.4", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "4432ba399e47c66624bc73c8c0f811e5c109576f" + "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4432ba399e47c66624bc73c8c0f811e5c109576f", - "reference": "4432ba399e47c66624bc73c8c0f811e5c109576f", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6bb5176bc4af8bcb7d926f88718db9b96a2d4290", + "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290", "shasum": "" }, "require": { @@ -5567,29 +5969,29 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.5" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.4" }, - "time": "2021-05-03T19:11:20+00:00" + "time": "2023-03-05T19:49:14+00:00" }, { "name": "pdepend/pdepend", - "version": "2.9.1", + "version": "2.13.0", "source": { "type": "git", "url": "https://github.com/pdepend/pdepend.git", - "reference": "1632f0cee84512ffd6dde71e58536b3b06528c41" + "reference": "31be7cd4f305f3f7b52af99c1cb13fc938d1cfad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pdepend/pdepend/zipball/1632f0cee84512ffd6dde71e58536b3b06528c41", - "reference": "1632f0cee84512ffd6dde71e58536b3b06528c41", + "url": "https://api.github.com/repos/pdepend/pdepend/zipball/31be7cd4f305f3f7b52af99c1cb13fc938d1cfad", + "reference": "31be7cd4f305f3f7b52af99c1cb13fc938d1cfad", "shasum": "" }, "require": { "php": ">=5.3.7", - "symfony/config": "^2.3.0|^3|^4|^5", - "symfony/dependency-injection": "^2.3.0|^3|^4|^5", - "symfony/filesystem": "^2.3.0|^3|^4|^5" + "symfony/config": "^2.3.0|^3|^4|^5|^6.0", + "symfony/dependency-injection": "^2.3.0|^3|^4|^5|^6.0", + "symfony/filesystem": "^2.3.0|^3|^4|^5|^6.0" }, "require-dev": { "easy-doc/easy-doc": "0.0.0|^1.2.3", @@ -5618,7 +6020,7 @@ "description": "Official version of pdepend to be handled with Composer", "support": { "issues": "https://github.com/pdepend/pdepend/issues", - "source": "https://github.com/pdepend/pdepend/tree/2.9.1" + "source": "https://github.com/pdepend/pdepend/tree/2.13.0" }, "funding": [ { @@ -5626,20 +6028,99 @@ "type": "tidelift" } ], - "time": "2021-04-15T21:36:28+00:00" + "time": "2023-02-28T20:56:15+00:00" + }, + { + "name": "phan/phan", + "version": "5.4.2", + "source": { + "type": "git", + "url": "https://github.com/phan/phan.git", + "reference": "4f2870ed6fea320f62f3c3c63f3274d357a7980e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phan/phan/zipball/4f2870ed6fea320f62f3c3c63f3274d357a7980e", + "reference": "4f2870ed6fea320f62f3c3c63f3274d357a7980e", + "shasum": "" + }, + "require": { + "composer/semver": "^1.4|^2.0|^3.0", + "composer/xdebug-handler": "^2.0|^3.0", + "ext-filter": "*", + "ext-json": "*", + "ext-tokenizer": "*", + "felixfbecker/advanced-json-rpc": "^3.0.4", + "microsoft/tolerant-php-parser": "0.1.2", + "netresearch/jsonmapper": "^1.6.0|^2.0|^3.0|^4.0", + "php": "^7.2.0|^8.0.0", + "sabre/event": "^5.1.3", + "symfony/console": "^3.2|^4.0|^5.0|^6.0", + "symfony/polyfill-mbstring": "^1.11.0", + "symfony/polyfill-php80": "^1.20.0", + "tysonandre/var_representation_polyfill": "^0.0.2|^0.1.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.0" + }, + "suggest": { + "ext-ast": "Needed for parsing ASTs (unless --use-fallback-parser is used). 1.0.1+ is needed, 1.0.16+ is recommended.", + "ext-iconv": "Either iconv or mbstring is needed to ensure issue messages are valid utf-8", + "ext-igbinary": "Improves performance of polyfill when ext-ast is unavailable", + "ext-mbstring": "Either iconv or mbstring is needed to ensure issue messages are valid utf-8", + "ext-tokenizer": "Needed for fallback/polyfill parser support and file/line-based suppressions.", + "ext-var_representation": "Suggested for converting values to strings in issue messages" + }, + "bin": [ + "phan", + "phan_client", + "tocheckstyle" + ], + "type": "project", + "autoload": { + "psr-4": { + "Phan\\": "src/Phan" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Tyson Andre" + }, + { + "name": "Rasmus Lerdorf" + }, + { + "name": "Andrew S. Morrison" + } + ], + "description": "A static analyzer for PHP", + "keywords": [ + "analyzer", + "php", + "static" + ], + "support": { + "issues": "https://github.com/phan/phan/issues", + "source": "https://github.com/phan/phan/tree/5.4.2" + }, + "time": "2023-03-03T17:20:24+00:00" }, { "name": "phar-io/manifest", - "version": "2.0.1", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133" + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", - "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", "shasum": "" }, "require": { @@ -5684,22 +6165,22 @@ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", "support": { "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/master" + "source": "https://github.com/phar-io/manifest/tree/2.0.3" }, - "time": "2020-06-27T14:33:11+00:00" + "time": "2021-07-20T11:28:43+00:00" }, { "name": "phar-io/version", - "version": "3.1.0", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "bae7c545bef187884426f042434e561ab1ddb182" + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182", - "reference": "bae7c545bef187884426f042434e561ab1ddb182", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", "shasum": "" }, "require": { @@ -5735,22 +6216,22 @@ "description": "Library for handling version information and constraints", "support": { "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.1.0" + "source": "https://github.com/phar-io/version/tree/3.2.1" }, - "time": "2021-02-23T14:00:09+00:00" + "time": "2022-02-21T01:04:05+00:00" }, { "name": "php-coveralls/php-coveralls", - "version": "v2.4.3", + "version": "v2.5.3", "source": { "type": "git", "url": "https://github.com/php-coveralls/php-coveralls.git", - "reference": "909381bd40a17ae6e9076051f0d73293c1c091af" + "reference": "9d8243bbf0e053333692857c98fab7cfba0d60a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/909381bd40a17ae6e9076051f0d73293c1c091af", - "reference": "909381bd40a17ae6e9076051f0d73293c1c091af", + "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/9d8243bbf0e053333692857c98fab7cfba0d60a9", + "reference": "9d8243bbf0e053333692857c98fab7cfba0d60a9", "shasum": "" }, "require": { @@ -5758,14 +6239,14 @@ "ext-simplexml": "*", "guzzlehttp/guzzle": "^6.0 || ^7.0", "php": "^5.5 || ^7.0 || ^8.0", - "psr/log": "^1.0", - "symfony/config": "^2.1 || ^3.0 || ^4.0 || ^5.0", - "symfony/console": "^2.1 || ^3.0 || ^4.0 || ^5.0", - "symfony/stopwatch": "^2.0 || ^3.0 || ^4.0 || ^5.0", - "symfony/yaml": "^2.0.5 || ^3.0 || ^4.0 || ^5.0" + "psr/log": "^1.0 || ^2.0", + "symfony/config": "^2.1 || ^3.0 || ^4.0 || ^5.0 || ^6.0", + "symfony/console": "^2.1 || ^3.0 || ^4.0 || ^5.0 || ^6.0", + "symfony/stopwatch": "^2.0 || ^3.0 || ^4.0 || ^5.0 || ^6.0", + "symfony/yaml": "^2.0.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0 || >=8.0 <8.5.29 || >=9.0 <9.5.23", "sanmai/phpunit-legacy-adapter": "^6.1 || ^8.0" }, "suggest": { @@ -5818,120 +6299,110 @@ ], "support": { "issues": "https://github.com/php-coveralls/php-coveralls/issues", - "source": "https://github.com/php-coveralls/php-coveralls/tree/v2.4.3" + "source": "https://github.com/php-coveralls/php-coveralls/tree/v2.5.3" }, - "time": "2020-12-24T09:17:03+00:00" + "time": "2022-09-12T20:47:09+00:00" }, { - "name": "php-parallel-lint/php-console-highlighter", - "version": "v0.4", + "name": "php-parallel-lint/php-console-color", + "version": "v1.0.1", "source": { "type": "git", - "url": "https://github.com/php-parallel-lint/PHP-Console-Highlighter.git", - "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547" + "url": "https://github.com/php-parallel-lint/PHP-Console-Color.git", + "reference": "7adfefd530aa2d7570ba87100a99e2483a543b88" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-parallel-lint/PHP-Console-Highlighter/zipball/9f7a229a69d52506914b4bc61bfdb199d90c5547", - "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547", + "url": "https://api.github.com/repos/php-parallel-lint/PHP-Console-Color/zipball/7adfefd530aa2d7570ba87100a99e2483a543b88", + "reference": "7adfefd530aa2d7570ba87100a99e2483a543b88", "shasum": "" }, "require": { - "ext-tokenizer": "*", - "jakub-onderka/php-console-color": "~0.2", - "php": ">=5.4.0" + "php": ">=5.3.2" + }, + "replace": { + "jakub-onderka/php-console-color": "*" }, "require-dev": { - "jakub-onderka/php-code-style": "~1.0", - "jakub-onderka/php-parallel-lint": "~1.0", - "jakub-onderka/php-var-dump-check": "~0.1", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~1.5" + "php-parallel-lint/php-code-style": "^2.0", + "php-parallel-lint/php-parallel-lint": "^1.0", + "php-parallel-lint/php-var-dump-check": "0.*", + "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" }, "type": "library", "autoload": { "psr-4": { - "JakubOnderka\\PhpConsoleHighlighter\\": "src/" + "PHP_Parallel_Lint\\PhpConsoleColor\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-2-Clause" ], "authors": [ { "name": "Jakub Onderka", - "email": "acci@acci.cz", - "homepage": "http://www.acci.cz/" + "email": "jakub.onderka@gmail.com" } ], - "description": "Highlight PHP code in terminal", + "description": "Simple library for creating colored console ouput.", "support": { - "source": "https://github.com/php-parallel-lint/PHP-Console-Highlighter/tree/v0.4" + "issues": "https://github.com/php-parallel-lint/PHP-Console-Color/issues", + "source": "https://github.com/php-parallel-lint/PHP-Console-Color/tree/v1.0.1" }, - "time": "2018-09-29T18:48:56+00:00" + "time": "2021-12-25T06:49:29+00:00" }, { - "name": "phpcompatibility/php-compatibility", - "version": "9.3.5", + "name": "php-parallel-lint/php-console-highlighter", + "version": "v1.0.0", "source": { "type": "git", - "url": "https://github.com/PHPCompatibility/PHPCompatibility.git", - "reference": "9fb324479acf6f39452e0655d2429cc0d3914243" + "url": "https://github.com/php-parallel-lint/PHP-Console-Highlighter.git", + "reference": "5b4803384d3303cf8e84141039ef56c8a123138d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243", - "reference": "9fb324479acf6f39452e0655d2429cc0d3914243", + "url": "https://api.github.com/repos/php-parallel-lint/PHP-Console-Highlighter/zipball/5b4803384d3303cf8e84141039ef56c8a123138d", + "reference": "5b4803384d3303cf8e84141039ef56c8a123138d", "shasum": "" }, "require": { - "php": ">=5.3", - "squizlabs/php_codesniffer": "^2.3 || ^3.0.2" + "ext-tokenizer": "*", + "php": ">=5.3.2", + "php-parallel-lint/php-console-color": "^1.0.1" }, - "conflict": { - "squizlabs/php_codesniffer": "2.6.2" + "replace": { + "jakub-onderka/php-console-highlighter": "*" }, "require-dev": { - "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0" + "php-parallel-lint/php-code-style": "^2.0", + "php-parallel-lint/php-parallel-lint": "^1.0", + "php-parallel-lint/php-var-dump-check": "0.*", + "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" }, - "suggest": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.", - "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." + "type": "library", + "autoload": { + "psr-4": { + "PHP_Parallel_Lint\\PhpConsoleHighlighter\\": "src/" + } }, - "type": "phpcodesniffer-standard", "notification-url": "https://packagist.org/downloads/", "license": [ - "LGPL-3.0-or-later" + "MIT" ], "authors": [ { - "name": "Wim Godden", - "homepage": "https://github.com/wimg", - "role": "lead" - }, - { - "name": "Juliette Reinders Folmer", - "homepage": "https://github.com/jrfnl", - "role": "lead" - }, - { - "name": "Contributors", - "homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors" + "name": "Jakub Onderka", + "email": "acci@acci.cz", + "homepage": "http://www.acci.cz/" } ], - "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.", - "homepage": "http://techblog.wimgodden.be/tag/codesniffer/", - "keywords": [ - "compatibility", - "phpcs", - "standards" - ], + "description": "Highlight PHP code in terminal", "support": { - "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues", - "source": "https://github.com/PHPCompatibility/PHPCompatibility" + "issues": "https://github.com/php-parallel-lint/PHP-Console-Highlighter/issues", + "source": "https://github.com/php-parallel-lint/PHP-Console-Highlighter/tree/v1.0.0" }, - "time": "2019-12-27T09:44:58+00:00" + "time": "2022-02-18T08:23:19+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -5988,16 +6459,16 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "5.2.2", + "version": "5.3.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556" + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", "shasum": "" }, "require": { @@ -6008,7 +6479,8 @@ "webmozart/assert": "^1.9.1" }, "require-dev": { - "mockery/mockery": "~1.3.2" + "mockery/mockery": "~1.3.2", + "psalm/phar": "^4.8" }, "type": "library", "extra": { @@ -6038,30 +6510,39 @@ "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" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" }, - "time": "2020-09-03T19:13:55+00:00" + "time": "2021-10-19T17:43:47+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "1.4.0", + "version": "1.7.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0" + "reference": "dfc078e8af9c99210337325ff5aa152872c98714" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/dfc078e8af9c99210337325ff5aa152872c98714", + "reference": "dfc078e8af9c99210337325ff5aa152872c98714", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0", - "phpdocumentor/reflection-common": "^2.0" + "doctrine/deprecations": "^1.0", + "php": "^7.4 || ^8.0", + "phpdocumentor/reflection-common": "^2.0", + "phpstan/phpdoc-parser": "^1.13" }, "require-dev": { - "ext-tokenizer": "*" + "ext-tokenizer": "*", + "phpbench/phpbench": "^1.2", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^9.5", + "rector/rector": "^0.13.9", + "vimeo/psalm": "^4.25" }, "type": "library", "extra": { @@ -6087,28 +6568,28 @@ "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" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.7.1" }, - "time": "2020-09-17T18:55:26+00:00" + "time": "2023-03-27T19:02:04+00:00" }, { "name": "phpmd/phpmd", - "version": "2.10.1", + "version": "2.13.0", "source": { "type": "git", "url": "https://github.com/phpmd/phpmd.git", - "reference": "bd5ef43d1dcaf7272605027c959c1c5ff3761f7a" + "reference": "dad0228156856b3ad959992f9748514fa943f3e3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmd/phpmd/zipball/bd5ef43d1dcaf7272605027c959c1c5ff3761f7a", - "reference": "bd5ef43d1dcaf7272605027c959c1c5ff3761f7a", + "url": "https://api.github.com/repos/phpmd/phpmd/zipball/dad0228156856b3ad959992f9748514fa943f3e3", + "reference": "dad0228156856b3ad959992f9748514fa943f3e3", "shasum": "" }, "require": { - "composer/xdebug-handler": "^1.0 || ^2.0", + "composer/xdebug-handler": "^1.0 || ^2.0 || ^3.0", "ext-xml": "*", - "pdepend/pdepend": "^2.9.1", + "pdepend/pdepend": "^2.12.1", "php": ">=5.3.9" }, "require-dev": { @@ -6164,7 +6645,7 @@ "support": { "irc": "irc://irc.freenode.org/phpmd", "issues": "https://github.com/phpmd/phpmd/issues", - "source": "https://github.com/phpmd/phpmd/tree/2.10.1" + "source": "https://github.com/phpmd/phpmd/tree/2.13.0" }, "funding": [ { @@ -6172,20 +6653,20 @@ "type": "tidelift" } ], - "time": "2021-05-11T17:16:16+00:00" + "time": "2022-09-10T08:44:15+00:00" }, { "name": "phpmetrics/phpmetrics", - "version": "v2.7.4", + "version": "v2.8.2", "source": { "type": "git", "url": "https://github.com/phpmetrics/PhpMetrics.git", - "reference": "e6a7aee0e0948e363eb78ce9d58573cd5af2cdec" + "reference": "4b77140a11452e63c7a9b98e0648320bf6710090" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmetrics/PhpMetrics/zipball/e6a7aee0e0948e363eb78ce9d58573cd5af2cdec", - "reference": "e6a7aee0e0948e363eb78ce9d58573cd5af2cdec", + "url": "https://api.github.com/repos/phpmetrics/PhpMetrics/zipball/4b77140a11452e63c7a9b98e0648320bf6710090", + "reference": "4b77140a11452e63c7a9b98e0648320bf6710090", "shasum": "" }, "require": { @@ -6201,19 +6682,20 @@ "require-dev": { "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14", "sebastian/comparator": ">=1.2.3", - "squizlabs/php_codesniffer": "^3.5" + "squizlabs/php_codesniffer": "^3.5", + "symfony/dom-crawler": "^3.0 || ^4.0 || ^5.0" }, "bin": [ "bin/phpmetrics" ], "type": "library", "autoload": { - "psr-0": { - "Hal\\": "./src/" - }, "files": [ "./src/functions.php" - ] + ], + "psr-0": { + "Hal\\": "./src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6237,93 +6719,71 @@ ], "support": { "issues": "https://github.com/PhpMetrics/PhpMetrics/issues", - "source": "https://github.com/phpmetrics/PhpMetrics/tree/master" + "source": "https://github.com/phpmetrics/PhpMetrics/tree/v2.8.2" }, - "time": "2020-06-30T20:33:55+00:00" + "time": "2023-03-08T15:03:36+00:00" }, { - "name": "phpspec/prophecy", - "version": "1.13.0", + "name": "phpstan/phpdoc-parser", + "version": "1.16.1", "source": { "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea" + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "e27e92d939e2e3636f0a1f0afaba59692c0bf571" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/be1996ed8adc35c3fd795488a653f4b518be70ea", - "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/e27e92d939e2e3636f0a1f0afaba59692c0bf571", + "reference": "e27e92d939e2e3636f0a1f0afaba59692c0bf571", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.2", - "php": "^7.2 || ~8.0, <8.1", - "phpdocumentor/reflection-docblock": "^5.2", - "sebastian/comparator": "^3.0 || ^4.0", - "sebastian/recursion-context": "^3.0 || ^4.0" + "php": "^7.2 || ^8.0" }, "require-dev": { - "phpspec/phpspec": "^6.0", - "phpunit/phpunit": "^8.0 || ^9.0" + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.5", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^9.5", + "symfony/process": "^5.2" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.11.x-dev" - } - }, "autoload": { "psr-4": { - "Prophecy\\": "src/Prophecy" + "PHPStan\\PhpDocParser\\": [ + "src/" + ] } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" - } - ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", - "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" - ], + "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { - "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/1.13.0" + "issues": "https://github.com/phpstan/phpdoc-parser/issues", + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.16.1" }, - "time": "2021-03-17T13:42:18+00:00" + "time": "2023-02-07T18:11:17+00:00" }, { "name": "phpstan/phpstan", - "version": "0.12.88", + "version": "1.10.8", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "464d1a81af49409c41074aa6640ed0c4cbd9bb68" + "reference": "0166aef76e066f0dd2adc2799bdadfa1635711e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/464d1a81af49409c41074aa6640ed0c4cbd9bb68", - "reference": "464d1a81af49409c41074aa6640ed0c4cbd9bb68", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0166aef76e066f0dd2adc2799bdadfa1635711e9", + "reference": "0166aef76e066f0dd2adc2799bdadfa1635711e9", "shasum": "" }, "require": { - "php": "^7.1|^8.0" + "php": "^7.2|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -6333,11 +6793,6 @@ "phpstan.phar" ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - } - }, "autoload": { "files": [ "bootstrap.php" @@ -6348,9 +6803,16 @@ "MIT" ], "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/0.12.88" + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" }, "funding": [ { @@ -6358,45 +6820,43 @@ "type": "github" }, { - "url": "https://www.patreon.com/phpstan", - "type": "patreon" + "url": "https://github.com/phpstan", + "type": "github" }, { "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", "type": "tidelift" } ], - "time": "2021-05-17T12:24:49+00:00" + "time": "2023-03-24T10:28:16+00:00" }, { "name": "phpstan/phpstan-strict-rules", - "version": "0.12.9", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "0705fefc7c9168529fd130e341428f5f10f4f01d" + "reference": "b7dd96a5503919a43b3cd06a2dced9d4252492f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/0705fefc7c9168529fd130e341428f5f10f4f01d", - "reference": "0705fefc7c9168529fd130e341428f5f10f4f01d", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/b7dd96a5503919a43b3cd06a2dced9d4252492f2", + "reference": "b7dd96a5503919a43b3cd06a2dced9d4252492f2", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.66" + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.10" }, "require-dev": { - "phing/phing": "^2.16.3", + "nikic/php-parser": "^4.13.0", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-phpunit": "^0.12.16", - "phpunit/phpunit": "^7.5.20" + "phpstan/phpstan-deprecation-rules": "^1.1", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^9.5" }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - }, "phpstan": { "includes": [ "rules.neon" @@ -6415,46 +6875,50 @@ "description": "Extra strict and opinionated rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", - "source": "https://github.com/phpstan/phpstan-strict-rules/tree/0.12.9" + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.5.0" }, - "time": "2021-01-13T08:50:28+00:00" + "time": "2023-02-21T10:17:10+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "7.0.14", + "version": "9.2.26", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "bb7c9a210c72e4709cdde67f8b7362f672f2225c" + "reference": "443bc6912c9bd5b409254a40f4b0f4ced7c80ea1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/bb7c9a210c72e4709cdde67f8b7362f672f2225c", - "reference": "bb7c9a210c72e4709cdde67f8b7362f672f2225c", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/443bc6912c9bd5b409254a40f4b0f4ced7c80ea1", + "reference": "443bc6912c9bd5b409254a40f4b0f4ced7c80ea1", "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 || ^4.0", - "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.15", + "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": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "9.2-dev" } }, "autoload": { @@ -6482,7 +6946,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/7.0.14" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.26" }, "funding": [ { @@ -6490,32 +6954,32 @@ "type": "github" } ], - "time": "2020-12-02T13:39:03+00:00" + "time": "2023-03-06T12:58:08+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "2.0.3", + "version": "3.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357" + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/4b49fb70f067272b659ef0174ff9ca40fdaa6357", - "reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^8.5" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -6542,7 +7006,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.3" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" }, "funding": [ { @@ -6550,77 +7014,36 @@ "type": "github" } ], - "time": "2020-11-30T08:25:21+00:00" - }, - { - "name": "phpunit/php-text-template", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/1.2.1" - }, - "time": "2015-06-21T13:50:34+00:00" + "time": "2021-12-02T12:48:52+00:00" }, { - "name": "phpunit/php-timer", - "version": "2.1.3", + "name": "phpunit/php-invoker", + "version": "3.1.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "2454ae1765516d20c4ffe103d85a58a9a3bd5662" + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/2454ae1765516d20c4ffe103d85a58a9a3bd5662", - "reference": "2454ae1765516d20c4ffe103d85a58a9a3bd5662", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^8.5" + "ext-pcntl": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcntl": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -6639,14 +7062,14 @@ "role": "lead" } ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", "keywords": [ - "timer" + "process" ], "support": { - "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/2.1.3" + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" }, "funding": [ { @@ -6654,33 +7077,32 @@ "type": "github" } ], - "time": "2020-11-30T08:20:02+00:00" + "time": "2020-09-28T05:58:55+00:00" }, { - "name": "phpunit/php-token-stream", - "version": "3.1.2", + "name": "phpunit/php-text-template", + "version": "2.0.4", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "472b687829041c24b25f475e14c2f38a09edf1c2" + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/472b687829041c24b25f475e14c2f38a09edf1c2", - "reference": "472b687829041c24b25f475e14c2f38a09edf1c2", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", "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": "2.0-dev" } }, "autoload": { @@ -6695,17 +7117,18 @@ "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": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", "keywords": [ - "tokenizer" + "template" ], "support": { - "issues": "https://github.com/sebastianbergmann/php-token-stream/issues", - "source": "https://github.com/sebastianbergmann/php-token-stream/tree/3.1.2" + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" }, "funding": [ { @@ -6713,39 +7136,32 @@ "type": "github" } ], - "abandoned": true, - "time": "2020-11-30T08:38:46+00:00" + "time": "2020-10-26T05:33:50+00:00" }, { - "name": "phpunit/phpcov", - "version": "6.0.1", + "name": "phpunit/php-timer", + "version": "5.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/phpcov.git", - "reference": "63c32ed2a7dd18e5bd07f58aed1982d2ec9f1960" + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpcov/zipball/63c32ed2a7dd18e5bd07f58aed1982d2ec9f1960", - "reference": "63c32ed2a7dd18e5bd07f58aed1982d2ec9f1960", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", "shasum": "" }, "require": { - "php": "^7.2", - "phpunit/php-code-coverage": "^7.0", - "phpunit/phpunit": "^8.0", - "sebastian/diff": "^3.0", - "sebastian/finder-facade": "^1.1", - "sebastian/version": "^2.0", - "symfony/console": "^3.0 || ^4.0" + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" }, - "bin": [ - "phpcov" - ], "type": "library", "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -6764,62 +7180,69 @@ "role": "lead" } ], - "description": "CLI frontend for php-code-coverage", - "homepage": "https://github.com/sebastianbergmann/phpcov", + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], "support": { - "issues": "https://github.com/sebastianbergmann/phpcov/issues", - "source": "https://github.com/sebastianbergmann/phpcov/tree/6.0.1" + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" }, - "time": "2019-11-18T13:38:50+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:16:10+00:00" }, { "name": "phpunit/phpunit", - "version": "8.5.15", + "version": "9.6.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "038d4196d8e8cb405cd5e82cedfe413ad6eef9ef" + "reference": "b65d59a059d3004a040c16a82e07bbdf6cfdd115" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/038d4196d8e8cb405cd5e82cedfe413ad6eef9ef", - "reference": "038d4196d8e8cb405cd5e82cedfe413ad6eef9ef", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b65d59a059d3004a040c16a82e07bbdf6cfdd115", + "reference": "b65d59a059d3004a040c16a82e07bbdf6cfdd115", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1", + "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.0", - "phar-io/manifest": "^2.0.1", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", - "php": ">=7.2", - "phpspec/prophecy": "^1.10.3", - "phpunit/php-code-coverage": "^7.0.12", - "phpunit/php-file-iterator": "^2.0.2", - "phpunit/php-text-template": "^1.2.1", - "phpunit/php-timer": "^2.1.2", - "sebastian/comparator": "^3.0.2", - "sebastian/diff": "^3.0.2", - "sebastian/environment": "^4.2.3", - "sebastian/exporter": "^3.1.2", - "sebastian/global-state": "^3.0.0", - "sebastian/object-enumerator": "^3.0.3", - "sebastian/resource-operations": "^2.0.1", - "sebastian/type": "^1.1.3", - "sebastian/version": "^2.0.1" - }, - "require-dev": { - "ext-pdo": "*" + "php": ">=7.3", + "phpunit/php-code-coverage": "^9.2.13", + "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.8", + "sebastian/diff": "^4.0.3", + "sebastian/environment": "^5.1.3", + "sebastian/exporter": "^4.0.5", + "sebastian/global-state": "^5.0.1", + "sebastian/object-enumerator": "^4.0.3", + "sebastian/resource-operations": "^3.0.3", + "sebastian/type": "^3.2", + "sebastian/version": "^3.0.2" }, "suggest": { - "ext-soap": "*", - "ext-xdebug": "*", - "phpunit/php-invoker": "^2.0.0" + "ext-soap": "To be able to generate mocks based on WSDL files", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "bin": [ "phpunit" @@ -6827,10 +7250,13 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "8.5-dev" + "dev-master": "9.6-dev" } }, "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], "classmap": [ "src/" ] @@ -6855,55 +7281,55 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.15" + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.6" }, "funding": [ { - "url": "https://phpunit.de/donate.html", + "url": "https://phpunit.de/sponsors.html", "type": "custom" }, { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" } ], - "time": "2021-03-17T07:27:54+00:00" + "time": "2023-03-27T11:43:46+00:00" }, { "name": "povils/phpmnd", - "version": "v2.4.0", + "version": "v3.0.1", "source": { "type": "git", "url": "https://github.com/povils/phpmnd.git", - "reference": "580a07ebbbc66f6f5339524952bb26414ae8d91e" + "reference": "27716212dadf897153a1f01e73ee3f1477b5a987" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/povils/phpmnd/zipball/580a07ebbbc66f6f5339524952bb26414ae8d91e", - "reference": "580a07ebbbc66f6f5339524952bb26414ae8d91e", + "url": "https://api.github.com/repos/povils/phpmnd/zipball/27716212dadf897153a1f01e73ee3f1477b5a987", + "reference": "27716212dadf897153a1f01e73ee3f1477b5a987", "shasum": "" }, "require": { - "nikic/php-parser": "^4.0", - "php": "^7.1|^8.0", - "php-parallel-lint/php-console-highlighter": "^0.4", + "nikic/php-parser": "^4.13", + "php": "^7.4 || ^8.0", + "php-parallel-lint/php-console-highlighter": "^1.0", "phpunit/php-timer": "^2.0||^3.0||^4.0||^5.0", - "symfony/console": "^4.0||^5.0", - "symfony/finder": "^4.0||^5.0" + "symfony/console": "^4.4 || ^5.0 || ^6.0", + "symfony/finder": "^4.4 || ^5.0 || ^6.0" }, "require-dev": { - "phpunit/phpunit": "^7.0||^8.0||^9.0", + "phpunit/phpunit": "^9.5", "squizlabs/php_codesniffer": "^2.8.1||^3.5" }, "bin": [ "bin/phpmnd" ], "type": "application", - "extra": { - "branch-alias": { - "dev-master": "2.3-dev" - } - }, "autoload": { "psr-4": { "Povils\\PHPMND\\": "src/" @@ -6922,165 +7348,363 @@ "description": "A tool to detect Magic numbers in codebase", "support": { "issues": "https://github.com/povils/phpmnd/issues", - "source": "https://github.com/povils/phpmnd/tree/v2.4.0" + "source": "https://github.com/povils/phpmnd/tree/v3.0.1" + }, + "time": "2022-08-18T21:29:13+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "shasum": "" }, - "time": "2021-02-27T17:30:03+00:00" + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client/tree/master" + }, + "time": "2020-06-29T06:28:15+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "shasum": "" + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory/tree/master" + }, + "time": "2019-04-30T12:38:16+00:00" + }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/getallheaders.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders.", + "support": { + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" + }, + "time": "2019-03-08T08:55:37+00:00" }, { - "name": "psalm/phar", - "version": "4.7.3", + "name": "sabre/event", + "version": "5.1.4", "source": { "type": "git", - "url": "https://github.com/psalm/phar.git", - "reference": "eff44deec44175700382fdc0f3bdeb99aaec1b61" + "url": "https://github.com/sabre-io/event.git", + "reference": "d7da22897125d34d7eddf7977758191c06a74497" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/phar/zipball/eff44deec44175700382fdc0f3bdeb99aaec1b61", - "reference": "eff44deec44175700382fdc0f3bdeb99aaec1b61", + "url": "https://api.github.com/repos/sabre-io/event/zipball/d7da22897125d34d7eddf7977758191c06a74497", + "reference": "d7da22897125d34d7eddf7977758191c06a74497", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, - "conflict": { - "vimeo/psalm": "*" + "require-dev": { + "friendsofphp/php-cs-fixer": "~2.17.1", + "phpstan/phpstan": "^0.12", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.0" }, - "bin": [ - "psalm.phar" - ], "type": "library", + "autoload": { + "files": [ + "lib/coroutine.php", + "lib/Loop/functions.php", + "lib/Promise/functions.php" + ], + "psr-4": { + "Sabre\\Event\\": "lib/" + } + }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Evert Pot", + "email": "me@evertpot.com", + "homepage": "http://evertpot.com/", + "role": "Developer" + } + ], + "description": "sabre/event is a library for lightweight event-based programming", + "homepage": "http://sabre.io/event/", + "keywords": [ + "EventEmitter", + "async", + "coroutine", + "eventloop", + "events", + "hooks", + "plugin", + "promise", + "reactor", + "signal" ], - "description": "Composer-based Psalm Phar", "support": { - "issues": "https://github.com/psalm/phar/issues", - "source": "https://github.com/psalm/phar/tree/4.7.3" + "forum": "https://groups.google.com/group/sabredav-discuss", + "issues": "https://github.com/sabre-io/event/issues", + "source": "https://github.com/fruux/sabre-event" }, - "time": "2021-05-24T04:13:35+00:00" + "time": "2021-11-04T06:51:17+00:00" }, { - "name": "psr/http-client", + "name": "sebastian/cli-parser", "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/php-fig/http-client.git", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", "shasum": "" }, "require": { - "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0" + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.0-dev" } }, "autoload": { - "psr-4": { - "Psr\\Http\\Client\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Common interface for HTTP clients", - "homepage": "https://github.com/php-fig/http-client", - "keywords": [ - "http", - "http-client", - "psr", - "psr-18" - ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { - "source": "https://github.com/php-fig/http-client/tree/master" + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" }, - "time": "2020-06-29T06:28:15+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:08:49+00:00" }, { - "name": "ralouphie/getallheaders", - "version": "3.0.3", + "name": "sebastian/code-unit", + "version": "1.0.8", "source": { "type": "git", - "url": "https://github.com/ralouphie/getallheaders.git", - "reference": "120b605dfeb996808c31b6477290a714d356e822" + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", - "reference": "120b605dfeb996808c31b6477290a714d356e822", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", "shasum": "" }, "require": { - "php": ">=5.6" + "php": ">=7.3" }, "require-dev": { - "php-coveralls/php-coveralls": "^2.1", - "phpunit/phpunit": "^5 || ^6.5" + "phpunit/phpunit": "^9.3" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, "autoload": { - "files": [ - "src/getallheaders.php" + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Ralph Khattar", - "email": "ralph.khattar@gmail.com" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "A polyfill for getallheaders.", + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { - "issues": "https://github.com/ralouphie/getallheaders/issues", - "source": "https://github.com/ralouphie/getallheaders/tree/develop" + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" }, - "time": "2019-03-08T08:55:37+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:08:54+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "1.0.2", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619" + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/1de8cd5c010cb153fcd68b8d0f64606f523f7619", - "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", "shasum": "" }, "require": { - "php": ">=5.6" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^8.5" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -7102,7 +7726,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/1.0.2" + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" }, "funding": [ { @@ -7110,34 +7734,34 @@ "type": "github" } ], - "time": "2020-11-30T08:15:22+00:00" + "time": "2020-09-28T05:30:19+00:00" }, { "name": "sebastian/comparator", - "version": "3.0.3", + "version": "4.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "1071dfcef776a57013124ff35e1fc41ccd294758" + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/1071dfcef776a57013124ff35e1fc41ccd294758", - "reference": "1071dfcef776a57013124ff35e1fc41ccd294758", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", "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": "^8.5" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -7176,7 +7800,64 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/3.0.3" + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T12:41:17+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": [ { @@ -7184,33 +7865,33 @@ "type": "github" } ], - "time": "2020-11-30T08:04:30+00:00" + "time": "2020-10-26T15:52:27+00:00" }, { "name": "sebastian/diff", - "version": "3.0.3", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "14f72dd46eaf2f2293cbe79c93cc0bc43161a211" + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/14f72dd46eaf2f2293cbe79c93cc0bc43161a211", - "reference": "14f72dd46eaf2f2293cbe79c93cc0bc43161a211", + "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": { @@ -7242,7 +7923,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/3.0.3" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" }, "funding": [ { @@ -7250,27 +7931,27 @@ "type": "github" } ], - "time": "2020-11-30T07:59:04+00:00" + "time": "2020-10-26T13:10:38+00:00" }, { "name": "sebastian/environment", - "version": "4.2.4", + "version": "5.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "d47bbbad83711771f167c72d4e3f25f7fcc1f8b0" + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/d47bbbad83711771f167c72d4e3f25f7fcc1f8b0", - "reference": "d47bbbad83711771f167c72d4e3f25f7fcc1f8b0", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^7.5" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-posix": "*" @@ -7278,7 +7959,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.2-dev" + "dev-master": "5.1-dev" } }, "autoload": { @@ -7305,7 +7986,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/4.2.4" + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" }, "funding": [ { @@ -7313,34 +7994,34 @@ "type": "github" } ], - "time": "2020-11-30T07:53:42+00:00" + "time": "2023-02-03T06:03:51+00:00" }, { "name": "sebastian/exporter", - "version": "3.1.3", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e" + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/6b853149eab67d4da22291d36f5b0631c0fd856e", - "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", "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": { @@ -7375,14 +8056,14 @@ } ], "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", + "homepage": "https://www.github.com/sebastianbergmann/exporter", "keywords": [ "export", "exporter" ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.3" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" }, "funding": [ { @@ -7390,30 +8071,39 @@ "type": "github" } ], - "time": "2020-11-30T07:47:53+00:00" + "time": "2022-09-14T06:03:37+00:00" }, { - "name": "sebastian/finder-facade", - "version": "1.2.3", + "name": "sebastian/global-state", + "version": "5.0.5", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/finder-facade.git", - "reference": "167c45d131f7fc3d159f56f191a0a22228765e16" + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/finder-facade/zipball/167c45d131f7fc3d159f56f191a0a22228765e16", - "reference": "167c45d131f7fc3d159f56f191a0a22228765e16", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", "shasum": "" }, "require": { - "php": "^7.1", - "symfony/finder": "^2.3|^3.0|^4.0|^5.0", - "theseer/fdomdocument": "^1.6" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" }, "type": "library", "extra": { - "branch-alias": [] + "branch-alias": { + "dev-master": "5.0-dev" + } }, "autoload": { "classmap": [ @@ -7427,49 +8117,51 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" } ], - "description": "FinderFacade is a convenience wrapper for Symfony's Finder component.", - "homepage": "https://github.com/sebastianbergmann/finder-facade", + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], "support": { - "issues": "https://github.com/sebastianbergmann/finder-facade/issues", - "source": "https://github.com/sebastianbergmann/finder-facade/tree/1.2" + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" }, - "abandoned": true, - "time": "2020-01-16T08:08:45+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-02-14T08:28:10+00:00" }, { - "name": "sebastian/global-state", - "version": "3.0.1", + "name": "sebastian/lines-of-code", + "version": "1.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "474fb9edb7ab891665d3bfc6317f42a0a150454b" + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/474fb9edb7ab891665d3bfc6317f42a0a150454b", - "reference": "474fb9edb7ab891665d3bfc6317f42a0a150454b", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", "shasum": "" }, "require": { - "php": ">=7.2", - "sebastian/object-reflector": "^1.1.1", - "sebastian/recursion-context": "^3.0" + "nikic/php-parser": "^4.6", + "php": ">=7.3" }, "require-dev": { - "ext-dom": "*", - "phpunit/phpunit": "^8.0" - }, - "suggest": { - "ext-uopz": "*" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -7484,17 +8176,15 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": [ - "global state" - ], + "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/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/3.0.1" + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" }, "funding": [ { @@ -7502,34 +8192,34 @@ "type": "github" } ], - "time": "2020-11-30T07:43:24+00:00" + "time": "2020-11-28T06:42:11+00:00" }, { "name": "sebastian/object-enumerator", - "version": "3.0.4", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2" + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2", - "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2", + "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": { @@ -7551,7 +8241,7 @@ "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/3.0.4" + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" }, "funding": [ { @@ -7559,32 +8249,32 @@ "type": "github" } ], - "time": "2020-11-30T07:40:27+00:00" + "time": "2020-10-26T13:12:34+00:00" }, { "name": "sebastian/object-reflector", - "version": "1.1.2", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d" + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/9b8772b9cbd456ab45d4a598d2dd1a1bced6363d", - "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d", + "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": { @@ -7606,7 +8296,7 @@ "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/1.1.2" + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" }, "funding": [ { @@ -7614,32 +8304,32 @@ "type": "github" } ], - "time": "2020-11-30T07:37:18+00:00" + "time": "2020-10-26T13:14:26+00:00" }, { "name": "sebastian/recursion-context", - "version": "3.0.1", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb" + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/367dcba38d6e1977be014dc4b22f47a484dac7fb", - "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", "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": { @@ -7666,10 +8356,10 @@ } ], "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/3.0.1" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" }, "funding": [ { @@ -7677,29 +8367,32 @@ "type": "github" } ], - "time": "2020-11-30T07:34:24+00:00" + "time": "2023-02-03T06:07:39+00:00" }, { "name": "sebastian/resource-operations", - "version": "2.0.2", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "31d35ca87926450c44eae7e2611d45a7a65ea8b3" + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/31d35ca87926450c44eae7e2611d45a7a65ea8b3", - "reference": "31d35ca87926450c44eae7e2611d45a7a65ea8b3", + "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": { @@ -7721,7 +8414,7 @@ "homepage": "https://www.github.com/sebastianbergmann/resource-operations", "support": { "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" }, "funding": [ { @@ -7729,32 +8422,32 @@ "type": "github" } ], - "time": "2020-11-30T07:30:19+00:00" + "time": "2020-09-28T06:45:17+00:00" }, { "name": "sebastian/type", - "version": "1.1.4", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "0150cfbc4495ed2df3872fb31b26781e4e077eb4" + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/0150cfbc4495ed2df3872fb31b26781e4e077eb4", - "reference": "0150cfbc4495ed2df3872fb31b26781e4e077eb4", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "" }, "require": { - "php": ">=7.2" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^8.2" + "phpunit/phpunit": "^9.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -7777,7 +8470,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/1.1.4" + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" }, "funding": [ { @@ -7785,29 +8478,29 @@ "type": "github" } ], - "time": "2020-11-30T07:25:11+00:00" + "time": "2023-02-03T06:13:03+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": { @@ -7826,26 +8519,95 @@ "role": "lead" } ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/master" - }, - "time": "2016-10-03T07:35:21+00:00" + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:39:44+00:00" + }, + { + "name": "spatie/array-to-xml", + "version": "3.1.5", + "source": { + "type": "git", + "url": "https://github.com/spatie/array-to-xml.git", + "reference": "13f76acef5362d15c71ae1ac6350cc3df5e25e43" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/13f76acef5362d15c71ae1ac6350cc3df5e25e43", + "reference": "13f76acef5362d15c71ae1ac6350cc3df5e25e43", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "php": "^8.0" + }, + "require-dev": { + "mockery/mockery": "^1.2", + "pestphp/pest": "^1.21", + "spatie/pest-plugin-snapshots": "^1.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\ArrayToXml\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://freek.dev", + "role": "Developer" + } + ], + "description": "Convert an array to xml", + "homepage": "https://github.com/spatie/array-to-xml", + "keywords": [ + "array", + "convert", + "xml" + ], + "support": { + "source": "https://github.com/spatie/array-to-xml/tree/3.1.5" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2022-12-24T13:43:51+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.6.0", + "version": "3.7.2", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625" + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625", - "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", "shasum": "" }, "require": { @@ -7881,45 +8643,45 @@ "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", "keywords": [ "phpcs", - "standards" + "standards", + "static analysis" ], "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" + "time": "2023-02-22T23:07:41+00:00" }, { "name": "symfony/config", - "version": "v5.2.8", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "8dfa5f8adea9cd5155920069224beb04f11d6b7e" + "reference": "249271da6f545d6579e0663374f8249a80be2893" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/8dfa5f8adea9cd5155920069224beb04f11d6b7e", - "reference": "8dfa5f8adea9cd5155920069224beb04f11d6b7e", + "url": "https://api.github.com/repos/symfony/config/zipball/249271da6f545d6579e0663374f8249a80be2893", + "reference": "249271da6f545d6579e0663374f8249a80be2893", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/filesystem": "^4.4|^5.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-php80": "^1.15" + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/filesystem": "^5.4|^6.0", + "symfony/polyfill-ctype": "~1.8" }, "conflict": { - "symfony/finder": "<4.4" + "symfony/finder": "<5.4" }, "require-dev": { - "symfony/event-dispatcher": "^4.4|^5.0", - "symfony/finder": "^4.4|^5.0", - "symfony/messenger": "^4.4|^5.0", - "symfony/service-contracts": "^1.1|^2", - "symfony/yaml": "^4.4|^5.0" + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/finder": "^5.4|^6.0", + "symfony/messenger": "^5.4|^6.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/yaml": "^5.4|^6.0" }, "suggest": { "symfony/yaml": "To use the yaml reference dumper" @@ -7950,7 +8712,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/config/tree/v5.2.8" + "source": "https://github.com/symfony/config/tree/v6.2.7" }, "funding": [ { @@ -7966,49 +8728,49 @@ "type": "tidelift" } ], - "time": "2021-05-07T13:41:16+00:00" + "time": "2023-02-14T08:44:56+00:00" }, { "name": "symfony/dependency-injection", - "version": "v5.2.9", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "2761ca2f7e2f41af3a45951e1ce8c01f121245eb" + "reference": "83369dd4ec84bba9673524d25b79dfbde9e6e84c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/2761ca2f7e2f41af3a45951e1ce8c01f121245eb", - "reference": "2761ca2f7e2f41af3a45951e1ce8c01f121245eb", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/83369dd4ec84bba9673524d25b79dfbde9e6e84c", + "reference": "83369dd4ec84bba9673524d25b79dfbde9e6e84c", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/container": "^1.0", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-php80": "^1.15", - "symfony/service-contracts": "^1.1.6|^2" + "php": ">=8.1", + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/service-contracts": "^1.1.6|^2.0|^3.0", + "symfony/var-exporter": "^6.2.7" }, "conflict": { - "symfony/config": "<5.1", - "symfony/finder": "<4.4", - "symfony/proxy-manager-bridge": "<4.4", - "symfony/yaml": "<4.4" + "ext-psr": "<1.1|>=2", + "symfony/config": "<6.1", + "symfony/finder": "<5.4", + "symfony/proxy-manager-bridge": "<6.2", + "symfony/yaml": "<5.4" }, "provide": { - "psr/container-implementation": "1.0", - "symfony/service-implementation": "1.0|2.0" + "psr/container-implementation": "1.1|2.0", + "symfony/service-implementation": "1.1|2.0|3.0" }, "require-dev": { - "symfony/config": "^5.1", - "symfony/expression-language": "^4.4|^5.0", - "symfony/yaml": "^4.4|^5.0" + "symfony/config": "^6.1", + "symfony/expression-language": "^5.4|^6.0", + "symfony/yaml": "^5.4|^6.0" }, "suggest": { "symfony/config": "", "symfony/expression-language": "For using expressions in service container configuration", "symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required", - "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", "symfony/yaml": "" }, "type": "library", @@ -8037,7 +8799,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v5.2.9" + "source": "https://github.com/symfony/dependency-injection/tree/v6.2.7" }, "funding": [ { @@ -8053,25 +8815,26 @@ "type": "tidelift" } ], - "time": "2021-05-16T13:07:46+00:00" + "time": "2023-02-16T14:11:02+00:00" }, { "name": "symfony/filesystem", - "version": "v5.2.7", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "056e92acc21d977c37e6ea8e97374b2a6c8551b0" + "reference": "82b6c62b959f642d000456f08c6d219d749215b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/056e92acc21d977c37e6ea8e97374b2a6c8551b0", - "reference": "056e92acc21d977c37e6ea8e97374b2a6c8551b0", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/82b6c62b959f642d000456f08c6d219d749215b3", + "reference": "82b6c62b959f642d000456f08c6d219d749215b3", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-ctype": "~1.8" + "php": ">=8.1", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.8" }, "type": "library", "autoload": { @@ -8099,7 +8862,153 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.2.7" + "source": "https://github.com/symfony/filesystem/tree/v6.2.7" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-02-14T08:44:56+00:00" + }, + { + "name": "symfony/options-resolver", + "version": "v6.2.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/options-resolver.git", + "reference": "aa0e85b53bbb2b4951960efd61d295907eacd629" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/aa0e85b53bbb2b4951960efd61d295907eacd629", + "reference": "aa0e85b53bbb2b4951960efd61d295907eacd629", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.1|^3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\OptionsResolver\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an improved replacement for the array_replace PHP function", + "homepage": "https://symfony.com", + "keywords": [ + "config", + "configuration", + "options" + ], + "support": { + "source": "https://github.com/symfony/options-resolver/tree/v6.2.7" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-02-14T08:44:56+00:00" + }, + { + "name": "symfony/polyfill-php81", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php81.git", + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php81\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0" }, "funding": [ { @@ -8115,25 +9024,24 @@ "type": "tidelift" } ], - "time": "2021-04-01T10:42:13+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/process", - "version": "v5.2.7", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "98cb8eeb72e55d4196dd1e36f1f16e7b3a9a088e" + "reference": "680e8a2ea6b3f87aecc07a6a65a203ae573d1902" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/98cb8eeb72e55d4196dd1e36f1f16e7b3a9a088e", - "reference": "98cb8eeb72e55d4196dd1e36f1f16e7b3a9a088e", + "url": "https://api.github.com/repos/symfony/process/zipball/680e8a2ea6b3f87aecc07a6a65a203ae573d1902", + "reference": "680e8a2ea6b3f87aecc07a6a65a203ae573d1902", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-php80": "^1.15" + "php": ">=8.1" }, "type": "library", "autoload": { @@ -8161,7 +9069,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.3.0-BETA1" + "source": "https://github.com/symfony/process/tree/v6.2.7" }, "funding": [ { @@ -8177,25 +9085,25 @@ "type": "tidelift" } ], - "time": "2021-04-08T10:27:02+00:00" + "time": "2023-02-24T10:42:00+00:00" }, { "name": "symfony/stopwatch", - "version": "v5.2.7", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "d99310c33e833def36419c284f60e8027d359678" + "reference": "f3adc98c1061875dd2edcd45e5b04e63d0e29f8f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/d99310c33e833def36419c284f60e8027d359678", - "reference": "d99310c33e833def36419c284f60e8027d359678", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/f3adc98c1061875dd2edcd45e5b04e63d0e29f8f", + "reference": "f3adc98c1061875dd2edcd45e5b04e63d0e29f8f", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/service-contracts": "^1.0|^2" + "php": ">=8.1", + "symfony/service-contracts": "^1|^2|^3" }, "type": "library", "autoload": { @@ -8223,7 +9131,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v5.3.0-BETA1" + "source": "https://github.com/symfony/stopwatch/tree/v6.2.7" }, "funding": [ { @@ -8239,35 +9147,35 @@ "type": "tidelift" } ], - "time": "2021-03-29T15:28:41+00:00" + "time": "2023-02-14T08:44:56+00:00" }, { "name": "symfony/var-dumper", - "version": "v5.2.8", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "d693200a73fae179d27f8f1b16b4faf3e8569eba" + "reference": "cf8d4ca1ddc1e3cc242375deb8fc23e54f5e2a1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/d693200a73fae179d27f8f1b16b4faf3e8569eba", - "reference": "d693200a73fae179d27f8f1b16b4faf3e8569eba", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/cf8d4ca1ddc1e3cc242375deb8fc23e54f5e2a1e", + "reference": "cf8d4ca1ddc1e3cc242375deb8fc23e54f5e2a1e", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "^1.15" + "php": ">=8.1", + "symfony/polyfill-mbstring": "~1.0" }, "conflict": { "phpunit/phpunit": "<5.4.3", - "symfony/console": "<4.4" + "symfony/console": "<5.4" }, "require-dev": { "ext-iconv": "*", - "symfony/console": "^4.4|^5.0", - "symfony/process": "^4.4|^5.0", + "symfony/console": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/uid": "^5.4|^6.0", "twig/twig": "^2.13|^3.0.4" }, "suggest": { @@ -8311,7 +9219,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.2.8" + "source": "https://github.com/symfony/var-dumper/tree/v6.2.7" }, "funding": [ { @@ -8327,26 +9235,27 @@ "type": "tidelift" } ], - "time": "2021-05-07T13:42:21+00:00" + "time": "2023-02-24T10:42:00+00:00" }, { - "name": "theseer/fdomdocument", - "version": "1.6.6", + "name": "theseer/tokenizer", + "version": "1.2.1", "source": { "type": "git", - "url": "https://github.com/theseer/fDOMDocument.git", - "reference": "6e8203e40a32a9c770bcb62fe37e68b948da6dca" + "url": "https://github.com/theseer/tokenizer.git", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/fDOMDocument/zipball/6e8203e40a32a9c770bcb62fe37e68b948da6dca", - "reference": "6e8203e40a32a9c770bcb62fe37e68b948da6dca", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", "shasum": "" }, "require": { "ext-dom": "*", - "lib-libxml": "*", - "php": ">=5.3.3" + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" }, "type": "library", "autoload": { @@ -8362,88 +9271,106 @@ { "name": "Arne Blankerts", "email": "arne@blankerts.de", - "role": "lead" + "role": "Developer" } ], - "description": "The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or notices. They also add various custom methods and shortcuts for convenience and to simplify the usage of DOM.", - "homepage": "https://github.com/theseer/fDOMDocument", + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { - "issues": "https://github.com/theseer/fDOMDocument/issues", - "source": "https://github.com/theseer/fDOMDocument/tree/master" + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" }, - "time": "2017-06-30T11:53:12+00:00" + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2021-07-28T10:34:58+00:00" }, { - "name": "theseer/tokenizer", - "version": "1.2.0", + "name": "tysonandre/var_representation_polyfill", + "version": "0.1.3", "source": { "type": "git", - "url": "https://github.com/theseer/tokenizer.git", - "reference": "75a63c33a8577608444246075ea0af0d052e452a" + "url": "https://github.com/TysonAndre/var_representation_polyfill.git", + "reference": "e9116c2c352bb0835ca428b442dde7767c11ad32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/75a63c33a8577608444246075ea0af0d052e452a", - "reference": "75a63c33a8577608444246075ea0af0d052e452a", + "url": "https://api.github.com/repos/TysonAndre/var_representation_polyfill/zipball/e9116c2c352bb0835ca428b442dde7767c11ad32", + "reference": "e9116c2c352bb0835ca428b442dde7767c11ad32", "shasum": "" }, "require": { - "ext-dom": "*", "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": "^7.2 || ^8.0" + "php": "^7.2.0|^8.0.0" + }, + "provide": { + "ext-var_representation": "*" + }, + "require-dev": { + "phan/phan": "^5.4.1", + "phpunit/phpunit": "^8.5.0" + }, + "suggest": { + "ext-var_representation": "For best performance" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.1.3-dev" + } + }, "autoload": { - "classmap": [ - "src/" - ] + "files": [ + "src/var_representation.php" + ], + "psr-4": { + "VarRepresentation\\": "src/VarRepresentation" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" + "name": "Tyson Andre" } ], - "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "description": "Polyfill for var_representation: convert a variable to a string in a way that fixes the shortcomings of var_export", + "keywords": [ + "var_export", + "var_representation" + ], "support": { - "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/master" + "issues": "https://github.com/TysonAndre/var_representation_polyfill/issues", + "source": "https://github.com/TysonAndre/var_representation_polyfill/tree/0.1.3" }, - "funding": [ - { - "url": "https://github.com/theseer", - "type": "github" - } - ], - "time": "2020-07-12T23:59:07+00:00" + "time": "2022-08-31T12:59:22+00:00" }, { "name": "ulrichsg/getopt-php", - "version": "v3.4.0", + "version": "v4.0.3", "source": { "type": "git", "url": "https://github.com/getopt-php/getopt-php.git", - "reference": "9121d7c2c51a6a59ee407c49a13b4d8cfae71075" + "reference": "91c31c9bc0ff9bbe22b0b02c63c7f5ddb8d2a8d5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/getopt-php/getopt-php/zipball/9121d7c2c51a6a59ee407c49a13b4d8cfae71075", - "reference": "9121d7c2c51a6a59ee407c49a13b4d8cfae71075", + "url": "https://api.github.com/repos/getopt-php/getopt-php/zipball/91c31c9bc0ff9bbe22b0b02c63c7f5ddb8d2a8d5", + "reference": "91c31c9bc0ff9bbe22b0b02c63c7f5ddb8d2a8d5", "shasum": "" }, "require": { "ext-mbstring": "*", - "php": ">=5.4.0" + "php": "^7.1 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.8", - "squizlabs/php_codesniffer": "^2.7" + "phpunit/phpunit": "*", + "squizlabs/php_codesniffer": "^3.5.8", + "tflori/phpunit-printer": "*" }, "type": "library", "autoload": { @@ -8465,31 +9392,136 @@ "email": "thflori@gmail.com" } ], - "description": "Command line arguments parser for PHP 5.4 - 7.3", + "description": "Command line arguments parser for PHP 7.1 and above", "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" + "source": "https://github.com/getopt-php/getopt-php/tree/v4.0.3" + }, + "time": "2022-12-13T20:37:45+00:00" + }, + { + "name": "vimeo/psalm", + "version": "5.8.0", + "source": { + "type": "git", + "url": "https://github.com/vimeo/psalm.git", + "reference": "9cf4f60a333f779ad3bc704a555920e81d4fdcda" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/9cf4f60a333f779ad3bc704a555920e81d4fdcda", + "reference": "9cf4f60a333f779ad3bc704a555920e81d4fdcda", + "shasum": "" + }, + "require": { + "amphp/amp": "^2.4.2", + "amphp/byte-stream": "^1.5", + "composer-runtime-api": "^2", + "composer/semver": "^1.4 || ^2.0 || ^3.0", + "composer/xdebug-handler": "^2.0 || ^3.0", + "dnoegel/php-xdg-base-dir": "^0.1.1", + "ext-ctype": "*", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-simplexml": "*", + "ext-tokenizer": "*", + "felixfbecker/advanced-json-rpc": "^3.1", + "felixfbecker/language-server-protocol": "^1.5.2", + "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1", + "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", + "nikic/php-parser": "^4.14", + "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0", + "sebastian/diff": "^4.0 || ^5.0", + "spatie/array-to-xml": "^2.17.0 || ^3.0", + "symfony/console": "^4.1.6 || ^5.0 || ^6.0", + "symfony/filesystem": "^5.4 || ^6.0" + }, + "provide": { + "psalm/psalm": "self.version" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4", + "brianium/paratest": "^6.9", + "ext-curl": "*", + "mockery/mockery": "^1.5", + "nunomaduro/mock-final-classes": "^1.1", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpdoc-parser": "^1.6", + "phpunit/phpunit": "^9.6", + "psalm/plugin-mockery": "^1.1", + "psalm/plugin-phpunit": "^0.18", + "slevomat/coding-standard": "^8.4", + "squizlabs/php_codesniffer": "^3.6", + "symfony/process": "^4.4 || ^5.0 || ^6.0" + }, + "suggest": { + "ext-curl": "In order to send data to shepherd", + "ext-igbinary": "^2.0.5 is required, used to serialize caching data" }, - "time": "2020-07-14T06:09:04+00:00" + "bin": [ + "psalm", + "psalm-language-server", + "psalm-plugin", + "psalm-refactor", + "psalter" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.x-dev", + "dev-4.x": "4.x-dev", + "dev-3.x": "3.x-dev", + "dev-2.x": "2.x-dev", + "dev-1.x": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psalm\\": "src/Psalm/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Matthew Brown" + } + ], + "description": "A static analysis tool for finding errors in PHP applications", + "keywords": [ + "code", + "inspection", + "php", + "static analysis" + ], + "support": { + "issues": "https://github.com/vimeo/psalm/issues", + "source": "https://github.com/vimeo/psalm/tree/5.8.0" + }, + "time": "2023-03-09T04:14:35+00:00" }, { "name": "webmozart/assert", - "version": "1.10.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/webmozarts/assert.git", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25" + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0", - "symfony/polyfill-ctype": "^1.8" + "ext-ctype": "*", + "php": "^7.2 || ^8.0" }, "conflict": { "phpstan/phpstan": "<0.12.20", @@ -8527,20 +9559,25 @@ ], "support": { "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.10.0" + "source": "https://github.com/webmozarts/assert/tree/1.11.0" }, - "time": "2021-03-09T10:59:23+00:00" + "time": "2022-06-03T18:03:27+00:00" } ], "aliases": [], "minimum-stability": "dev", - "stability-flags": [], + "stability-flags": { + "jbzoo/data": 20, + "jbzoo/utils": 20, + "jbzoo/toolbox-dev": 20, + "jbzoo/http-client": 20 + }, "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=7.2", + "php": "^8.1", "ext-pcntl": "*" }, "platform-dev": [], - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.3.0" } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index f905abd..4194c42 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,15 +1,14 @@ sourcePath = $mockFilepath; - $this->data = $this->parseSource(); + $this->data = $this->parseSource(); } - /** - * @return Data - */ - private function parseSource(): Data - { - if (file_exists($this->sourcePath)) { - /** @var Data $formatClassName */ - $formatClassName = static::FORMAT_CLASS; - - return new $formatClassName($this->sourcePath); - } - - throw new Exception("File not found: {$this->sourcePath}"); - } - - /** - * @return string - */ public function getHash(): string { - return sha1($this->sourcePath); + return \sha1($this->sourcePath); } - /** - * @return string - */ public function getFilename(): string { - $rootPath = dirname(__DIR__); - return (string)str_replace($rootPath, '.', $this->sourcePath); + $rootPath = \dirname(__DIR__); + + return (string)\str_replace($rootPath, '.', $this->sourcePath); } - #### Request methods ############################################################################################### + // ### Request methods ############################################################################################# - /** - * @return array - */ public function getRequestMethods(): array { - $validMethods = ["GET", "POST", "PUT", "PATCH", "HEAD", "OPTIONS", "DELETE"]; - $methods = $this->data->find('request.method') ?: 'GET'; + $validMethods = ['GET', 'POST', 'PUT', 'PATCH', 'HEAD', 'OPTIONS', 'DELETE']; + $methods = $this->data->find('request.method') ?: 'GET'; - if (is_string($methods)) { - $methods = explode('|', $methods); + if (\is_string($methods)) { + $methods = \explode('|', $methods); } $result = []; + foreach ($methods as $method) { - $addMethods = strtoupper(trim($method)); + $addMethods = \strtoupper(\trim($method)); if ($addMethods === 'ANY' || $addMethods === '*') { $addMethods = $validMethods; } /** @noinspection SlowArrayOperationsInLoopInspection */ - $result = array_merge($result, (array)$addMethods); + $result = \array_merge($result, (array)$addMethods); } - return array_filter(array_unique($result)); + return \array_filter(\array_unique($result)); } - /** - * @return array - */ public function getRequestHeader(): array { $headers = $this->data->find('request.header') ?: []; + return (array)$headers; } - /** - * @return string - */ public function getRequestPath(): string { return (string)$this->data->find('request.path', '/'); } - #### Response methods ############################################################################################## + // ### Response methods ############################################################################################ - /** - * @return int - */ public function getResponseCode(): int { $codeHandler = $this->data->find('response.code', Status::OK); - $code = $this->handleCallable($codeHandler, 'int'); + $code = $this->handleCallable($codeHandler, 'int'); $result = (int)$code; if ($this->isCrazyMode()) { - $result = (int)array_rand(array_flip(self::CRAZY_POSSIBLE_CODES)); + $result = (int)\array_rand(\array_flip(self::CRAZY_POSSIBLE_CODES)); } return $result; } - /** - * @return array - */ public function getResponseHeaders(): array { $headerHandler = $this->data->find('response.headers', ['content-type' => 'text/plain']); - $headers = (array)$this->handleCallable($headerHandler, 'array'); + $headers = (array)$this->handleCallable($headerHandler, 'array'); $debugHeaders = [ 'X-Mock-Server-Fixture' => $this->getFilename(), @@ -202,109 +153,73 @@ public function getResponseHeaders(): array return $debugHeaders; } - return array_merge($debugHeaders, $headers); + return \array_merge($debugHeaders, $headers); } - /** - * @return string - */ public function getResponseBody(): string { if ($this->isCrazyMode()) { - return (string)array_rand(array_flip(self::CRAZY_POSSIBLE_BODIES)); + return (string)\array_rand(\array_flip(self::CRAZY_POSSIBLE_BODIES)); } $bodyHandler = $this->data->find('response.body', ''); - $body = $this->handleCallable($bodyHandler, 'string'); + $body = $this->handleCallable($bodyHandler, 'string'); return (string)$body; } - /** - * @param Request|null $request - */ public function bindRequest(?Request $request = null): void { $this->request = $request; } - /** - * @param string $sourcePath - * @return string|null - */ - public static function isSourceValid(string $sourcePath): ?string - { - try { - Cli::exec(Sys::getBinary() . " -l {$sourcePath}"); - } catch (ProcessFailedException $exception) { - return (string)$exception->getProcess()->getOutput(); - } - - return null; - } - - /** - * @return int - */ public function getDelay(): int { $delayHandler = $this->data->find('control.delay', 0); - $delay = $this->handleCallable($delayHandler, 'int'); + $delay = $this->handleCallable($delayHandler, 'int'); - //if ($this->isCrazyEnabled()) { + // if ($this->isCrazyEnabled()) { // $delay += random_int(0, self::CRAZY_MAX_DELAY); - //} + // } return (int)$delay; } - /** - * @return bool - */ public function isCrazyMode(): bool { $result = false; if ($this->isCrazyEnabled()) { - $result = random_int(0, 1) === 1; // 50% + $result = \random_int(0, 1) === 1; // 50% } return $result; } - /** - * @return bool - */ public function isCrazyEnabled(): bool { $crazyHandler = $this->data->find('control.crazy', false); - $crazy = $this->handleCallable($crazyHandler, 'bool'); + $crazy = $this->handleCallable($crazyHandler, 'bool'); return (bool)$crazy; } - /** - * @return string|null - */ public function getBaseProxyUrl(): ?string { $proxyUrlHandler = $this->data->find('control.proxyBaseUrl'); - $proxyUrl = $this->handleCallable($proxyUrlHandler, 'string'); + $proxyUrl = $this->handleCallable($proxyUrlHandler, 'string'); return $proxyUrl ?: null; } - /** - * @param string $proxyUrl - * @return array - */ public function handleProxyUrl(string $proxyUrl): array { - if (null === $this->request) { + if ($this->request === null) { throw new Exception('Request object is not set.'); } - $allFiles = $this->request->getFiles(false); + $allFiles = $this->request->getFiles(false); $guzzleMultipart = []; + foreach ($allFiles as $varName => $files) { foreach ($files as $file) { $guzzleMultipart[] = [ @@ -327,7 +242,7 @@ public function handleProxyUrl(string $proxyUrl): array $isGet = $this->request->getMethod() === 'GET'; if ($isGet) { $options[RequestOptions::QUERY] = $this->request->getUriParams(); - } elseif (count($guzzleMultipart) > 0) { + } elseif (\count($guzzleMultipart) > 0) { $options[RequestOptions::MULTIPART] = $guzzleMultipart; } else { $options[RequestOptions::FORM_PARAMS] = $this->request->getBodyParams(); @@ -338,13 +253,35 @@ public function handleProxyUrl(string $proxyUrl): array return [ $response->getStatusCode(), $response->getHeaders(), - $response->getBody()->getContents() + $response->getBody()->getContents(), ]; } + public static function isSourceValid(string $sourcePath): ?string + { + try { + Cli::exec(Sys::getBinary() . " -l {$sourcePath}"); + } catch (ProcessFailedException $exception) { + return (string)$exception->getProcess()->getOutput(); + } + + return null; + } + + private function parseSource(): Data + { + if (\file_exists($this->sourcePath)) { + /** @var Data $formatClassName */ + $formatClassName = static::FORMAT_CLASS; + + return new $formatClassName($this->sourcePath); + } + + throw new Exception("File not found: {$this->sourcePath}"); + } + /** - * @param mixed $handler - * @param string|null $expectedResultType + * @param mixed $handler * @return mixed * * @SuppressWarnings(PHPMD.NPathComplexity) @@ -353,29 +290,29 @@ private function handleCallable($handler, ?string $expectedResultType = null) { $result = $handler; - if (is_callable($handler)) { + if (\is_callable($handler)) { $result = $handler($this->request ?? null); } - if (null === $result) { + if ($result === null) { return null; } - if (null !== $expectedResultType) { - if ($expectedResultType === 'bool' && !is_bool($result)) { - throw new Exception("Expected result of callback is boolean. " . gettype($result) . ' given'); + if ($expectedResultType !== null) { + if ($expectedResultType === 'bool' && !\is_bool($result)) { + throw new Exception('Expected result of callback is boolean. ' . \gettype($result) . ' given'); } - if ($expectedResultType === 'int' && !is_int($result)) { - throw new Exception("Expected result of callback is integer. " . gettype($result) . ' given'); + if ($expectedResultType === 'int' && !\is_int($result)) { + throw new Exception('Expected result of callback is integer. ' . \gettype($result) . ' given'); } - if ($expectedResultType === 'string' && !is_string($result)) { - throw new Exception("Expected result of callback is string. " . gettype($result) . ' given'); + if ($expectedResultType === 'string' && !\is_string($result)) { + throw new Exception('Expected result of callback is string. ' . \gettype($result) . ' given'); } - if ($expectedResultType === 'array' && !is_array($result)) { - throw new Exception("Expected result of callback is array. " . gettype($result) . ' given'); + if ($expectedResultType === 'array' && !\is_array($result)) { + throw new Exception('Expected result of callback is array. ' . \gettype($result) . ' given'); } } diff --git a/src/Mocks/Exception.php b/src/Mocks/Exception.php index f57124f..b28f96d 100644 --- a/src/Mocks/Exception.php +++ b/src/Mocks/Exception.php @@ -1,27 +1,21 @@ */ class ConsoleLogger extends AbstractLogger { - private const DATE_FORMAT = '[Y-m-d H:i:s]'; - - private const REMOVE_PREFIXES = [ - "Unexpected Exception thrown from RequestHandler::handleRequest(), falling back to error handler.", - "Unexpected Error thrown from RequestHandler::handleRequest(), falling back to error handler." - ]; - public const ERROR = 'error'; public const WARNING = 'important'; public const NOTICE = 'comment'; public const DEBUG = 'debug'; - public const INFO = 'info'; + public const INFO = 'info'; + private const DATE_FORMAT = '[Y-m-d H:i:s]'; - /** - * @var OutputInterface - */ + private const REMOVE_PREFIXES = [ + 'Unexpected Exception thrown from RequestHandler::handleRequest(), falling back to error handler.', + 'Unexpected Error thrown from RequestHandler::handleRequest(), falling back to error handler.', + ]; + + /** @var OutputInterface */ private $output; - /** - * @var int[] - */ + /** @var int[] */ private $verbosityLevelMap = [ LogLevel::EMERGENCY => OutputInterface::VERBOSITY_NORMAL, LogLevel::ALERT => OutputInterface::VERBOSITY_NORMAL, @@ -68,12 +59,10 @@ class ConsoleLogger extends AbstractLogger LogLevel::DEBUG => OutputInterface::VERBOSITY_DEBUG, // Regular messages - LogLevel::INFO => OutputInterface::VERBOSITY_NORMAL, + LogLevel::INFO => OutputInterface::VERBOSITY_NORMAL, ]; - /** - * @var string[] - */ + /** @var string[] */ private $formatLevelMap = [ LogLevel::EMERGENCY => self::ERROR, LogLevel::ALERT => self::ERROR, @@ -88,35 +77,29 @@ class ConsoleLogger extends AbstractLogger LogLevel::DEBUG => self::DEBUG, ]; - /** - * @var bool - */ + /** @var bool */ private $errored = false; - /** - * ConsoleLogger constructor. - * @param OutputInterface $output - */ public function __construct(OutputInterface $output) { $this->output = $output; } /** - * @inheritDoc + * {@inheritDoc} */ - public function log($level, $message, array $context = []) + public function log($level, $message, array $context = []): void { - $message = str_replace(self::REMOVE_PREFIXES, '', $message); + $message = \str_replace(self::REMOVE_PREFIXES, '', (string)$message); if (!isset($this->verbosityLevelMap[$level])) { - throw new InvalidArgumentException(sprintf('The log level "%s" does not exist.', $level)); + throw new InvalidArgumentException(\sprintf('The log level "%s" does not exist.', $level)); } $output = $this->output; // Write to the error output if necessary and available - if (self::ERROR === $this->formatLevelMap[$level]) { + if ($this->formatLevelMap[$level] === self::ERROR) { if ($this->output instanceof ConsoleOutputInterface) { $output = $this->output->getErrorOutput(); } @@ -128,17 +111,17 @@ public function log($level, $message, array $context = []) if ($output->getVerbosity() >= $this->verbosityLevelMap[$level]) { $datetime = $memoryStats = ''; if ($this->output->isDebug()) { - $datetime = (string)(new \DateTimeImmutable())->format(self::DATE_FORMAT); - $memoryStats = FS::format(memory_get_usage(false)); + $datetime = (string)(new \DateTimeImmutable())->format(self::DATE_FORMAT); + $memoryStats = FS::format(\memory_get_usage(false)); } - $messageLine = trim(sprintf( + $messageLine = \trim(\sprintf( '%4$s %5$s <%1$s>%2$s: %3$s', $this->formatLevelMap[$level], $level, $this->interpolate($message, $context), $datetime, - $memoryStats + $memoryStats, )); $output->writeln($messageLine, $this->verbosityLevelMap[$level]); @@ -147,7 +130,6 @@ public function log($level, $message, array $context = []) /** * Returns true when any messages have been logged at error levels. - * @return bool */ public function hasErrored(): bool { @@ -157,69 +139,58 @@ public function hasErrored(): bool /** * Interpolates context values into the message placeholders. * - * @param string $message - * @param array $context - * @return string - * * @author PHP Framework Interoperability Group */ private function interpolate(string $message, array $context): string { $replacements = []; + foreach ($context as $key => $val) { - if ($val instanceof Throwable) { + if ($val instanceof \Throwable) { $replacements["{{$key}}"] = $this->prettyPrintException($val); - } elseif (null === $val || is_scalar($val) || (\is_object($val) && method_exists($val, '__toString'))) { + } elseif ($val === null || \is_scalar($val) || (\is_object($val) && \method_exists($val, '__toString'))) { $replacements["{{$key}}"] = $val; } elseif ($val instanceof \DateTimeInterface) { $replacements["{{$key}}"] = $val->format(\DateTime::RFC3339); } elseif (\is_object($val)) { - $replacements["{{$key}}"] = '[object ' . \get_class($val) . ']'; + $replacements["{{$key}}"] = '[object ' . $val::class . ']'; } else { $replacements["{{$key}}"] = '[' . \gettype($val) . ']'; } } - return trim($message . "\n" . implode(' ', $replacements)); + return \trim($message . "\n" . \implode(' ', $replacements)); } - /** - * @param Throwable $exception - * @return string - */ - private function prettyPrintException(Throwable $exception): string + private function prettyPrintException(\Throwable $exception): string { - $className = '[object ' . \get_class($exception) . ']'; - $message = [ + $className = '[object ' . $exception::class . ']'; + $message = [ " {$className} {$exception->getMessage()} Code #{$exception->getCode()}", - " File: " . self::getRelativePath($exception->getFile(), $exception->getLine()), + ' File: ' . self::getRelativePath($exception->getFile(), $exception->getLine()), ]; if ($this->output->isDebug()) { $message[] = " Stack trace:\n" . self::dumpTrace($exception->getTrace()); } - return implode("\n", $message); + return \implode("\n", $message); } - /** - * @param array $trace - * @return string - */ private static function dumpTrace(array $trace): string { $result = []; + foreach ($trace as $traceRow) { $result[] = self::getOneTrace($traceRow); } - return " - " . implode("\n - ", $result); + return ' - ' . \implode("\n - ", $result); } /** - * Get formated one trace info + * Get formated one trace info. * @param array $traceRow One trace element - * @return string */ private static function getOneTrace(array $traceRow): string { @@ -227,38 +198,31 @@ private static function getOneTrace(array $traceRow): string ? self::getRelativePath($traceRow['file'], $traceRow['line']) : null; - $isIncluding = in_array($traceRow['function'], ['include', 'include_once', 'require', 'require_once'], true); + $isIncluding = \in_array($traceRow['function'], ['include', 'include_once', 'require', 'require_once'], true); if ($isIncluding) { $includedFile = self::getRelativePath($traceRow['args'][0] ?? ''); - $function = "{$traceRow['function']} ('{$includedFile}')"; + $function = "{$traceRow['function']} ('{$includedFile}')"; } elseif (isset($traceRow['type'], $traceRow['class'])) { $function = "{$traceRow['class']}{$traceRow['type']}{$traceRow['function']}()"; } else { $function = $traceRow['function'] . '()'; } - return trim("{$file} {$function}"); + return \trim("{$file} {$function}"); } - /** - * @param string $filepath - * @param int|null $line - * @return string - */ private static function getRelativePath(string $filepath, ?int $line = null): string { $lineFormated = $line > 0 ? ":{$line}" : ''; - $filename = pathinfo($filepath, PATHINFO_BASENAME) . $lineFormated; + $filename = \pathinfo($filepath, \PATHINFO_BASENAME) . $lineFormated; - $relPath = str_replace( + $relPath = \str_replace( $filename, "{$filename}", - './' . FS::getRelative($filepath) . $lineFormated + './' . FS::getRelative($filepath) . $lineFormated, ); - $relPath = \strpos($relPath, './vendor/') === 0 ? $relPath : "{$relPath}"; - - return $relPath; + return \str_starts_with($relPath, './vendor/') ? $relPath : "{$relPath}"; } } diff --git a/src/Server/ErrorHandler.php b/src/Server/ErrorHandler.php index 7f46c00..8fe0db8 100644 --- a/src/Server/ErrorHandler.php +++ b/src/Server/ErrorHandler.php @@ -1,16 +1,15 @@ mocksPath = $mocksPath; - $this->logger = $logger; + $this->mocksPath = $mocksPath; + $this->logger = $logger; $this->checkSyntax = $checkSyntax; } @@ -65,7 +48,7 @@ public function __construct(string $mocksPath, LoggerInterface $logger, bool $ch public function getMocks(): array { $relPath = FS::getRelative($this->mocksPath); - $this->logger->info(str_replace($relPath, "{$relPath}", "Mocks Path: {$this->mocksPath}")); + $this->logger->info(\str_replace($relPath, "{$relPath}", "Mocks Path: {$this->mocksPath}")); $types = [ 'php' => PhpMock::class, @@ -80,7 +63,7 @@ public function getMocks(): array ->ignoreDotFiles(true) ->followLinks(); - foreach (array_keys($types) as $fileExt) { + foreach (\array_keys($types) as $fileExt) { $finder ->name(".{$fileExt}") ->name("*.{$fileExt}") @@ -88,9 +71,10 @@ public function getMocks(): array } $mocks = []; + foreach ($finder as $file) { $filePath = $file->getPathname(); - $fileExt = $file->getExtension(); + $fileExt = $file->getExtension(); $validationErrors = null; if ($this->checkSyntax) { @@ -99,8 +83,8 @@ public function getMocks(): array if (!$validationErrors) { /** @var AbstractMock $mockClass */ - $mockClass = $types[$fileExt]; - $mock = new $mockClass($filePath); + $mockClass = $types[$fileExt]; + $mock = new $mockClass($filePath); $mocks[$mock->getHash()] = $mock; } else { $this->logger->warning("Fixture \"{$filePath}\" is invalid and skipped\n{$validationErrors}"); diff --git a/src/Server/MockServer.php b/src/Server/MockServer.php index 66f95da..16d4f48 100644 --- a/src/Server/MockServer.php +++ b/src/Server/MockServer.php @@ -1,16 +1,15 @@ showDebugInfo(); $this->logger->info('Ready to work.'); - //Loop::repeat($msInterval = 10000, function () { $this->showDebugInfo(true);}); + // Loop::repeat($msInterval = 10000, function () { $this->showDebugInfo(true);}); // @phan-suppress-next-line PhanTypeMismatchArgument Loop::onSignal(\SIGINT, function (string $watcherId) { @@ -147,11 +122,83 @@ public function start(): void } /** - * @return array + * @return $this + */ + public function setHost(string $host): self + { + $this->host = $host; + + return $this; + } + + /** + * @return $this + */ + public function setPort(int $port): self + { + $this->port = $port; + + return $this; + } + + /** + * @return $this + */ + public function setHostTls(string $hostTls): self + { + $this->hostTls = $hostTls; + + return $this; + } + + /** + * @return $this + */ + public function setPortTls(int $portTls): self + { + $this->portTls = $portTls; + + return $this; + } + + /** + * @return $this + */ + public function setOutput(OutputInterface $output): self + { + $this->output = $output; + + return $this; + } + + /** + * @return $this + */ + public function setCheckSyntax(bool $checkSyntax): self + { + $this->checkSyntax = $checkSyntax; + + return $this; + } + + /** + * @return $this */ + public function setMocksPath(string $mocksPath): self + { + $path = \realpath($mocksPath); + if (!$path) { + throw new Exception("Mock path not found: {$mocksPath}"); + } + + $this->mocksPath = $path; + + return $this; + } + private function getServers(): array { - $cert = new Certificate(__DIR__ . '/../../vendor/amphp/http-server/tools/tls/localhost.pem'); + $cert = new Certificate(__DIR__ . '/../../vendor/amphp/http-server/tools/tls/localhost.pem'); $context = (new BindContext())->withTlsContext((new ServerTlsContext())->withDefaultCertificate($cert)); return [ @@ -161,28 +208,28 @@ private function getServers(): array } /** - * @return Router * @SuppressWarnings(PHPMD.ExitExpression) * @SuppressWarnings(PHPMD.NPathComplexity) */ private function initRouter(): Router { $mocks = (new MockFinder($this->mocksPath, $this->logger, $this->checkSyntax))->getMocks(); - if (count($mocks) === 0) { + if (\count($mocks) === 0) { $this->logger->error('Mocks not found. Exit.'); - die(1); + exit(1); } - $this->logger->info('Mocks found: ' . count($mocks) . ''); + $this->logger->info('Mocks found: ' . \count($mocks) . ''); $router = new Router(); $router->setFallback(new CallableRequestHandler(function (ServerRequest $request): void { $this->logger->error( - "Route not found: {$request->getMethod()} {$request->getUri()}" + "Route not found: {$request->getMethod()} {$request->getUri()}", ); })); $totalRoutes = 0; + foreach ($mocks as $mock) { $requestHandler = new CallableRequestHandler(function (ServerRequest $request) use ($mock) { $mock->bindRequest(null); @@ -195,30 +242,27 @@ private function initRouter(): Router $requestId = ++$this->requestId; /** @var Request $jbRequest */ - $jbRequest = yield call(static function () use ($requestId, $request) { - return new Request($requestId, $request, yield parseForm($request)); - }); + $jbRequest = yield call(static fn () => new Request($requestId, $request, yield parseForm($request))); $mock->bindRequest($jbRequest); if ($proxyUrl = $mock->getBaseProxyUrl()) { - [$responseCode, $responseHeaders, $responseBody] = - yield call(static function () use ($mock, $proxyUrl) { - return $mock->handleProxyUrl($proxyUrl); - }); + [$responseCode, $responseHeaders, $responseBody] = yield call( + static fn () => $mock->handleProxyUrl($proxyUrl), + ); $this->logger->notice("#{$requestId} Proxy {$proxyUrl}"); } else { - $responseCode = $mock->getResponseCode(); + $responseCode = $mock->getResponseCode(); $responseHeaders = $mock->getResponseHeaders(); - $responseBody = $mock->getResponseBody(); + $responseBody = $mock->getResponseBody(); } - $this->logger->notice(implode(" ", array_filter([ + $this->logger->notice(\implode(' ', \array_filter([ "#{$requestId}", $responseCode, "- {$request->getMethod()} {$request->getUri()}", - $mock->isCrazyEnabled() ? "Crazy" : '', - $customDelay > 0 ? "Delay: {$customDelay}ms" : '' + $mock->isCrazyEnabled() ? 'Crazy' : '', + $customDelay > 0 ? "Delay: {$customDelay}ms" : '', ]))); return new Response($responseCode, $responseHeaders, $responseBody); @@ -226,6 +270,7 @@ private function initRouter(): Router try { $methods = $mock->getRequestMethods(); + foreach ($methods as $method) { $router->addRoute($method, $mock->getRequestPath(), $requestHandler); $totalRoutes++; @@ -241,13 +286,12 @@ private function initRouter(): Router } /** - * @return LoggerInterface * @phan-suppress PhanUndeclaredMethod */ private function initLogger(): LoggerInterface { /** @phpstan-ignore-next-line */ - foreach ([$this->output, $this->output->getErrorOutput()] as $output) { // + foreach ([$this->output, $this->output->getErrorOutput()] as $output) { $formatter = $output->getFormatter(); $formatter->setStyle('debug', new OutputFormatterStyle('cyan')); $formatter->setStyle('warning', new OutputFormatterStyle('yellow')); @@ -258,102 +302,23 @@ private function initLogger(): LoggerInterface return new ConsoleLogger($this->output); } - /** - * @param string $host - * @return $this - */ - public function setHost(string $host): self - { - $this->host = $host; - return $this; - } - - /** - * @param int $port - * @return $this - */ - public function setPort(int $port): self - { - $this->port = $port; - return $this; - } - - /** - * @param string $hostTls - * @return $this - */ - public function setHostTls(string $hostTls): self - { - $this->hostTls = $hostTls; - return $this; - } - - /** - * @param int $portTls - * @return $this - */ - public function setPortTls(int $portTls): self - { - $this->portTls = $portTls; - return $this; - } - - /** - * @param OutputInterface $output - * @return $this - */ - public function setOutput(OutputInterface $output): self - { - $this->output = $output; - return $this; - } - - /** - * @param bool $checkSyntax - * @return $this - */ - public function setCheckSyntax(bool $checkSyntax): self - { - $this->checkSyntax = $checkSyntax; - return $this; - } - - /** - * @param string $mocksPath - * @return $this - */ - public function setMocksPath(string $mocksPath): self - { - $path = realpath($mocksPath); - if (!$path) { - throw new Exception("Mock path not found: {$mocksPath}"); - } - - $this->mocksPath = $path; - return $this; - } - - /** - * @param bool $showOnlyMemory - */ private function showDebugInfo(bool $showOnlyMemory = false): void { if ($showOnlyMemory) { $this->logger->debug("Memory Usage: {$this->getMemoryUsage()}"); } else { - $this->logger->debug('PHP Version: ' . PHP_VERSION); - $this->logger->debug('Driver: ' . get_class(Loop::get())); + $this->logger->debug('PHP Version: ' . \PHP_VERSION); + $this->logger->debug('Driver: ' . \get_class(Loop::get())); $this->logger->debug("Memory Usage: {$this->getMemoryUsage()}"); - $this->logger->debug('Bootstrap time: ' . round(microtime(true) - Timer::getRequestTime(), 3) . ' sec'); + $this->logger->debug('Bootstrap time: ' . \round(\microtime(true) - Timer::getRequestTime(), 3) . ' sec'); } } /** - * @return string * @phan-suppress PhanPluginPossiblyStaticPrivateMethod */ private function getMemoryUsage(): string { - return FS::format(memory_get_usage(false)) . '/' . FS::format(memory_get_peak_usage(false)); + return FS::format(\memory_get_usage(false)) . '/' . FS::format(\memory_get_peak_usage(false)); } } diff --git a/src/Server/Request.php b/src/Server/Request.php index 8bceeb6..d59f640 100644 --- a/src/Server/Request.php +++ b/src/Server/Request.php @@ -1,16 +1,15 @@ requestId = $requestId; - $this->request = $request; - $this->form = $form; + $this->request = $request; + $this->form = $form; } - /** - * @return int - */ public function getId(): int { return $this->requestId; } - /** - * @param bool $allKeys - * @return array - */ public function getHeaders(bool $allKeys = true): array { $excludedKeys = [ @@ -76,62 +52,48 @@ public function getHeaders(bool $allKeys = true): array 'Content-Length', ]; - $headerKeys = array_keys($this->request->getHeaders()); - $result = []; + $headerKeys = \array_keys($this->request->getHeaders()); + $result = []; + foreach ($headerKeys as $headerKey) { $result[$headerKey] = $this->request->getHeader((string)$headerKey); } if (!$allKeys) { foreach ($excludedKeys as $excludedKey) { - unset($result[$excludedKey], $result[strtolower($excludedKey)]); + unset($result[$excludedKey], $result[\strtolower($excludedKey)]); } } return $result; } - /** - * @param string $header - * @return string|null - */ public function getHeader(string $header): ?string { return $this->request->getHeader($header); } - /** - * @return string - */ public function getMethod(): string { return $this->request->getMethod(); } - /** - * @return string - */ public function getProtocolVersion(): string { return $this->request->getProtocolVersion(); } - /** - * @return UriInterface - */ public function getUri(): UriInterface { return $this->request->getUri(); } - /** - * @return array - */ public function getCookies(): array { $cookies = $this->request->getCookies(); $result = []; + foreach ($cookies as $cookie) { $result[$cookie->getName()] = $cookie->getValue(); } @@ -139,10 +101,6 @@ public function getCookies(): array return $result; } - /** - * @param bool $contentAsBase64 - * @return array - */ public function getFiles(bool $contentAsBase64 = false): array { $files = $this->form->getFiles(); @@ -151,13 +109,13 @@ public function getFiles(bool $contentAsBase64 = false): array foreach ($files as $fileName => $filesByName) { foreach ($filesByName as $fileByName) { - $result[$fileName] = $result[$fileName] ?? []; + $result[$fileName] ??= []; $result[$fileName][] = [ 'name' => $fileByName->getName(), 'mime' => $fileByName->getMimeType(), 'contents' => $contentAsBase64 - ? base64_encode($fileByName->getContents()) + ? \base64_encode($fileByName->getContents()) : $fileByName->getContents(), ]; } @@ -166,54 +124,42 @@ public function getFiles(bool $contentAsBase64 = false): array return $result; } - /** - * @return array - */ public function getUriParams(): array { - parse_str($this->getUri()->getQuery(), $result); + \parse_str($this->getUri()->getQuery(), $result); + return $result; } - /** - * @return string|null - */ public function getUserAgent(): ?string { return $this->getHeader('user-agent'); } - /** - * @return string|null - */ public function getClientIP(): ?string { return $this->request->getClient()->getRemoteAddress()->getHost(); } - /** - * @return array - */ public function getBodyParams(): array { $names = $this->form->getNames(); $values = []; + foreach ($names as $name) { - if ('' !== $name) { + if ($name !== '') { $values[$name] = $this->form->getValue($name); } } - parse_str(Url::build($values), $result); + \parse_str(Url::build($values), $result); + return $result; } - /** - * @return array - */ public function getAllParams(): array { - return array_merge($this->getUriParams(), $this->getBodyParams(), $this->getCookies()); + return \array_merge($this->getUriParams(), $this->getBodyParams(), $this->getCookies()); } } diff --git a/src/StartCommand.php b/src/StartCommand.php index 09ad145..083fc36 100644 --- a/src/StartCommand.php +++ b/src/StartCommand.php @@ -1,16 +1,15 @@ setName('start') - ->addOption('host', null, $req, "Host", MockServer::DEFAULT_HOST) - ->addOption('port', null, $req, "Port", (string)MockServer::DEFAULT_PORT) - ->addOption('host-tls', null, $req, "Host", MockServer::DEFAULT_HOST) - ->addOption('port-tls', null, $req, "Port", (string)MockServer::DEFAULT_PORT_TLS) - ->addOption('mocks', null, $req, "Mocks path", '/mocks') + ->addOption('host', null, $req, 'Host', MockServer::DEFAULT_HOST) + ->addOption('port', null, $req, 'Port', (string)MockServer::DEFAULT_PORT) + ->addOption('host-tls', null, $req, 'Host', MockServer::DEFAULT_HOST) + ->addOption('port-tls', null, $req, 'Port', (string)MockServer::DEFAULT_PORT_TLS) + ->addOption('mocks', null, $req, 'Mocks path', '/mocks') ->addOption('check-syntax', null, $none, 'Check syntax of PHP files before loading. It takes some time'); } /** - * @inheritDoc + * {@inheritDoc} */ protected function execute(InputInterface $input, OutputInterface $output): int { @@ -71,31 +66,16 @@ protected function execute(InputInterface $input, OutputInterface $output): int return 0; } - /** - * @param string $option - * @param InputInterface $input - * @return int - */ private static function getOptionInt(string $option, InputInterface $input): int { - return (int)implode('', (array)$input->getOption($option)); + return (int)\implode('', (array)$input->getOption($option)); } - /** - * @param string $option - * @param InputInterface $input - * @return string - */ private static function getOptionString(string $option, InputInterface $input): string { - return (string)implode('', (array)$input->getOption($option)); + return (string)\implode('', (array)$input->getOption($option)); } - /** - * @param string $option - * @param InputInterface $input - * @return bool - */ private static function isOptionEnabled(string $option, InputInterface $input): bool { return (bool)$input->getOption($option); diff --git a/src/functions.php b/src/functions.php index f07c171..20efa2e 100644 --- a/src/functions.php +++ b/src/functions.php @@ -1,16 +1,15 @@ RouteCollector::class, ]; - $routeParser = new $options['routeParser'](); + $routeParser = new $options['routeParser'](); $dataGenerator = new $options['dataGenerator'](); /** @var RouteCollector $routeCollector */ diff --git a/tests/AbstractMockServerTest.php b/tests/AbstractMockServerTest.php index a71e6c9..8c97080 100644 --- a/tests/AbstractMockServerTest.php +++ b/tests/AbstractMockServerTest.php @@ -1,16 +1,15 @@ 20, ]; - /** - * @var string - */ + /** @var string */ protected $testHost; protected function setUp(): void @@ -48,37 +41,26 @@ protected function setUp(): void } /** - * @param string $relativePath - * @param array|string|null $args - * @param string $method - * @param array $headers - * @return Response + * @param null|array|string $args */ protected function request( string $method = 'GET', $args = null, string $relativePath = self::TEST_URL, - array $headers = [] + array $headers = [], ): Response { $client = $this->createClient(); + return $client->request($this->prepareUrl($relativePath), $args, $method, ['headers' => $headers]); } - /** - * @param array $options - * @return HttpClient - */ protected function createClient(array $options = self::DEFAULT_HTTP_OPTIONS): HttpClient { return new HttpClient($options); } - /** - * @param string $relativePath - * @return string - */ protected function prepareUrl(string $relativePath = self::TEST_URL): string { - return str_replace(self::TEST_URL, $this->getName(), "http://{$this->testHost}/{$relativePath}"); + return \str_replace(self::TEST_URL, $this->getName(), "http://{$this->testHost}/{$relativePath}"); } } diff --git a/tests/MockServerCodestyleTest.php b/tests/MockServerCodestyleTest.php deleted file mode 100644 index fcc53a4..0000000 --- a/tests/MockServerCodestyleTest.php +++ /dev/null @@ -1,31 +0,0 @@ -request('GET', null, $path); isSame(500, $response->getCode()); @@ -99,9 +94,9 @@ public function testUndefinedRoute(): void 'uri' => "http://0.0.0.0:8089/{$path}", 'headers' => [ 'host' => ['0.0.0.0:8089'], - 'user-agent' => ['JBZoo/Http-Client (Guzzle)'] - ] - ] + 'user-agent' => ['JBZoo/Http-Client (Guzzle)'], + ], + ], ], $response->getJSON()->getArrayCopy()); } @@ -116,9 +111,9 @@ public function testExceptionInMock(): void 'uri' => 'http://0.0.0.0:8089/testExceptionInMock', 'headers' => [ 'host' => ['0.0.0.0:8089'], - 'user-agent' => ['JBZoo/Http-Client (Guzzle)'] - ] - ] + 'user-agent' => ['JBZoo/Http-Client (Guzzle)'], + ], + ], ], $response->getJSON()->getArrayCopy()); } @@ -131,16 +126,16 @@ public function testFunctionAsResponseBody(): void isTrue($resultGet['id'] > 0); unset($resultGet['id']); isSame([ - 'protocol' => '1.1', - 'method' => 'GET', - 'headers' => [ + 'protocol' => '1.1', + 'method' => 'GET', + 'headers' => [ 'host' => '0.0.0.0:8089', - 'user-agent' => 'JBZoo/Http-Client (Guzzle)' + 'user-agent' => 'JBZoo/Http-Client (Guzzle)', ], - 'cookies' => [], - 'user_agent' => 'JBZoo/Http-Client (Guzzle)', - 'client_ip' => '127.0.0.1', - 'uri' => [ + 'cookies' => [], + 'user_agent' => 'JBZoo/Http-Client (Guzzle)', + 'client_ip' => '127.0.0.1', + 'uri' => [ 'full' => 'http://0.0.0.0:8089/testFunctionAsResponseBody', 'scheme' => 'http', 'host' => '0.0.0.0', @@ -148,9 +143,9 @@ public function testFunctionAsResponseBody(): void 'authority' => '0.0.0.0:8089', 'path' => '/testFunctionAsResponseBody', 'query' => '', - 'user_info' => '' + 'user_info' => '', ], - 'params' => [ + 'params' => [ 'query' => [], 'body' => [], 'all' => [], @@ -163,33 +158,33 @@ public function testFunctionAsResponseBody(): void 'POST', [ 'test' => $random, - 'array' => ['value_1' => $random, 'nested' => [$random, $random]] + 'array' => ['value_1' => $random, 'nested' => [$random, $random]], ], self::TEST_URL . "?test={$random}&array[]=123456&array[]=654987&message=123", [ 'Cookie' => 'PHPSESSID=poiuytrewq; RMT=qwerty123', - 'x-custom-header' => $random - ] + 'x-custom-header' => $random, + ], )->getJSON()->getArrayCopy(); isTrue($responsePost['id'] > 0); unset($responsePost['id']); isSame([ - 'protocol' => '1.1', - 'method' => 'POST', - 'headers' => [ + 'protocol' => '1.1', + 'method' => 'POST', + 'headers' => [ 'host' => '0.0.0.0:8089', 'content-type' => 'application/x-www-form-urlencoded', 'cookie' => 'PHPSESSID=poiuytrewq; RMT=qwerty123', 'x-custom-header' => $random, 'user-agent' => 'JBZoo/Http-Client (Guzzle)', - 'content-length' => '93' + 'content-length' => '93', ], - 'cookies' => ['PHPSESSID' => 'poiuytrewq', 'RMT' => 'qwerty123'], - 'user_agent' => 'JBZoo/Http-Client (Guzzle)', - 'client_ip' => '127.0.0.1', - 'uri' => [ - 'full' => 'http://0.0.0.0:8089/testFunctionAsResponseBody?' . + 'cookies' => ['PHPSESSID' => 'poiuytrewq', 'RMT' => 'qwerty123'], + 'user_agent' => 'JBZoo/Http-Client (Guzzle)', + 'client_ip' => '127.0.0.1', + 'uri' => [ + 'full' => 'http://0.0.0.0:8089/testFunctionAsResponseBody?' . "test={$random}&array%5B%5D=123456&array%5B%5D=654987&message=123", 'scheme' => 'http', 'host' => '0.0.0.0', @@ -197,9 +192,9 @@ public function testFunctionAsResponseBody(): void 'authority' => '0.0.0.0:8089', 'path' => '/testFunctionAsResponseBody', 'query' => "test={$random}&array%5B%5D=123456&array%5B%5D=654987&message=123", - 'user_info' => '' + 'user_info' => '', ], - 'params' => [ + 'params' => [ 'query' => ['test' => $random, 'array' => ['123456', '654987'], 'message' => '123'], 'body' => ['test' => $random, 'array' => ['value_1' => $random, 'nested' => [$random, $random]]], 'all' => [ @@ -207,20 +202,20 @@ public function testFunctionAsResponseBody(): void 'array' => ['value_1' => $random, 'nested' => [$random, $random]], 'message' => '123', 'PHPSESSID' => 'poiuytrewq', - 'RMT' => 'qwerty123' - ] + 'RMT' => 'qwerty123', + ], ], - "uploaded_files" => [] + 'uploaded_files' => [], ], $responsePost); // Upload file in POST - $exampleFile = file_get_contents(__DIR__ . '/mocks/Example.jpg'); + $exampleFile = \file_get_contents(__DIR__ . '/mocks/Example.jpg'); $responseUpload = (new GuzzleHttpClient())->request('POST', $this->prepareUrl(), [ RequestOptions::MULTIPART => [ ['name' => 'image_1', 'contents' => $exampleFile, 'filename' => 'Example_10.jpg'], ['name' => 'image_1', 'contents' => $exampleFile, 'filename' => 'Example_11.jpg'], - ['name' => 'image_2', 'contents' => $exampleFile, 'filename' => 'Example_20.jpg'] - ] + ['name' => 'image_2', 'contents' => $exampleFile, 'filename' => 'Example_20.jpg'], + ], ]); $responseUpload = json($responseUpload->getBody()->getContents())->getArrayCopy(); @@ -229,17 +224,17 @@ public function testFunctionAsResponseBody(): void isContain('multipart/form-data; boundary=', $responseUpload['headers']['content-type']); unset($responseUpload['headers']['content-type']); isSame([ - 'protocol' => '1.1', - 'method' => 'POST', - 'headers' => [ + 'protocol' => '1.1', + 'method' => 'POST', + 'headers' => [ 'host' => '0.0.0.0:8089', 'user-agent' => 'GuzzleHttp/7', - 'content-length' => '27625' + 'content-length' => '27625', ], - 'cookies' => [], - 'user_agent' => 'GuzzleHttp/7', - 'client_ip' => '127.0.0.1', - 'uri' => [ + 'cookies' => [], + 'user_agent' => 'GuzzleHttp/7', + 'client_ip' => '127.0.0.1', + 'uri' => [ 'full' => 'http://0.0.0.0:8089/testFunctionAsResponseBody', 'scheme' => 'http', 'host' => '0.0.0.0', @@ -247,22 +242,22 @@ public function testFunctionAsResponseBody(): void 'authority' => '0.0.0.0:8089', 'path' => '/testFunctionAsResponseBody', 'query' => '', - 'user_info' => '' + 'user_info' => '', ], - 'params' => [ + 'params' => [ 'query' => [], 'body' => [], - 'all' => [] + 'all' => [], ], 'uploaded_files' => [ 'image_1' => [ - ['name' => 'Example_10.jpg', 'mime' => 'image/jpeg', 'contents' => base64_encode($exampleFile)], - ['name' => 'Example_11.jpg', 'mime' => 'image/jpeg', 'contents' => base64_encode($exampleFile)], + ['name' => 'Example_10.jpg', 'mime' => 'image/jpeg', 'contents' => \base64_encode($exampleFile)], + ['name' => 'Example_11.jpg', 'mime' => 'image/jpeg', 'contents' => \base64_encode($exampleFile)], ], 'image_2' => [ - ['name' => 'Example_20.jpg', 'mime' => 'image/jpeg', 'contents' => base64_encode($exampleFile)] - ] - ] + ['name' => 'Example_20.jpg', 'mime' => 'image/jpeg', 'contents' => \base64_encode($exampleFile)], + ], + ], ], $responseUpload); } @@ -285,37 +280,39 @@ public function testFakerAsPartOfBody(): void public function testConcurrency(): void { - $maxRequestsAtOnce = random_int(10, 100); - //$maxRequestsAtOnce = 2; + $maxRequestsAtOnce = \random_int(10, 100); + // $maxRequestsAtOnce = 2; $requests = []; + for ($i = 0; $i < $maxRequestsAtOnce; $i++) { $requests[] = [$this->prepareUrl(), ['anti-cache' => $i]]; } - $start = microtime(true); + $start = \microtime(true); $responses = $this->createClient()->multiRequest($requests); - $time = (microtime(true) - $start) * 1000; + $time = (\microtime(true) - $start) * 1000; isTrue($time > 1000 && $time < 1600, "Expected elapsedMS between 1000 & 1600, got: {$time}"); $requestIds = []; + foreach ($responses as $response) { $requestIds[] = $response->getJSON()->get('request_id'); } - isCount($maxRequestsAtOnce, array_unique($requestIds)); + isCount($maxRequestsAtOnce, \array_unique($requestIds)); } /** - * Just in case we have to warm up the server and PhpUnit framework + * Just in case we have to warm up the server and PhpUnit framework. * @depends testMinimalMock */ public function testCustomDelay(): void { - $start = microtime(true); + $start = \microtime(true); $response = $this->request(); - $time = (microtime(true) - $start) * 1000; + $time = (\microtime(true) - $start) * 1000; isAmount($response->getTime() * 1000, $time, '', 100); @@ -323,14 +320,14 @@ public function testCustomDelay(): void } /** - * Just in case we have to warm up the server and PhpUnit framework + * Just in case we have to warm up the server and PhpUnit framework. * @depends testMinimalMock */ public function testFunctionAsDelay(): void { - $start = microtime(true); + $start = \microtime(true); $response = $this->request(); - $time = (microtime(true) - $start) * 1000; + $time = (\microtime(true) - $start) * 1000; isAmount($response->getTime() * 1000, $time, '', 100); isTrue($time > 1000 && $time < 1300, "Expected elapsedMS between 1000 & 1300, got: {$time}"); @@ -339,7 +336,7 @@ public function testFunctionAsDelay(): void public function testFileAsBody(): void { $response = $this->request(); - isSame($response->getBody(), file_get_contents(__DIR__ . '/mocks/Example.jpg')); + isSame($response->getBody(), \file_get_contents(__DIR__ . '/mocks/Example.jpg')); isSame('image/jpeg', $response->getHeader('Content-Type')); } @@ -348,11 +345,12 @@ public function testFileAsBody(): void */ public function testFunctionAsCrazy(): void { - $methods = ['GET', 'DELETE']; // GET works in crazy mode + $methods = ['GET', 'DELETE']; // GET works in crazy mode $maxRequestsAtOnce = 10; foreach ($methods as $method) { $requests = []; + for ($i = 0; $i < $maxRequestsAtOnce; $i++) { $requests[] = [$this->prepareUrl(), null, $method]; } @@ -360,18 +358,19 @@ public function testFunctionAsCrazy(): void $responses = $this->createClient()->multiRequest($requests); $requestIds = []; + foreach ($responses as $response) { $headers = $response->getHeaders(); // remove random values to make predictable hash unset($headers['content-length'], $headers['x-mock-server-request-id'], $headers['date']); - $requestIds[] = sha1(serialize([$response->getCode(), $response->getBody(), $headers])); + $requestIds[] = \sha1(\serialize([$response->getCode(), $response->getBody(), $headers])); } if ($method === 'GET') { - isTrue(count(array_unique($requestIds)) > 1); + isTrue(\count(\array_unique($requestIds)) > 1); } else { - isCount(1, array_unique($requestIds)); + isCount(1, \array_unique($requestIds)); } } } @@ -381,6 +380,7 @@ public function testCrazy(): void $maxRequestsAtOnce = 10; $requests = []; + for ($i = 0; $i < $maxRequestsAtOnce; $i++) { $requests[] = [$this->prepareUrl()]; } @@ -388,15 +388,16 @@ public function testCrazy(): void $responses = $this->createClient()->multiRequest($requests); $requestIds = []; + foreach ($responses as $response) { $headers = $response->getHeaders(); // remove random values to make predictable hash unset($headers['content-length'], $headers['x-mock-server-request-id'], $headers['date']); - $requestIds[] = sha1(serialize([$response->getCode(), $response->getBody(), $headers])); + $requestIds[] = \sha1(\serialize([$response->getCode(), $response->getBody(), $headers])); } - isTrue(count(array_unique($requestIds)) > 1); + isTrue(\count(\array_unique($requestIds)) > 1); } public function testTlsConnection(): void @@ -404,7 +405,7 @@ public function testTlsConnection(): void incomplete('fix me'); $tlsHost = 'localhost:' . MockServer::DEFAULT_PORT_TLS; - $client = new \GuzzleHttp\Client(['base_uri' => "https://{$tlsHost}"]); + $client = new \GuzzleHttp\Client(['base_uri' => "https://{$tlsHost}"]); $response = $client->request('GET', '/testTlsConnection', [ 'verify' => __DIR__ . '/../vendor/amphp/http-server/tools/tls/localhost.pem', ]); diff --git a/tests/MockServerMocksTest.php b/tests/MockServerMocksTest.php index bd4affe..4841357 100644 --- a/tests/MockServerMocksTest.php +++ b/tests/MockServerMocksTest.php @@ -1,16 +1,15 @@ $phpMock, 'X-Mock-Server-Request-Id' => null, - 'Content-Type' => 'application/json' + 'Content-Type' => 'application/json', ], $mock->getResponseHeaders()); isSame('/testStaticPhp', $mock->getRequestPath()); @@ -52,7 +47,7 @@ public function testStaticPhp(): void public function testDynamicPhp(): void { $phpMock = __DIR__ . '/../tests/mocks/max/testDynamicPhp.php'; - $mock = new PhpMock($phpMock); + $mock = new PhpMock($phpMock); $mock->bindRequest(); @@ -61,7 +56,7 @@ public function testDynamicPhp(): void isSame([ 'X-Mock-Server-Fixture' => $phpMock, 'X-Mock-Server-Request-Id' => null, - 'Content-Type' => 'application/json' + 'Content-Type' => 'application/json', ], $mock->getResponseHeaders()); isSame('/testDynamicPhp', $mock->getRequestPath()); @@ -83,7 +78,7 @@ public function testStaticYml(): void isSame([ 'X-Mock-Server-Fixture' => $ymlMock, 'X-Mock-Server-Request-Id' => null, - 'Content-Type' => 'application/json' + 'Content-Type' => 'application/json', ], $mock->getResponseHeaders()); isSame('/testStaticYml', $mock->getRequestPath()); @@ -105,7 +100,7 @@ public function testStaticJson(): void isSame([ 'X-Mock-Server-Fixture' => $jsonMock, 'X-Mock-Server-Request-Id' => null, - 'Content-Type' => 'application/json' + 'Content-Type' => 'application/json', ], $mock->getResponseHeaders()); isSame('/testStaticJson', $mock->getRequestPath()); diff --git a/tests/MockServerComposerTest.php b/tests/MockServerPackageTest.php similarity index 58% rename from tests/MockServerComposerTest.php rename to tests/MockServerPackageTest.php index 886c063..c9dcc6c 100644 --- a/tests/MockServerComposerTest.php +++ b/tests/MockServerPackageTest.php @@ -1,28 +1,22 @@ createClient()->request('http://httpbin.org/' . strtolower($method), [ - 'query' => $random + $expectedResponse = $this->createClient()->request('http://httpbin.org/' . \strtolower($method), [ + 'query' => $random, ], $method, ['headers' => ['X-Custom' => $random]]); $actualResponse = $this->request($method, ['query' => $random], self::TEST_URL, ['X-Custom' => $random]); @@ -63,7 +58,7 @@ public function testPoxyUrlAllMethodsToSelf(): void $url, ['query' => $random], $method, - ['headers' => ['X-Custom' => $random]] + ['headers' => ['X-Custom' => $random]], ); $actualResponse = $this->request($method, ['query' => $random], self::TEST_URL, ['X-Custom' => $random]); @@ -76,25 +71,26 @@ public function testPoxyUrlAllMethodsToSelf(): void public function testPoxyUrlUploadFiles(): void { - $exampleFile = file_get_contents(__DIR__ . '/mocks/Example.jpg'); - $files = [ + $exampleFile = \file_get_contents(__DIR__ . '/mocks/Example.jpg'); + $files = [ RequestOptions::MULTIPART => [ ['name' => 'image_1', 'contents' => $exampleFile, 'filename' => 'Example_10.jpg'], ['name' => 'image_1', 'contents' => $exampleFile, 'filename' => 'Example_11.jpg'], - ] + ], ]; - $expectedResponse = json((new GuzzleHttpClient()) - ->request('POST', $this->prepareUrl(), $files) - ->getBody()->getContents() + $expectedResponse = json( + (new GuzzleHttpClient()) + ->request('POST', $this->prepareUrl(), $files) + ->getBody()->getContents(), )->getArrayCopy(); - $actualResponse = json((new GuzzleHttpClient()) - ->request('POST', 'http://httpbin.org/post', $files) - ->getBody()->getContents() + $actualResponse = json( + (new GuzzleHttpClient()) + ->request('POST', 'http://httpbin.org/post', $files) + ->getBody()->getContents(), )->getArrayCopy(); - $this->sameBody($expectedResponse, $actualResponse); } @@ -103,34 +99,30 @@ public function testPoxyUrlUploadFiles(): void */ public function testPoxyUrlUploadFilesMemoryLeaks(): void { - $exampleFile = file_get_contents(__DIR__ . '/mocks/Example_huge.jpg'); - $files = [ + $exampleFile = \file_get_contents(__DIR__ . '/mocks/Example_huge.jpg'); + $files = [ RequestOptions::MULTIPART => [ ['name' => 'image_1', 'contents' => $exampleFile, 'filename' => 'Example_10.jpg'], - ] + ], ]; - $expectedResponse = json((new GuzzleHttpClient()) - ->request('POST', $this->prepareUrl('testPoxyUrlUploadFiles'), $files) - ->getBody()->getContents() + $expectedResponse = json( + (new GuzzleHttpClient()) + ->request('POST', $this->prepareUrl('testPoxyUrlUploadFiles'), $files) + ->getBody()->getContents(), )->getArrayCopy(); - $actualResponse = json((new GuzzleHttpClient()) - ->request('POST', 'http://httpbin.org/post', $files) - ->getBody()->getContents() + $actualResponse = json( + (new GuzzleHttpClient()) + ->request('POST', 'http://httpbin.org/post', $files) + ->getBody()->getContents(), )->getArrayCopy(); - $this->sameBody($expectedResponse, $actualResponse); } - //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + // ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - /** - * @param Response $expectedResponse - * @param Response $actualResponse - * @param string|null $message - */ private function sameResponses(Response $expectedResponse, Response $actualResponse, ?string $message = null): void { isNotSame(0, $expectedResponse->getCode(), $expectedResponse->getBody()); @@ -143,21 +135,19 @@ private function sameResponses(Response $expectedResponse, Response $actualRespo $this->sameBody( $expectedResponse->getJSON()->getArrayCopy(), $actualResponse->getJSON()->getArrayCopy(), - $message + $message, ); $this->sameHeaders($expectedResponse->getHeaders(), $actualResponse->getHeaders(), $message); } /** - * @param array $expectedHeaders - * @param array $actualHeaders - * @param string|null $message + * @param null|string $message */ private function sameHeaders(array $expectedHeaders, array $actualHeaders, string $message = ''): void { - $expectedHeaders = array_change_key_case($expectedHeaders); - $actualHeaders = array_change_key_case($actualHeaders); + $expectedHeaders = \array_change_key_case($expectedHeaders); + $actualHeaders = \array_change_key_case($actualHeaders); $excludeKeys = [ 'vary', @@ -181,16 +171,14 @@ private function sameHeaders(array $expectedHeaders, array $actualHeaders, strin ); } - ksort($expectedHeaders); - ksort($actualHeaders); + \ksort($expectedHeaders); + \ksort($actualHeaders); isSame($expectedHeaders, $actualHeaders, $message); } /** - * @param array $expectedBody - * @param array $actualBody - * @param string|null $message + * @param null|string $message */ private function sameBody(array $expectedBody, array $actualBody, string $message = ''): void { @@ -201,11 +189,11 @@ private function sameBody(array $expectedBody, array $actualBody, string $messag 'Content-Type', 'Host', 'X-Amzn-Trace-Id', - 'Origin' + 'Origin', ]; foreach ($excludeHeaderKeys as $excludeHeaderKey) { - $excludeHeaderKeyLower = strtolower($excludeHeaderKey); + $excludeHeaderKeyLower = \strtolower($excludeHeaderKey); if (isset($expectedBody[$excludeHeaderKey])) { isNotEmpty($expectedBody[$excludeHeaderKey]); @@ -228,7 +216,7 @@ private function sameBody(array $expectedBody, array $actualBody, string $messag $excludeBodyKeys = [ 'id', 'url', - 'origin' + 'origin', ]; foreach ($excludeBodyKeys as $excludeBodyKey) { diff --git a/tests/MockServerReadmeTest.php b/tests/MockServerReadmeTest.php deleted file mode 100644 index f1c25d3..0000000 --- a/tests/MockServerReadmeTest.php +++ /dev/null @@ -1,67 +0,0 @@ -params = array_merge($this->params, [ - 'docker_build' => true, - 'docker_pulls' => true, - 'scrutinizer' => true, - 'codefactor' => true, - 'strict_types' => true, - ]); - - parent::setUp(); - } -} diff --git a/tests/autoload.php b/tests/autoload.php index ae0d20d..1c7a8d4 100644 --- a/tests/autoload.php +++ b/tests/autoload.php @@ -1,24 +1,23 @@ [ 'name' => ['value'], ], - 'body' => 'Response body', + 'body' => 'Response body', ], 'control' => [ diff --git a/tests/mocks/max/testDynamicPhp.php b/tests/mocks/max/testDynamicPhp.php index fc21bd4..2c2afab 100644 --- a/tests/mocks/max/testDynamicPhp.php +++ b/tests/mocks/max/testDynamicPhp.php @@ -1,16 +1,15 @@ [ - 'method' => "GET|POST", - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'method' => 'GET|POST', + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ - 'code' => static function (?Request $request = null): int { - return 200; - }, + 'code' => static fn (?Request $request = null): int => 200, - 'headers' => static function (?Request $request = null): array { - return ['Content-Type' => 'application/json']; - }, + 'headers' => static fn (?Request $request = null): array => ['Content-Type' => 'application/json'], - 'body' => static function (?Request $request = null): string { - return (string)json(['result' => 'ok']); - }, + 'body' => static fn (?Request $request = null): string => (string)json(['result' => 'ok']), ], 'control' => [ - 'crazy' => static function (): bool { - return false; - }, - 'delay' => static function (?Request $request = null): int { - return 1000; - }, - ] + 'crazy' => static fn (): bool => false, + 'delay' => static fn (?Request $request = null): int => 1000, + ], ]; diff --git a/tests/mocks/max/testStaticPhp.php b/tests/mocks/max/testStaticPhp.php index d58b1c7..b86b582 100644 --- a/tests/mocks/max/testStaticPhp.php +++ b/tests/mocks/max/testStaticPhp.php @@ -1,16 +1,15 @@ [ - 'method' => "ANY", - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'method' => 'ANY', + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ @@ -31,6 +30,6 @@ 'control' => [ 'crazy' => false, - 'delay' => 1000 - ] + 'delay' => 1000, + ], ]; diff --git a/tests/mocks/max/testStaticYml.yml b/tests/mocks/max/testStaticYml.yml index 5030446..de5e4e3 100644 --- a/tests/mocks/max/testStaticYml.yml +++ b/tests/mocks/max/testStaticYml.yml @@ -1,14 +1,13 @@ # -# JBZoo Toolbox - Mock-Server +# JBZoo Toolbox - Mock-Server. # # This file is part of the JBZoo Toolbox project. # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. # -# @package Mock-Server # @license MIT # @copyright Copyright (C) JBZoo.com, All rights reserved. -# @link https://github.com/JBZoo/Mock-Server +# @see https://github.com/JBZoo/Mock-Server # request: diff --git a/tests/mocks/php/General/testConcurrency.php b/tests/mocks/php/General/testConcurrency.php index 9a45adf..ad99fef 100644 --- a/tests/mocks/php/General/testConcurrency.php +++ b/tests/mocks/php/General/testConcurrency.php @@ -1,16 +1,15 @@ [ - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ - 'body' => static function (Request $request): string { - return (string)json(['request_id' => $request->getId()]); - } + 'body' => static fn (Request $request): string => (string)json(['request_id' => $request->getId()]), ], 'control' => [ - 'delay' => 1000 // 1 second - ] + 'delay' => 1000, // 1 second + ], ]; diff --git a/tests/mocks/php/General/testCrazy.php b/tests/mocks/php/General/testCrazy.php index 022ebf6..b0102a5 100644 --- a/tests/mocks/php/General/testCrazy.php +++ b/tests/mocks/php/General/testCrazy.php @@ -1,16 +1,15 @@ [ 'method' => 'GET|DELETE', - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ @@ -29,6 +28,6 @@ ], 'control' => [ - 'crazy' => true - ] + 'crazy' => true, + ], ]; diff --git a/tests/mocks/php/General/testCustomDelay.php b/tests/mocks/php/General/testCustomDelay.php index 4e7816a..2ede196 100644 --- a/tests/mocks/php/General/testCustomDelay.php +++ b/tests/mocks/php/General/testCustomDelay.php @@ -1,26 +1,25 @@ [ - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'control' => [ - 'delay' => 1000 - ] + 'delay' => 1000, + ], ]; diff --git a/tests/mocks/php/General/testExceptionInMock.php b/tests/mocks/php/General/testExceptionInMock.php index 2c13621..9e08c13 100644 --- a/tests/mocks/php/General/testExceptionInMock.php +++ b/tests/mocks/php/General/testExceptionInMock.php @@ -1,28 +1,27 @@ [ - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ 'body' => static function (): string { throw new \Exception('Some message'); - } - ] + }, + ], ]; diff --git a/tests/mocks/php/General/testFakerAsPartOfBody.php b/tests/mocks/php/General/testFakerAsPartOfBody.php index 1fdc2d7..a55051c 100644 --- a/tests/mocks/php/General/testFakerAsPartOfBody.php +++ b/tests/mocks/php/General/testFakerAsPartOfBody.php @@ -1,16 +1,15 @@ [ - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ - 'body' => static function (): string { - return (string)json(['name' => Faker\Factory::create()->name]); - } - ] + 'body' => static fn (): string => (string)json(['name' => Faker\Factory::create()->name]), + ], ]; diff --git a/tests/mocks/php/General/testFileAsBody.php b/tests/mocks/php/General/testFileAsBody.php index 82e9d4e..3849eaf 100644 --- a/tests/mocks/php/General/testFileAsBody.php +++ b/tests/mocks/php/General/testFileAsBody.php @@ -1,28 +1,27 @@ [ - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ 'code' => 200, 'headers' => ['Content-Type' => 'image/jpeg'], - 'body' => file_get_contents(__DIR__ . '/../../Example.jpg'), // IT IS BLOCKING METHOD!!! - ] + 'body' => \file_get_contents(__DIR__ . '/../../Example.jpg'), // IT IS BLOCKING METHOD!!! + ], ]; diff --git a/tests/mocks/php/General/testFunctionAsCrazy.php b/tests/mocks/php/General/testFunctionAsCrazy.php index c360e3f..204fd56 100644 --- a/tests/mocks/php/General/testFunctionAsCrazy.php +++ b/tests/mocks/php/General/testFunctionAsCrazy.php @@ -1,16 +1,15 @@ [ 'method' => 'GET|DELETE', - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ @@ -31,8 +30,6 @@ ], 'control' => [ - 'crazy' => static function (Request $request): bool { - return $request->getMethod() === 'GET'; - } - ] + 'crazy' => static fn (Request $request): bool => $request->getMethod() === 'GET', + ], ]; diff --git a/tests/mocks/php/General/testFunctionAsDelay.php b/tests/mocks/php/General/testFunctionAsDelay.php index 62d55f8..da6add8 100644 --- a/tests/mocks/php/General/testFunctionAsDelay.php +++ b/tests/mocks/php/General/testFunctionAsDelay.php @@ -1,28 +1,25 @@ [ - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'control' => [ - 'delay' => static function (): int { - return 1000; - } - ] + 'delay' => static fn (): int => 1000, + ], ]; diff --git a/tests/mocks/php/General/testFunctionAsResponseBody.php b/tests/mocks/php/General/testFunctionAsResponseBody.php index 4d1722c..da6ba05 100644 --- a/tests/mocks/php/General/testFunctionAsResponseBody.php +++ b/tests/mocks/php/General/testFunctionAsResponseBody.php @@ -1,16 +1,15 @@ [ 'method' => '*', - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ @@ -59,6 +58,6 @@ 'uploaded_files' => $request->getFiles(true), ]); - } - ] + }, + ], ]; diff --git a/tests/mocks/php/General/testFunctionAsResponseCode.php b/tests/mocks/php/General/testFunctionAsResponseCode.php index 701daf5..f4c7256 100644 --- a/tests/mocks/php/General/testFunctionAsResponseCode.php +++ b/tests/mocks/php/General/testFunctionAsResponseCode.php @@ -1,16 +1,15 @@ [ 'method' => 'PUT|POST', - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ - 'code' => static function (Request $request): int { - return $request->getMethod() === 'PUT' ? 200 : 404; - }, - ] + 'code' => static fn (Request $request): int => $request->getMethod() === 'PUT' ? 200 : 404, + ], ]; diff --git a/tests/mocks/php/General/testFunctionAsResponseHeaders.php b/tests/mocks/php/General/testFunctionAsResponseHeaders.php index 484a7b9..6eb333c 100644 --- a/tests/mocks/php/General/testFunctionAsResponseHeaders.php +++ b/tests/mocks/php/General/testFunctionAsResponseHeaders.php @@ -1,28 +1,25 @@ [ - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ - 'headers' => static function (): array { - return ['x-random-value' => random_int(0, 10000000)]; - } - ] + 'headers' => static fn (): array => ['x-random-value' => \random_int(0, 10000000)], + ], ]; diff --git a/tests/mocks/php/General/testMinimalMock.php b/tests/mocks/php/General/testMinimalMock.php index dca21c3..c09383b 100644 --- a/tests/mocks/php/General/testMinimalMock.php +++ b/tests/mocks/php/General/testMinimalMock.php @@ -1,22 +1,21 @@ [ - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], ]; diff --git a/tests/mocks/php/General/testMultiplyMethods_any.php b/tests/mocks/php/General/testMultiplyMethods_any.php index 8c13b85..74829fb 100644 --- a/tests/mocks/php/General/testMultiplyMethods_any.php +++ b/tests/mocks/php/General/testMultiplyMethods_any.php @@ -1,16 +1,15 @@ [ - 'method' => "ANY", - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'method' => 'ANY', + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ 'code' => 200, 'headers' => ['Content-Type' => 'application/json'], - 'body' => static function (Request $request): string { - return (string)json(['method' => $request->getMethod()]); - } - ] + 'body' => static fn (Request $request): string => (string)json(['method' => $request->getMethod()]), + ], ]; diff --git a/tests/mocks/php/General/testMultiplyMethods_array.php b/tests/mocks/php/General/testMultiplyMethods_array.php index 3eb230a..5a2efc0 100644 --- a/tests/mocks/php/General/testMultiplyMethods_array.php +++ b/tests/mocks/php/General/testMultiplyMethods_array.php @@ -1,16 +1,15 @@ [ - 'method' => ["GET", "POST", "PUT", "PATCH", "HEAD", "OPTIONS", "DELETE"], - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'method' => ['GET', 'POST', 'PUT', 'PATCH', 'HEAD', 'OPTIONS', 'DELETE'], + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ 'code' => 200, 'headers' => ['Content-Type' => 'application/json'], - 'body' => static function (Request $request): string { - return (string)json(['method' => $request->getMethod()]); - } - ] + 'body' => static fn (Request $request): string => (string)json(['method' => $request->getMethod()]), + ], ]; diff --git a/tests/mocks/php/General/testMultiplyMethods_star.php b/tests/mocks/php/General/testMultiplyMethods_star.php index 2b7c4cf..97091d2 100644 --- a/tests/mocks/php/General/testMultiplyMethods_star.php +++ b/tests/mocks/php/General/testMultiplyMethods_star.php @@ -1,16 +1,15 @@ [ - 'method' => "*", - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'method' => '*', + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ 'code' => 200, 'headers' => ['Content-Type' => 'application/json'], - 'body' => static function (Request $request): string { - return (string)json(['method' => $request->getMethod()]); - } - ] + 'body' => static fn (Request $request): string => (string)json(['method' => $request->getMethod()]), + ], ]; diff --git a/tests/mocks/php/General/testMultiplyMethods_string.php b/tests/mocks/php/General/testMultiplyMethods_string.php index 6f170e6..b4f2b3d 100644 --- a/tests/mocks/php/General/testMultiplyMethods_string.php +++ b/tests/mocks/php/General/testMultiplyMethods_string.php @@ -1,16 +1,15 @@ [ 'method' => 'GET|POST|PUT|PATCH|HEAD|OPTIONS|DELETE', - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ 'code' => 200, 'headers' => ['Content-Type' => 'application/json'], - 'body' => static function (Request $request): string { - return (string)json(['method' => $request->getMethod()]); - } - ] -]; \ No newline at end of file + 'body' => static fn (Request $request): string => (string)json(['method' => $request->getMethod()]), + ], +]; diff --git a/tests/mocks/php/General/testNotFound.php b/tests/mocks/php/General/testNotFound.php index ab8e89a..aefa060 100644 --- a/tests/mocks/php/General/testNotFound.php +++ b/tests/mocks/php/General/testNotFound.php @@ -1,16 +1,15 @@ [ 'method' => 'get', - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ 'code' => 404, 'headers' => ['Content-Type' => 'application/json'], - 'body' => (string)json(['message' => 'not_found']) - ] + 'body' => (string)json(['message' => 'not_found']), + ], ]; diff --git a/tests/mocks/php/General/testRedirect.php b/tests/mocks/php/General/testRedirect.php index 48cad18..0d90add 100644 --- a/tests/mocks/php/General/testRedirect.php +++ b/tests/mocks/php/General/testRedirect.php @@ -1,16 +1,15 @@ [ - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ 'code' => 301, 'headers' => ['location' => '/testStructureOfResponse'], - 'body' => (string)json(['message' => 'redirect']) - ] + 'body' => (string)json(['message' => 'redirect']), + ], ]; diff --git a/tests/mocks/php/General/testRequestParser.php b/tests/mocks/php/General/testRequestParser.php index 629f6af..9fec117 100644 --- a/tests/mocks/php/General/testRequestParser.php +++ b/tests/mocks/php/General/testRequestParser.php @@ -1,16 +1,15 @@ [ 'method' => 'POST|GET', - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ 'code' => 200, - 'body' => static function (Request $request): string { - return (string)json([]); - } - ] + 'body' => static fn (Request $request): string => (string)json([]), + ], ]; diff --git a/tests/mocks/php/General/testServerError.php b/tests/mocks/php/General/testServerError.php index beaf121..c24e668 100644 --- a/tests/mocks/php/General/testServerError.php +++ b/tests/mocks/php/General/testServerError.php @@ -1,16 +1,15 @@ [ - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ - 'code' => 500, - 'body' => (string)json([ - 'message' => 'fatal_error' - ]) - ] + 'code' => 500, + 'body' => (string)json([ + 'message' => 'fatal_error', + ]), + ], ]; diff --git a/tests/mocks/php/General/testStructureOfResponse.php b/tests/mocks/php/General/testStructureOfResponse.php index 837868c..947bbc5 100644 --- a/tests/mocks/php/General/testStructureOfResponse.php +++ b/tests/mocks/php/General/testStructureOfResponse.php @@ -1,16 +1,15 @@ [ 'method' => 'get', - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ 'code' => 200, 'headers' => ['Content-Type' => 'application/json'], - 'body' => (string)json(['message' => 'Hello']) - ] + 'body' => (string)json(['message' => 'Hello']), + ], ]; diff --git a/tests/mocks/php/General/testTlsConnection.php b/tests/mocks/php/General/testTlsConnection.php index 21e3c03..c2bb6c2 100644 --- a/tests/mocks/php/General/testTlsConnection.php +++ b/tests/mocks/php/General/testTlsConnection.php @@ -1,26 +1,25 @@ [ - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ - 'body' => 'Hi' - ] + 'body' => 'Hi', + ], ]; diff --git a/tests/mocks/php/ProxyUrl/testPoxyUrlAllMethodsToHttpBin.php b/tests/mocks/php/ProxyUrl/testPoxyUrlAllMethodsToHttpBin.php index d55f424..80986a5 100644 --- a/tests/mocks/php/ProxyUrl/testPoxyUrlAllMethodsToHttpBin.php +++ b/tests/mocks/php/ProxyUrl/testPoxyUrlAllMethodsToHttpBin.php @@ -1,16 +1,15 @@ [ - 'method' => "*", - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'method' => '*', + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ // ignored if "control.proxyBaseUrl" is presented 'code' => 404, - 'headers' => static function (): array { - return ['x-random-value' => random_int(0, 10000000)]; - }, - 'body' => (string)json(['test' => 'failed']) + 'headers' => static fn (): array => ['x-random-value' => \random_int(0, 10000000)], + 'body' => (string)json(['test' => 'failed']), ], 'control' => [ - 'proxyBaseUrl' => static function (Request $request) { - return 'http://httpbin.org/' . strtolower($request->getMethod()); - } - ] + 'proxyBaseUrl' => static fn (Request $request) => 'http://httpbin.org/' . \strtolower($request->getMethod()), + ], ]; diff --git a/tests/mocks/php/ProxyUrl/testPoxyUrlAllMethodsToSelf.php b/tests/mocks/php/ProxyUrl/testPoxyUrlAllMethodsToSelf.php index c4ff116..98b67e2 100644 --- a/tests/mocks/php/ProxyUrl/testPoxyUrlAllMethodsToSelf.php +++ b/tests/mocks/php/ProxyUrl/testPoxyUrlAllMethodsToSelf.php @@ -1,16 +1,15 @@ [ - 'method' => "*", - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'method' => '*', + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ // ignored if "control.proxyBaseUrl" is presented 'code' => 404, - 'headers' => static function (): array { - return ['x-random-value' => random_int(0, 10000000)]; - }, - 'body' => (string)json(['test' => 'failed']) + 'headers' => static fn (): array => ['x-random-value' => \random_int(0, 10000000)], + 'body' => (string)json(['test' => 'failed']), ], 'control' => [ - 'proxyBaseUrl' => "http://{$host}/testFunctionAsResponseBody" - ] + 'proxyBaseUrl' => "http://{$host}/testFunctionAsResponseBody", + ], ]; diff --git a/tests/mocks/php/ProxyUrl/testPoxyUrlUploadFiles.php b/tests/mocks/php/ProxyUrl/testPoxyUrlUploadFiles.php index e7b759b..05de88c 100644 --- a/tests/mocks/php/ProxyUrl/testPoxyUrlUploadFiles.php +++ b/tests/mocks/php/ProxyUrl/testPoxyUrlUploadFiles.php @@ -1,16 +1,15 @@ [ - 'method' => "POST", - 'path' => '/' . pathinfo(__FILE__, PATHINFO_FILENAME) + 'method' => 'POST', + 'path' => '/' . \pathinfo(__FILE__, \PATHINFO_FILENAME), ], 'response' => [ // ignored if "control.proxyBaseUrl" is presented 'code' => 404, - 'headers' => static function (): array { - return ['x-random-value' => random_int(0, 10000000)]; - }, - 'body' => (string)json(['test' => 'failed']) + 'headers' => static fn (): array => ['x-random-value' => \random_int(0, 10000000)], + 'body' => (string)json(['test' => 'failed']), ], 'control' => [ - 'proxyBaseUrl' => 'http://httpbin.org/post' - ] + 'proxyBaseUrl' => 'http://httpbin.org/post', + ], ];