diff --git a/.gitattributes b/.gitattributes index 8db20f196..3dc19d8e6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7,3 +7,19 @@ *.tiff binary *.ico binary *.svg text +/.github/ export-ignore +/.wordpress-org/ export-ignore +/tests/ export-ignore +/.build-excludes export-ignore +/.editorconfig export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/CONTRIBUTING.md export-ignore +/composer.lock export-ignore +/phpcs.xml export-ignore +/phpmd.xml export-ignore +/phpunit.xml export-ignore +/phpstan-baseline.neon export-ignore +/phpstan.neon.dist export-ignore +/webpack.config.js export-ignore +/yarn.lock export-ignore diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 8126d1477..82e3ce5c9 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -17,25 +17,22 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '7.4' extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick coverage: none - - name: Setup Node - uses: actions/setup-node@v1 - with: - node-version: '12' - - name: Install Node dependencies - uses: bahmutov/npm-install@v1 + - name: Install Strauss globally + run: composer global require brianhenryie/strauss - name: Install Composer dependencies uses: "ramsey/composer-install@v2" - - name: Install Composer build dependencies - run: composer bin build install --no-progress - - name: Compose dependencies - run: composer compose - - name: Remove dev depencencies - run: | - rm -rf vendor - composer install --no-dev --no-progress + with: + composer-options: "--no-dev" + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: '16' + cache: yarn + - name: Install yarn dependencies + run: yarn install --immutable - name: Build static assets run: yarn build - name: Create build dir diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index 039dc3f52..ae4de4f12 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -17,25 +17,22 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '7.4' extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick coverage: none - - name: Setup Node - uses: actions/setup-node@v1 - with: - node-version: '12' - - name: Install Node dependencies - uses: bahmutov/npm-install@v1 + - name: Install Strauss globally + run: composer global require brianhenryie/strauss - name: Install Composer dependencies uses: "ramsey/composer-install@v2" - - name: Install Composer build dependencies - run: composer bin build install --no-progress - - name: Compose dependencies - run: composer compose - - name: Remove dev depencencies - run: | - rm -rf vendor - composer install --no-dev --no-progress + with: + composer-options: "--no-dev" + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: '16' + cache: yarn + - name: Install yarn dependencies + run: yarn install --immutable - name: Build static assets run: yarn build:production - name: Create build dir diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5006c0535..83b18ae92 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,13 +6,16 @@ jobs: phpcs: name: PHP Coding Standards runs-on: ubuntu-latest + strategy: + matrix: + php: ['7.4', '8.0', '8.1', '8.2', '8.3'] steps: - name: Checkout uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: ${{ matrix.php }} extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick coverage: none - name: Install Composer dependencies @@ -22,41 +25,39 @@ jobs: phpstan: name: PHPStan runs-on: ubuntu-latest + strategy: + matrix: + php: ['7.4', '8.0', '8.1', '8.2', '8.3'] steps: - name: Checkout uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: ${{ matrix.php }} extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick coverage: none - name: Install Composer dependencies uses: "ramsey/composer-install@v2" - - name: Install Composer build dependencies - run: composer bin build install --no-progress - - name: Compose dependencies - run: composer compose - name: Analyze run: composer phpstan phplint: name: PHP Lint runs-on: ubuntu-latest + strategy: + matrix: + php: ['7.4', '8.0', '8.1', '8.2', '8.3'] steps: - name: Checkout uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: ${{ matrix.php }} extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick coverage: none - name: Install Composer dependencies uses: "ramsey/composer-install@v2" - - name: Install Composer build dependencies - run: composer bin build install --no-progress - - name: Compose dependencies - run: composer compose - name: Lint run: composer phplint phpunit: @@ -64,40 +65,25 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['8.2'] + php: ['7.4', '8.0', '8.1', '8.2', '8.3'] steps: - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '8.2' - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick - coverage: none - name: Checkout uses: actions/checkout@v2 - - name: Set Composer version - run: composer self-update --2.2 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: '16' + cache: yarn + - name: Install yarn dependencies + run: yarn install --immutable - name: Install Composer dependencies uses: "ramsey/composer-install@v2" - - name: Install Composer build dependencies - run: composer bin build install --no-progress - - name: Compose dependencies - run: composer compose - - name: Remove unused dependencies - run: composer remove --dev szepeviktor/phpstan-wordpress - - name: Setup tests - run: bash tests/bin/install-wp-tests.sh - - name: Setup PHP ${{ matrix.php }} - # https://github.com/shivammathur/setup-php/issues/446#issuecomment-824001225 - uses: shivammathur/setup-php@develop - with: - php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick - coverage: none - tools: none - - name: PHPUnit + - name: Start wp-env env: - WP_DB_HOST: 127.0.0.1:${{ job.services.mysql.ports['3306'] }} - run: composer test + WP_ENV_PHP_VERSION: ${{ matrix.php }} + run: yarn run wp-env start + - name: Run Tests + run: yarn run test-php css: name: CSS Lint runs-on: ubuntu-latest @@ -105,11 +91,12 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: '12' - - name: Install Node dependencies - uses: bahmutov/npm-install@v1 + node-version: '16' + cache: yarn + - name: Install yarn dependencies + run: yarn install --immutable - name: CSS lint run: yarn lint:css js: @@ -119,10 +106,11 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: '12' - - name: Install Node dependencies - uses: bahmutov/npm-install@v1 + node-version: '16' + cache: yarn + - name: Install yarn dependencies + run: yarn install --immutable - name: JS lint run: yarn lint:js diff --git a/.gitignore b/.gitignore index 667a399d8..61e2b7209 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,7 @@ node_modules/ /vendor/ package-lock.json /resources/*/dist/ -/src/Dependencies/ +/dependencies/ /tests/_wordpress/ /vendor-bin/**/vendor/ diff --git a/.stylelintignore b/.stylelintignore new file mode 100644 index 000000000..887f9402d --- /dev/null +++ b/.stylelintignore @@ -0,0 +1,4 @@ +dependencies/**/* +node_modules/**/* +vendor/**/* +resources/css/dist/**/* diff --git a/.wp-env.json b/.wp-env.json new file mode 100644 index 000000000..35d8b477f --- /dev/null +++ b/.wp-env.json @@ -0,0 +1,6 @@ +{ + "phpVersion": "7.4", + "mappings": { + "wp-content/plugins/notification": "." + } +} diff --git a/compat/src-deprecated/functions.php b/compat/src-deprecated/functions.php index e7ffc7cec..760a62ad6 100644 --- a/compat/src-deprecated/functions.php +++ b/compat/src-deprecated/functions.php @@ -96,7 +96,7 @@ function notification_display_wizard() { function notification_ajax_handler() { _deprecated_function( __FUNCTION__, '8.0.0' ); - return new BracketSpace\Notification\Dependencies\Micropackage\Ajax\Response(); + return new \BracketSpace\Notification\Dependencies\Micropackage\Ajax\Response(); } /** diff --git a/composer.json b/composer.json index 40e4c0ca8..956951ef1 100644 --- a/composer.json +++ b/composer.json @@ -16,8 +16,8 @@ "micropackage/templates": "^1.1" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4", "brain/monkey": "^2.6", + "brianhenryie/strauss": "^0.17.0", "dealerdirect/phpcodesniffer-composer-installer": "^0.7", "pestphp/pest": "^1.23", "php-parallel-lint/php-parallel-lint": "^1.3", @@ -36,21 +36,13 @@ "allow-plugins": true, "platform-check": false }, - "extra": { - "mozart": { - "dep_namespace": "BracketSpace\\Notification\\Dependencies\\", - "dep_directory": "/src/Dependencies/", - "classmap_directory": "/classes/dependencies/", - "classmap_prefix": "BRSET_", - "delete_vendor_directories": true - } - }, "autoload": { "psr-4": { "BracketSpace\\Notification\\": "src/" }, "classmap": [ - "compat/src-deprecated/" + "compat/src-deprecated/", + "dependencies/" ], "files": [ "compat/src-deprecated/functions.php", @@ -63,12 +55,27 @@ "Tests\\": "tests/" } }, + "extra": { + "strauss": { + "namespace_prefix": "BracketSpace\\Notification\\Dependencies\\", + "target_directory": "dependencies", + "classmap_prefix": "BRSET_" + } + }, "scripts": { - "compose": "mozart compose && composer dump-autoload", - "phpcbf": "phpcbf", - "phpcs": "phpcs", - "phplint": "parallel-lint --exclude node_modules --exclude vendor --exclude vendor-bin .", + "phpcbf": "phpcbf --parallel=4", + "phpcs": "phpcs --parallel=4", + "phplint": "parallel-lint --exclude node_modules --exclude vendor .", "phpstan": "phpstan analyze --memory-limit=-1", - "test": "vendor/bin/pest" + "prefix-namespaces": [ + "strauss", + "composer dump-autoload" + ], + "post-install-cmd": [ + "@prefix-namespaces" + ], + "post-update-cmd": [ + "@prefix-namespaces" + ] } } diff --git a/composer.lock b/composer.lock index fda521f7c..6f5095244 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2b3e9805cc18a6d782d523fa7a361dd6", + "content-hash": "29e7b97a5d13d714394bff808ad9d90c", "packages": [ { "name": "enshrined/svg-sanitize", @@ -54,20 +54,20 @@ }, { "name": "ezyang/htmlpurifier", - "version": "v4.16.0", + "version": "v4.17.0", "source": { "type": "git", "url": "https://github.com/ezyang/htmlpurifier.git", - "reference": "523407fb06eb9e5f3d59889b3978d5bfe94299c8" + "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/523407fb06eb9e5f3d59889b3978d5bfe94299c8", - "reference": "523407fb06eb9e5f3d59889b3978d5bfe94299c8", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/bbc513d79acf6691fa9cf10f192c90dd2957f18c", + "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c", "shasum": "" }, "require": { - "php": "~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0" + "php": "~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { "cerdic/css-tidy": "^1.7 || ^2.0", @@ -109,9 +109,9 @@ ], "support": { "issues": "https://github.com/ezyang/htmlpurifier/issues", - "source": "https://github.com/ezyang/htmlpurifier/tree/v4.16.0" + "source": "https://github.com/ezyang/htmlpurifier/tree/v4.17.0" }, - "time": "2022-09-18T07:06:19+00:00" + "time": "2023-11-17T15:01:25+00:00" }, { "name": "micropackage/ajax", @@ -485,16 +485,16 @@ "packages-dev": [ { "name": "antecedent/patchwork", - "version": "2.1.25", + "version": "2.1.28", "source": { "type": "git", "url": "https://github.com/antecedent/patchwork.git", - "reference": "17314e042d45e0dacb0a494c2d1ef50e7621136a" + "reference": "6b30aff81ebadf0f2feb9268d3e08385cebcc08d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/antecedent/patchwork/zipball/17314e042d45e0dacb0a494c2d1ef50e7621136a", - "reference": "17314e042d45e0dacb0a494c2d1ef50e7621136a", + "url": "https://api.github.com/repos/antecedent/patchwork/zipball/6b30aff81ebadf0f2feb9268d3e08385cebcc08d", + "reference": "6b30aff81ebadf0f2feb9268d3e08385cebcc08d", "shasum": "" }, "require": { @@ -515,7 +515,7 @@ } ], "description": "Method redefinition (monkey-patching) functionality for PHP.", - "homepage": "http://patchwork2.org/", + "homepage": "https://antecedent.github.io/patchwork/", "keywords": [ "aop", "aspect", @@ -527,9 +527,9 @@ ], "support": { "issues": "https://github.com/antecedent/patchwork/issues", - "source": "https://github.com/antecedent/patchwork/tree/2.1.25" + "source": "https://github.com/antecedent/patchwork/tree/2.1.28" }, - "time": "2023-02-19T12:51:24+00:00" + "time": "2024-02-06T09:26:11+00:00" }, { "name": "automattic/phpcs-neutron-ruleset", @@ -615,63 +615,6 @@ }, "time": "2021-02-15T22:42:03+00:00" }, - { - "name": "bamarni/composer-bin-plugin", - "version": "1.8.2", - "source": { - "type": "git", - "url": "https://github.com/bamarni/composer-bin-plugin.git", - "reference": "92fd7b1e6e9cdae19b0d57369d8ad31a37b6a880" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/bamarni/composer-bin-plugin/zipball/92fd7b1e6e9cdae19b0d57369d8ad31a37b6a880", - "reference": "92fd7b1e6e9cdae19b0d57369d8ad31a37b6a880", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^2.0", - "php": "^7.2.5 || ^8.0" - }, - "require-dev": { - "composer/composer": "^2.0", - "ext-json": "*", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "^1.8", - "phpstan/phpstan-phpunit": "^1.1", - "phpunit/phpunit": "^8.5 || ^9.5", - "symfony/console": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0", - "symfony/finder": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0", - "symfony/process": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0" - }, - "type": "composer-plugin", - "extra": { - "class": "Bamarni\\Composer\\Bin\\BamarniBinPlugin" - }, - "autoload": { - "psr-4": { - "Bamarni\\Composer\\Bin\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "No conflicts for your bin dependencies", - "keywords": [ - "composer", - "conflict", - "dependency", - "executable", - "isolation", - "tool" - ], - "support": { - "issues": "https://github.com/bamarni/composer-bin-plugin/issues", - "source": "https://github.com/bamarni/composer-bin-plugin/tree/1.8.2" - }, - "time": "2022-10-31T08:38:03+00:00" - }, { "name": "brain/monkey", "version": "2.6.1", @@ -743,36 +686,48 @@ "time": "2021-11-11T15:53:55+00:00" }, { - "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v0.7.2", + "name": "brianhenryie/strauss", + "version": "0.17.0", "source": { "type": "git", - "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", - "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db" + "url": "https://github.com/BrianHenryIE/strauss.git", + "reference": "f03e9176f463cf2c3f2fca5b2796c03c8e9e5729" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", - "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "url": "https://api.github.com/repos/BrianHenryIE/strauss/zipball/f03e9176f463cf2c3f2fca5b2796c03c8e9e5729", + "reference": "f03e9176f463cf2c3f2fca5b2796c03c8e9e5729", "shasum": "" }, "require": { - "composer-plugin-api": "^1.0 || ^2.0", - "php": ">=5.3", - "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" - }, - "require-dev": { "composer/composer": "*", - "php-parallel-lint/php-parallel-lint": "^1.3.1", - "phpcompatibility/php-compatibility": "^9.0" + "json-mapper/json-mapper": "^2.2", + "league/flysystem": "^2.1|^3.0", + "symfony/console": "^4|^5|^6", + "symfony/finder": "^4|^5|^6" }, - "type": "composer-plugin", - "extra": { - "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" + "replace": { + "coenjacobs/mozart": "*" }, + "require-dev": { + "brianhenryie/php-diff-test": "dev-master", + "clue/phar-composer": "^1.2", + "ext-json": "*", + "jaschilz/php-coverage-badger": "^2.0", + "mheap/phpunit-github-actions-printer": "^1.4", + "mockery/mockery": "^1.6", + "php": "^7.4|^8.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9|^10", + "squizlabs/php_codesniffer": "^3.5" + }, + "bin": [ + "bin/strauss" + ], + "type": "library", "autoload": { "psr-4": { - "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" + "BrianHenryIE\\Strauss\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -781,73 +736,55 @@ ], "authors": [ { - "name": "Franck Nijhof", - "email": "franck.nijhof@dealerdirect.com", - "homepage": "http://www.frenck.nl", - "role": "Developer / IT Manager" + "name": "Brian Henry", + "email": "BrianHenryIE@gmail.com" }, { - "name": "Contributors", - "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors" + "name": "Coen Jacobs", + "email": "coenjacobs@gmail.com" } ], - "description": "PHP_CodeSniffer Standards Composer Installer Plugin", - "homepage": "http://www.dealerdirect.com", - "keywords": [ - "PHPCodeSniffer", - "PHP_CodeSniffer", - "code quality", - "codesniffer", - "composer", - "installer", - "phpcbf", - "phpcs", - "plugin", - "qa", - "quality", - "standard", - "standards", - "style guide", - "stylecheck", - "tests" - ], + "description": "Composes all dependencies as a package inside a WordPress plugin", "support": { - "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", - "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" + "issues": "https://github.com/BrianHenryIE/strauss/issues", + "source": "https://github.com/BrianHenryIE/strauss/tree/0.17.0" }, - "time": "2022-02-04T12:51:07+00:00" + "time": "2024-03-19T03:19:58+00:00" }, { - "name": "doctrine/instantiator", + "name": "composer/ca-bundle", "version": "1.5.0", "source": { "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + "url": "https://github.com/composer/ca-bundle.git", + "reference": "0c5ccfcfea312b5c5a190a21ac5cef93f74baf99" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", - "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/0c5ccfcfea312b5c5a190a21ac5cef93f74baf99", + "reference": "0c5ccfcfea312b5c5a190a21ac5cef93f74baf99", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "ext-openssl": "*", + "ext-pcre": "*", + "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^9 || ^11", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^0.16 || ^1", - "phpstan/phpstan": "^1.4", - "phpstan/phpstan-phpunit": "^1", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.30 || ^5.4" + "phpstan/phpstan": "^1.10", + "psr/log": "^1.0", + "symfony/phpunit-bridge": "^4.2 || ^5", + "symfony/process": "^4.0 || ^5.0 || ^6.0 || ^7.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, "autoload": { "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + "Composer\\CaBundle\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -856,73 +793,76 @@ ], "authors": [ { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" } ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", "keywords": [ - "constructor", - "instantiate" + "cabundle", + "cacert", + "certificate", + "ssl", + "tls" ], "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.5.0" + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/ca-bundle/issues", + "source": "https://github.com/composer/ca-bundle/tree/1.5.0" }, "funding": [ { - "url": "https://www.doctrine-project.org/sponsorship.html", + "url": "https://packagist.com", "type": "custom" }, { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" + "url": "https://github.com/composer", + "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "url": "https://tidelift.com/funding/github/packagist/composer/composer", "type": "tidelift" } ], - "time": "2022-12-30T00:15:36+00:00" + "time": "2024-03-15T14:00:32+00:00" }, { - "name": "filp/whoops", - "version": "2.15.3", + "name": "composer/class-map-generator", + "version": "1.1.1", "source": { "type": "git", - "url": "https://github.com/filp/whoops.git", - "reference": "c83e88a30524f9360b11f585f71e6b17313b7187" + "url": "https://github.com/composer/class-map-generator.git", + "reference": "8286a62d243312ed99b3eee20d5005c961adb311" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/c83e88a30524f9360b11f585f71e6b17313b7187", - "reference": "c83e88a30524f9360b11f585f71e6b17313b7187", + "url": "https://api.github.com/repos/composer/class-map-generator/zipball/8286a62d243312ed99b3eee20d5005c961adb311", + "reference": "8286a62d243312ed99b3eee20d5005c961adb311", "shasum": "" }, "require": { - "php": "^5.5.9 || ^7.0 || ^8.0", - "psr/log": "^1.0.1 || ^2.0 || ^3.0" + "composer/pcre": "^2.1 || ^3.1", + "php": "^7.2 || ^8.0", + "symfony/finder": "^4.4 || ^5.3 || ^6 || ^7" }, "require-dev": { - "mockery/mockery": "^0.9 || ^1.0", - "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", - "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" - }, - "suggest": { - "symfony/var-dumper": "Pretty print complex values better with var-dumper available", - "whoops/soap": "Formats errors as SOAP responses" + "phpstan/phpstan": "^1.6", + "phpstan/phpstan-deprecation-rules": "^1", + "phpstan/phpstan-phpunit": "^1", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/filesystem": "^5.4 || ^6", + "symfony/phpunit-bridge": "^5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-main": "1.x-dev" } }, "autoload": { "psr-4": { - "Whoops\\": "src/Whoops/" + "Composer\\ClassMapGenerator\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -931,327 +871,400 @@ ], "authors": [ { - "name": "Filipe Dobreira", - "homepage": "https://github.com/filp", - "role": "Developer" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" } ], - "description": "php error handling for cool kids", - "homepage": "https://filp.github.io/whoops/", + "description": "Utilities to scan PHP code and generate class maps.", "keywords": [ - "error", - "exception", - "handling", - "library", - "throwable", - "whoops" + "classmap" ], "support": { - "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.15.3" + "issues": "https://github.com/composer/class-map-generator/issues", + "source": "https://github.com/composer/class-map-generator/tree/1.1.1" }, "funding": [ { - "url": "https://github.com/denis-sokolov", + "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-07-13T12:00:00+00:00" + "time": "2024-03-15T12:53:41+00:00" }, { - "name": "hamcrest/hamcrest-php", - "version": "v2.0.1", + "name": "composer/composer", + "version": "2.7.2", "source": { "type": "git", - "url": "https://github.com/hamcrest/hamcrest-php.git", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + "url": "https://github.com/composer/composer.git", + "reference": "b826edb791571ab1eaf281eb1bd6e181a1192adc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "url": "https://api.github.com/repos/composer/composer/zipball/b826edb791571ab1eaf281eb1bd6e181a1192adc", + "reference": "b826edb791571ab1eaf281eb1bd6e181a1192adc", "shasum": "" }, "require": { - "php": "^5.3|^7.0|^8.0" - }, - "replace": { - "cordoval/hamcrest-php": "*", - "davedevelopment/hamcrest-php": "*", - "kodova/hamcrest-php": "*" + "composer/ca-bundle": "^1.0", + "composer/class-map-generator": "^1.0", + "composer/metadata-minifier": "^1.0", + "composer/pcre": "^2.1 || ^3.1", + "composer/semver": "^3.2.5", + "composer/spdx-licenses": "^1.5.7", + "composer/xdebug-handler": "^2.0.2 || ^3.0.3", + "justinrainbow/json-schema": "^5.2.11", + "php": "^7.2.5 || ^8.0", + "psr/log": "^1.0 || ^2.0 || ^3.0", + "react/promise": "^2.8 || ^3", + "seld/jsonlint": "^1.4", + "seld/phar-utils": "^1.2", + "seld/signal-handler": "^2.0", + "symfony/console": "^5.4.11 || ^6.0.11 || ^7", + "symfony/filesystem": "^5.4 || ^6.0 || ^7", + "symfony/finder": "^5.4 || ^6.0 || ^7", + "symfony/polyfill-php73": "^1.24", + "symfony/polyfill-php80": "^1.24", + "symfony/polyfill-php81": "^1.24", + "symfony/process": "^5.4 || ^6.0 || ^7" }, "require-dev": { - "phpunit/php-file-iterator": "^1.4 || ^2.0", - "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + "phpstan/phpstan": "^1.9.3", + "phpstan/phpstan-deprecation-rules": "^1", + "phpstan/phpstan-phpunit": "^1.0", + "phpstan/phpstan-strict-rules": "^1", + "phpstan/phpstan-symfony": "^1.2.10", + "symfony/phpunit-bridge": "^6.4.1 || ^7.0.1" + }, + "suggest": { + "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", + "ext-zip": "Enabling the zip extension allows you to unzip archives", + "ext-zlib": "Allow gzip compression of HTTP requests" }, + "bin": [ + "bin/composer" + ], "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-main": "2.7-dev" + }, + "phpstan": { + "includes": [ + "phpstan/rules.neon" + ] } }, "autoload": { - "classmap": [ - "hamcrest" - ] + "psr-4": { + "Composer\\": "src/Composer/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], - "description": "This is the PHP port of Hamcrest Matchers", + "authors": [ + { + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "https://www.naderman.de" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.", + "homepage": "https://getcomposer.org/", "keywords": [ - "test" + "autoload", + "dependency", + "package" ], "support": { - "issues": "https://github.com/hamcrest/hamcrest-php/issues", - "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + "irc": "ircs://irc.libera.chat:6697/composer", + "issues": "https://github.com/composer/composer/issues", + "security": "https://github.com/composer/composer/security/policy", + "source": "https://github.com/composer/composer/tree/2.7.2" }, - "time": "2020-07-09T08:09:16+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": "2024-03-11T16:12:18+00:00" }, { - "name": "mockery/mockery", - "version": "1.6.6", + "name": "composer/metadata-minifier", + "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/mockery/mockery.git", - "reference": "b8e0bb7d8c604046539c1115994632c74dcb361e" + "url": "https://github.com/composer/metadata-minifier.git", + "reference": "c549d23829536f0d0e984aaabbf02af91f443207" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/b8e0bb7d8c604046539c1115994632c74dcb361e", - "reference": "b8e0bb7d8c604046539c1115994632c74dcb361e", + "url": "https://api.github.com/repos/composer/metadata-minifier/zipball/c549d23829536f0d0e984aaabbf02af91f443207", + "reference": "c549d23829536f0d0e984aaabbf02af91f443207", "shasum": "" }, "require": { - "hamcrest/hamcrest-php": "^2.0.1", - "lib-pcre": ">=7.0", - "php": ">=7.3" - }, - "conflict": { - "phpunit/phpunit": "<8.0" + "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^8.5 || ^9.6.10", - "psalm/plugin-phpunit": "^0.18.4", - "symplify/easy-coding-standard": "^11.5.0", - "vimeo/psalm": "^4.30" + "composer/composer": "^2", + "phpstan/phpstan": "^0.12.55", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, "autoload": { - "files": [ - "library/helpers.php", - "library/Mockery.php" - ], "psr-4": { - "Mockery\\": "library/Mockery" + "Composer\\MetadataMinifier\\": "src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Pádraic Brady", - "email": "padraic.brady@gmail.com", - "homepage": "https://github.com/padraic", - "role": "Author" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Small utility library that handles metadata minification and expansion.", + "keywords": [ + "composer", + "compression" + ], + "support": { + "issues": "https://github.com/composer/metadata-minifier/issues", + "source": "https://github.com/composer/metadata-minifier/tree/1.0.0" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" }, { - "name": "Dave Marshall", - "email": "dave.marshall@atstsolutions.co.uk", - "homepage": "https://davedevelopment.co.uk", - "role": "Developer" + "url": "https://github.com/composer", + "type": "github" }, { - "name": "Nathanael Esayeas", - "email": "nathanael.esayeas@protonmail.com", - "homepage": "https://github.com/ghostwriter", - "role": "Lead Developer" + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" } ], - "description": "Mockery is a simple yet flexible PHP mock object framework", - "homepage": "https://github.com/mockery/mockery", - "keywords": [ - "BDD", - "TDD", - "library", - "mock", - "mock objects", - "mockery", - "stub", - "test", - "test double", - "testing" - ], - "support": { - "docs": "https://docs.mockery.io/", - "issues": "https://github.com/mockery/mockery/issues", - "rss": "https://github.com/mockery/mockery/releases.atom", - "security": "https://github.com/mockery/mockery/security/advisories", - "source": "https://github.com/mockery/mockery" - }, - "time": "2023-08-09T00:03:52+00:00" + "time": "2021-04-07T13:37:33+00:00" }, { - "name": "myclabs/deep-copy", - "version": "1.11.1", + "name": "composer/pcre", + "version": "3.1.3", "source": { "type": "git", - "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" + "url": "https://github.com/composer/pcre.git", + "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "url": "https://api.github.com/repos/composer/pcre/zipball/5b16e25a5355f1f3afdfc2f954a0a80aec4826a8", + "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" + "php": "^7.4 || ^8.0" }, "require-dev": { - "doctrine/collections": "^1.6.8", - "doctrine/common": "^2.13.3 || ^3.2.2", - "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" + "phpstan/phpstan": "^1.3", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^5" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, "autoload": { - "files": [ - "src/DeepCopy/deep_copy.php" - ], "psr-4": { - "DeepCopy\\": "src/DeepCopy/" + "Composer\\Pcre\\": "src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Create deep copies (clones) of your objects", + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "PCRE wrapping library that offers type-safe preg_* replacements.", "keywords": [ - "clone", - "copy", - "duplicate", - "object", - "object graph" + "PCRE", + "preg", + "regex", + "regular expression" ], "support": { - "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" + "issues": "https://github.com/composer/pcre/issues", + "source": "https://github.com/composer/pcre/tree/3.1.3" }, "funding": [ { - "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "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-03-08T13:26:56+00:00" + "time": "2024-03-19T10:26:25+00:00" }, { - "name": "nikic/php-parser", - "version": "v4.17.1", + "name": "composer/semver", + "version": "3.4.0", "source": { "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" + "url": "https://github.com/composer/semver.git", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", "shasum": "" }, "require": { - "ext-tokenizer": "*", - "php": ">=7.0" + "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "phpstan/phpstan": "^1.4", + "symfony/phpunit-bridge": "^4.2 || ^5" }, - "bin": [ - "bin/php-parse" - ], "type": "library", "extra": { "branch-alias": { - "dev-master": "4.9-dev" + "dev-main": "3.x-dev" } }, "autoload": { "psr-4": { - "PhpParser\\": "lib/PhpParser" + "Composer\\Semver\\": "src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Nikita Popov" + "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": "A PHP parser written in PHP", + "description": "Semver library that offers utilities, version constraint parsing and validation.", "keywords": [ - "parser", - "php" + "semantic", + "semver", + "validation", + "versioning" ], "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" + "irc": "ircs://irc.libera.chat:6697/composer", + "issues": "https://github.com/composer/semver/issues", + "source": "https://github.com/composer/semver/tree/3.4.0" }, - "time": "2023-08-13T19:53:39+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": "2023-08-31T09:50:34+00:00" }, { - "name": "nunomaduro/collision", - "version": "v6.4.0", + "name": "composer/spdx-licenses", + "version": "1.5.8", "source": { "type": "git", - "url": "https://github.com/nunomaduro/collision.git", - "reference": "f05978827b9343cba381ca05b8c7deee346b6015" + "url": "https://github.com/composer/spdx-licenses.git", + "reference": "560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/f05978827b9343cba381ca05b8c7deee346b6015", - "reference": "f05978827b9343cba381ca05b8c7deee346b6015", + "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a", + "reference": "560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a", "shasum": "" }, "require": { - "filp/whoops": "^2.14.5", - "php": "^8.0.0", - "symfony/console": "^6.0.2" + "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "brianium/paratest": "^6.4.1", - "laravel/framework": "^9.26.1", - "laravel/pint": "^1.1.1", - "nunomaduro/larastan": "^1.0.3", - "nunomaduro/mock-final-classes": "^1.1.0", - "orchestra/testbench": "^7.7", - "phpunit/phpunit": "^9.5.23", - "spatie/ignition": "^1.4.1" + "phpstan/phpstan": "^0.12.55", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-develop": "6.x-dev" - }, - "laravel": { - "providers": [ - "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" - ] + "dev-main": "1.x-dev" } }, "autoload": { "psr-4": { - "NunoMaduro\\Collision\\": "src/" + "Composer\\Spdx\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1260,99 +1273,76 @@ ], "authors": [ { - "name": "Nuno Maduro", - "email": "enunomaduro@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": "Cli error handling for console/command-line PHP applications.", + "description": "SPDX licenses list and validation library.", "keywords": [ - "artisan", - "cli", - "command-line", - "console", - "error", - "handling", - "laravel", - "laravel-zero", - "php", - "symfony" + "license", + "spdx", + "validator" ], "support": { - "issues": "https://github.com/nunomaduro/collision/issues", - "source": "https://github.com/nunomaduro/collision" + "irc": "ircs://irc.libera.chat:6697/composer", + "issues": "https://github.com/composer/spdx-licenses/issues", + "source": "https://github.com/composer/spdx-licenses/tree/1.5.8" }, "funding": [ { - "url": "https://www.paypal.com/paypalme/enunomaduro", + "url": "https://packagist.com", "type": "custom" }, { - "url": "https://github.com/nunomaduro", + "url": "https://github.com/composer", "type": "github" }, { - "url": "https://www.patreon.com/nunomaduro", - "type": "patreon" + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" } ], - "time": "2023-01-03T12:54:54+00:00" + "time": "2023-11-20T07:44:33+00:00" }, { - "name": "pestphp/pest", - "version": "v1.23.1", + "name": "composer/xdebug-handler", + "version": "3.0.4", "source": { "type": "git", - "url": "https://github.com/pestphp/pest.git", - "reference": "5c56ad8772b89611c72a07e23f6e30aa29dc677a" + "url": "https://github.com/composer/xdebug-handler.git", + "reference": "4f988f8fdf580d53bdb2d1278fe93d1ed5462255" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/5c56ad8772b89611c72a07e23f6e30aa29dc677a", - "reference": "5c56ad8772b89611c72a07e23f6e30aa29dc677a", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/4f988f8fdf580d53bdb2d1278fe93d1ed5462255", + "reference": "4f988f8fdf580d53bdb2d1278fe93d1ed5462255", "shasum": "" }, "require": { - "nunomaduro/collision": "^5.11.0|^6.4.0", - "pestphp/pest-plugin": "^1.1.0", - "php": "^7.3 || ^8.0", - "phpunit/phpunit": "^9.6.10" + "composer/pcre": "^1 || ^2 || ^3", + "php": "^7.2.5 || ^8.0", + "psr/log": "^1 || ^2 || ^3" }, "require-dev": { - "illuminate/console": "^8.83.27", - "illuminate/support": "^8.83.27", - "laravel/dusk": "^6.25.2", - "pestphp/pest-dev-tools": "^1.0.0", - "pestphp/pest-plugin-parallel": "^1.2.1" + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-strict-rules": "^1.1", + "phpunit/phpunit": "^8.5 || ^9.6 || ^10.5" }, - "bin": [ - "bin/pest" - ], "type": "library", - "extra": { - "branch-alias": { - "dev-1.x": "1.x-dev" - }, - "pest": { - "plugins": [ - "Pest\\Plugins\\Coverage", - "Pest\\Plugins\\Init", - "Pest\\Plugins\\Version", - "Pest\\Plugins\\Environment" - ] - }, - "laravel": { - "providers": [ - "Pest\\Laravel\\PestServiceProvider" - ] - } - }, "autoload": { - "files": [ - "src/Functions.php", - "src/Pest.php" - ], "psr-4": { - "Pest\\": "src/" + "Composer\\XdebugHandler\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1361,692 +1351,2422 @@ ], "authors": [ { - "name": "Nuno Maduro", - "email": "enunomaduro@gmail.com" + "name": "John Stevenson", + "email": "john-stevenson@blueyonder.co.uk" } ], - "description": "An elegant PHP Testing Framework.", + "description": "Restarts a process without Xdebug.", "keywords": [ - "framework", - "pest", - "php", - "test", - "testing", - "unit" + "Xdebug", + "performance" ], "support": { - "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v1.23.1" + "irc": "ircs://irc.libera.chat:6697/composer", + "issues": "https://github.com/composer/xdebug-handler/issues", + "source": "https://github.com/composer/xdebug-handler/tree/3.0.4" }, "funding": [ { - "url": "https://www.paypal.com/paypalme/enunomaduro", + "url": "https://packagist.com", "type": "custom" }, { - "url": "https://github.com/nunomaduro", + "url": "https://github.com/composer", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" } ], - "time": "2023-07-12T19:42:47+00:00" + "time": "2024-03-26T18:29:49+00:00" }, { - "name": "pestphp/pest-plugin", - "version": "v1.1.0", + "name": "dealerdirect/phpcodesniffer-composer-installer", + "version": "v0.7.2", "source": { "type": "git", - "url": "https://github.com/pestphp/pest-plugin.git", - "reference": "606c5f79c6a339b49838ffbee0151ca519efe378" + "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest-plugin/zipball/606c5f79c6a339b49838ffbee0151ca519efe378", - "reference": "606c5f79c6a339b49838ffbee0151ca519efe378", + "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", "shasum": "" }, "require": { - "composer-plugin-api": "^1.1.0 || ^2.0.0", - "php": "^7.3 || ^8.0" - }, - "conflict": { - "pestphp/pest": "<1.0" + "composer-plugin-api": "^1.0 || ^2.0", + "php": ">=5.3", + "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" }, "require-dev": { - "composer/composer": "^2.4.2", - "pestphp/pest": "^1.22.1", - "pestphp/pest-dev-tools": "^1.0.0" + "composer/composer": "*", + "php-parallel-lint/php-parallel-lint": "^1.3.1", + "phpcompatibility/php-compatibility": "^9.0" }, "type": "composer-plugin", "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - }, - "class": "Pest\\Plugin\\Manager" + "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" }, "autoload": { "psr-4": { - "Pest\\Plugin\\": "src/" + "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "The Pest plugin manager", - "keywords": [ - "framework", - "manager", - "pest", - "php", - "plugin", - "test", - "testing", - "unit" - ], - "support": { - "source": "https://github.com/pestphp/pest-plugin/tree/v1.1.0" - }, - "funding": [ - { - "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L", - "type": "custom" - }, + "authors": [ { - "url": "https://github.com/nunomaduro", - "type": "github" + "name": "Franck Nijhof", + "email": "franck.nijhof@dealerdirect.com", + "homepage": "http://www.frenck.nl", + "role": "Developer / IT Manager" }, { - "url": "https://www.patreon.com/nunomaduro", - "type": "patreon" + "name": "Contributors", + "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors" } ], - "time": "2022-09-18T13:18:17+00:00" - }, - { - "name": "phar-io/manifest", - "version": "2.0.3", - "source": { - "type": "git", - "url": "https://github.com/phar-io/manifest.git", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", - "shasum": "" + "description": "PHP_CodeSniffer Standards Composer Installer Plugin", + "homepage": "http://www.dealerdirect.com", + "keywords": [ + "PHPCodeSniffer", + "PHP_CodeSniffer", + "code quality", + "codesniffer", + "composer", + "installer", + "phpcbf", + "phpcs", + "plugin", + "qa", + "quality", + "standard", + "standards", + "style guide", + "stylecheck", + "tests" + ], + "support": { + "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", + "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" + }, + "time": "2022-02-04T12:51:07+00:00" + }, + { + "name": "doctrine/instantiator", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", + "shasum": "" }, "require": { - "ext-dom": "*", + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9 || ^11", + "ext-pdo": "*", "ext-phar": "*", - "ext-xmlwriter": "*", - "phar-io/version": "^3.0.1", - "php": "^7.2 || ^8.0" + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.30 || ^5.4" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" }, { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" }, { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" } ], - "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/2.0.3" - }, - "time": "2021-07-20T11:28:43+00:00" + "time": "2022-12-30T00:15:36+00:00" }, { - "name": "phar-io/version", - "version": "3.2.1", + "name": "facade/ignition-contracts", + "version": "1.0.2", "source": { "type": "git", - "url": "https://github.com/phar-io/version.git", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + "url": "https://github.com/facade/ignition-contracts.git", + "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "url": "https://api.github.com/repos/facade/ignition-contracts/zipball/3c921a1cdba35b68a7f0ccffc6dffc1995b18267", + "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": "^7.3|^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^v2.15.8", + "phpunit/phpunit": "^9.3.11", + "vimeo/psalm": "^3.17.1" }, "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Facade\\IgnitionContracts\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://flareapp.io", "role": "Developer" } ], - "description": "Library for handling version information and constraints", + "description": "Solution contracts for Ignition", + "homepage": "https://github.com/facade/ignition-contracts", + "keywords": [ + "contracts", + "flare", + "ignition" + ], "support": { - "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.2.1" + "issues": "https://github.com/facade/ignition-contracts/issues", + "source": "https://github.com/facade/ignition-contracts/tree/1.0.2" }, - "time": "2022-02-21T01:04:05+00:00" + "time": "2020-10-16T08:27:54+00:00" }, { - "name": "php-parallel-lint/php-parallel-lint", - "version": "v1.3.2", + "name": "filp/whoops", + "version": "2.15.4", "source": { "type": "git", - "url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git", - "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de" + "url": "https://github.com/filp/whoops.git", + "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/6483c9832e71973ed29cf71bd6b3f4fde438a9de", - "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de", + "url": "https://api.github.com/repos/filp/whoops/zipball/a139776fa3f5985a50b509f2a02ff0f709d2a546", + "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546", "shasum": "" }, "require": { - "ext-json": "*", - "php": ">=5.3.0" - }, - "replace": { - "grogy/php-parallel-lint": "*", - "jakub-onderka/php-parallel-lint": "*" + "php": "^5.5.9 || ^7.0 || ^8.0", + "psr/log": "^1.0.1 || ^2.0 || ^3.0" }, "require-dev": { - "nette/tester": "^1.3 || ^2.0", - "php-parallel-lint/php-console-highlighter": "0.* || ^1.0", - "squizlabs/php_codesniffer": "^3.6" + "mockery/mockery": "^0.9 || ^1.0", + "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", + "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" }, "suggest": { - "php-parallel-lint/php-console-highlighter": "Highlight syntax in code snippet" + "symfony/var-dumper": "Pretty print complex values better with var-dumper available", + "whoops/soap": "Formats errors as SOAP responses" }, - "bin": [ - "parallel-lint" - ], "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.7-dev" + } + }, "autoload": { - "classmap": [ - "./src/" - ] + "psr-4": { + "Whoops\\": "src/Whoops/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-2-Clause" + "MIT" ], "authors": [ { - "name": "Jakub Onderka", - "email": "ahoj@jakubonderka.cz" + "name": "Filipe Dobreira", + "homepage": "https://github.com/filp", + "role": "Developer" } ], - "description": "This tool check syntax of PHP files about 20x faster than serial check.", - "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint", + "description": "php error handling for cool kids", + "homepage": "https://filp.github.io/whoops/", + "keywords": [ + "error", + "exception", + "handling", + "library", + "throwable", + "whoops" + ], "support": { - "issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues", - "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.3.2" + "issues": "https://github.com/filp/whoops/issues", + "source": "https://github.com/filp/whoops/tree/2.15.4" }, - "time": "2022-02-21T12:50:22+00:00" + "funding": [ + { + "url": "https://github.com/denis-sokolov", + "type": "github" + } + ], + "time": "2023-11-03T12:00:00+00:00" }, { - "name": "php-stubs/wordpress-stubs", - "version": "v6.3.0", + "name": "hamcrest/hamcrest-php", + "version": "v2.0.1", "source": { "type": "git", - "url": "https://github.com/php-stubs/wordpress-stubs.git", - "reference": "adda7609e71d5f4dc7b87c74f8ec9e3437d2e92c" + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/adda7609e71d5f4dc7b87c74f8ec9e3437d2e92c", - "reference": "adda7609e71d5f4dc7b87c74f8ec9e3437d2e92c", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", "shasum": "" }, - "require-dev": { - "nikic/php-parser": "^4.13", - "php": "^7.4 || ~8.0.0", - "php-stubs/generator": "^0.8.3", - "phpdocumentor/reflection-docblock": "^5.3", - "phpstan/phpstan": "^1.10.12", - "phpunit/phpunit": "^9.5" + "require": { + "php": "^5.3|^7.0|^8.0" }, - "suggest": { - "paragonie/sodium_compat": "Pure PHP implementation of libsodium", - "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan" + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "^1.4 || ^2.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "classmap": [ + "hamcrest" + ] + }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], - "description": "WordPress function and class declaration stubs for static analysis.", - "homepage": "https://github.com/php-stubs/wordpress-stubs", + "description": "This is the PHP port of Hamcrest Matchers", "keywords": [ - "PHPStan", - "static analysis", - "wordpress" + "test" ], "support": { - "issues": "https://github.com/php-stubs/wordpress-stubs/issues", - "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.3.0" + "issues": "https://github.com/hamcrest/hamcrest-php/issues", + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" }, - "time": "2023-08-10T16:34:11+00:00" + "time": "2020-07-09T08:09:16+00:00" }, { - "name": "php-stubs/wp-cli-stubs", - "version": "v2.8.0", + "name": "json-mapper/json-mapper", + "version": "2.22.0", "source": { "type": "git", - "url": "https://github.com/php-stubs/wp-cli-stubs.git", - "reference": "5a4fce1430c5d59f8d8a5f0ab573930139b0279b" + "url": "https://github.com/JsonMapper/JsonMapper.git", + "reference": "6ad28693169ccd7b09ac9c282b562a90f428a7ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-stubs/wp-cli-stubs/zipball/5a4fce1430c5d59f8d8a5f0ab573930139b0279b", - "reference": "5a4fce1430c5d59f8d8a5f0ab573930139b0279b", + "url": "https://api.github.com/repos/JsonMapper/JsonMapper/zipball/6ad28693169ccd7b09ac9c282b562a90f428a7ea", + "reference": "6ad28693169ccd7b09ac9c282b562a90f428a7ea", "shasum": "" }, "require": { - "php-stubs/wordpress-stubs": "^4.7 || ^5.0 || ^6.0" + "ext-json": "*", + "myclabs/php-enum": "^1.7", + "nikic/php-parser": "^4.13", + "php": "^7.1 || ^8.0", + "psr/log": "^1.1 || ^2.0 || ^3.0", + "psr/simple-cache": " ^1.0 || ^2.0 || ^3.0", + "symfony/cache": "^4.4 || ^5.0 || ^6.0", + "symfony/polyfill-php73": "^1.18" }, "require-dev": { - "php": "~7.3 || ~8.0", - "php-stubs/generator": "^0.8.0" + "guzzlehttp/guzzle": "^6.5 || ^7.0", + "php-coveralls/php-coveralls": "^2.4", + "phpstan/phpstan": "^0.12.14", + "phpstan/phpstan-phpunit": "^0.12.17", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.0", + "squizlabs/php_codesniffer": "^3.5", + "symfony/console": "^2.1 || ^3.0 || ^4.0 || ^5.0", + "vimeo/psalm": "^4.10 || ^5.0" }, "suggest": { - "symfony/polyfill-php73": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan" + "json-mapper/laravel-package": "Use JsonMapper directly with Laravel", + "json-mapper/symfony-bundle": "Use JsonMapper directly with Symfony" }, "type": "library", + "autoload": { + "psr-4": { + "JsonMapper\\": "src/" + } + }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "WP-CLI function and class declaration stubs for static analysis.", - "homepage": "https://github.com/php-stubs/wp-cli-stubs", + "description": "Map JSON structures to PHP classes", + "homepage": "https://jsonmapper.net", "keywords": [ - "PHPStan", - "static analysis", - "wordpress", - "wp-cli" + "json", + "jsonmapper", + "mapper", + "middleware" ], "support": { - "issues": "https://github.com/php-stubs/wp-cli-stubs/issues", - "source": "https://github.com/php-stubs/wp-cli-stubs/tree/v2.8.0" + "docs": "https://jsonmapper.net", + "issues": "https://github.com/JsonMapper/JsonMapper/issues", + "source": "https://github.com/JsonMapper/JsonMapper" + }, + "funding": [ + { + "url": "https://github.com/DannyvdSluijs", + "type": "github" + } + ], + "time": "2024-03-05T08:44:51+00:00" + }, + { + "name": "justinrainbow/json-schema", + "version": "v5.2.13", + "source": { + "type": "git", + "url": "https://github.com/justinrainbow/json-schema.git", + "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/fbbe7e5d79f618997bc3332a6f49246036c45793", + "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1", + "json-schema/json-schema-test-suite": "1.2.0", + "phpunit/phpunit": "^4.8.35" + }, + "bin": [ + "bin/validate-json" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "JsonSchema\\": "src/JsonSchema/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bruno Prieto Reis", + "email": "bruno.p.reis@gmail.com" + }, + { + "name": "Justin Rainbow", + "email": "justin.rainbow@gmail.com" + }, + { + "name": "Igor Wiedler", + "email": "igor@wiedler.ch" + }, + { + "name": "Robert Schönthal", + "email": "seroscho@googlemail.com" + } + ], + "description": "A library to validate a json schema.", + "homepage": "https://github.com/justinrainbow/json-schema", + "keywords": [ + "json", + "schema" + ], + "support": { + "issues": "https://github.com/justinrainbow/json-schema/issues", + "source": "https://github.com/justinrainbow/json-schema/tree/v5.2.13" + }, + "time": "2023-09-26T02:20:38+00:00" + }, + { + "name": "league/flysystem", + "version": "2.5.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "8aaffb653c5777781b0f7f69a5d937baf7ab6cdb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/8aaffb653c5777781b0f7f69a5d937baf7ab6cdb", + "reference": "8aaffb653c5777781b0f7f69a5d937baf7ab6cdb", + "shasum": "" + }, + "require": { + "ext-json": "*", + "league/mime-type-detection": "^1.0.0", + "php": "^7.2 || ^8.0" + }, + "conflict": { + "guzzlehttp/ringphp": "<1.1.1" + }, + "require-dev": { + "async-aws/s3": "^1.5", + "async-aws/simple-s3": "^1.0", + "aws/aws-sdk-php": "^3.132.4", + "composer/semver": "^3.0", + "ext-fileinfo": "*", + "ext-ftp": "*", + "friendsofphp/php-cs-fixer": "^3.2", + "google/cloud-storage": "^1.23", + "phpseclib/phpseclib": "^2.0", + "phpstan/phpstan": "^0.12.26", + "phpunit/phpunit": "^8.5 || ^9.4", + "sabre/dav": "^4.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "File storage abstraction for PHP", + "keywords": [ + "WebDAV", + "aws", + "cloud", + "file", + "files", + "filesystem", + "filesystems", + "ftp", + "s3", + "sftp", + "storage" + ], + "support": { + "issues": "https://github.com/thephpleague/flysystem/issues", + "source": "https://github.com/thephpleague/flysystem/tree/2.5.0" + }, + "funding": [ + { + "url": "https://ecologi.com/frankdejonge", + "type": "custom" + }, + { + "url": "https://github.com/frankdejonge", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "type": "tidelift" + } + ], + "time": "2022-09-17T21:02:32+00:00" + }, + { + "name": "league/mime-type-detection", + "version": "1.15.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/mime-type-detection.git", + "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", + "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.2", + "phpstan/phpstan": "^0.12.68", + "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\MimeTypeDetection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Mime-type detection for Flysystem", + "support": { + "issues": "https://github.com/thephpleague/mime-type-detection/issues", + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.15.0" + }, + "funding": [ + { + "url": "https://github.com/frankdejonge", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "type": "tidelift" + } + ], + "time": "2024-01-28T23:22:08+00:00" + }, + { + "name": "mockery/mockery", + "version": "1.6.11", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "81a161d0b135df89951abd52296adf97deb0723d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/81a161d0b135df89951abd52296adf97deb0723d", + "reference": "81a161d0b135df89951abd52296adf97deb0723d", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "^2.0.1", + "lib-pcre": ">=7.0", + "php": ">=7.3" + }, + "conflict": { + "phpunit/phpunit": "<8.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.5 || ^9.6.17", + "symplify/easy-coding-standard": "^12.1.14" + }, + "type": "library", + "autoload": { + "files": [ + "library/helpers.php", + "library/Mockery.php" + ], + "psr-4": { + "Mockery\\": "library/Mockery" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "https://github.com/padraic", + "role": "Author" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "https://davedevelopment.co.uk", + "role": "Developer" + }, + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Lead Developer" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "support": { + "docs": "https://docs.mockery.io/", + "issues": "https://github.com/mockery/mockery/issues", + "rss": "https://github.com/mockery/mockery/releases.atom", + "security": "https://github.com/mockery/mockery/security/advisories", + "source": "https://github.com/mockery/mockery" + }, + "time": "2024-03-21T18:34:15+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.11.1", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" + }, + "require-dev": { + "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": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } }, - "time": "2023-06-02T09:21:15+00:00" + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2023-03-08T13:26:56+00:00" + }, + { + "name": "myclabs/php-enum", + "version": "1.8.4", + "source": { + "type": "git", + "url": "https://github.com/myclabs/php-enum.git", + "reference": "a867478eae49c9f59ece437ae7f9506bfaa27483" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/php-enum/zipball/a867478eae49c9f59ece437ae7f9506bfaa27483", + "reference": "a867478eae49c9f59ece437ae7f9506bfaa27483", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^7.3 || ^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.5", + "squizlabs/php_codesniffer": "1.*", + "vimeo/psalm": "^4.6.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "MyCLabs\\Enum\\": "src/" + }, + "classmap": [ + "stubs/Stringable.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP Enum contributors", + "homepage": "https://github.com/myclabs/php-enum/graphs/contributors" + } + ], + "description": "PHP Enum implementation", + "homepage": "http://github.com/myclabs/php-enum", + "keywords": [ + "enum" + ], + "support": { + "issues": "https://github.com/myclabs/php-enum/issues", + "source": "https://github.com/myclabs/php-enum/tree/1.8.4" + }, + "funding": [ + { + "url": "https://github.com/mnapoli", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/php-enum", + "type": "tidelift" + } + ], + "time": "2022-08-04T09:53:51+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.19.1", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "4e1b88d21c69391150ace211e9eaf05810858d0b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4e1b88d21c69391150ace211e9eaf05810858d0b", + "reference": "4e1b88d21c69391150ace211e9eaf05810858d0b", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.1" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.19.1" + }, + "time": "2024-03-17T08:10:35+00:00" + }, + { + "name": "nunomaduro/collision", + "version": "v5.11.0", + "source": { + "type": "git", + "url": "https://github.com/nunomaduro/collision.git", + "reference": "8b610eef8582ccdc05d8f2ab23305e2d37049461" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/8b610eef8582ccdc05d8f2ab23305e2d37049461", + "reference": "8b610eef8582ccdc05d8f2ab23305e2d37049461", + "shasum": "" + }, + "require": { + "facade/ignition-contracts": "^1.0", + "filp/whoops": "^2.14.3", + "php": "^7.3 || ^8.0", + "symfony/console": "^5.0" + }, + "require-dev": { + "brianium/paratest": "^6.1", + "fideloper/proxy": "^4.4.1", + "fruitcake/laravel-cors": "^2.0.3", + "laravel/framework": "8.x-dev", + "nunomaduro/larastan": "^0.6.2", + "nunomaduro/mock-final-classes": "^1.0", + "orchestra/testbench": "^6.0", + "phpstan/phpstan": "^0.12.64", + "phpunit/phpunit": "^9.5.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "NunoMaduro\\Collision\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Cli error handling for console/command-line PHP applications.", + "keywords": [ + "artisan", + "cli", + "command-line", + "console", + "error", + "handling", + "laravel", + "laravel-zero", + "php", + "symfony" + ], + "support": { + "issues": "https://github.com/nunomaduro/collision/issues", + "source": "https://github.com/nunomaduro/collision" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://www.patreon.com/nunomaduro", + "type": "patreon" + } + ], + "time": "2022-01-10T16:22:52+00:00" + }, + { + "name": "pestphp/pest", + "version": "v1.23.1", + "source": { + "type": "git", + "url": "https://github.com/pestphp/pest.git", + "reference": "5c56ad8772b89611c72a07e23f6e30aa29dc677a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pestphp/pest/zipball/5c56ad8772b89611c72a07e23f6e30aa29dc677a", + "reference": "5c56ad8772b89611c72a07e23f6e30aa29dc677a", + "shasum": "" + }, + "require": { + "nunomaduro/collision": "^5.11.0|^6.4.0", + "pestphp/pest-plugin": "^1.1.0", + "php": "^7.3 || ^8.0", + "phpunit/phpunit": "^9.6.10" + }, + "require-dev": { + "illuminate/console": "^8.83.27", + "illuminate/support": "^8.83.27", + "laravel/dusk": "^6.25.2", + "pestphp/pest-dev-tools": "^1.0.0", + "pestphp/pest-plugin-parallel": "^1.2.1" + }, + "bin": [ + "bin/pest" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev" + }, + "pest": { + "plugins": [ + "Pest\\Plugins\\Coverage", + "Pest\\Plugins\\Init", + "Pest\\Plugins\\Version", + "Pest\\Plugins\\Environment" + ] + }, + "laravel": { + "providers": [ + "Pest\\Laravel\\PestServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "src/Functions.php", + "src/Pest.php" + ], + "psr-4": { + "Pest\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "An elegant PHP Testing Framework.", + "keywords": [ + "framework", + "pest", + "php", + "test", + "testing", + "unit" + ], + "support": { + "issues": "https://github.com/pestphp/pest/issues", + "source": "https://github.com/pestphp/pest/tree/v1.23.1" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + } + ], + "time": "2023-07-12T19:42:47+00:00" + }, + { + "name": "pestphp/pest-plugin", + "version": "v1.1.0", + "source": { + "type": "git", + "url": "https://github.com/pestphp/pest-plugin.git", + "reference": "606c5f79c6a339b49838ffbee0151ca519efe378" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pestphp/pest-plugin/zipball/606c5f79c6a339b49838ffbee0151ca519efe378", + "reference": "606c5f79c6a339b49838ffbee0151ca519efe378", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.1.0 || ^2.0.0", + "php": "^7.3 || ^8.0" + }, + "conflict": { + "pestphp/pest": "<1.0" + }, + "require-dev": { + "composer/composer": "^2.4.2", + "pestphp/pest": "^1.22.1", + "pestphp/pest-dev-tools": "^1.0.0" + }, + "type": "composer-plugin", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + }, + "class": "Pest\\Plugin\\Manager" + }, + "autoload": { + "psr-4": { + "Pest\\Plugin\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "The Pest plugin manager", + "keywords": [ + "framework", + "manager", + "pest", + "php", + "plugin", + "test", + "testing", + "unit" + ], + "support": { + "source": "https://github.com/pestphp/pest-plugin/tree/v1.1.0" + }, + "funding": [ + { + "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://www.patreon.com/nunomaduro", + "type": "patreon" + } + ], + "time": "2022-09-18T13:18:17+00:00" + }, + { + "name": "phar-io/manifest", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "54750ef60c58e43759730615a392c31c80e23176" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176", + "reference": "54750ef60c58e43759730615a392c31c80e23176", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "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/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:33:53+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "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.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, + { + "name": "php-parallel-lint/php-parallel-lint", + "version": "v1.4.0", + "source": { + "type": "git", + "url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git", + "reference": "6db563514f27e19595a19f45a4bf757b6401194e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/6db563514f27e19595a19f45a4bf757b6401194e", + "reference": "6db563514f27e19595a19f45a4bf757b6401194e", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": ">=5.3.0" + }, + "replace": { + "grogy/php-parallel-lint": "*", + "jakub-onderka/php-parallel-lint": "*" + }, + "require-dev": { + "nette/tester": "^1.3 || ^2.0", + "php-parallel-lint/php-console-highlighter": "0.* || ^1.0", + "squizlabs/php_codesniffer": "^3.6" + }, + "suggest": { + "php-parallel-lint/php-console-highlighter": "Highlight syntax in code snippet" + }, + "bin": [ + "parallel-lint" + ], + "type": "library", + "autoload": { + "classmap": [ + "./src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Jakub Onderka", + "email": "ahoj@jakubonderka.cz" + } + ], + "description": "This tool checks the syntax of PHP files about 20x faster than serial check.", + "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint", + "keywords": [ + "lint", + "static analysis" + ], + "support": { + "issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues", + "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.4.0" + }, + "time": "2024-03-27T12:14:49+00:00" + }, + { + "name": "php-stubs/wordpress-stubs", + "version": "v6.5.2", + "source": { + "type": "git", + "url": "https://github.com/php-stubs/wordpress-stubs.git", + "reference": "379f17a90c01498d4c99a0d15aab6e7aa6a2c840" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/379f17a90c01498d4c99a0d15aab6e7aa6a2c840", + "reference": "379f17a90c01498d4c99a0d15aab6e7aa6a2c840", + "shasum": "" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", + "nikic/php-parser": "^4.13", + "php": "^7.4 || ~8.0.0", + "php-stubs/generator": "^0.8.3", + "phpdocumentor/reflection-docblock": "5.3", + "phpstan/phpstan": "^1.10.49", + "phpunit/phpunit": "^9.5", + "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^0.11" + }, + "suggest": { + "paragonie/sodium_compat": "Pure PHP implementation of libsodium", + "symfony/polyfill-php80": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan" + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "WordPress function and class declaration stubs for static analysis.", + "homepage": "https://github.com/php-stubs/wordpress-stubs", + "keywords": [ + "PHPStan", + "static analysis", + "wordpress" + ], + "support": { + "issues": "https://github.com/php-stubs/wordpress-stubs/issues", + "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.5.2" + }, + "time": "2024-04-14T17:30:14+00:00" + }, + { + "name": "php-stubs/wp-cli-stubs", + "version": "v2.10.0", + "source": { + "type": "git", + "url": "https://github.com/php-stubs/wp-cli-stubs.git", + "reference": "fbd7ff47393c9478e0f557d0b4caadaed20986fb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-stubs/wp-cli-stubs/zipball/fbd7ff47393c9478e0f557d0b4caadaed20986fb", + "reference": "fbd7ff47393c9478e0f557d0b4caadaed20986fb", + "shasum": "" + }, + "require": { + "php-stubs/wordpress-stubs": "^4.7 || ^5.0 || ^6.0" + }, + "require-dev": { + "php": "~7.3 || ~8.0", + "php-stubs/generator": "^0.8.0" + }, + "suggest": { + "symfony/polyfill-php73": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan" + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "WP-CLI function and class declaration stubs for static analysis.", + "homepage": "https://github.com/php-stubs/wp-cli-stubs", + "keywords": [ + "PHPStan", + "static analysis", + "wordpress", + "wp-cli" + ], + "support": { + "issues": "https://github.com/php-stubs/wp-cli-stubs/issues", + "source": "https://github.com/php-stubs/wp-cli-stubs/tree/v2.10.0" + }, + "time": "2024-02-09T02:10:10+00:00" + }, + { + "name": "phpcompatibility/php-compatibility", + "version": "9.3.5", + "source": { + "type": "git", + "url": "https://github.com/PHPCompatibility/PHPCompatibility.git", + "reference": "9fb324479acf6f39452e0655d2429cc0d3914243" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243", + "reference": "9fb324479acf6f39452e0655d2429cc0d3914243", + "shasum": "" + }, + "require": { + "php": ">=5.3", + "squizlabs/php_codesniffer": "^2.3 || ^3.0.2" + }, + "conflict": { + "squizlabs/php_codesniffer": "2.6.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.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": "phpcodesniffer-standard", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "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" + } + ], + "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" + ], + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibility" + }, + "time": "2019-12-27T09:44:58+00:00" + }, + { + "name": "phpcompatibility/phpcompatibility-paragonie", + "version": "1.3.2", + "source": { + "type": "git", + "url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git", + "reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/bba5a9dfec7fcfbd679cfaf611d86b4d3759da26", + "reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26", + "shasum": "" + }, + "require": { + "phpcompatibility/php-compatibility": "^9.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7", + "paragonie/random_compat": "dev-master", + "paragonie/sodium_compat": "dev-master" + }, + "suggest": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", + "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." + }, + "type": "phpcodesniffer-standard", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Wim Godden", + "role": "lead" + }, + { + "name": "Juliette Reinders Folmer", + "role": "lead" + } + ], + "description": "A set of rulesets for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by the Paragonie polyfill libraries.", + "homepage": "http://phpcompatibility.com/", + "keywords": [ + "compatibility", + "paragonie", + "phpcs", + "polyfill", + "standards", + "static analysis" + ], + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie" + }, + "time": "2022-10-25T01:46:02+00:00" + }, + { + "name": "phpcompatibility/phpcompatibility-wp", + "version": "2.1.4", + "source": { + "type": "git", + "url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git", + "reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5", + "reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5", + "shasum": "" + }, + "require": { + "phpcompatibility/php-compatibility": "^9.0", + "phpcompatibility/phpcompatibility-paragonie": "^1.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7" + }, + "suggest": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", + "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." + }, + "type": "phpcodesniffer-standard", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Wim Godden", + "role": "lead" + }, + { + "name": "Juliette Reinders Folmer", + "role": "lead" + } + ], + "description": "A ruleset for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.", + "homepage": "http://phpcompatibility.com/", + "keywords": [ + "compatibility", + "phpcs", + "standards", + "static analysis", + "wordpress" + ], + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibilityWP" + }, + "time": "2022-10-24T09:00:36+00:00" + }, + { + "name": "phpstan/phpdoc-parser", + "version": "0.4.9", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "98a088b17966bdf6ee25c8a4b634df313d8aa531" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/98a088b17966bdf6ee25c8a4b634df313d8aa531", + "reference": "98a088b17966bdf6ee25c8a4b634df313d8aa531", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "consistence/coding-standard": "^3.5", + "ergebnis/composer-normalize": "^2.0.2", + "jakub-onderka/php-parallel-lint": "^0.9.2", + "phing/phing": "^2.16.0", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.26", + "phpstan/phpstan-strict-rules": "^0.12", + "phpunit/phpunit": "^6.3", + "slevomat/coding-standard": "^4.7.2", + "symfony/process": "^4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.4-dev" + } + }, + "autoload": { + "psr-4": { + "PHPStan\\PhpDocParser\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPDoc parser with support for nullable, intersection and generic types", + "support": { + "issues": "https://github.com/phpstan/phpdoc-parser/issues", + "source": "https://github.com/phpstan/phpdoc-parser/tree/master" + }, + "time": "2020-08-03T20:32:43+00:00" + }, + { + "name": "phpstan/phpstan", + "version": "1.10.67", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "16ddbe776f10da6a95ebd25de7c1dbed397dc493" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/16ddbe776f10da6a95ebd25de7c1dbed397dc493", + "reference": "16ddbe776f10da6a95ebd25de7c1dbed397dc493", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0" + }, + "conflict": { + "phpstan/phpstan-shim": "*" + }, + "bin": [ + "phpstan", + "phpstan.phar" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "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", + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://github.com/phpstan", + "type": "github" + } + ], + "time": "2024-04-16T07:22:02+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "9.2.31", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/48c34b5d8d983006bd2adc2d0de92963b9155965", + "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.18 || ^5.0", + "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": "^9.3" + }, + "suggest": { + "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": "9.2-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 that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.31" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-02T06:37:42+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "3.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.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": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-12-02T12:48:52+00:00" + }, + { + "name": "phpunit/php-invoker", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcntl": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:58:55+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "shasum": "" + }, + "require": { + "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": "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/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T05:33:50+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.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": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:16:10+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "9.6.19", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "a1a54a473501ef4cdeaae4e06891674114d79db8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a1a54a473501ef4cdeaae4e06891674114d79db8", + "reference": "a1a54a473501ef4cdeaae4e06891674114d79db8", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.3.1 || ^2", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=7.3", + "phpunit/php-code-coverage": "^9.2.28", + "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": "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" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.6-dev" + } + }, + "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.19" + }, + "funding": [ + { + "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": "2024-04-05T04:35:58+00:00" }, { - "name": "phpcompatibility/php-compatibility", - "version": "9.3.5", + "name": "psr/cache", + "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/PHPCompatibility/PHPCompatibility.git", - "reference": "9fb324479acf6f39452e0655d2429cc0d3914243" + "url": "https://github.com/php-fig/cache.git", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243", - "reference": "9fb324479acf6f39452e0655d2429cc0d3914243", + "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", "shasum": "" }, "require": { - "php": ">=5.3", - "squizlabs/php_codesniffer": "^2.3 || ^3.0.2" - }, - "conflict": { - "squizlabs/php_codesniffer": "2.6.2" + "php": ">=5.3.0" }, - "require-dev": { - "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0" + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } }, - "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." + "autoload": { + "psr-4": { + "Psr\\Cache\\": "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": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.", - "homepage": "http://techblog.wimgodden.be/tag/codesniffer/", + "description": "Common interface for caching libraries", "keywords": [ - "compatibility", - "phpcs", - "standards" + "cache", + "psr", + "psr-6" ], "support": { - "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues", - "source": "https://github.com/PHPCompatibility/PHPCompatibility" + "source": "https://github.com/php-fig/cache/tree/master" }, - "time": "2019-12-27T09:44:58+00:00" + "time": "2016-08-06T20:24:11+00:00" }, { - "name": "phpcompatibility/phpcompatibility-paragonie", - "version": "1.3.2", + "name": "psr/container", + "version": "1.1.2", "source": { "type": "git", - "url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git", - "reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26" + "url": "https://github.com/php-fig/container.git", + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/bba5a9dfec7fcfbd679cfaf611d86b4d3759da26", - "reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26", + "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", "shasum": "" }, "require": { - "phpcompatibility/php-compatibility": "^9.0" - }, - "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7", - "paragonie/random_compat": "dev-master", - "paragonie/sodium_compat": "dev-master" + "php": ">=7.4.0" }, - "suggest": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", - "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." + "type": "library", + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } }, - "type": "phpcodesniffer-standard", "notification-url": "https://packagist.org/downloads/", "license": [ - "LGPL-3.0-or-later" + "MIT" ], "authors": [ { - "name": "Wim Godden", - "role": "lead" - }, - { - "name": "Juliette Reinders Folmer", - "role": "lead" + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], - "description": "A set of rulesets for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by the Paragonie polyfill libraries.", - "homepage": "http://phpcompatibility.com/", + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", "keywords": [ - "compatibility", - "paragonie", - "phpcs", - "polyfill", - "standards", - "static analysis" + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" ], "support": { - "issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues", - "source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie" + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/1.1.2" }, - "time": "2022-10-25T01:46:02+00:00" + "time": "2021-11-05T16:50:12+00:00" }, { - "name": "phpcompatibility/phpcompatibility-wp", - "version": "2.1.4", + "name": "psr/log", + "version": "1.1.4", "source": { "type": "git", - "url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git", - "reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5" + "url": "https://github.com/php-fig/log.git", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5", - "reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5", + "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11", "shasum": "" }, "require": { - "phpcompatibility/php-compatibility": "^9.0", - "phpcompatibility/phpcompatibility-paragonie": "^1.0" + "php": ">=5.3.0" }, - "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7" + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } }, - "suggest": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", - "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } }, - "type": "phpcodesniffer-standard", "notification-url": "https://packagist.org/downloads/", "license": [ - "LGPL-3.0-or-later" + "MIT" ], "authors": [ { - "name": "Wim Godden", - "role": "lead" - }, - { - "name": "Juliette Reinders Folmer", - "role": "lead" + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], - "description": "A ruleset for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.", - "homepage": "http://phpcompatibility.com/", + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", "keywords": [ - "compatibility", - "phpcs", - "standards", - "static analysis", - "wordpress" + "log", + "psr", + "psr-3" ], "support": { - "issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues", - "source": "https://github.com/PHPCompatibility/PHPCompatibilityWP" + "source": "https://github.com/php-fig/log/tree/1.1.4" }, - "time": "2022-10-24T09:00:36+00:00" + "time": "2021-05-03T11:20:27+00:00" }, { - "name": "phpstan/phpdoc-parser", - "version": "0.4.9", + "name": "psr/simple-cache", + "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "98a088b17966bdf6ee25c8a4b634df313d8aa531" + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/98a088b17966bdf6ee25c8a4b634df313d8aa531", - "reference": "98a088b17966bdf6ee25c8a4b634df313d8aa531", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "consistence/coding-standard": "^3.5", - "ergebnis/composer-normalize": "^2.0.2", - "jakub-onderka/php-parallel-lint": "^0.9.2", - "phing/phing": "^2.16.0", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12.26", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^6.3", - "slevomat/coding-standard": "^4.7.2", - "symfony/process": "^4.0" + "php": ">=5.3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.4-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { "psr-4": { - "PHPStan\\PhpDocParser\\": [ - "src/" - ] + "Psr\\SimpleCache\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "PHPDoc parser with support for nullable, intersection and generic types", + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], "support": { - "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/master" + "source": "https://github.com/php-fig/simple-cache/tree/master" }, - "time": "2020-08-03T20:32:43+00:00" + "time": "2017-10-23T01:57:42+00:00" }, { - "name": "phpstan/phpstan", - "version": "1.10.29", + "name": "react/promise", + "version": "v3.1.0", "source": { "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "ee5d8f2d3977fb09e55603eee6fb53bdd76ee9c1" + "url": "https://github.com/reactphp/promise.git", + "reference": "e563d55d1641de1dea9f5e84f3cccc66d2bfe02c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ee5d8f2d3977fb09e55603eee6fb53bdd76ee9c1", - "reference": "ee5d8f2d3977fb09e55603eee6fb53bdd76ee9c1", + "url": "https://api.github.com/repos/reactphp/promise/zipball/e563d55d1641de1dea9f5e84f3cccc66d2bfe02c", + "reference": "e563d55d1641de1dea9f5e84f3cccc66d2bfe02c", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": ">=7.1.0" }, - "conflict": { - "phpstan/phpstan-shim": "*" + "require-dev": { + "phpstan/phpstan": "1.10.39 || 1.4.10", + "phpunit/phpunit": "^9.6 || ^7.5" }, - "bin": [ - "phpstan", - "phpstan.phar" - ], "type": "library", "autoload": { "files": [ - "bootstrap.php" - ] + "src/functions_include.php" + ], + "psr-4": { + "React\\Promise\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "PHPStan - PHP Static Analysis Tool", + "authors": [ + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "A lightweight implementation of CommonJS Promises/A for PHP", "keywords": [ - "dev", - "static analysis" + "promise", + "promises" ], "support": { - "docs": "https://phpstan.org/user-guide/getting-started", - "forum": "https://github.com/phpstan/phpstan/discussions", - "issues": "https://github.com/phpstan/phpstan/issues", - "security": "https://github.com/phpstan/phpstan/security/policy", - "source": "https://github.com/phpstan/phpstan-src" + "issues": "https://github.com/reactphp/promise/issues", + "source": "https://github.com/reactphp/promise/tree/v3.1.0" }, "funding": [ { - "url": "https://github.com/ondrejmirtes", - "type": "github" - }, - { - "url": "https://github.com/phpstan", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" + "url": "https://opencollective.com/reactphp", + "type": "open_collective" } ], - "time": "2023-08-14T13:24:11+00:00" + "time": "2023-11-16T16:21:57+00:00" }, { - "name": "phpunit/php-code-coverage", - "version": "9.2.27", + "name": "sebastian/cli-parser", + "version": "1.0.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/b0a88255cb70d52653d80c890bd7f38740ea50d1", - "reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-libxml": "*", - "ext-xmlwriter": "*", - "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" + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/2b56bea83a09de3ac06bb18b92f068e60cc6f50b", + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b", + "shasum": "" + }, + "require": { + "php": ">=7.3" }, "require-dev": { "phpunit/phpunit": "^9.3" }, - "suggest": { - "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": "9.2-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -2065,17 +3785,11 @@ "role": "lead" } ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": [ - "coverage", - "testing", - "xunit" - ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { - "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.27" + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.2" }, "funding": [ { @@ -2083,20 +3797,20 @@ "type": "github" } ], - "time": "2023-07-26T13:44:30+00:00" + "time": "2024-03-02T06:27:43+00:00" }, { - "name": "phpunit/php-file-iterator", - "version": "3.0.6", + "name": "sebastian/code-unit", + "version": "1.0.8", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", "shasum": "" }, "require": { @@ -2108,7 +3822,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -2127,15 +3841,11 @@ "role": "lead" } ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": [ - "filesystem", - "iterator" - ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { - "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" }, "funding": [ { @@ -2143,36 +3853,32 @@ "type": "github" } ], - "time": "2021-12-02T12:48:52+00:00" + "time": "2020-10-26T13:08:54+00:00" }, { - "name": "phpunit/php-invoker", - "version": "3.1.1", + "name": "sebastian/code-unit-reverse-lookup", + "version": "2.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", "shasum": "" }, "require": { "php": ">=7.3" }, "require-dev": { - "ext-pcntl": "*", "phpunit/phpunit": "^9.3" }, - "suggest": { - "ext-pcntl": "*" - }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -2187,18 +3893,14 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" } ], - "description": "Invoke callables with a timeout", - "homepage": "https://github.com/sebastianbergmann/php-invoker/", - "keywords": [ - "process" - ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { - "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" }, "funding": [ { @@ -2206,24 +3908,26 @@ "type": "github" } ], - "time": "2020-09-28T05:58:55+00:00" + "time": "2020-09-28T05:30:19+00:00" }, { - "name": "phpunit/php-text-template", - "version": "2.0.4", + "name": "sebastian/comparator", + "version": "4.0.8", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" }, "require-dev": { "phpunit/phpunit": "^9.3" @@ -2231,7 +3935,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2246,18 +3950,31 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" } ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", "keywords": [ - "template" + "comparator", + "compare", + "equality" ], "support": { - "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" }, "funding": [ { @@ -2265,23 +3982,24 @@ "type": "github" } ], - "time": "2020-10-26T05:33:50+00:00" + "time": "2022-09-14T12:41:17+00:00" }, { - "name": "phpunit/php-timer", - "version": "5.0.3", + "name": "sebastian/complexity", + "version": "2.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", "shasum": "" }, "require": { + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3" }, "require-dev": { @@ -2290,7 +4008,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -2309,14 +4027,11 @@ "role": "lead" } ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": [ - "timer" - ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", "support": { - "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" }, "funding": [ { @@ -2324,68 +4039,36 @@ "type": "github" } ], - "time": "2020-10-26T13:16:10+00:00" + "time": "2023-12-22T06:19:30+00:00" }, { - "name": "phpunit/phpunit", - "version": "9.6.10", + "name": "sebastian/diff", + "version": "4.0.6", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "a6d351645c3fe5a30f5e86be6577d946af65a328" + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a6d351645c3fe5a30f5e86be6577d946af65a328", - "reference": "a6d351645c3fe5a30f5e86be6577d946af65a328", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc", + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1 || ^2", - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-xml": "*", - "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.3", - "phar-io/version": "^3.0.2", - "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" + "php": ">=7.3" }, - "suggest": { - "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" + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" }, - "bin": [ - "phpunit" - ], "type": "library", "extra": { "branch-alias": { - "dev-master": "9.6-dev" + "dev-master": "4.0-dev" } }, "autoload": { - "files": [ - "src/Framework/Assert/Functions.php" - ], "classmap": [ "src/" ] @@ -2397,165 +4080,203 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" } ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", "keywords": [ - "phpunit", - "testing", - "xunit" + "diff", + "udiff", + "unidiff", + "unified diff" ], "support": { - "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.10" + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.6" }, "funding": [ - { - "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": "2023-07-10T04:04:23+00:00" + "time": "2024-03-02T06:30:58+00:00" }, { - "name": "psr/container", - "version": "2.0.2", + "name": "sebastian/environment", + "version": "5.1.5", "source": { "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", "shasum": "" }, "require": { - "php": ">=7.4.0" + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-posix": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "5.1-dev" } }, "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" } ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" + "Xdebug", + "environment", + "hhvm" ], "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" }, - "time": "2021-11-05T16:47:00+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:03:51+00:00" }, { - "name": "psr/log", - "version": "3.0.0", + "name": "sebastian/exporter", + "version": "4.0.6", "source": { "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/78c00df8f170e02473b682df15bfcdacc3d32d72", + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72", "shasum": "" }, "require": { - "php": ">=8.0.0" + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.x-dev" + "dev-master": "4.0-dev" } }, "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" } ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "https://www.github.com/sebastianbergmann/exporter", "keywords": [ - "log", - "psr", - "psr-3" + "export", + "exporter" ], "support": { - "source": "https://github.com/php-fig/log/tree/3.0.0" + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.6" }, - "time": "2021-07-14T16:46:02+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-02T06:33:00+00:00" }, { - "name": "sebastian/cli-parser", - "version": "1.0.1", + "name": "sebastian/global-state", + "version": "5.0.7", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", "shasum": "" }, "require": { - "php": ">=7.3" + "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": { - "dev-master": "1.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -2570,15 +4291,17 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" } ], - "description": "Library for parsing CLI options", - "homepage": "https://github.com/sebastianbergmann/cli-parser", + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], "support": { - "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.7" }, "funding": [ { @@ -2586,23 +4309,24 @@ "type": "github" } ], - "time": "2020-09-28T06:08:49+00:00" + "time": "2024-03-02T06:35:11+00:00" }, { - "name": "sebastian/code-unit", - "version": "1.0.8", + "name": "sebastian/lines-of-code", + "version": "1.0.4", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", "shasum": "" }, "require": { + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3" }, "require-dev": { @@ -2630,11 +4354,11 @@ "role": "lead" } ], - "description": "Collection of value objects that represent the PHP code units", - "homepage": "https://github.com/sebastianbergmann/code-unit", + "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/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" }, "funding": [ { @@ -2642,24 +4366,26 @@ "type": "github" } ], - "time": "2020-10-26T13:08:54+00:00" + "time": "2023-12-22T06:20:34+00:00" }, { - "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", + "name": "sebastian/object-enumerator", + "version": "4.0.4", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { "phpunit/phpunit": "^9.3" @@ -2667,7 +4393,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2685,11 +4411,11 @@ "email": "sebastian@phpunit.de" } ], - "description": "Looks up which function or method a line of code belongs to", - "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { - "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" }, "funding": [ { @@ -2697,26 +4423,24 @@ "type": "github" } ], - "time": "2020-09-28T05:30:19+00:00" + "time": "2020-10-26T13:12:34+00:00" }, { - "name": "sebastian/comparator", - "version": "4.0.8", + "name": "sebastian/object-reflector", + "version": "2.0.4", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a" + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" + "php": ">=7.3" }, "require-dev": { "phpunit/phpunit": "^9.3" @@ -2724,7 +4448,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -2740,30 +4464,13 @@ { "name": "Sebastian Bergmann", "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" } ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "https://github.com/sebastianbergmann/comparator", - "keywords": [ - "comparator", - "compare", - "equality" - ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { - "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" }, "funding": [ { @@ -2771,24 +4478,23 @@ "type": "github" } ], - "time": "2022-09-14T12:41:17+00:00" + "time": "2020-10-26T13:14:26+00:00" }, { - "name": "sebastian/complexity", - "version": "2.0.2", + "name": "sebastian/recursion-context", + "version": "4.0.5", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", "shasum": "" }, "require": { - "nikic/php-parser": "^4.7", "php": ">=7.3" }, "require-dev": { @@ -2797,7 +4503,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2812,15 +4518,22 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" } ], - "description": "Library for calculating the complexity of PHP code units", - "homepage": "https://github.com/sebastianbergmann/complexity", + "description": "Provides functionality to recursively process PHP variables", + "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { - "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" }, "funding": [ { @@ -2828,33 +4541,32 @@ "type": "github" } ], - "time": "2020-10-26T15:52:27+00:00" + "time": "2023-02-03T06:07:39+00:00" }, { - "name": "sebastian/diff", - "version": "4.0.5", + "name": "sebastian/resource-operations", + "version": "3.0.4", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/05d5692a7993ecccd56a03e40cd7e5b09b1d404e", + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e", "shasum": "" }, "require": { "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^9.3", - "symfony/process": "^4.2 || ^5" + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -2870,23 +4582,12 @@ { "name": "Sebastian Bergmann", "email": "sebastian@phpunit.de" - }, - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" } ], - "description": "Diff implementation", - "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": [ - "diff", - "udiff", - "unidiff", - "unified diff" - ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", "support": { - "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.4" }, "funding": [ { @@ -2894,35 +4595,32 @@ "type": "github" } ], - "time": "2023-05-07T05:35:17+00:00" + "time": "2024-03-14T16:00:52+00:00" }, { - "name": "sebastian/environment", - "version": "5.1.5", + "name": "sebastian/type", + "version": "3.2.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "" }, "require": { "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-posix": "*" + "phpunit/phpunit": "^9.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -2937,19 +4635,15 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", "support": { - "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" }, "funding": [ { @@ -2957,34 +4651,29 @@ "type": "github" } ], - "time": "2023-02-03T06:03:51+00:00" + "time": "2023-02-03T06:13:03+00:00" }, { - "name": "sebastian/exporter", - "version": "4.0.5", + "name": "sebastian/version", + "version": "3.0.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" + "php": ">=7.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -2999,34 +4688,15 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "https://www.github.com/sebastianbergmann/exporter", - "keywords": [ - "export", - "exporter" - ], + "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/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" }, "funding": [ { @@ -3034,496 +4704,663 @@ "type": "github" } ], - "time": "2022-09-14T06:03:37+00:00" + "time": "2020-09-28T06:39:44+00:00" }, { - "name": "sebastian/global-state", - "version": "5.0.6", + "name": "seld/jsonlint", + "version": "1.10.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bde739e7565280bda77be70044ac1047bc007e34" + "url": "https://github.com/Seldaek/jsonlint.git", + "reference": "9bb7db07b5d66d90f6ebf542f09fc67d800e5259" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", - "reference": "bde739e7565280bda77be70044ac1047bc007e34", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/9bb7db07b5d66d90f6ebf542f09fc67d800e5259", + "reference": "9bb7db07b5d66d90f6ebf542f09fc67d800e5259", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": "^5.3 || ^7.0 || ^8.0" }, "require-dev": { - "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" + "phpstan/phpstan": "^1.5", + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^8.5.13" }, + "bin": [ + "bin/jsonlint" + ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Seld\\JsonLint\\": "src/Seld/JsonLint/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" } ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", + "description": "JSON Linter", "keywords": [ - "global state" + "json", + "linter", + "parser", + "validator" ], "support": { - "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" + "issues": "https://github.com/Seldaek/jsonlint/issues", + "source": "https://github.com/Seldaek/jsonlint/tree/1.10.2" }, "funding": [ { - "url": "https://github.com/sebastianbergmann", + "url": "https://github.com/Seldaek", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", + "type": "tidelift" } ], - "time": "2023-08-02T09:26:13+00:00" + "time": "2024-02-07T12:57:50+00:00" }, { - "name": "sebastian/lines-of-code", - "version": "1.0.3", + "name": "seld/phar-utils", + "version": "1.2.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + "url": "https://github.com/Seldaek/phar-utils.git", + "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", + "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" + "php": ">=5.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "1.x-dev" } }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Seld\\PharUtils\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be" } ], - "description": "Library for counting the lines of code in PHP source code", - "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "description": "PHAR file format utilities, for when PHP phars you up", + "keywords": [ + "phar" + ], "support": { - "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + "issues": "https://github.com/Seldaek/phar-utils/issues", + "source": "https://github.com/Seldaek/phar-utils/tree/1.2.1" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-11-28T06:42:11+00:00" + "time": "2022-08-31T10:31:18+00:00" }, { - "name": "sebastian/object-enumerator", - "version": "4.0.4", + "name": "seld/signal-handler", + "version": "2.0.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + "url": "https://github.com/Seldaek/signal-handler.git", + "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "url": "https://api.github.com/repos/Seldaek/signal-handler/zipball/04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98", + "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=7.2.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpstan/phpstan": "^1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^7.5.20 || ^8.5.23", + "psr/log": "^1 || ^2 || ^3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "2.x-dev" } }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Seld\\Signal\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" } ], - "description": "Traverses array structures and object graphs to enumerate all referenced objects", - "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "description": "Simple unix signal handler that silently fails where signals are not supported for easy cross-platform development", + "keywords": [ + "posix", + "sigint", + "signal", + "sigterm", + "unix" + ], "support": { - "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + "issues": "https://github.com/Seldaek/signal-handler/issues", + "source": "https://github.com/Seldaek/signal-handler/tree/2.0.2" }, - "funding": [ + "time": "2023-09-03T09:24:00+00:00" + }, + { + "name": "sirbrillig/phpcs-import-detection", + "version": "v1.3.3", + "source": { + "type": "git", + "url": "https://github.com/sirbrillig/phpcs-import-detection.git", + "reference": "7035ef6f3a15db182b59664d2c060918aa827e16" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sirbrillig/phpcs-import-detection/zipball/7035ef6f3a15db182b59664d2c060918aa827e16", + "reference": "7035ef6f3a15db182b59664d2c060918aa827e16", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "squizlabs/php_codesniffer": "^3.5.8" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", + "phpunit/phpunit": "^9.0", + "sirbrillig/phpcs-variable-analysis": "^2.0.1" + }, + "type": "phpcodesniffer-standard", + "autoload": { + "psr-4": { + "ImportDetection\\": "ImportDetection/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ { - "url": "https://github.com/sebastianbergmann", - "type": "github" + "name": "Payton Swick", + "email": "payton@foolord.com" } ], - "time": "2020-10-26T13:12:34+00:00" + "description": "A set of phpcs sniffs to look for unused or unimported symbols.", + "keywords": [ + "phpcs", + "static analysis" + ], + "support": { + "issues": "https://github.com/sirbrillig/phpcs-import-detection/issues", + "source": "https://github.com/sirbrillig/phpcs-import-detection/tree/v1.3.3" + }, + "time": "2022-10-30T19:04:13+00:00" }, { - "name": "sebastian/object-reflector", - "version": "2.0.4", + "name": "sirbrillig/phpcs-variable-analysis", + "version": "v2.11.17", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + "url": "https://github.com/sirbrillig/phpcs-variable-analysis.git", + "reference": "3b71162a6bf0cde2bff1752e40a1788d8273d049" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "url": "https://api.github.com/repos/sirbrillig/phpcs-variable-analysis/zipball/3b71162a6bf0cde2bff1752e40a1788d8273d049", + "reference": "3b71162a6bf0cde2bff1752e40a1788d8273d049", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=5.4.0", + "squizlabs/php_codesniffer": "^3.5.6" }, "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } + "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || ^1.0", + "phpcsstandards/phpcsdevcs": "^1.1", + "phpstan/phpstan": "^1.7", + "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.5 || ^7.0 || ^8.0 || ^9.0", + "sirbrillig/phpcs-import-detection": "^1.1", + "vimeo/psalm": "^0.2 || ^0.3 || ^1.1 || ^4.24 || ^5.0@beta" }, + "type": "phpcodesniffer-standard", "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "VariableAnalysis\\": "VariableAnalysis/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "BSD-2-Clause" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "name": "Sam Graham", + "email": "php-codesniffer-variableanalysis@illusori.co.uk" + }, + { + "name": "Payton Swick", + "email": "payton@foolord.com" } ], - "description": "Allows reflection of object attributes, including inherited and non-public ones", - "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "description": "A PHPCS sniff to detect problems with variables.", + "keywords": [ + "phpcs", + "static analysis" + ], "support": { - "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + "issues": "https://github.com/sirbrillig/phpcs-variable-analysis/issues", + "source": "https://github.com/sirbrillig/phpcs-variable-analysis", + "wiki": "https://github.com/sirbrillig/phpcs-variable-analysis/wiki" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:14:26+00:00" + "time": "2023-08-05T23:46:11+00:00" }, { - "name": "sebastian/recursion-context", - "version": "4.0.5", + "name": "slevomat/coding-standard", + "version": "6.4.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" + "url": "https://github.com/slevomat/coding-standard.git", + "reference": "696dcca217d0c9da2c40d02731526c1e25b65346" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/696dcca217d0c9da2c40d02731526c1e25b65346", + "reference": "696dcca217d0c9da2c40d02731526c1e25b65346", "shasum": "" }, "require": { - "php": ">=7.3" + "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", + "php": "^7.1 || ^8.0", + "phpstan/phpdoc-parser": "0.4.5 - 0.4.9", + "squizlabs/php_codesniffer": "^3.5.6" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phing/phing": "2.16.3", + "php-parallel-lint/php-parallel-lint": "1.2.0", + "phpstan/phpstan": "0.12.48", + "phpstan/phpstan-deprecation-rules": "0.12.5", + "phpstan/phpstan-phpunit": "0.12.16", + "phpstan/phpstan-strict-rules": "0.12.5", + "phpunit/phpunit": "7.5.20|8.5.5|9.4.0" }, - "type": "library", + "type": "phpcodesniffer-standard", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "6.x-dev" } }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "SlevomatCodingStandard\\": "SlevomatCodingStandard" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - } + "MIT" ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "https://github.com/sebastianbergmann/recursion-context", + "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", "support": { - "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + "issues": "https://github.com/slevomat/coding-standard/issues", + "source": "https://github.com/slevomat/coding-standard/tree/6.4.1" }, "funding": [ { - "url": "https://github.com/sebastianbergmann", + "url": "https://github.com/kukulich", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/slevomat/coding-standard", + "type": "tidelift" } ], - "time": "2023-02-03T06:07:39+00:00" + "time": "2020-10-05T12:39:37+00:00" }, { - "name": "sebastian/resource-operations", - "version": "3.0.3", + "name": "squizlabs/php_codesniffer", + "version": "3.9.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", + "reference": "267a4405fff1d9c847134db3a3c92f1ab7f77909" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/267a4405fff1d9c847134db3a3c92f1ab7f77909", + "reference": "267a4405fff1d9c847134db3a3c92f1ab7f77909", "shasum": "" }, "require": { - "php": ">=7.3" + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": ">=5.4.0" }, "require-dev": { - "phpunit/phpunit": "^9.0" + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" }, + "bin": [ + "bin/phpcbf", + "bin/phpcs" + ], "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.x-dev" } }, - "autoload": { - "classmap": [ - "src/" - ] - }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "name": "Greg Sherwood", + "role": "Former lead" + }, + { + "name": "Juliette Reinders Folmer", + "role": "Current lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" } ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer", + "keywords": [ + "phpcs", + "standards", + "static analysis" + ], "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", + "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", + "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", + "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" }, "funding": [ { - "url": "https://github.com/sebastianbergmann", + "url": "https://github.com/PHPCSStandards", + "type": "github" + }, + { + "url": "https://github.com/jrfnl", "type": "github" + }, + { + "url": "https://opencollective.com/php_codesniffer", + "type": "open_collective" } ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2024-03-31T21:03:09+00:00" }, { - "name": "sebastian/type", - "version": "3.2.1", + "name": "symfony/cache", + "version": "v5.4.38", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/type.git", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" + "url": "https://github.com/symfony/cache.git", + "reference": "223c3afac82e003a76931b71d77db408636a0de8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "url": "https://api.github.com/repos/symfony/cache/zipball/223c3afac82e003a76931b71d77db408636a0de8", + "reference": "223c3afac82e003a76931b71d77db408636a0de8", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=7.2.5", + "psr/cache": "^1.0|^2.0", + "psr/log": "^1.1|^2|^3", + "symfony/cache-contracts": "^1.1.7|^2", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.16", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/var-exporter": "^4.4|^5.0|^6.0" + }, + "conflict": { + "doctrine/dbal": "<2.13.1", + "symfony/dependency-injection": "<4.4", + "symfony/http-kernel": "<4.4", + "symfony/var-dumper": "<4.4" + }, + "provide": { + "psr/cache-implementation": "1.0|2.0", + "psr/simple-cache-implementation": "1.0|2.0", + "symfony/cache-implementation": "1.0|2.0" }, "require-dev": { - "phpunit/phpunit": "^9.5" + "cache/integration-tests": "dev-master", + "doctrine/cache": "^1.6|^2.0", + "doctrine/dbal": "^2.13.1|^3|^4", + "predis/predis": "^1.1", + "psr/simple-cache": "^1.0|^2.0", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/filesystem": "^4.4|^5.0|^6.0", + "symfony/http-kernel": "^4.4|^5.0|^6.0", + "symfony/messenger": "^4.4|^5.0|^6.0", + "symfony/var-dumper": "^4.4|^5.0|^6.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.2-dev" - } - }, "autoload": { - "classmap": [ - "src/" + "psr-4": { + "Symfony\\Component\\Cache\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Collection of value objects that represent the types of the PHP type system", - "homepage": "https://github.com/sebastianbergmann/type", + "description": "Provides extended PSR-6, PSR-16 (and tags) implementations", + "homepage": "https://symfony.com", + "keywords": [ + "caching", + "psr6" + ], "support": { - "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" + "source": "https://github.com/symfony/cache/tree/v5.4.38" }, "funding": [ { - "url": "https://github.com/sebastianbergmann", + "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-03T06:13:03+00:00" + "time": "2024-03-19T09:55:32+00:00" }, { - "name": "sebastian/version", - "version": "3.0.2", + "name": "symfony/cache-contracts", + "version": "v2.5.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" + "url": "https://github.com/symfony/cache-contracts.git", + "reference": "fee6db04d913094e2fb55ff8e7db5685a8134463" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", + "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/fee6db04d913094e2fb55ff8e7db5685a8134463", + "reference": "fee6db04d913094e2fb55ff8e7db5685a8134463", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=7.2.5", + "psr/cache": "^1.0|^2.0|^3.0" + }, + "suggest": { + "symfony/cache-implementation": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Symfony\\Contracts\\Cache\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", + "description": "Generic abstractions related to caching", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + "source": "https://github.com/symfony/cache-contracts/tree/v2.5.3" }, "funding": [ { - "url": "https://github.com/sebastianbergmann", + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2020-09-28T06:39:44+00:00" + "time": "2024-01-23T13:51:25+00:00" }, { - "name": "sirbrillig/phpcs-import-detection", - "version": "v1.3.3", + "name": "symfony/console", + "version": "v5.4.36", "source": { "type": "git", - "url": "https://github.com/sirbrillig/phpcs-import-detection.git", - "reference": "7035ef6f3a15db182b59664d2c060918aa827e16" + "url": "https://github.com/symfony/console.git", + "reference": "39f75d9d73d0c11952fdcecf4877b4d0f62a8f6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sirbrillig/phpcs-import-detection/zipball/7035ef6f3a15db182b59664d2c060918aa827e16", - "reference": "7035ef6f3a15db182b59664d2c060918aa827e16", + "url": "https://api.github.com/repos/symfony/console/zipball/39f75d9d73d0c11952fdcecf4877b4d0f62a8f6e", + "reference": "39f75d9d73d0c11952fdcecf4877b4d0f62a8f6e", "shasum": "" }, "require": { - "php": "^7.0 || ^8.0", - "squizlabs/php_codesniffer": "^3.5.8" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.16", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.1|^6.0" + }, + "conflict": { + "psr/log": ">=3", + "symfony/dependency-injection": "<4.4", + "symfony/dotenv": "<5.1", + "symfony/event-dispatcher": "<4.4", + "symfony/lock": "<4.4", + "symfony/process": "<4.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0" }, "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", - "phpunit/phpunit": "^9.0", - "sirbrillig/phpcs-variable-analysis": "^2.0.1" + "psr/log": "^1|^2", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony/lock": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/var-dumper": "^4.4|^5.0|^6.0" }, - "type": "phpcodesniffer-standard", + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "type": "library", "autoload": { "psr-4": { - "ImportDetection\\": "ImportDetection/" - } + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3531,245 +5368,272 @@ ], "authors": [ { - "name": "Payton Swick", - "email": "payton@foolord.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "A set of phpcs sniffs to look for unused or unimported symbols.", + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", "keywords": [ - "phpcs", - "static analysis" + "cli", + "command-line", + "console", + "terminal" ], "support": { - "issues": "https://github.com/sirbrillig/phpcs-import-detection/issues", - "source": "https://github.com/sirbrillig/phpcs-import-detection/tree/v1.3.3" + "source": "https://github.com/symfony/console/tree/v5.4.36" }, - "time": "2022-10-30T19:04:13+00:00" + "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": "2024-02-20T16:33:57+00:00" }, { - "name": "sirbrillig/phpcs-variable-analysis", - "version": "v2.11.17", + "name": "symfony/deprecation-contracts", + "version": "v2.5.3", "source": { "type": "git", - "url": "https://github.com/sirbrillig/phpcs-variable-analysis.git", - "reference": "3b71162a6bf0cde2bff1752e40a1788d8273d049" + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "80d075412b557d41002320b96a096ca65aa2c98d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sirbrillig/phpcs-variable-analysis/zipball/3b71162a6bf0cde2bff1752e40a1788d8273d049", - "reference": "3b71162a6bf0cde2bff1752e40a1788d8273d049", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/80d075412b557d41002320b96a096ca65aa2c98d", + "reference": "80d075412b557d41002320b96a096ca65aa2c98d", "shasum": "" }, "require": { - "php": ">=5.4.0", - "squizlabs/php_codesniffer": "^3.5.6" + "php": ">=7.1" }, - "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || ^1.0", - "phpcsstandards/phpcsdevcs": "^1.1", - "phpstan/phpstan": "^1.7", - "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.5 || ^7.0 || ^8.0 || ^9.0", - "sirbrillig/phpcs-import-detection": "^1.1", - "vimeo/psalm": "^0.2 || ^0.3 || ^1.1 || ^4.24 || ^5.0@beta" + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } }, - "type": "phpcodesniffer-standard", "autoload": { - "psr-4": { - "VariableAnalysis\\": "VariableAnalysis/" - } + "files": [ + "function.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-2-Clause" + "MIT" ], "authors": [ { - "name": "Sam Graham", - "email": "php-codesniffer-variableanalysis@illusori.co.uk" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { - "name": "Payton Swick", - "email": "payton@foolord.com" + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "A PHPCS sniff to detect problems with variables.", - "keywords": [ - "phpcs", - "static analysis" - ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", "support": { - "issues": "https://github.com/sirbrillig/phpcs-variable-analysis/issues", - "source": "https://github.com/sirbrillig/phpcs-variable-analysis", - "wiki": "https://github.com/sirbrillig/phpcs-variable-analysis/wiki" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.3" }, - "time": "2023-08-05T23:46:11+00:00" + "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-01-24T14:02:46+00:00" }, { - "name": "slevomat/coding-standard", - "version": "6.4.1", + "name": "symfony/filesystem", + "version": "v5.4.38", "source": { "type": "git", - "url": "https://github.com/slevomat/coding-standard.git", - "reference": "696dcca217d0c9da2c40d02731526c1e25b65346" + "url": "https://github.com/symfony/filesystem.git", + "reference": "899330a01056077271e2f614c7b28b0379a671eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/696dcca217d0c9da2c40d02731526c1e25b65346", - "reference": "696dcca217d0c9da2c40d02731526c1e25b65346", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/899330a01056077271e2f614c7b28b0379a671eb", + "reference": "899330a01056077271e2f614c7b28b0379a671eb", "shasum": "" }, "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", - "php": "^7.1 || ^8.0", - "phpstan/phpdoc-parser": "0.4.5 - 0.4.9", - "squizlabs/php_codesniffer": "^3.5.6" - }, - "require-dev": { - "phing/phing": "2.16.3", - "php-parallel-lint/php-parallel-lint": "1.2.0", - "phpstan/phpstan": "0.12.48", - "phpstan/phpstan-deprecation-rules": "0.12.5", - "phpstan/phpstan-phpunit": "0.12.16", - "phpstan/phpstan-strict-rules": "0.12.5", - "phpunit/phpunit": "7.5.20|8.5.5|9.4.0" - }, - "type": "phpcodesniffer-standard", - "extra": { - "branch-alias": { - "dev-master": "6.x-dev" - } + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.8", + "symfony/polyfill-php80": "^1.16" }, + "type": "library", "autoload": { "psr-4": { - "SlevomatCodingStandard\\": "SlevomatCodingStandard" - } + "Symfony\\Component\\Filesystem\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides basic utilities for the filesystem", + "homepage": "https://symfony.com", "support": { - "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/6.4.1" + "source": "https://github.com/symfony/filesystem/tree/v5.4.38" }, "funding": [ { - "url": "https://github.com/kukulich", + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/slevomat/coding-standard", + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2020-10-05T12:39:37+00:00" + "time": "2024-03-21T08:05:07+00:00" }, { - "name": "squizlabs/php_codesniffer", - "version": "3.7.2", + "name": "symfony/finder", + "version": "v5.4.35", "source": { "type": "git", - "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" + "url": "https://github.com/symfony/finder.git", + "reference": "abe6d6f77d9465fed3cd2d029b29d03b56b56435" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", - "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", + "url": "https://api.github.com/repos/symfony/finder/zipball/abe6d6f77d9465fed3cd2d029b29d03b56b56435", + "reference": "abe6d6f77d9465fed3cd2d029b29d03b56b56435", "shasum": "" }, "require": { - "ext-simplexml": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16" }, - "bin": [ - "bin/phpcs", - "bin/phpcbf" - ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Greg Sherwood", - "role": "lead" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", - "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", - "keywords": [ - "phpcs", - "standards", - "static analysis" - ], + "description": "Finds files and directories via an intuitive fluent interface", + "homepage": "https://symfony.com", "support": { - "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", - "source": "https://github.com/squizlabs/PHP_CodeSniffer", - "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + "source": "https://github.com/symfony/finder/tree/v5.4.35" }, - "time": "2023-02-22T23:07:41+00:00" + "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": "2024-01-23T13:51:25+00:00" }, { - "name": "symfony/console", - "version": "v6.3.4", + "name": "symfony/polyfill-ctype", + "version": "v1.29.0", "source": { "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "eca495f2ee845130855ddf1cf18460c38966c8b6" + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/eca495f2ee845130855ddf1cf18460c38966c8b6", - "reference": "eca495f2ee845130855ddf1cf18460c38966c8b6", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4", + "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", - "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^5.4|^6.0" - }, - "conflict": { - "symfony/dependency-injection": "<5.4", - "symfony/dotenv": "<5.4", - "symfony/event-dispatcher": "<5.4", - "symfony/lock": "<5.4", - "symfony/process": "<5.4" + "php": ">=7.1" }, "provide": { - "psr/log-implementation": "1.0|2.0|3.0" + "ext-ctype": "*" }, - "require-dev": { - "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": { + "ext-ctype": "For best performance" }, "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3777,24 +5641,24 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Eases the creation of beautiful and testable command line interfaces", + "description": "Symfony polyfill for ctype functions", "homepage": "https://symfony.com", "keywords": [ - "cli", - "command-line", - "console", - "terminal" + "compatibility", + "ctype", + "polyfill", + "portable" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.3.4" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0" }, "funding": [ { @@ -3810,39 +5674,42 @@ "type": "tidelift" } ], - "time": "2023-08-16T10:10:12+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { - "name": "symfony/deprecation-contracts", - "version": "v3.3.0", + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.29.0", "source": { "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/32a9da87d7b3245e09ac426c83d334ae9f06f80f", + "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "3.4-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "files": [ - "function.php" - ] + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3858,10 +5725,18 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "A generic function and convention to trigger deprecation notices", + "description": "Symfony polyfill for intl's grapheme_* functions", "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.29.0" }, "funding": [ { @@ -3877,36 +5752,30 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { - "name": "symfony/polyfill-ctype", - "version": "v1.28.0", + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.29.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "bc45c394692b948b4d383a08d7753968bed9a83d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/bc45c394692b948b4d383a08d7753968bed9a83d", + "reference": "bc45c394692b948b4d383a08d7753968bed9a83d", "shasum": "" }, "require": { "php": ">=7.1" }, - "provide": { - "ext-ctype": "*" - }, "suggest": { - "ext-ctype": "For best performance" + "ext-intl": "For best performance" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -3917,8 +5786,11 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3926,24 +5798,26 @@ ], "authors": [ { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for ctype functions", + "description": "Symfony polyfill for intl's Normalizer class and related functions", "homepage": "https://symfony.com", "keywords": [ "compatibility", - "ctype", + "intl", + "normalizer", "polyfill", - "portable" + "portable", + "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.29.0" }, "funding": [ { @@ -3959,33 +5833,33 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { - "name": "symfony/polyfill-intl-grapheme", - "version": "v1.28.0", + "name": "symfony/polyfill-mbstring", + "version": "v1.29.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "875e90aeea2777b6f135677f618529449334a612" + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612", - "reference": "875e90aeea2777b6f135677f618529449334a612", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec", + "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec", "shasum": "" }, "require": { "php": ">=7.1" }, + "provide": { + "ext-mbstring": "*" + }, "suggest": { - "ext-intl": "For best performance" + "ext-mbstring": "For best performance" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -3996,7 +5870,7 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + "Symfony\\Polyfill\\Mbstring\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -4013,18 +5887,17 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for intl's grapheme_* functions", + "description": "Symfony polyfill for the Mbstring extension", "homepage": "https://symfony.com", "keywords": [ "compatibility", - "grapheme", - "intl", + "mbstring", "polyfill", "portable", "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0" }, "funding": [ { @@ -4040,33 +5913,27 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { - "name": "symfony/polyfill-intl-normalizer", - "version": "v1.28.0", + "name": "symfony/polyfill-php73", + "version": "v1.29.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92" + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "21bd091060673a1177ae842c0ef8fe30893114d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", - "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/21bd091060673a1177ae842c0ef8fe30893114d2", + "reference": "21bd091060673a1177ae842c0ef8fe30893114d2", "shasum": "" }, "require": { "php": ">=7.1" }, - "suggest": { - "ext-intl": "For best performance" - }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -4077,7 +5944,7 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + "Symfony\\Polyfill\\Php73\\": "" }, "classmap": [ "Resources/stubs" @@ -4097,18 +5964,16 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", - "intl", - "normalizer", "polyfill", "portable", "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.29.0" }, "funding": [ { @@ -4124,36 +5989,27 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { - "name": "symfony/polyfill-mbstring", - "version": "v1.28.0", + "name": "symfony/polyfill-php80", + "version": "v1.29.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "42292d99c55abe617799667f454222c54c60e229" + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", - "reference": "42292d99c55abe617799667f454222c54c60e229", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", + "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", "shasum": "" }, "require": { "php": ">=7.1" }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -4164,14 +6020,21 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, { "name": "Nicolas Grekas", "email": "p@tchwork.com" @@ -4181,17 +6044,16 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for the Mbstring extension", + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", - "mbstring", "polyfill", "portable", "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0" }, "funding": [ { @@ -4207,20 +6069,20 @@ "type": "tidelift" } ], - "time": "2023-07-28T09:04:16+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { - "name": "symfony/polyfill-php73", - "version": "v1.27.0", + "name": "symfony/polyfill-php81", + "version": "v1.29.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9" + "url": "https://github.com/symfony/polyfill-php81.git", + "reference": "c565ad1e63f30e7477fc40738343c62b40bc672d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", - "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/c565ad1e63f30e7477fc40738343c62b40bc672d", + "reference": "c565ad1e63f30e7477fc40738343c62b40bc672d", "shasum": "" }, "require": { @@ -4228,9 +6090,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -4241,7 +6100,7 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" + "Symfony\\Polyfill\\Php81\\": "" }, "classmap": [ "Resources/stubs" @@ -4261,7 +6120,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -4270,7 +6129,69 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.29.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-01-29T20:11:03+00:00" + }, + { + "name": "symfony/process", + "version": "v5.4.36", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "4fdf34004f149cc20b2f51d7d119aa500caad975" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/4fdf34004f149cc20b2f51d7d119aa500caad975", + "reference": "4fdf34004f149cc20b2f51d7d119aa500caad975", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "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": "Executes commands in sub-processes", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v5.4.36" }, "funding": [ { @@ -4286,33 +6207,37 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-02-12T15:49:53+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.3.0", + "version": "v2.5.3", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4" + "reference": "a2329596ddc8fd568900e3fc76cba42489ecc7f3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", - "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/a2329596ddc8fd568900e3fc76cba42489ecc7f3", + "reference": "a2329596ddc8fd568900e3fc76cba42489ecc7f3", "shasum": "" }, "require": { - "php": ">=8.1", - "psr/container": "^2.0" + "php": ">=7.2.5", + "psr/container": "^1.1", + "symfony/deprecation-contracts": "^2.1|^3" }, "conflict": { "ext-psr": "<1.1|>=2" }, + "suggest": { + "symfony/service-implementation": "" + }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -4322,10 +6247,7 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4352,7 +6274,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/service-contracts/tree/v2.5.3" }, "funding": [ { @@ -4368,38 +6290,38 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2023-04-21T15:04:16+00:00" }, { "name": "symfony/string", - "version": "v6.3.2", + "version": "v5.4.36", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "53d1a83225002635bca3482fcbf963001313fb68" + "reference": "4e232c83622bd8cd32b794216aa29d0d266d353b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/53d1a83225002635bca3482fcbf963001313fb68", - "reference": "53d1a83225002635bca3482fcbf963001313fb68", + "url": "https://api.github.com/repos/symfony/string/zipball/4e232c83622bd8cd32b794216aa29d0d266d353b", + "reference": "4e232c83622bd8cd32b794216aa29d0d266d353b", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=7.2.5", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "~1.15" }, "conflict": { - "symfony/translation-contracts": "<2.5" + "symfony/translation-contracts": ">=3.0" }, "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/intl": "^6.2", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^5.4|^6.0" + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", + "symfony/translation-contracts": "^1.1|^2", + "symfony/var-exporter": "^4.4|^5.0|^6.0" }, "type": "library", "autoload": { @@ -4438,7 +6360,80 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.3.2" + "source": "https://github.com/symfony/string/tree/v5.4.36" + }, + "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": "2024-02-01T08:49:30+00:00" + }, + { + "name": "symfony/var-exporter", + "version": "v5.4.35", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-exporter.git", + "reference": "abb0a151b62d6b07e816487e20040464af96cae7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/abb0a151b62d6b07e816487e20040464af96cae7", + "reference": "abb0a151b62d6b07e816487e20040464af96cae7", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" + }, + "require-dev": { + "symfony/var-dumper": "^4.4.9|^5.0.9|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\VarExporter\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "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": "Allows exporting any serializable PHP data structure to plain PHP code", + "homepage": "https://symfony.com", + "keywords": [ + "clone", + "construct", + "export", + "hydrate", + "instantiate", + "serialize" + ], + "support": { + "source": "https://github.com/symfony/var-exporter/tree/v5.4.35" }, "funding": [ { @@ -4454,7 +6449,7 @@ "type": "tidelift" } ], - "time": "2023-07-05T08:41:27+00:00" + "time": "2024-01-23T13:51:25+00:00" }, { "name": "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset", @@ -4496,22 +6491,22 @@ }, { "name": "szepeviktor/phpstan-wordpress", - "version": "v1.3.0", + "version": "v1.3.4", "source": { "type": "git", "url": "https://github.com/szepeviktor/phpstan-wordpress.git", - "reference": "5b5cc77ed51fdaf64efe3f00b5aae4b709d2cfa9" + "reference": "891d0767855a32c886a439efae090408cc1fa156" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/szepeviktor/phpstan-wordpress/zipball/5b5cc77ed51fdaf64efe3f00b5aae4b709d2cfa9", - "reference": "5b5cc77ed51fdaf64efe3f00b5aae4b709d2cfa9", + "url": "https://api.github.com/repos/szepeviktor/phpstan-wordpress/zipball/891d0767855a32c886a439efae090408cc1fa156", + "reference": "891d0767855a32c886a439efae090408cc1fa156", "shasum": "" }, "require": { "php": "^7.2 || ^8.0", "php-stubs/wordpress-stubs": "^4.7 || ^5.0 || ^6.0", - "phpstan/phpstan": "^1.10.0", + "phpstan/phpstan": "^1.10.31", "symfony/polyfill-php73": "^1.12.0" }, "require-dev": { @@ -4522,6 +6517,9 @@ "phpunit/phpunit": "^8.0 || ^9.0", "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^0.8" }, + "suggest": { + "swissspidy/phpstan-no-private": "Detect usage of internal core functions, classes and methods" + }, "type": "phpstan-extension", "extra": { "phpstan": { @@ -4549,22 +6547,22 @@ ], "support": { "issues": "https://github.com/szepeviktor/phpstan-wordpress/issues", - "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/v1.3.0" + "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/v1.3.4" }, - "time": "2023-04-23T06:15:06+00:00" + "time": "2024-03-21T16:32:59+00:00" }, { "name": "theseer/tokenizer", - "version": "1.2.1", + "version": "1.2.3", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", "shasum": "" }, "require": { @@ -4593,7 +6591,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + "source": "https://github.com/theseer/tokenizer/tree/1.2.3" }, "funding": [ { @@ -4601,7 +6599,7 @@ "type": "github" } ], - "time": "2021-07-28T10:34:58+00:00" + "time": "2024-03-03T12:36:25+00:00" }, { "name": "wp-coding-standards/wpcs", @@ -4656,16 +6654,16 @@ }, { "name": "yoast/phpunit-polyfills", - "version": "2.0.0", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/Yoast/PHPUnit-Polyfills.git", - "reference": "c758753e8f9dac251fed396a73c8305af3f17922" + "reference": "4a088f125c970d6d6ea52c927f96fe39b330d0f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/c758753e8f9dac251fed396a73c8305af3f17922", - "reference": "c758753e8f9dac251fed396a73c8305af3f17922", + "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/4a088f125c970d6d6ea52c927f96fe39b330d0f1", + "reference": "4a088f125c970d6d6ea52c927f96fe39b330d0f1", "shasum": "" }, "require": { @@ -4673,7 +6671,9 @@ "phpunit/phpunit": "^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" }, "require-dev": { - "yoast/yoastcs": "^2.3.0" + "php-parallel-lint/php-console-highlighter": "^1.0.0", + "php-parallel-lint/php-parallel-lint": "^1.4.0", + "yoast/yoastcs": "^3.1.0" }, "type": "library", "extra": { @@ -4710,9 +6710,10 @@ ], "support": { "issues": "https://github.com/Yoast/PHPUnit-Polyfills/issues", + "security": "https://github.com/Yoast/PHPUnit-Polyfills/security/policy", "source": "https://github.com/Yoast/PHPUnit-Polyfills" }, - "time": "2023-06-06T20:28:24+00:00" + "time": "2024-04-05T16:36:44+00:00" } ], "aliases": [], diff --git a/dependencies/.gitkeep b/dependencies/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/package.json b/package.json index 160e0de40..343d178c6 100644 --- a/package.json +++ b/package.json @@ -11,12 +11,14 @@ "fix:css": "mp-scripts lint-style --fix", "fix:js": "mp-scripts lint-js --fix", "lint": "run-p \"lint:*\"", - "fix": "run-p \"fix:*\"" + "fix": "run-p \"fix:*\"", + "test-php": "wp-env run tests-wordpress --env-cwd=wp-content/plugins/notification ./vendor/bin/pest -- --configuration phpunit.xml" }, "author": "BracketSpace", "license": "GPL-3.0-or-later", "devDependencies": { - "@micropackage/scripts": "^1.0.0", + "@micropackage/scripts": "^1.2.5", + "@wordpress/env": "^9.7.0", "npm-run-all": "^4.1.5" }, "dependencies": { diff --git a/phpcs.xml b/phpcs.xml index 7c21786ac..563e2f5d9 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -17,6 +17,7 @@ + @@ -106,7 +107,7 @@ resources/css.* tests/* vendor/* - src/Dependencies/* + dependencies/* compat/* notification.php diff --git a/phpmd.xml b/phpmd.xml deleted file mode 100644 index f52317327..000000000 --- a/phpmd.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - PHP MD Standards for Notification plugin - - - - - - - - - - - - - - - - - - - - - - - diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 8f6fded6c..72243a024 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -430,20 +430,6 @@ parameters: count: 1 path: compat/src-deprecated/functions.php - - - message: "#^Function notification_add_doc_hooks\\(\\) should return object but returns mixed\\.$#" - count: 1 - path: compat/src-deprecated/functions.php - - - - message: "#^Function notification_get_notification_recipients\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: compat/src-deprecated/functions.php - - - - message: "#^Function notification_get_notifications\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: compat/src-deprecated/functions.php - message: "#^Function notification_get_posts\\(\\) return type has no value type specified in iterable type array\\.$#" @@ -460,11 +446,6 @@ parameters: count: 1 path: compat/src-deprecated/functions.php - - - message: "#^Function notification_runtime\\(\\) should return object but returns mixed\\.$#" - count: 1 - path: compat/src-deprecated/functions.php - - message: "#^Function notification_template\\(\\) has parameter \\$vars with no value type specified in iterable type array\\.$#" count: 1 @@ -495,11 +476,6 @@ parameters: count: 4 path: notification.php - - - message: "#^Parameter \\#1 \\$function of function call_user_func_array expects callable\\(\\)\\: mixed, array\\{BracketSpace\\\\Notification\\\\Core\\\\Notification, string\\} given\\.$#" - count: 1 - path: src/Abstracts/Adapter.php - - message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#" count: 1 @@ -545,11 +521,6 @@ parameters: count: 1 path: src/Abstracts/Carrier.php - - - message: "#^Parameter \\#1 \\$str of function md5 expects string, string\\|false given\\.$#" - count: 1 - path: src/Abstracts/Carrier.php - - message: "#^Parameter \\#2 \\$slug of static method BracketSpace\\\\Notification\\\\Store\\\\Recipient\\:\\:get\\(\\) expects string, mixed given\\.$#" count: 1 @@ -605,11 +576,6 @@ parameters: count: 1 path: src/Abstracts/Trigger.php - - - message: "#^Method BracketSpace\\\\Notification\\\\Abstracts\\\\Trigger\\:\\:getMergeTags\\(\\) should return array\\ but returns array\\\\.$#" - count: 1 - path: src/Abstracts/Trigger.php - - message: "#^Cannot call method getEndpoint\\(\\) on mixed\\.$#" count: 1 @@ -632,7 +598,7 @@ parameters: - message: "#^Cannot access offset 'edd' on mixed\\.$#" - count: 5 + count: 2 path: src/Admin/Extensions.php - @@ -642,7 +608,7 @@ parameters: - message: "#^Cannot access offset 'slug' on mixed\\.$#" - count: 5 + count: 3 path: src/Admin/Extensions.php - @@ -710,21 +676,6 @@ parameters: count: 1 path: src/Admin/ImportExport.php - - - message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|false given\\.$#" - count: 1 - path: src/Admin/ImportExport.php - - - - message: "#^Parameter \\#1 \\$fp of function fread expects resource, resource\\|false given\\.$#" - count: 1 - path: src/Admin/ImportExport.php - - - - message: "#^Parameter \\#1 \\$function of function call_user_func expects callable\\(\\)\\: mixed, array\\{\\$this\\(BracketSpace\\\\Notification\\\\Admin\\\\ImportExport\\), non\\-falsy\\-string\\} given\\.$#" - count: 2 - path: src/Admin/ImportExport.php - - message: "#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#" count: 1 @@ -780,11 +731,6 @@ parameters: count: 1 path: src/Admin/PostTable.php - - - message: "#^Parameter \\#1 \\$url of function esc_url expects string, string\\|void given\\.$#" - count: 1 - path: src/Admin/PostTable.php - - message: "#^Method BracketSpace\\\\Notification\\\\Admin\\\\PostType\\:\\:getAllNotifications\\(\\) should return array but returns mixed\\.$#" count: 1 @@ -870,11 +816,6 @@ parameters: count: 1 path: src/Admin/Scripts.php - - - message: "#^Parameter \\#1 \\$function of function call_user_func expects callable\\(\\)\\: mixed, array\\{\\$this\\(BracketSpace\\\\Notification\\\\Admin\\\\Sync\\), non\\-falsy\\-string\\} given\\.$#" - count: 1 - path: src/Admin/Sync.php - - message: "#^Offset 'draft' on array\\{publish\\: int, draft\\: int\\} on left side of \\?\\? always exists and is not nullable\\.$#" count: 1 @@ -1035,16 +976,6 @@ parameters: count: 1 path: src/Api/Controller/RepeaterController.php - - - message: "#^Parameter \\#1 \\$var of function intval expects array\\|bool\\|float\\|int\\|resource\\|string\\|null, mixed given\\.$#" - count: 1 - path: src/Api/Controller/RepeaterController.php - - - - message: "#^Parameter \\#2 \\$search of function array_key_exists expects array, mixed given\\.$#" - count: 1 - path: src/Api/Controller/RepeaterController.php - - message: "#^Property BracketSpace\\\\Notification\\\\Api\\\\Controller\\\\RepeaterController\\:\\:\\$carrier \\(string\\) does not accept mixed\\.$#" count: 1 @@ -1077,7 +1008,7 @@ parameters: - message: "#^Cannot access offset 'sections' on mixed\\.$#" - count: 2 + count: 1 path: src/Api/Controller/SectionRepeaterController.php - @@ -1185,11 +1116,6 @@ parameters: count: 1 path: src/Core/License.php - - - message: "#^Parameter \\#1 \\$str of function rawurlencode expects string, mixed given\\.$#" - count: 3 - path: src/Core/License.php - - message: "#^Parameter \\#1 \\$url of function wp_remote_post expects string, mixed given\\.$#" count: 3 @@ -1265,16 +1191,6 @@ parameters: count: 1 path: src/Core/Resolver.php - - - message: "#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, Closure\\(mixed\\)\\: mixed given\\.$#" - count: 1 - path: src/Core/Resolver.php - - - - message: "#^Parameter \\#3 \\$subject of function preg_replace_callback expects array\\|string, string\\|null given\\.$#" - count: 1 - path: src/Core/Resolver.php - - message: "#^Parameter \\#2 \\$contents of method WP_Filesystem_Base\\:\\:put_contents\\(\\) expects string, mixed given\\.$#" count: 1 @@ -1305,16 +1221,6 @@ parameters: count: 1 path: src/Core/Upgrade.php - - - message: "#^Parameter \\#1 \\$function of function call_user_func expects callable\\(\\)\\: mixed, array\\{\\$this\\(BracketSpace\\\\Notification\\\\Core\\\\Upgrade\\), non\\-falsy\\-string\\} given\\.$#" - count: 1 - path: src/Core/Upgrade.php - - - - message: "#^Parameter \\#1 \\$index of static method BracketSpace\\\\Notification\\\\Store\\\\Trigger\\:\\:get\\(\\) expects string, mixed given\\.$#" - count: 1 - path: src/Core/Upgrade.php - - message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, mixed given\\.$#" count: 1 @@ -1325,11 +1231,6 @@ parameters: count: 1 path: src/Core/Upgrade.php - - - message: "#^Parameter \\#1 \\$data of function notificationConvertData expects array, mixed given\\.$#" - count: 1 - path: src/Defaults/Adapter/JSON.php - - message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|null given\\.$#" count: 1 @@ -1367,7 +1268,7 @@ parameters: - message: "#^Cannot access offset 'hide' on mixed\\.$#" - count: 2 + count: 1 path: src/Defaults/Carrier/Webhook.php - @@ -1387,7 +1288,7 @@ parameters: - message: "#^Cannot access offset 'hide' on mixed\\.$#" - count: 2 + count: 1 path: src/Defaults/Carrier/WebhookJson.php - @@ -1405,11 +1306,6 @@ parameters: count: 1 path: src/Defaults/Carrier/WebhookJson.php - - - message: "#^Parameter \\#1 \\$text of function esc_attr expects string, mixed given\\.$#" - count: 1 - path: src/Defaults/Field/CodeEditorField.php - - message: "#^Parameter \\#1 \\$text of function esc_attr expects string, string\\|false given\\.$#" count: 1 @@ -1470,11 +1366,6 @@ parameters: count: 1 path: src/Defaults/Field/ImageField.php - - - message: "#^Parameter \\#1 \\$var of function intval expects array\\|bool\\|float\\|int\\|resource\\|string\\|null, mixed given\\.$#" - count: 1 - path: src/Defaults/Field/ImageField.php - - message: "#^Cannot cast mixed to string\\.$#" count: 1 @@ -1517,7 +1408,7 @@ parameters: - message: "#^Cannot access offset string on mixed\\.$#" - count: 2 + count: 1 path: src/Defaults/Field/RepeaterField.php - @@ -1530,11 +1421,6 @@ parameters: count: 1 path: src/Defaults/Field/RepeaterField.php - - - message: "#^Parameter \\#1 \\$input of function array_keys expects array, mixed given\\.$#" - count: 1 - path: src/Defaults/Field/SectionRepeater.php - - message: "#^Parameter \\#1 \\$text of function esc_attr expects string, mixed given\\.$#" count: 1 @@ -1545,11 +1431,6 @@ parameters: count: 1 path: src/Defaults/Field/SectionRepeater.php - - - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, mixed given\\.$#" - count: 1 - path: src/Defaults/Field/SectionRepeater.php - - message: "#^Property BracketSpace\\\\Notification\\\\Defaults\\\\Field\\\\SectionRepeater\\:\\:\\$sections \\(array\\) does not accept mixed\\.$#" count: 1 @@ -1655,11 +1536,6 @@ parameters: count: 1 path: src/Defaults/MergeTag/EmailTag.php - - - message: "#^Parameter \\#1 \\$var of function floatval expects array\\|bool\\|float\\|int\\|resource\\|string\\|null, mixed given\\.$#" - count: 1 - path: src/Defaults/MergeTag/FloatTag.php - - message: "#^Cannot cast mixed to string\\.$#" count: 1 @@ -1670,11 +1546,6 @@ parameters: count: 1 path: src/Defaults/MergeTag/IntegerTag.php - - - message: "#^Parameter \\#1 \\$var of function intval expects array\\|bool\\|float\\|int\\|resource\\|string\\|null, mixed given\\.$#" - count: 1 - path: src/Defaults/MergeTag/IntegerTag.php - - message: "#^Parameter \\#1 \\$triggerPropertyName of method BracketSpace\\\\Notification\\\\Abstracts\\\\MergeTag\\:\\:setTriggerProp\\(\\) expects string, mixed given\\.$#" count: 1 @@ -2025,56 +1896,26 @@ parameters: count: 1 path: src/Defaults/Trigger/Media/MediaUpdated.php - - - message: "#^Access to an undefined property object\\:\\:\\$post_status\\.$#" - count: 1 - path: src/Defaults/Trigger/Post/PostAdded.php - - - - message: "#^Access to an undefined property object\\:\\:\\$post_type\\.$#" - count: 1 - path: src/Defaults/Trigger/Post/PostAdded.php - - message: "#^Cannot cast mixed to int\\.$#" count: 1 path: src/Defaults/Trigger/Post/PostAdded.php - - - message: "#^Access to an undefined property object\\:\\:\\$post_type\\.$#" - count: 1 - path: src/Defaults/Trigger/Post/PostApproved.php - - message: "#^Cannot cast mixed to int\\.$#" count: 1 path: src/Defaults/Trigger/Post/PostApproved.php - - - message: "#^Access to an undefined property object\\:\\:\\$post_type\\.$#" - count: 1 - path: src/Defaults/Trigger/Post/PostDrafted.php - - message: "#^Cannot cast mixed to int\\.$#" count: 1 path: src/Defaults/Trigger/Post/PostDrafted.php - - - message: "#^Access to an undefined property object\\:\\:\\$post_type\\.$#" - count: 1 - path: src/Defaults/Trigger/Post/PostPending.php - - message: "#^Cannot cast mixed to int\\.$#" count: 1 path: src/Defaults/Trigger/Post/PostPending.php - - - message: "#^Access to an undefined property object\\:\\:\\$post_type\\.$#" - count: 1 - path: src/Defaults/Trigger/Post/PostPublished.php - - message: "#^Cannot cast mixed to int\\.$#" count: 1 @@ -2085,21 +1926,11 @@ parameters: count: 1 path: src/Defaults/Trigger/Post/PostPublishedPrivately.php - - - message: "#^Access to an undefined property object\\:\\:\\$post_type\\.$#" - count: 1 - path: src/Defaults/Trigger/Post/PostScheduled.php - - message: "#^Cannot cast mixed to int\\.$#" count: 1 path: src/Defaults/Trigger/Post/PostScheduled.php - - - message: "#^Access to an undefined property object\\:\\:\\$post_type\\.$#" - count: 1 - path: src/Defaults/Trigger/Post/PostTrashed.php - - message: "#^Cannot cast mixed to int\\.$#" count: 1 @@ -2270,16 +2101,6 @@ parameters: count: 1 path: src/Defaults/Trigger/WordPress/UpdatesAvailable.php - - - message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#" - count: 1 - path: src/Defaults/Trigger/WordPress/UpdatesAvailable.php - - - - message: "#^Cannot access offset mixed on mixed\\.$#" - count: 1 - path: src/Defaults/Trigger/WordPress/UpdatesAvailable.php - - message: "#^Cannot access property \\$current on mixed\\.$#" count: 1 @@ -2290,16 +2111,6 @@ parameters: count: 1 path: src/Defaults/Trigger/WordPress/UpdatesAvailable.php - - - message: "#^Parameter \\#1 \\$function of function call_user_func expects callable\\(\\)\\: mixed, array\\{mixed, non\\-falsy\\-string\\} given\\.$#" - count: 1 - path: src/Defaults/Trigger/WordPress/UpdatesAvailable.php - - - - message: "#^Parameter \\#1 \\$function of function call_user_func expects callable\\(\\)\\: mixed, non\\-falsy\\-string given\\.$#" - count: 1 - path: src/Defaults/Trigger/WordPress/UpdatesAvailable.php - - message: "#^Parameter \\#1 \\$updateType of method BracketSpace\\\\Notification\\\\Defaults\\\\Trigger\\\\WordPress\\\\UpdatesAvailable\\:\\:getUpdatesCount\\(\\) expects string, mixed given\\.$#" count: 1 @@ -2310,11 +2121,6 @@ parameters: count: 1 path: src/Defaults/Trigger/WordPress/UpdatesAvailable.php - - - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, mixed given\\.$#" - count: 1 - path: src/Defaults/Trigger/WordPress/UpdatesAvailable.php - - message: "#^Invalid type object to throw\\.$#" count: 1 @@ -2325,16 +2131,6 @@ parameters: count: 2 path: src/Integration/WordPress.php - - - message: "#^Method BracketSpace\\\\Notification\\\\Integration\\\\WordPress\\:\\:filterEmailFromEmail\\(\\) should return string but returns mixed\\.$#" - count: 1 - path: src/Integration/WordPress.php - - - - message: "#^Method BracketSpace\\\\Notification\\\\Integration\\\\WordPress\\:\\:filterEmailFromName\\(\\) should return string but returns mixed\\.$#" - count: 1 - path: src/Integration/WordPress.php - - message: "#^Method BracketSpace\\\\Notification\\\\Integration\\\\WordPressEmails\\:\\:getSettingForUserRole\\(\\) is unused\\.$#" count: 1 @@ -2480,11 +2276,6 @@ parameters: count: 1 path: src/Store/Carrier.php - - - message: "#^Unsafe access to private property BracketSpace\\\\Notification\\\\Store\\\\Carrier\\:\\:\\$items through static\\:\\:\\.$#" - count: 6 - path: src/Store/Carrier.php - - message: "#^Parameter \\#1 \\$key of function array_key_exists expects int\\|string, mixed given\\.$#" count: 1 @@ -2495,11 +2286,6 @@ parameters: count: 1 path: src/Store/GlobalMergeTag.php - - - message: "#^Unsafe access to private property BracketSpace\\\\Notification\\\\Store\\\\GlobalMergeTag\\:\\:\\$items through static\\:\\:\\.$#" - count: 6 - path: src/Store/GlobalMergeTag.php - - message: "#^Cannot call method getTrigger\\(\\) on mixed\\.$#" count: 2 @@ -2520,11 +2306,6 @@ parameters: count: 1 path: src/Store/Notification.php - - - message: "#^Unsafe access to private property BracketSpace\\\\Notification\\\\Store\\\\Notification\\:\\:\\$items through static\\:\\:\\.$#" - count: 6 - path: src/Store/Notification.php - - message: "#^Cannot access offset string on mixed\\.$#" count: 1 @@ -2540,26 +2321,11 @@ parameters: count: 1 path: src/Store/Recipient.php - - - message: "#^Parameter \\#2 \\$search of function array_key_exists expects array, mixed given\\.$#" - count: 1 - path: src/Store/Recipient.php - - message: "#^Unsafe access to private property BracketSpace\\\\Notification\\\\Store\\\\Recipient\\:\\:\\$items through static\\:\\:\\.$#" count: 8 path: src/Store/Recipient.php - - - message: "#^Cannot call method getPriority\\(\\) on mixed\\.$#" - count: 4 - path: src/Store/Resolver.php - - - - message: "#^Method BracketSpace\\\\Notification\\\\Store\\\\Resolver\\:\\:sorted\\(\\) should return array\\ but returns array\\.$#" - count: 1 - path: src/Store/Resolver.php - - message: "#^Parameter \\#1 \\$key of function array_key_exists expects int\\|string, mixed given\\.$#" count: 1 @@ -2570,11 +2336,6 @@ parameters: count: 1 path: src/Store/Resolver.php - - - message: "#^Unsafe access to private property BracketSpace\\\\Notification\\\\Store\\\\Resolver\\:\\:\\$items through static\\:\\:\\.$#" - count: 6 - path: src/Store/Resolver.php - - message: "#^Parameter \\#1 \\$key of function array_key_exists expects int\\|string, mixed given\\.$#" count: 1 @@ -2585,11 +2346,6 @@ parameters: count: 1 path: src/Store/Trigger.php - - - message: "#^Unsafe access to private property BracketSpace\\\\Notification\\\\Store\\\\Trigger\\:\\:\\$items through static\\:\\:\\.$#" - count: 6 - path: src/Store/Trigger.php - - message: "#^Cannot access offset 'host' on array\\{scheme\\?\\: string, host\\?\\: string, port\\?\\: int, user\\?\\: string, pass\\?\\: string, path\\?\\: string, query\\?\\: string, fragment\\?\\: string\\}\\|false\\.$#" count: 1 @@ -2612,7 +2368,7 @@ parameters: - message: "#^Cannot access offset string on mixed\\.$#" - count: 5 + count: 3 path: src/Utils/Settings.php - @@ -2665,16 +2421,6 @@ parameters: count: 1 path: src/Utils/Settings/CoreFields/Select.php - - - message: "#^Method BracketSpace\\\\Notification\\\\Utils\\\\Settings\\\\Field\\:\\:sanitize\\(\\) should return string but returns mixed\\.$#" - count: 1 - path: src/Utils/Settings/Field.php - - - - message: "#^Parameter \\#1 \\$function of function call_user_func expects callable\\(\\)\\: mixed, mixed given\\.$#" - count: 2 - path: src/Utils/Settings/Field.php - - message: "#^Property BracketSpace\\\\Notification\\\\Utils\\\\Settings\\\\Field\\:\\:\\$addons \\(string\\) does not accept mixed\\.$#" count: 1 @@ -2765,16 +2511,6 @@ parameters: count: 1 path: src/api.php - - - message: "#^Function notificationAdapt\\(\\) should return BracketSpace\\\\Notification\\\\Interfaces\\\\Adaptable but returns object\\.$#" - count: 1 - path: src/api.php - - - - message: "#^Parameter \\#1 \\$index of static method BracketSpace\\\\Notification\\\\Store\\\\Trigger\\:\\:get\\(\\) expects string, mixed given\\.$#" - count: 1 - path: src/api.php - - message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#" count: 1 @@ -2787,17 +2523,17 @@ parameters: - message: "#^Cannot access offset 'licenses' on mixed\\.$#" - count: 2 + count: 1 path: uninstall.php - message: "#^Cannot access offset 'notifications' on mixed\\.$#" - count: 2 + count: 1 path: uninstall.php - message: "#^Cannot access offset 'settings' on mixed\\.$#" - count: 2 + count: 1 path: uninstall.php - diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 000000000..28219b09c --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,29 @@ +includes: + - vendor/szepeviktor/phpstan-wordpress/extension.neon + - phpstan-baseline.neon +parameters: + level: max + inferPrivatePropertyTypeFromConstructor: true + scanFiles: + - vendor/php-stubs/wp-cli-stubs/wp-cli-stubs.php + paths: + - notification.php + - load.php + - uninstall.php + - src/ + - compat/ + typeAliases: + NotificationData: ''' + array{ + hash?: string, + title?: string, + trigger?: BracketSpace\Notification\Interfaces\Triggerable, + carriers?: array, + enabled?: bool, + extras?: array|bool|float|int|string>, + version?: int, + } + ''' + excludePaths: + - dependencies/ + - src/Utils/EDDUpdater.php diff --git a/phpstan.neon.dist b/phpstan.neon.dist deleted file mode 100644 index 320d393e2..000000000 --- a/phpstan.neon.dist +++ /dev/null @@ -1,38 +0,0 @@ -includes: - - vendor/szepeviktor/phpstan-wordpress/extension.neon - - phpstan-baseline.neon -parameters: - level: max - inferPrivatePropertyTypeFromConstructor: true - reportUnmatchedIgnoredErrors: false - treatPhpDocTypesAsCertain: false - bootstrapFiles: - - tests/phpstan/bootstrap.php - scanFiles: - - vendor/php-stubs/wp-cli-stubs/wp-cli-stubs.php - paths: - - notification.php - - load.php - - uninstall.php - - src/ - - compat/ - excludePaths: - - src/Dependencies/ - - src/Utils/EDDUpdater.php - typeAliases: - NotificationData: ''' - array{ - hash?: string, - title?: string, - trigger?: BracketSpace\Notification\Interfaces\Triggerable, - carriers?: array, - enabled?: bool, - extras?: array|bool|float|int|string>, - version?: int, - } - ''' - ignoreErrors: - # Uses func_get_args() - - '#^Function apply_filters(_ref_array)? invoked with [34567] parameters, 2 required\.$#' - # PHPStan - - "#^Parameter \\#2 \\$callback of function \\(add_action\\|add_filter\\|add_shortcode\\) expects callable\\(\\)\\: mixed, array\\(mixed, '\\S+'\\) given\\.$#" diff --git a/phpunit.xml b/phpunit.xml index 8483b31b7..887ee0f83 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,6 +1,6 @@ >>>>>> 9ff8761a (fix: encode user login in password reset link merge tag) **Compatibility Breaking Changes** diff --git a/resources/css/src/fields/_image.scss b/resources/css/src/fields/_image.scss index 021be2e62..fdd532fde 100644 --- a/resources/css/src/fields/_image.scss +++ b/resources/css/src/fields/_image.scss @@ -5,28 +5,28 @@ } .image { - position: relative; display: none; + position: relative; .clear { - position: absolute; - top: -9px; - right: -9px; + background: #fff; border: 1px solid #fff; + border-radius: 50%; + cursor: pointer; font-size: 26px; height: 26px; + position: absolute; + right: -9px; + top: -9px; width: 28px; - background: #fff; - border-radius: 50%; - cursor: pointer; } .preview { border: 1px solid #e5e5e5; border-radius: 5px; - max-width: 200px; - height: auto; cursor: pointer; + height: auto; + max-width: 200px; } } diff --git a/resources/css/src/fields/_repeater.scss b/resources/css/src/fields/_repeater.scss index 2305607d1..fca00b53e 100644 --- a/resources/css/src/fields/_repeater.scss +++ b/resources/css/src/fields/_repeater.scss @@ -5,13 +5,13 @@ } .add-new-sections-field { - position: relative; - margin-top: 10px; margin-right: 40px; + margin-top: 10px; + position: relative; @media ( max-width: 782px) { - position: static; float: none; + position: static; } &-info { @@ -19,19 +19,19 @@ } .section-modal { - position: absolute; - z-index: 1; - border-radius: 5px; background-color: #000; + border-radius: 5px; color: #fff; - text-align: center; left: 0; min-width: 100%; + position: absolute; + text-align: center; + z-index: 1; span { display: block; - padding: 5px; margin: 5px; + padding: 5px; &:hover { background-color: #0071a1; @@ -51,11 +51,11 @@ .notification-field { &.fields-repeater { - width: 100%; - margin-bottom: 10px; border: 0; border-collapse: collapse; + margin-bottom: 10px; table-layout: fixed; + width: 100%; tr { @@ -65,26 +65,26 @@ td:not(.nested-section-repeater), th { - width: auto; - padding: 12px; background-color: #fff; border: 1px solid #e5e5e5; + padding: 12px; + width: auto; &.handle, &.sub-handle, &.trash { background: #f5f5f5; + color: #a5a5a5; + padding: 0; + text-align: center; white-space: nowrap; width: 40px; - text-align: center; - padding: 0; - color: #a5a5a5; @media ( max-width: 782px ) { - width: calc(100% - 22px); height: 30px; line-height: 30px; padding: 0 10px; + width: calc(100% - 22px); } } @@ -93,8 +93,8 @@ position: relative; &::after { - display: none; content: "\f545"; + display: none; font: 400 20px/1 dashicons, sans-serif; line-height: 30px; } @@ -120,11 +120,11 @@ /* stylelint-disable no-descending-specificity */ .handle-index { /* stylelint-enable */ + left: 50%; position: absolute; + text-align: center; top: 50%; - left: 50%; transform: translate(-50%, -50%); - text-align: center; } } @@ -170,14 +170,14 @@ } &::after { - display: none; content: "\f182"; + display: none; font: 400 20px/1 dashicons, sans-serif; line-height: 30px; @media ( max-width: 782px ) { - position: absolute; display: block; + position: absolute; right: 10px; top: 0; } @@ -242,8 +242,8 @@ background-color: #f5f5f5; @media ( max-width: 782px ) { - border-top: 0; border-bottom: 0; + border-top: 0; &:first-child { border-top: 1px solid #e5e5e5; @@ -328,8 +328,8 @@ .nested-repeater-fields { table { - border-spacing: 0; border-collapse: collapse; + border-spacing: 0; @media ( max-width: 1680px ) { width: 100%; @@ -353,14 +353,14 @@ &.sub-handle { @media ( max-width: 1680px ) { - width: 100%; height: 30px; + width: 100%; } @media (max-width: 782px) { - width: calc(100% - 20px); margin-left: auto; margin-right: auto; + width: calc(100% - 20px); } } @@ -400,13 +400,13 @@ } .nested-section-repeater { + border-bottom: 1px solid #e5e5e5; padding: 0 0 10px 0; width: 100%; - border-bottom: 1px solid #e5e5e5; .row { - width: 100%; border-collapse: collapse; + width: 100%; .section-content { width: auto; @@ -444,9 +444,9 @@ } .section-name-field { - width: 80px; - text-transform: capitalize; font-weight: 600; + text-transform: capitalize; + width: 80px; } .trash { diff --git a/resources/css/src/partials/_admin-carriers.scss b/resources/css/src/partials/_admin-carriers.scss index ca25ad03b..918013b17 100644 --- a/resources/css/src/partials/_admin-carriers.scss +++ b/resources/css/src/partials/_admin-carriers.scss @@ -24,31 +24,31 @@ body.post-type-notification { &::before, &::after { + clear: both; content: ""; display: block; - clear: both; } .switch { - float: left; + background: #c5c5c5; + border-radius: 1em; display: inline-block; + float: left; font-size: 20px; height: 1em; - width: 2em; - background: #c5c5c5; - border-radius: 1em; - margin-top: 8px; margin-right: 10px; + margin-top: 8px; + width: 2em; div { - height: 1em; - width: 1em; - border-radius: 1em; background: #fff; + border-radius: 1em; box-shadow: 0 0.1em 0.3em rgba(0, 0, 0, 0.3); + height: 1em; -webkit-transition: all 300ms; -moz-transition: all 300ms; transition: all 300ms; + width: 1em; } } diff --git a/resources/css/src/partials/_admin-trigger.scss b/resources/css/src/partials/_admin-trigger.scss index e21f1c7b8..cfeb34367 100644 --- a/resources/css/src/partials/_admin-trigger.scss +++ b/resources/css/src/partials/_admin-trigger.scss @@ -5,13 +5,17 @@ body.post-type-notification { .selectize-control .selectize-dropdown .caption { - font-size: 12px; - display: block; color: #a0a0a0; + display: block; + font-size: 12px; } .selectize-control .selectize-dropdown div[data-selectable] { padding: 6px 8px; } + .selectize-control .selectize-dropdown-content { + max-height: 550px; + } + } diff --git a/resources/css/src/partials/_admin-wizard.scss b/resources/css/src/partials/_admin-wizard.scss index 85bfe61e3..94b2e42ad 100644 --- a/resources/css/src/partials/_admin-wizard.scss +++ b/resources/css/src/partials/_admin-wizard.scss @@ -1,7 +1,7 @@ #notifications-wizard { - position: relative; - margin-top: 50px; margin-left: 40px; + margin-top: 50px; + position: relative; @media (max-width: 1100px) { margin-left: 0; @@ -13,10 +13,10 @@ } h3 { + color: #5f5f5f; font-size: 18px; - line-height: 28px; font-weight: 400; - color: #5f5f5f; + line-height: 28px; margin: 0 0 83px 0; @media (max-width: 900px) { @@ -39,10 +39,10 @@ } &-subtitle { + color: #5f5f5f; font-size: 15px; - line-height: 19px; font-weight: 400; - color: #5f5f5f; + line-height: 19px; } } @@ -54,13 +54,13 @@ } .notifications-tile { + border: 1px solid #ccc; + box-shadow: 0 0 6px rgba(0, 0, 0, 0.16); + cursor: pointer; margin: 10px; - width: calc(33% - 44px); min-width: 200px; - cursor: pointer; position: relative; - border: 1px solid #ccc; - box-shadow: 0 0 6px rgba(0, 0, 0, 0.16); + width: calc(33% - 44px); @media (max-width: 782px) { width: calc(50% - 22px); @@ -75,28 +75,28 @@ } &-hover { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 0; - visibility: hidden; + align-items: center; background: rgba(0, 0, 0, 0.8); color: #fff; display: flex; flex-direction: column; + height: 100%; justify-content: center; - align-items: center; + left: 0; + opacity: 0; + position: absolute; + top: 0; transition: all 0.2s linear; + visibility: hidden; + width: 100%; @media (max-width: 900px) { display: none; } span { - width: 65px; height: 65px; + width: 65px; &::before { font-size: 65px; @@ -105,25 +105,25 @@ } .inside { + background-color: #fff; margin: 0; - position: relative; min-height: 100%; + position: relative; width: 100%; - background-color: #fff; .content { - padding: 20px; margin-bottom: 40px; + padding: 20px; h2 { - margin: 0; color: #5f5f5f; + margin: 0; } p { + color: #5f5f5f; font-size: 13px; line-height: 17px; - color: #5f5f5f; padding: 10px 0; } } @@ -132,33 +132,33 @@ span { color: #888; - margin-right: 10px; font-size: 18px; + margin-right: 10px; } } .carrier-type { - border-top: 1px solid #ccc; background-color: #fafafa; + border-top: 1px solid #ccc; + bottom: 0; + box-sizing: border-box; color: #5f5f5f; - padding: 10px 20px; font-weight: 600; + padding: 10px 20px; position: absolute; - bottom: 0; width: 100%; - box-sizing: border-box; } } &.selected { - box-shadow: 0 0 6px rgba(0, 133, 186, 0.5); border: 1px solid rgba(0, 133, 186, 1); + box-shadow: 0 0 6px rgba(0, 133, 186, 0.5); .inside { .carrier-type { - border-top: 1px solid rgba(0, 133, 186, 1); background-color: rgba(0, 133, 186, 1); + border-top: 1px solid rgba(0, 133, 186, 1); color: #fff; } @@ -174,22 +174,22 @@ } .tile-image { + background: #fff; border: 1px solid #e5e5e5; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); - background: #fff; padding: 33px 40px; svg { - max-width: 100%; height: auto; + max-width: 100%; } } } .sidebar { position: absolute; - top: 0; right: 0; + top: 0; width: 280px; @media (max-width: 900px) { @@ -206,16 +206,16 @@ } h3 { + color: #5f5f5f; font-weight: 700; margin-bottom: 10px; - color: #5f5f5f; } a, button { display: block; - width: 100%; margin: 5px 0; + width: 100%; &.button { text-align: center; @@ -226,22 +226,22 @@ .skip-wizard { &.as-link { - margin-top: 0.8rem; background: transparent; - color: #5f5f5f; - text-align: center; - font-size: 13px; border-color: transparent; box-shadow: 0 1px 0 transparent; + color: #5f5f5f; + font-size: 13px; + margin-top: 0.8rem; + text-align: center; } } .button:not(.hidden) { - margin-top: 40px; font-size: 13px; font-weight: 600; - padding: 7px 10px; height: 43px; + margin-top: 40px; + padding: 7px 10px; @media (max-width: 900px) { padding: 10px 10px; diff --git a/resources/css/src/partials/_carriers-widget.scss b/resources/css/src/partials/_carriers-widget.scss index b0a507dd2..69c79ff6a 100644 --- a/resources/css/src/partials/_carriers-widget.scss +++ b/resources/css/src/partials/_carriers-widget.scss @@ -3,23 +3,23 @@ } [data-nt-carrier-remove] { - position: relative; - float: left; + background: none; + border: 0; + cursor: pointer; display: inline-block; + float: left; height: 36px; margin: 0 2px; - padding: 8px; - background: none; - border: 0; outline: none; - cursor: pointer; + padding: 8px; + position: relative; &::before { + color: #c5c5c5; content: "\f182"; font-family: dashicons; // stylelint-disable-line font-size: 20px; line-height: 1; - color: #c5c5c5; transition: color 0.2s; } @@ -46,26 +46,26 @@ } &__carrier { + box-sizing: border-box; display: flex; - width: 25%; - min-width: 258px; margin: 0; + min-width: 258px; padding: 10px; - box-sizing: border-box; + width: 25%; } &__carrier-link { - position: relative; - display: block; - width: 100%; - padding: 20px; - font-size: 0; - line-height: 0; - text-decoration: none; background-color: #fff; border: 1px solid #e5e5e5; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04) !important; + display: block; + font-size: 0; + line-height: 0; outline: none; + padding: 20px; + position: relative; + text-decoration: none; + width: 100%; .label-pro { left: -10px; @@ -83,8 +83,8 @@ height: 100px; svg { - width: auto; height: 100%; + width: auto; path { fill: #23282d; @@ -93,27 +93,27 @@ } &__carrier-title { - margin-top: 20px; - font-weight: 400; + color: #23282d; font-size: 20px; + font-weight: 400; line-height: (34 / 20); - color: #23282d; + margin-top: 20px; text-align: center; } &__carrier-overlay { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - display: flex; - justify-content: center; align-items: center; background-color: #7dcc4c; + display: flex; + height: 100%; + justify-content: center; + left: 0; opacity: 0; - visibility: hidden; + position: absolute; + top: 0; transition: opacity 0.2s, visibility 0.2s; + visibility: hidden; + width: 100%; &.available { background-color: #434343; @@ -131,41 +131,41 @@ } &__carrier-overlay-icon { - position: relative; display: inline-block; - width: 30px; height: 30px; + position: relative; + width: 30px; &::before, &::after { + background-color: #fff; content: ""; position: absolute; - background-color: #fff; } &::before { - top: 50%; - left: 0; - width: 100%; height: 3px; + left: 0; + top: 50%; transform: translateY(-50%); + width: 100%; } &::after { - top: 0; - left: 50%; - width: 3px; height: 100%; + left: 50%; + top: 0; transform: translateX(-50%); + width: 3px; } } &__carrier-overlay-title { - margin-top: 10px; - font-weight: 400; + color: #fff; font-size: 20px; + font-weight: 400; line-height: (34 / 20); - color: #fff; + margin-top: 10px; } /** @@ -177,34 +177,34 @@ } &__button-link { - display: block; - width: 100%; - padding: 20px; - font-size: 0; - line-height: 0; - text-align: center; - text-decoration: none; background-color: #fff; border: 1px solid #e5e5e5; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04) !important; box-sizing: border-box; + display: block; + font-size: 0; + line-height: 0; outline: none; + padding: 20px; + text-align: center; + text-decoration: none; transition: background-color 0.2s; + width: 100%; &:hover { background-color: rgba(#fff, 0.75); } &--less { - padding: 10px 20px; background-color: rgba(#fff, 0.5); + padding: 10px 20px; } } &__button-link-inner { - position: relative; display: inline-block; padding-left: 50px; + position: relative; #{$root}__button-link--less & { padding-left: 35px; @@ -212,39 +212,39 @@ } &__button-icon { + height: 30px; + left: 0; position: absolute; top: calc(50% - 15px); - left: 0; width: 30px; - height: 30px; #{$root}__button-link--less & { + height: 20px; top: calc(50% - 10px); width: 20px; - height: 20px; } &::before, &::after { + background-color: #23282d; content: ""; position: absolute; - background-color: #23282d; } &::before { - top: 50%; - left: 0; - width: 100%; height: 3px; + left: 0; + top: 50%; transform: translateY(-50%); + width: 100%; } &::after { - top: 0; - left: 50%; - width: 3px; height: 100%; + left: 50%; + top: 0; transform: translateX(-50%); + width: 3px; } &--close { @@ -253,11 +253,11 @@ } &__button-title { - font-weight: 400; + color: #23282d; font-size: 20px; + font-weight: 400; line-height: (34 / 20); - color: #23282d; - text-align: center; overflow: hidden; + text-align: center; } } diff --git a/resources/css/src/partials/_extensions.scss b/resources/css/src/partials/_extensions.scss index 839173945..3c66f5106 100644 --- a/resources/css/src/partials/_extensions.scss +++ b/resources/css/src/partials/_extensions.scss @@ -13,29 +13,29 @@ .action-links { .official { - margin-top: 3px; - display: inline-block; - box-sizing: border-box; - text-align: center; - padding: 3px 10px; - width: 100%; - color: #fff; background: #0073aa; border-radius: 4px; + box-sizing: border-box; + color: #fff; + display: inline-block; + margin-top: 3px; + padding: 3px 10px; + text-align: center; text-transform: uppercase; + width: 100%; } .discount { - margin-top: 3px; - display: inline-block; - box-sizing: border-box; - text-align: center; - padding: 3px 10px; - width: 100%; - color: #fff; background: #00aa4c; border-radius: 4px; + box-sizing: border-box; + color: #fff; + display: inline-block; + margin-top: 3px; + padding: 3px 10px; + text-align: center; text-transform: uppercase; + width: 100%; } } @@ -49,15 +49,15 @@ .plugin-card-bottom { .column-license { - float: left; clear: left; + float: left; width: 65%; width: calc(100% - 180px); } .column-submit { - float: right; clear: right; + float: right; max-width: 180px; } diff --git a/resources/css/src/partials/_global.scss b/resources/css/src/partials/_global.scss index 419518265..c3f7e0b70 100644 --- a/resources/css/src/partials/_global.scss +++ b/resources/css/src/partials/_global.scss @@ -20,22 +20,22 @@ .selectize-control.multi .selectize-input { [data-value] { - text-shadow: none; background-color: #eee; background-image: linear-gradient(to bottom, #f4f4f4, #dfdfdf); + text-shadow: none; &.active { background-color: #ddd; background-image: linear-gradient(to bottom, #eee, #cfcfcf); - color: #535353; border: 1px solid #c0c0c0; + color: #535353; } } > div { - color: #535353; border: 1px solid #c0c0c0; + color: #535353; } } @@ -46,68 +46,68 @@ .onoffswitch { position: relative; - width: 66px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; + width: 66px; .onoffswitch-label { + border-radius: 50px; + cursor: pointer; display: block; overflow: hidden; - cursor: pointer; - border-radius: 50px; } .onoffswitch-inner { display: block; - width: 200%; margin-left: -100%; transition: margin 0.2s ease-in 0s; + width: 200%; &::before, &::after { + box-sizing: border-box; + color: #fff; display: block; float: left; - width: 50%; - height: 30px; - padding: 0; - line-height: 30px; - font-size: 12px; - color: #fff; font-family: Trebuchet, Arial, sans-serif; + font-size: 12px; font-weight: 600; - box-sizing: border-box; + height: 30px; + line-height: 30px; + padding: 0; + width: 50%; } &::before { - content: "ON"; - padding-left: 12px; background-color: #eee; color: #707070; + content: "ON"; + padding-left: 12px; } &::after { - content: "OFF"; - padding-right: 8px; background-color: #eee; color: #707070; + content: "OFF"; + padding-right: 8px; text-align: right; } } .onoffswitch-switch { + background: #a1a1a1; + border: 2px solid #999; + border-radius: 50px; + bottom: 0; display: block; - width: 19px; margin: 4px; - background: #a1a1a1; position: absolute; - top: 0; - bottom: 0; right: 34px; - border: 2px solid #999; - border-radius: 50px; + top: 0; transition: all 0.2s ease-in 0s; + width: 19px; } &.loading { @@ -123,8 +123,8 @@ } 100% { - transform: scale(1); opacity: 0; + transform: scale(1); } } @@ -140,9 +140,9 @@ } .onoffswitch-switch { - right: 0; background-color: #7dcc4c; border-color: #7dcc4c; + right: 0; } } @@ -155,9 +155,9 @@ .button.button-icon { .dashicons { + font-size: 18px; position: relative; top: 3px; - font-size: 18px; } } diff --git a/resources/css/src/partials/_logs.scss b/resources/css/src/partials/_logs.scss index f9a3e5bd6..f8cbb4d23 100644 --- a/resources/css/src/partials/_logs.scss +++ b/resources/css/src/partials/_logs.scss @@ -2,6 +2,97 @@ * Log styles */ +%notification-logs { + + .log-item { + border: 1px solid #ececec; + border-radius: 3px; + box-shadow: 1px 1px 1px #f9f9f9; + margin-bottom: 1em; + + .log-handle { + cursor: pointer; + overflow: auto; + + .carrier-name { + background: #ececec; + display: inline-block; + font-weight: 600; + min-width: 120px; + padding: 10px; + } + + .notification-title { + display: inline-block; + padding: 10px; + } + + .source-label { + background: #ececec; + border-radius: 6px; + bottom: 2px; + font-size: 10px; + padding: 2px 6px; + position: relative; + } + + .date { + display: inline-block; + float: right; + padding: 10px; + + abbr { + text-decoration: none; + } + + } + + .indicator { + display: inline-block; + float: right; + padding: 8px 10px; + } + + @media ( max-width: 768px ) { + + .carrier-name { + background: none; + width: 100%; + } + + .indicator { + display: none; + } + + } + + } + + .log-body { + max-height: 0; + overflow: hidden; + overflow-y: scroll; + transition: max-height 0.3s; + + .body-content { + border-top: 1px solid #ececec; + padding: 10px; + } + + } + + &.expanded { + + .log-body { + max-height: 400px; + } + + } + + } + +} + .notification-settings { /* stylelint-disable */ @@ -18,9 +109,9 @@ } td { + overflow-wrap: break-word; padding: 15px 0; word-wrap: break-word; - overflow-wrap: break-word; table { margin-bottom: 1rem; @@ -44,8 +135,8 @@ } caption { - text-align: left; font-weight: 600; + text-align: left; } } @@ -56,35 +147,35 @@ .error-logs { - @extend .notification-logs; + @extend %notification-logs; .log-handle { .message { - padding: 10px; - display: inline-block; background: #ececec; - min-width: 90px; - font-weight: 600; + display: inline-block; float: left; + font-weight: 600; + min-width: 90px; + padding: 10px; } .component { - padding: 10px; display: inline-block; float: left; + padding: 10px; } .excerpt { - padding: 10px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - max-width: 60%; + color: #ccc; display: inline-block; float: left; - color: #ccc; + max-width: 60%; + overflow: hidden; + padding: 10px; + text-overflow: ellipsis; transition: opacity 0.3s; + white-space: nowrap; } } @@ -105,92 +196,7 @@ .notification-logs { - .log-item { - border: 1px solid #ececec; - border-radius: 3px; - box-shadow: 1px 1px 1px #f9f9f9; - margin-bottom: 1em; - - .log-handle { - cursor: pointer; - overflow: auto; - - .carrier-name { - padding: 10px; - display: inline-block; - background: #ececec; - min-width: 120px; - font-weight: 600; - } - - .notification-title { - padding: 10px; - display: inline-block; - } - - .source-label { - font-size: 10px; - background: #ececec; - padding: 2px 6px; - border-radius: 6px; - position: relative; - bottom: 2px; - } - - .date { - padding: 10px; - display: inline-block; - float: right; - - abbr { - text-decoration: none; - } - - } - - .indicator { - padding: 8px 10px; - display: inline-block; - float: right; - } - - @media ( max-width: 768px ) { - - .carrier-name { - background: none; - width: 100%; - } - - .indicator { - display: none; - } - - } - - } - - .log-body { - max-height: 0; - overflow: hidden; - overflow-y: scroll; - transition: max-height 0.3s; - - .body-content { - border-top: 1px solid #ececec; - padding: 10px; - } - - } - - &.expanded { - - .log-body { - max-height: 400px; - } - - } - - } + @extend %notification-logs; } @@ -198,21 +204,21 @@ text-align: right; a.page-numbers { + -webkit-appearance: none; + border: 1px solid #ececec; + border-radius: 3px; + box-sizing: border-box; + color: #555; + cursor: pointer; display: inline-block; - text-decoration: none; font-size: 13px; - line-height: 26px; height: 28px; + line-height: 26px; margin: 0; padding: 0 10px 1px; - cursor: pointer; - -webkit-appearance: none; - border-radius: 3px; - white-space: nowrap; - box-sizing: border-box; - color: #555; - border: 1px solid #ececec; + text-decoration: none; vertical-align: top; + white-space: nowrap; &:hover { background: #ececec; diff --git a/resources/css/src/partials/_metabox.scss b/resources/css/src/partials/_metabox.scss index 7f16b7990..8210984f2 100644 --- a/resources/css/src/partials/_metabox.scss +++ b/resources/css/src/partials/_metabox.scss @@ -5,8 +5,8 @@ #notification_merge_tags .inside { /* stylelint-disable-line */ .notification-search-merge-tags { - margin-top: 10px; margin-bottom: 20px; + margin-top: 10px; } h2 { @@ -14,28 +14,28 @@ padding: 0; a { - position: relative; - display: block; - padding: 12px 0; border-bottom: 1px solid rgba(229, 229, 229, 0.6); - font-weight: 600; - text-transform: uppercase; color: #636363; - text-decoration: none; + display: block; + font-weight: 600; max-width: 100%; - text-overflow: ellipsis; overflow: hidden; + padding: 12px 0; + position: relative; + text-decoration: none; + text-overflow: ellipsis; + text-transform: uppercase; &::after { + border-left: 5px solid transparent; + border-right: 5px solid transparent; + border-top: 5px solid #636363; content: ""; + height: 0; position: absolute; - top: 20px; right: 10px; + top: 20px; width: 0; - height: 0; - border-left: 5px solid transparent; - border-right: 5px solid transparent; - border-top: 5px solid #636363; } } } @@ -44,9 +44,9 @@ li { + margin-bottom: 20px; position: relative; width: 100%; - margin-bottom: 20px; .intro { width: calc(100% - 30px); @@ -56,65 +56,65 @@ font-weight: 600; margin-bottom: 5px; max-width: 100%; - text-overflow: ellipsis; overflow: hidden; + text-overflow: ellipsis; } code { - display: inline-block; + box-sizing: border-box; cursor: pointer; - word-wrap: nowrap; + display: inline-block; max-width: 100%; - text-overflow: ellipsis; overflow: hidden; - box-sizing: border-box; + text-overflow: ellipsis; + word-wrap: nowrap; } } .question-mark { + background-color: #888; + border-radius: 50%; + color: #fff; + cursor: pointer; + float: right; font-size: 14px; + height: 20px; + line-height: 20px; position: absolute; - float: right; right: 0; + text-align: center; top: 10px; - border-radius: 50%; - background-color: #888; - color: #fff; width: 20px; - height: 20px; - text-align: center; - line-height: 20px; - cursor: pointer; .description { - position: absolute; - visibility: hidden; box-shadow: 0 0 8px #eaeaea; + min-width: 200px; + position: absolute; right: -3px; + text-align: left; top: 160%; + visibility: hidden; z-index: 15; - min-width: 200px; - text-align: left; .description-container { - border: 1px solid #e5e5e5; background: #fff; + border: 1px solid #e5e5e5; color: #333; - padding: 10px; font-size: 12px; line-height: 16px; + padding: 10px; position: relative; &::after, &::before { - bottom: 100%; - right: 0; border: solid transparent; + bottom: 100%; content: " "; height: 0; - width: 0; - position: absolute; pointer-events: none; + position: absolute; + right: 0; + width: 0; z-index: 18; } @@ -164,8 +164,8 @@ body.post-type-notification { padding: 0; .misc-pub-section { - padding: 10px; overflow: auto; + padding: 10px; .row-label { float: left; diff --git a/resources/css/src/partials/_pretty-select.scss b/resources/css/src/partials/_pretty-select.scss index 15f8fc22d..ed179a30e 100644 --- a/resources/css/src/partials/_pretty-select.scss +++ b/resources/css/src/partials/_pretty-select.scss @@ -9,10 +9,10 @@ } .item { + max-width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - max-width: 80%; } } diff --git a/resources/css/src/partials/_settings.scss b/resources/css/src/partials/_settings.scss index debbc7f00..5d258d3af 100644 --- a/resources/css/src/partials/_settings.scss +++ b/resources/css/src/partials/_settings.scss @@ -9,13 +9,13 @@ } .box { - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - border: 1px solid #e5e5e5; background: #fff; + border: 1px solid #e5e5e5; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); + box-sizing: border-box; color: #555; - padding: 15px; margin: 0 0 2rem 0; - box-sizing: border-box; + padding: 15px; h3 { margin-top: 0; @@ -23,8 +23,8 @@ } .setting-col { - margin-left: 320px; font-size: 15px; + margin-left: 320px; @include mobile { margin-left: 0; @@ -42,25 +42,25 @@ position: relative; a { - text-decoration: none; cursor: pointer; + text-decoration: none; } &::after { + border-radius: 50%; content: "\f142"; display: inline-block; font: 400 20px/1 dashicons, sans-serif; - speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: absolute; - top: 5px; right: 0; - width: 20px; - border-radius: 50%; + speak: none; text-indent: -1px; - transition: all 0.3s ease-in-out; + top: 5px; transform: rotate(180deg); + transition: all 0.3s ease-in-out; + width: 20px; } &.open { @@ -72,9 +72,9 @@ } h3 { + border-bottom: 1px solid #e4e4e4; font-weight: 400; margin: 4px 0; - border-bottom: 1px solid #e4e4e4; padding-bottom: 16px; } @@ -104,8 +104,8 @@ } thead td { - font-weight: 600; background: #f9f9f9; + font-weight: 600; } } @@ -117,10 +117,10 @@ } .menu-col { - width: 280px; - margin-right: 40px; float: left; + margin-right: 40px; padding-left: 0; + width: 280px; @include mobile { float: none; @@ -132,17 +132,17 @@ padding: 15px 0; li { - padding-left: 15px; display: block; margin: 12px 0; + padding-left: 15px; a { - font-size: 18px; - text-decoration: none; - text-transform: uppercase; color: #555; display: block; + font-size: 18px; padding: 6px 0; + text-decoration: none; + text-transform: uppercase; } &.current { @@ -176,22 +176,22 @@ .selectize-control.multi .selectize-input { [data-value] { - text-shadow: none; background-color: #eee; background-image: linear-gradient(to bottom, #f4f4f4, #dfdfdf); + text-shadow: none; &.active { background-color: #ddd; background-image: linear-gradient(to bottom, #eee, #cfcfcf); - color: #535353; border: 1px solid #c0c0c0; + color: #535353; } } > div { - color: #535353; border: 1px solid #c0c0c0; + color: #535353; } } diff --git a/resources/css/src/partials/_upsell.scss b/resources/css/src/partials/_upsell.scss index 4c4b280b3..e70f4e1b9 100644 --- a/resources/css/src/partials/_upsell.scss +++ b/resources/css/src/partials/_upsell.scss @@ -13,7 +13,7 @@ } .notification-upsell-banner { - padding: 10px; background: #d8eede; border-radius: 10px; + padding: 10px; } diff --git a/resources/js/src/component/carriers-widget.js b/resources/js/src/component/carriers-widget.js index a583b2857..c952c412a 100644 --- a/resources/js/src/component/carriers-widget.js +++ b/resources/js/src/component/carriers-widget.js @@ -12,18 +12,18 @@ class CarriersWidget { setVars() { this.atts = { - carrier: "data-nt-carrier", // single carrier wrapper - carrierActiveInput: "data-nt-carrier-input-active", // input inside carrier with activated value - carrierEnableInput: "data-nt-carrier-input-enable", // input inside carrier with enabled value - carrierSwitch: "data-nt-carrier-input-switch", // input inside carrier with switch value - carrierRemoveButton: "data-nt-carrier-remove", // remove button inside carrier - widget: "data-nt-widget", // widget with buttons for adding carriers, "add" and "abort" - buttons: "data-nt-buttons", // wrapper with buttons - button: "data-nt-button", // button to adding carrier - buttonLink: "data-nt-button-link", // link inside button - add: "data-nt-widget-add", // button to showing buttons - abort: "data-nt-widget-abort", // button to hiding buttons - hidden: "data-nt-hidden" // added to hidden elements + carrier: 'data-nt-carrier', // single carrier wrapper + carrierActiveInput: 'data-nt-carrier-input-active', // input inside carrier with activated value + carrierEnableInput: 'data-nt-carrier-input-enable', // input inside carrier with enabled value + carrierSwitch: 'data-nt-carrier-input-switch', // input inside carrier with switch value + carrierRemoveButton: 'data-nt-carrier-remove', // remove button inside carrier + widget: 'data-nt-widget', // widget with buttons for adding carriers, "add" and "abort" + buttons: 'data-nt-buttons', // wrapper with buttons + button: 'data-nt-button', // button to adding carrier + buttonLink: 'data-nt-button-link', // link inside button + add: 'data-nt-widget-add', // button to showing buttons + abort: 'data-nt-widget-abort', // button to hiding buttons + hidden: 'data-nt-hidden', // added to hidden elements }; this.wrapper = document.querySelector(`[${this.atts.widget}]`); @@ -61,39 +61,39 @@ class CarriersWidget { this.settings = { classes: { - carrierDisabledClass: "closed" + carrierDisabledClass: 'closed', }, scrollTime: 1000, - scrollOffset: 50 + scrollOffset: 50, }; return true; } setEvents() { - this.buttonAdd.addEventListener("click", e => { + this.buttonAdd.addEventListener('click', (e) => { e.preventDefault(); this.showButtons(); }); - this.buttonAbort.addEventListener("click", e => { + this.buttonAbort.addEventListener('click', (e) => { e.preventDefault(); this.hideButtons(); }); const { length } = this.carriers; for (let i = 0; i < length; i++) { - this.buttons[i].addEventListener("click", e => { + this.buttons[i].addEventListener('click', (e) => { e.preventDefault(); this.addCarrier(i); }); - this.carrierHndles[i].addEventListener("click", e => { + this.carrierHndles[i].addEventListener('click', (e) => { e.stopImmediatePropagation(); }); - this.carrierRemoveButtons[i].addEventListener("click", e => { + this.carrierRemoveButtons[i].addEventListener('click', (e) => { e.preventDefault(); this.removeCarrier(i); }); - this.carrierSwitches[i].addEventListener("change", e => { + this.carrierSwitches[i].addEventListener('change', (e) => { this.toggleCarrier(i, e.target.checked); }); } @@ -127,7 +127,7 @@ class CarriersWidget { removeCarrier(index) { this.carriers[index].setAttribute(this.atts.hidden, true); - this.carrierActiveInputs[index].value = ""; + this.carrierActiveInputs[index].value = ''; this.buttons[index].removeAttribute(this.atts.hidden); this.toggleCarrier(index, false); @@ -144,12 +144,12 @@ class CarriersWidget { this.carriers[index].classList.add( this.settings.classes.carrierDisabledClass ); - this.carrierEnableInputs[index].value = ""; + this.carrierEnableInputs[index].value = ''; } this.carrierSwitches[index].checked = status; notification.hooks.doAction( - "notification.carrier.toggled", + 'notification.carrier.toggled', $(this.carriers[index]) ); } @@ -173,9 +173,9 @@ class CarriersWidget { } scrollToCarrier(index) { - $("html, body").animate( + $('html, body').animate( { - scrollTop: this.getDomElementOffset(this.carriers[index]) + scrollTop: this.getDomElementOffset(this.carriers[index]), }, this.settings.scrollTime ); @@ -189,6 +189,6 @@ class CarriersWidget { } } -$(document).ready(function() { +$(document).ready(function () { new CarriersWidget(); }); diff --git a/resources/js/src/component/import-export.js b/resources/js/src/component/import-export.js index 37a5ef9c9..f23fc8b8d 100644 --- a/resources/js/src/component/import-export.js +++ b/resources/js/src/component/import-export.js @@ -1,49 +1,47 @@ -/* global notification, jQuery, FormData */ -(function($) { +/* global notification, jQuery */ + +(function ($) { const __ = wp.i18n.__; - $(document).ready(function() { - const $button = $("#export-notifications .button"); + $(document).ready(function () { + const $button = $('#export-notifications .button'); const $items = $( '#export-notifications ul li input[type="checkbox"]:not(.select-all)' ); - const link = $button.prop("href"); + const link = $button.prop('href'); function getSelectedItems() { const items = []; - $.each($items, function(index, item) { + $.each($items, function (index, item) { const $item = $(item); - if ($item.is(":checked")) { + if ($item.is(':checked')) { items.push($item.val()); } }); return items.join(); } - $('#export-notifications input[type="checkbox"]').change(function() { - if ($(this).hasClass("select-all")) { - if ($(this).is(":checked")) { - $items.prop("checked", true); + $('#export-notifications input[type="checkbox"]').change(function () { + if ($(this).hasClass('select-all')) { + if ($(this).is(':checked')) { + $items.prop('checked', true); } else { - $items.prop("checked", false); + $items.prop('checked', false); } } - $button.prop("href", link + getSelectedItems()); + $button.prop('href', link + getSelectedItems()); }); }); - $(document).ready(function() { - const $button = $("#import-notifications .button"); + $(document).ready(function () { + const $button = $('#import-notifications .button'); const $file = $('#import-notifications input[type="file"]'); let files = []; - const $message = $("#import-notifications .message"); + const $message = $('#import-notifications .message'); function clearMessage() { - $message - .removeClass("success") - .removeClass("error") - .text(""); + $message.removeClass('success').removeClass('error').text(''); } function addMessage(type, message) { @@ -51,26 +49,26 @@ $message.addClass(type).text(message); } - $file.on("change", function(event) { + $file.on('change', function (event) { files = event.target.files; - $.each(files, function(key, value) { - if ("application/json" !== value.type) { + $.each(files, function (key, value) { + if ('application/json' !== value.type) { addMessage( - "error", + 'error', __( - "Please upload only valid JSON files", - "notification" + 'Please upload only valid JSON files', + 'notification' ) ); - $file.val(""); + $file.val(''); } else { clearMessage(); } }); }); - $button.on("click", function(event) { - if ("true" === $button.data("processing")) { + $button.on('click', function (event) { + if ('true' === $button.data('processing')) { return false; } @@ -78,37 +76,37 @@ const data = new FormData(); - $.each(files, function(key, value) { + $.each(files, function (key, value) { data.append(key, value); }); - data.append("action", "notification_import_json"); - data.append("type", "notifications"); - data.append("nonce", $button.data("nonce")); + data.append('action', 'notification_import_json'); + data.append('type', 'notifications'); + data.append('nonce', $button.data('nonce')); - addMessage("neutral", __("Importing data...", "notification")); - $button.data("processing", "true"); + addMessage('neutral', __('Importing data…', 'notification')); + $button.data('processing', 'true'); $.ajax({ url: notification.ajaxurl, - type: "POST", + type: 'POST', data, cache: false, - dataType: "json", + dataType: 'json', processData: false, contentType: false, success(response) { if (response.success) { - addMessage("success", response.data); - $file.val(""); + addMessage('success', response.data); + $file.val(''); } else { - addMessage("error", response.data); + addMessage('error', response.data); } - $button.data("processing", "false"); + $button.data('processing', 'false'); }, error(jqXHR, textStatus, errorThrown) { - addMessage("error", errorThrown); - } + addMessage('error', errorThrown); + }, }); }); }); diff --git a/resources/js/src/component/logs.js b/resources/js/src/component/logs.js index 8d74388d8..080a33203 100644 --- a/resources/js/src/component/logs.js +++ b/resources/js/src/component/logs.js @@ -1,29 +1,27 @@ /* global jQuery */ -(function($) { - $(document).ready(function() { - $(".log-container .log-item .log-handle").on("click", function(event) { +(function ($) { + $(document).ready(function () { + $('.log-container .log-item .log-handle').on('click', function (event) { event.preventDefault(); + $(this).parent().toggleClass('expanded'); $(this) - .parent() - .toggleClass("expanded"); - $(this) - .find(".indicator") - .toggleClass("dashicons-arrow-down dashicons-arrow-up"); + .find('.indicator') + .toggleClass('dashicons-arrow-down dashicons-arrow-up'); }); }); })(jQuery); -(function($) { - $(document).ready(function() { +(function ($) { + $(document).ready(function () { function toggleSuppressingSetting() { const $log = $( - "#notification-setting-debugging-settings-debug_log" + '#notification-setting-debugging-settings-debug_log' ); const $suppressing = $( - ".notification-settings .field-debug_suppressing" + '.notification-settings .field-debug_suppressing' ); - if ($log.is(":checked")) { + if ($log.is(':checked')) { $suppressing.show(); } else { $suppressing.hide(); @@ -32,7 +30,7 @@ toggleSuppressingSetting(); - $("#notification-setting-debugging-settings-debug_log").change( + $('#notification-setting-debugging-settings-debug_log').change( toggleSuppressingSetting ); }); diff --git a/resources/js/src/component/mergetag.js b/resources/js/src/component/mergetag.js index dec9de9d4..bddbd198b 100644 --- a/resources/js/src/component/mergetag.js +++ b/resources/js/src/component/mergetag.js @@ -1,94 +1,93 @@ /* eslint no-alert: 0 */ /* global notification, jQuery, ajaxurl, alert */ -import ClipboardJS from "clipboard"; -import "jquery-collapse/src/jquery.collapse.js"; +import ClipboardJS from 'clipboard'; +import 'jquery-collapse/src/jquery.collapse.js'; -(function($) { +(function ($) { const __ = wp.i18n.__; - $(document).ready(function() { + $(document).ready(function () { // Copy Merge Tag. const mergeTagClipboard = new ClipboardJS( - "code.notification-merge-tag" + 'code.notification-merge-tag' ); - mergeTagClipboard.on("success", function(e) { + mergeTagClipboard.on('success', function (e) { const $code = $(e.trigger), tag = $code.text(); notification.hooks.doAction( - "notification.merge_tag.copied", + 'notification.merge_tag.copied', tag, $code ); - $code.text(__("Copied", "notification")); + $code.text(__('Copied', 'notification')); - setTimeout(function() { + setTimeout(function () { $code.text(tag); }, 800); }); // Initialize accordion. - let collapse = $(".notification_merge_tags_accordion").collapse(); + let collapse = $('.notification_merge_tags_accordion').collapse(); // Swap Merge Tags list for new Trigger. - notification.hooks.addAction("notification.trigger.changed", function( - $trigger - ) { - const triggerSlug = $trigger.val(); - - const data = { - action: "get_merge_tags_for_trigger", - _ajax_nonce: notification.csrfToken, - trigger_slug: triggerSlug - }; - - $.post(ajaxurl, data, function(response) { - if (response.success === false) { - alert(response.data); - } else { - $("#notification_merge_tags .inside").html(response.data); - collapse = $( - ".notification_merge_tags_accordion" - ).collapse(); - } - }); - }); + notification.hooks.addAction( + 'notification.trigger.changed', + function ($trigger) { + const triggerSlug = $trigger.val(); + + const data = { + action: 'get_merge_tags_for_trigger', + _ajax_nonce: notification.csrfToken, + trigger_slug: triggerSlug, + }; + + $.post(ajaxurl, data, function (response) { + if (response.success === false) { + alert(response.data); + } else { + $('#notification_merge_tags .inside').html( + response.data + ); + collapse = $( + '.notification_merge_tags_accordion' + ).collapse(); + } + }); + } + ); // Search Merge Tags. - $("body").on("keyup", "#notification-search-merge-tags", function() { - const val = $(this) - .val() - .toLowerCase(); + $('body').on('keyup', '#notification-search-merge-tags', function () { + const val = $(this).val().toLowerCase(); if ($(this).val().length > 0) { - collapse.trigger("open"); + collapse.trigger('open'); $( - ".notification_merge_tags_accordion h2, .notification_merge_tags_accordion .tags-group" + '.notification_merge_tags_accordion h2, .notification_merge_tags_accordion .tags-group' ).hide(); - $(".inside li").each(function() { + $('.inside li').each(function () { $(this).hide(); const text = $(this) - .find(".intro code") + .find('.intro code') .text() .toLowerCase(); if (-1 !== text.indexOf(val)) { $(this).show(); - const parentClass = $(this) - .parents("ul") - .data("group"); - $("[data-group=" + parentClass + "]").show(); + const parentClass = $(this).parents('ul').data('group'); + $('[data-group=' + parentClass + ']').show(); } }); } else { - $(".notification_merge_tags_accordion h2, .inside li").show(); - collapse.trigger("close"); + $('.notification_merge_tags_accordion h2, .inside li').show(); + collapse.trigger('close'); } }); }); diff --git a/resources/js/src/component/pretty-select.js b/resources/js/src/component/pretty-select.js index e2f462324..af095b855 100644 --- a/resources/js/src/component/pretty-select.js +++ b/resources/js/src/component/pretty-select.js @@ -1,11 +1,11 @@ /* global jQuery */ -import "selectize"; +import 'selectize'; -(function($) { - $(document).ready(function() { +(function ($) { + $(document).ready(function () { $( - ".notification-pretty-select:visible:not( repeater-select )" + '.notification-pretty-select:visible:not( repeater-select )' ).selectize(); }); })(jQuery); diff --git a/resources/js/src/component/remove-confirmation.js b/resources/js/src/component/remove-confirmation.js index f2d642367..0d1cab272 100644 --- a/resources/js/src/component/remove-confirmation.js +++ b/resources/js/src/component/remove-confirmation.js @@ -1,15 +1,15 @@ /* eslint no-alert: 0 */ /* global jQuery, confirm */ -(function($) { +(function ($) { const __ = wp.i18n.__; - $(document).ready(function() { - $(".notification-delete-post").click(function(e) { + $(document).ready(function () { + $('.notification-delete-post').click(function (e) { if ( !confirm( __( - "Are you sure you want to permanently delete this notification?", - "notification" + 'Are you sure you want to permanently delete this notification?', + 'notification' ) ) ) { diff --git a/resources/js/src/component/settings.js b/resources/js/src/component/settings.js index 3ec67153c..909c69bf4 100644 --- a/resources/js/src/component/settings.js +++ b/resources/js/src/component/settings.js @@ -1,24 +1,24 @@ /* global jQuery, jQueryCollapse */ -import "selectize"; -import "jquery-collapse/src/jquery.collapse.js"; +import 'selectize'; +import 'jquery-collapse/src/jquery.collapse.js'; -(function($) { - $(document).ready(function() { - $(".underdev-settings .pretty-select").selectize(); - new jQueryCollapse($(".underdev-settings .setting-group"), { +(function ($) { + $(document).ready(function () { + $('.underdev-settings .pretty-select').selectize(); + new jQueryCollapse($('.underdev-settings .setting-group'), { open() { this.slideDown(100); }, close() { this.slideUp(100); - } + }, }); - $(".setting-group-header").click(function() { + $('.setting-group-header').click(function () { const wrapper = $(this) - .parents(".setting-group") - .find(".form-table"); - wrapper.trigger("toggle"); + .parents('.setting-group') + .find('.form-table'); + wrapper.trigger('toggle'); }); }); })(jQuery); diff --git a/resources/js/src/component/switch.js b/resources/js/src/component/switch.js index 5f25dfa97..6dc0e7e47 100644 --- a/resources/js/src/component/switch.js +++ b/resources/js/src/component/switch.js @@ -1,44 +1,44 @@ /* eslint no-alert: 0 */ /* global notification, jQuery, alert */ -(function($) { - $(document).ready(function() { - $(".column-switch .onoffswitch").on("click", function(event) { +(function ($) { + $(document).ready(function () { + $('.column-switch .onoffswitch').on('click', function (event) { const $switch = $(this), - postId = $switch.data("postid"); + postId = $switch.data('postid'); event.preventDefault(); notification.hooks.doAction( - "notification.status.changed", + 'notification.status.changed', $switch, postId ); }); - notification.hooks.addAction("notification.status.changed", function( - $switch, - postId - ) { - const status = !$switch.find("input").attr("checked"); + notification.hooks.addAction( + 'notification.status.changed', + function ($switch, postId) { + const status = !$switch.find('input').attr('checked'); - $switch.addClass("loading"); + $switch.addClass('loading'); - const data = { - action: "change_notification_status", - _ajax_nonce: notification.csrfToken, - post_id: postId, - status, - nonce: $switch.data("nonce") - }; + const data = { + action: 'change_notification_status', + _ajax_nonce: notification.csrfToken, + post_id: postId, + status, + nonce: $switch.data('nonce'), + }; - $.post(notification.ajaxurl, data, function(response) { - if (response.success === true) { - $switch.removeClass("loading"); - $switch.find("input").attr("checked", status); - } else { - alert(response.data); - } - }); - }); + $.post(notification.ajaxurl, data, function (response) { + if (response.success === true) { + $switch.removeClass('loading'); + $switch.find('input').attr('checked', status); + } else { + alert(response.data); + } + }); + } + ); }); })(jQuery); diff --git a/resources/js/src/component/sync.js b/resources/js/src/component/sync.js index 59de0869f..82873809a 100644 --- a/resources/js/src/component/sync.js +++ b/resources/js/src/component/sync.js @@ -1,35 +1,35 @@ /* eslint no-alert: 0 */ /* global notification, jQuery, alert */ -(function($) { +(function ($) { const __ = wp.i18n.__; - $(document).ready(function() { - $(".group-sync .field-actions .notification-sync-all").on( - "click", - function(event) { + $(document).ready(function () { + $('.group-sync .field-actions .notification-sync-all').on( + 'click', + function (event) { event.preventDefault(); const $masterButton = $(this); - if ($masterButton.attr("disabled")) { + if ($masterButton.attr('disabled')) { return false; } - $masterButton.attr("disabled", true); + $masterButton.attr('disabled', true); - $(".group-sync .field-notifications tr").each(function( + $('.group-sync .field-notifications tr').each(function ( num, notificationRow ) { const $button = $(notificationRow).find( - ".button.notification-sync" + '.button.notification-sync' ); if ( - $button.data("sync-type") === $masterButton.data("type") + $button.data('sync-type') === $masterButton.data('type') ) { notification.hooks.doAction( - "notification.sync.init", + 'notification.sync.init', $button ); } @@ -37,59 +37,60 @@ } ); - $(".group-sync .field-notifications td > .button.notification-sync").on( - "click", - function(event) { + $('.group-sync .field-notifications td > .button.notification-sync').on( + 'click', + function (event) { event.preventDefault(); - notification.hooks.doAction("notification.sync.init", $(this)); + notification.hooks.doAction('notification.sync.init', $(this)); } ); - notification.hooks.addAction("notification.sync.init", function( - $button - ) { - if ($button.attr("disabled")) { - return false; - } + notification.hooks.addAction( + 'notification.sync.init', + function ($button) { + if ($button.attr('disabled')) { + return false; + } - const syncType = $button.data("sync-type"), - hash = $button.data("sync-hash"), - nonce = $button.data("nonce"); + const syncType = $button.data('sync-type'), + hash = $button.data('sync-hash'), + nonce = $button.data('nonce'); - $button.attr("disabled", true); - $button.text(__("Synchronizing...", "notification")); + $button.attr('disabled', true); + $button.text(__('Synchronizing…', 'notification')); - const data = { - action: "notification_sync", - _ajax_nonce: notification.csrfToken, - hash, - type: syncType, - nonce - }; + const data = { + action: 'notification_sync', + _ajax_nonce: notification.csrfToken, + hash, + type: syncType, + nonce, + }; - $.post(notification.ajaxurl, data, function(response) { - if (response.success === true) { - const $notificationRow = $button.parent().parent(); + $.post(notification.ajaxurl, data, function (response) { + if (response.success === true) { + const $notificationRow = $button.parent().parent(); - if ("wordpress" === syncType) { - const $titleTd = $notificationRow.find("td.title"); - const $link = $("", { - text: $titleTd.text(), - href: response.data - }); - $titleTd.html($link); - } + if ('wordpress' === syncType) { + const $titleTd = $notificationRow.find('td.title'); + const $link = $('', { + text: $titleTd.text(), + href: response.data, + }); + $titleTd.html($link); + } - $notificationRow - .find("td.status") - .text(__("Synchronized", "notification")); - $button.remove(); - } else { - alert(response.data); - } + $notificationRow + .find('td.status') + .text(__('Synchronized', 'notification')); + $button.remove(); + } else { + alert(response.data); + } - $button.attr("disabled", false); - }); - }); + $button.attr('disabled', false); + }); + } + ); }); })(jQuery); diff --git a/resources/js/src/component/trigger.js b/resources/js/src/component/trigger.js index 60f492886..2535ae919 100644 --- a/resources/js/src/component/trigger.js +++ b/resources/js/src/component/trigger.js @@ -1,36 +1,36 @@ /* global notification, jQuery */ -import "selectize"; +import 'selectize'; -(function($) { - $(document).ready(function() { - $("#notification_trigger_select").selectize({ +(function ($) { + $(document).ready(function () { + $('#notification_trigger_select').selectize({ render: { item(item) { return ( - "
" + - item.text.replace(/\[\[(.*)\]\]/g, "") + - "
" + '
' + + item.text.replace(/\[\[(.*)\]\]/g, '') + + '
' ); }, option(item) { return ( - "
" + + '
' + item.text.replace( /(.*)\[\[(.*)\]\]/g, '$1$2' ) + - "
" + '
' ); - } - } + }, + }, }); - $("#notification_trigger_select") + $('#notification_trigger_select') .selectize() - .change(function() { + .change(function () { notification.hooks.doAction( - "notification.trigger.changed", + 'notification.trigger.changed', $(this) ); }); diff --git a/resources/js/src/component/wizard.js b/resources/js/src/component/wizard.js index 5cd2b27c8..1a8e66998 100644 --- a/resources/js/src/component/wizard.js +++ b/resources/js/src/component/wizard.js @@ -1,56 +1,58 @@ /* global jQuery */ -(function($) { - $(document).ready(function() { - let count = $("#notifications-wizard").data( - "selected-notifications-count" +(function ($) { + $(document).ready(function () { + let count = $('#notifications-wizard').data( + 'selected-notifications-count' ) - ? $("#notifications-wizard").data("selected-notifications-count") + ? $('#notifications-wizard').data('selected-notifications-count') : 0; - $("#notifications-wizard .notifications-tile").on("click", function(e) { - e.preventDefault(); + $('#notifications-wizard .notifications-tile').on( + 'click', + function (e) { + e.preventDefault(); - if ($(this).hasClass("selected")) { - $(this).removeClass("selected"); - const checkbox = $(this)[0].querySelector("input"); - checkbox.checked = false; - count = count - 1; - } else { - $(this).addClass("selected"); - const checkbox = $(this)[0].querySelector("input"); - checkbox.checked = true; - count = count + 1; - } - - $("#notifications-wizard").data( - "selected-notifications-count", - count - ); + if ($(this).hasClass('selected')) { + $(this).removeClass('selected'); + const checkbox = $(this)[0].querySelector('input'); + checkbox.checked = false; + count = count - 1; + } else { + $(this).addClass('selected'); + const checkbox = $(this)[0].querySelector('input'); + checkbox.checked = true; + count = count + 1; + } - if (count > 0) { - const text = wp.i18n.sprintf( - wp.i18n._n( - "Create %d notification", - "Create %d notifications", - count, - "notification" - ), + $('#notifications-wizard').data( + 'selected-notifications-count', count ); - $(".create-notifications") - .removeClass("hidden") - .text(text); - $(".skip-wizard") - .removeClass("button") - .removeClass("button-secondary") - .addClass("as-link"); - } else { - $(".create-notifications").addClass("hidden"); - $(".skip-wizard") - .addClass("button") - .addClass("button-secondary") - .removeClass("as-link"); + + if (count > 0) { + const text = wp.i18n.sprintf( + // translators: %d: number of notifications + wp.i18n._n( + 'Create %d notification', + 'Create %d notifications', + count, + 'notification' + ), + count + ); + $('.create-notifications').removeClass('hidden').text(text); + $('.skip-wizard') + .removeClass('button') + .removeClass('button-secondary') + .addClass('as-link'); + } else { + $('.create-notifications').addClass('hidden'); + $('.skip-wizard') + .addClass('button') + .addClass('button-secondary') + .removeClass('as-link'); + } } - }); + ); }); })(jQuery); diff --git a/resources/js/src/fields/code-editor.js b/resources/js/src/fields/code-editor.js index 384cb3675..fa1b55864 100644 --- a/resources/js/src/fields/code-editor.js +++ b/resources/js/src/fields/code-editor.js @@ -1,6 +1,6 @@ /* global _, notification, jQuery */ -(function($) { +(function ($) { function initCodeEditor($elem) { const editorSettings = wp.codeEditor.defaultSettings ? _.clone(wp.codeEditor.defaultSettings) @@ -8,17 +8,17 @@ editorSettings.codemirror = _.extend( {}, editorSettings.codemirror, - $elem.data("settings") + $elem.data('settings') ); let editor = wp.codeEditor.initialize($elem, editorSettings); // eslint-disable-line prefer-const - notification.hooks.addAction("notification.carrier.toggled", () => { + notification.hooks.addAction('notification.carrier.toggled', () => { editor.codemirror.refresh(); }); } - $(document).ready(function() { - $(".notification-code-editor-field").each(function() { + $(document).ready(function () { + $('.notification-code-editor-field').each(function () { initCodeEditor($(this)); }); }); diff --git a/resources/js/src/fields/color-picker.js b/resources/js/src/fields/color-picker.js index 1b058b98b..17f84ddcb 100644 --- a/resources/js/src/fields/color-picker.js +++ b/resources/js/src/fields/color-picker.js @@ -1,17 +1,17 @@ /* global notification, jQuery */ -(function($) { - $(document).ready(function() { - $(".notification-color-picker:visible").wpColorPicker(); +(function ($) { + $(document).ready(function () { + $('.notification-color-picker:visible').wpColorPicker(); }); notification.hooks.addAction( - "notification.carrier.repeater.row.added", - function(repeater) { + 'notification.carrier.repeater.row.added', + function (repeater) { const colorPickers = repeater.$el.querySelectorAll( - ".notification-color-picker" + '.notification-color-picker' ); - colorPickers.forEach(colorPicker => { + colorPickers.forEach((colorPicker) => { colorPicker.wpColorPicker(); }); } diff --git a/resources/js/src/fields/image.js b/resources/js/src/fields/image.js index e0cbc1e37..b3500e1ab 100644 --- a/resources/js/src/fields/image.js +++ b/resources/js/src/fields/image.js @@ -1,19 +1,19 @@ /* global jQuery */ -(function($) { +(function ($) { const __ = wp.i18n.__; - $(document).ready(function() { - const $imageField = $(".notification-image-field"); + $(document).ready(function () { + const $imageField = $('.notification-image-field'); let $clickedImageField = false; - $("body").on( - "click", - ".notification-image-field .image .preview, .notification-image-field .select-image", - function(event) { + $('body').on( + 'click', + '.notification-image-field .image .preview, .notification-image-field .select-image', + function (event) { event.preventDefault(); $clickedImageField = $(this).parents( - ".notification-image-field" + '.notification-image-field' ); if (wp.media.frames.frame) { @@ -22,57 +22,57 @@ } wp.media.frames.frame = wp.media({ - title: __("Select image", "notification"), + title: __('Select image', 'notification'), multiple: false, library: { - type: "image" + type: 'image', }, button: { - text: __("Use selected image", "notification") - } + text: __('Use selected image', 'notification'), + }, }); const mediaSetImage = () => { const selection = wp.media.frames.frame .state() - .get("selection"); + .get('selection'); if (!selection) { return; } - selection.each(function(attachment) { - $clickedImageField.addClass("selected"); + selection.each(function (attachment) { + $clickedImageField.addClass('selected'); $clickedImageField - .find(".image-input") + .find('.image-input') .val(attachment.id); $clickedImageField - .find(".image .preview") + .find('.image .preview') .attr( - "src", + 'src', attachment.attributes.sizes.thumbnail.url ); }); }; - wp.media.frames.frame.on("select", mediaSetImage); + wp.media.frames.frame.on('select', mediaSetImage); wp.media.frames.frame.open(); } ); - $imageField.find(".image .clear").on("click", function(event) { + $imageField.find('.image .clear').on('click', function (event) { event.preventDefault(); $(this) - .parents(".notification-image-field") - .removeClass("selected"); + .parents('.notification-image-field') + .removeClass('selected'); $(this) - .parents(".notification-image-field") - .find(".image-input") - .val(""); + .parents('.notification-image-field') + .find('.image-input') + .val(''); $(this) - .parents(".notification-image-field") - .find(".image .preview") - .attr("src", ""); + .parents('.notification-image-field') + .find('.image .preview') + .attr('src', ''); }); }); })(jQuery); diff --git a/resources/js/src/fields/repeater/components/inputs/select.js b/resources/js/src/fields/repeater/components/inputs/select.js index 5a1b5d15d..90a93a6ef 100644 --- a/resources/js/src/fields/repeater/components/inputs/select.js +++ b/resources/js/src/fields/repeater/components/inputs/select.js @@ -1,9 +1,9 @@ /* global jQuery, notification */ -import Vue from "vue/dist/vue.js"; -import { inputsHandler } from "../../mixins/inputsHandler"; -import { fieldHandler } from "../../mixins/fieldHandler"; +import Vue from 'vue/dist/vue.js'; +import { inputsHandler } from '../../mixins/inputsHandler'; +import { fieldHandler } from '../../mixins/fieldHandler'; -Vue.component("notification-select", { +Vue.component('notification-select', { template: ` `, - props: ["field", "type", "keyIndex", "subfield"], + props: ['field', 'type', 'keyIndex', 'subfield'], mixins: [inputsHandler, fieldHandler], data() { return { - selectized: null + selectized: null, }; }, mounted() { this.initSelectize(); notification.hooks.doAction( - "notification.carrier.select.initialized", + 'notification.carrier.select.initialized', this ); }, @@ -39,7 +39,7 @@ Vue.component("notification-select", { this.initSelectize(); notification.hooks.doAction( - "notification.carrier.select.changed", + 'notification.carrier.select.changed', this ); }, @@ -59,9 +59,9 @@ Vue.component("notification-select", { } }, initSelectize() { - if (this.$el.classList.contains("notification-pretty-select")) { + if (this.$el.classList.contains('notification-pretty-select')) { this.selectized = jQuery(this.$el).selectize(); } - } - } + }, + }, }); diff --git a/resources/js/src/fields/repeater/components/repeater/nestedSubField.js b/resources/js/src/fields/repeater/components/repeater/nestedSubField.js index dc75f523a..34dcb5c9a 100644 --- a/resources/js/src/fields/repeater/components/repeater/nestedSubField.js +++ b/resources/js/src/fields/repeater/components/repeater/nestedSubField.js @@ -1,8 +1,8 @@ -import Vue from "vue/dist/vue.js"; -import { fieldHandler } from "../../mixins/fieldHandler"; -import { repeaterHandler } from "../../mixins/repeaterHandler"; +import Vue from 'vue/dist/vue.js'; +import { fieldHandler } from '../../mixins/fieldHandler'; +import { repeaterHandler } from '../../mixins/repeaterHandler'; -Vue.component("nested-sub-field", { +Vue.component('nested-sub-field', { template: `