From 0ea42ec5f46a8c22a1013489e0f2dea3aae94964 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 19:33:50 +0100 Subject: [PATCH 01/51] Set up code coverage for unit tests --- .github/workflows/php-test.yml | 28 ++++++++++++++++++++++------ package.json | 4 +++- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index 59995f996..e72c01a18 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -55,9 +55,11 @@ jobs: - '7.4' - '8.0' - '8.1' - - '8.2' wordpress: [ 'latest' ] include: + - php: '8.2' + wordpress: 'latest' + coverage: true - php: '8.2' wordpress: 'trunk' experimental: true @@ -70,7 +72,8 @@ jobs: - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - + coverage: ${{ matrix.coverage == 'true' && 'xdebug' || 'none' }} + - name: Setup Node.js (.nvmrc) uses: actions/setup-node@v3 with: @@ -83,8 +86,21 @@ jobs: - name: Install WordPress run: npm run wp-env start - - name: Running php unit tests - run: npm run test-php + - name: Run tests + if: ${{ matrix.coverage != 'true' }} + run: | + npm run test-php + npm run test-php-multisite - - name: Running multisite unit tests - run: npm run test-php-multisite + - name: Run tests with coverage + if: ${{ matrix.coverage == 'true' }} + run: | + npm run test-php-coverage + npm run test-php-multisite-coverage + + - name: Upload code coverage report + if: ${{ matrix.coverage == 'true' }} + uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d + with: + file: build/logs/*.xml + flags: unit diff --git a/package.json b/package.json index 7075a438d..ee2d56ca0 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,8 @@ "format-php": "wp-env run composer run-script format", "pretest-php": "wp-env run composer 'install --no-interaction'", "test-php": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose'", - "test-php-multisite": "wp-env run phpunit 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose'" + "test-php-coverage": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage.xml'", + "test-php-multisite": "wp-env run phpunit 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose'", + "test-php-multisite-coverage": "wp-env run phpunit 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage-multisite.xml'" } } From fa98055fa70db7ab94567f4d6b9db39c39562e86 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 19:35:39 +0100 Subject: [PATCH 02/51] Update job name --- .github/workflows/php-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index e72c01a18..e431bcb3b 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -41,7 +41,7 @@ concurrency: jobs: php-test: - name: PHP ${{ matrix.php }} - WP ${{ matrix.wordpress }}${{ matrix.experimental && ' (experimental)' || '' }} + name: PHP ${{ matrix.php }} - WP ${{ matrix.wordpress }}${{ matrix.experimental && ' (experimental)' || '' }}${{ matrix.coverage && ' (with coverage)' || '' }} runs-on: ubuntu-latest timeout-minutes: 20 strategy: From 5da9e4101e6e9d55cf288c91069539724eee9c3b Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 19:49:30 +0100 Subject: [PATCH 03/51] Fix condition --- .github/workflows/php-test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index e431bcb3b..f676280c2 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -72,7 +72,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - coverage: ${{ matrix.coverage == 'true' && 'xdebug' || 'none' }} + coverage: ${{ matrix.coverage && 'xdebug' || 'none' }} - name: Setup Node.js (.nvmrc) uses: actions/setup-node@v3 @@ -87,19 +87,19 @@ jobs: run: npm run wp-env start - name: Run tests - if: ${{ matrix.coverage != 'true' }} + if: ${{ ! matrix.coverage }} run: | npm run test-php npm run test-php-multisite - name: Run tests with coverage - if: ${{ matrix.coverage == 'true' }} + if: ${{ matrix.coverage }} run: | npm run test-php-coverage npm run test-php-multisite-coverage - name: Upload code coverage report - if: ${{ matrix.coverage == 'true' }} + if: ${{ matrix.coverage }} uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d with: file: build/logs/*.xml From d0cfe8f3f6a45f4eb6ccf3f9530321ea3178504c Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 20:41:15 +0100 Subject: [PATCH 04/51] test --- .github/workflows/php-test.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index f676280c2..320327a74 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -72,7 +72,11 @@ jobs: - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - coverage: ${{ matrix.coverage && 'xdebug' || 'none' }} + + - name: Install PHP dependencies + uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 + with: + composer-options: '--prefer-dist --no-progress --no-interaction' - name: Setup Node.js (.nvmrc) uses: actions/setup-node@v3 @@ -83,8 +87,13 @@ jobs: - name: npm install run: npm ci - - name: Install WordPress - run: npm run wp-env start + - name: Start WordPress + run: | + if [[ ${{ matrix.coverage == true ]]; then + npm run wp-env start -- --xdebug + else + npm run wp-env start + fi - name: Run tests if: ${{ ! matrix.coverage }} From 413a350a912a59f915b0040eebfa15641f245568 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 20:47:32 +0100 Subject: [PATCH 05/51] Remove step --- .github/workflows/php-test.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index 320327a74..a1a2031e8 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -73,11 +73,6 @@ jobs: with: php-version: ${{ matrix.php }} - - name: Install PHP dependencies - uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 - with: - composer-options: '--prefer-dist --no-progress --no-interaction' - - name: Setup Node.js (.nvmrc) uses: actions/setup-node@v3 with: From 258a9eb40fbc9682738ba0f10968d2fef225fe53 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 20:48:11 +0100 Subject: [PATCH 06/51] Remove space --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ee2d56ca0..d73ebeb7a 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "format-php": "wp-env run composer run-script format", "pretest-php": "wp-env run composer 'install --no-interaction'", "test-php": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose'", - "test-php-coverage": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage.xml'", + "test-php-coverage": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage.xml'", "test-php-multisite": "wp-env run phpunit 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose'", "test-php-multisite-coverage": "wp-env run phpunit 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage-multisite.xml'" } From 123c17cf2d0b6bbcf7003fd896fa3a98201a45a4 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 20:49:21 +0100 Subject: [PATCH 07/51] Fix expression --- .github/workflows/php-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index a1a2031e8..1c2ab2921 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -84,7 +84,7 @@ jobs: - name: Start WordPress run: | - if [[ ${{ matrix.coverage == true ]]; then + if [[ ${{ matrix.coverage == true }} ]]; then npm run wp-env start -- --xdebug else npm run wp-env start @@ -97,7 +97,7 @@ jobs: npm run test-php-multisite - name: Run tests with coverage - if: ${{ matrix.coverage }} + if: ${{ matrix.coverage }} run: | npm run test-php-coverage npm run test-php-multisite-coverage From 30d6da1bc84a8805b9969c4c2dd86c639d8908e4 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 20:53:51 +0100 Subject: [PATCH 08/51] fix condition --- .github/workflows/php-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index 1c2ab2921..6897f9c14 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -84,7 +84,7 @@ jobs: - name: Start WordPress run: | - if [[ ${{ matrix.coverage == true }} ]]; then + if [[ ${{ matrix.coverage == true }} == true ]]; then npm run wp-env start -- --xdebug else npm run wp-env start From 52d8df58c9aacd2dc88bdcdbbd7991287bd564ee Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 21:03:25 +0100 Subject: [PATCH 09/51] Merge steps --- .github/workflows/php-test.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index 6897f9c14..2abf24846 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -91,16 +91,14 @@ jobs: fi - name: Run tests - if: ${{ ! matrix.coverage }} run: | - npm run test-php - npm run test-php-multisite - - - name: Run tests with coverage - if: ${{ matrix.coverage }} - run: | - npm run test-php-coverage - npm run test-php-multisite-coverage + if [[ ${{ matrix.coverage == true }} == true ]]; then + npm run test-php-coverage + npm run test-php-multisite-coverage + else + npm run test-php + npm run test-php-multisite + fi - name: Upload code coverage report if: ${{ matrix.coverage }} From aea7f93523fb958cf517de32b9663adda35ffb47 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 21:03:30 +0100 Subject: [PATCH 10/51] Add pre script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index d73ebeb7a..6a23eb67d 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "format-php": "wp-env run composer run-script format", "pretest-php": "wp-env run composer 'install --no-interaction'", "test-php": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose'", + "pretest-php-coverage": "wp-env run composer 'install --no-interaction'", "test-php-coverage": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage.xml'", "test-php-multisite": "wp-env run phpunit 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose'", "test-php-multisite-coverage": "wp-env run phpunit 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage-multisite.xml'" From fa131099d15c1c2f698f25a9e7d2639d2abda3df Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 21:48:19 +0100 Subject: [PATCH 11/51] Set xdebug mode --- .github/workflows/php-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index 2abf24846..3b014ba3e 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -85,7 +85,7 @@ jobs: - name: Start WordPress run: | if [[ ${{ matrix.coverage == true }} == true ]]; then - npm run wp-env start -- --xdebug + npm run wp-env start -- --xdebug=coverage else npm run wp-env start fi From a76bebb0cf01f2c483586160966dcf46a8b731df Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 22:35:15 +0100 Subject: [PATCH 12/51] Update wp-env --- package-lock.json | 14 +++++++------- package.json | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9db1cf2ef..c0bc924b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,7 @@ "name": "plugin-check", "license": "GPL-2.0-or-later", "devDependencies": { - "@wordpress/env": "^5.7.0", + "@wordpress/env": "^8.11.0", "@wordpress/scripts": "^24.6.0" }, "engines": { @@ -4187,9 +4187,9 @@ } }, "node_modules/@wordpress/env": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-5.16.0.tgz", - "integrity": "sha512-zx6UO8PuJBrQ34cfeedK1HlGHLFaj7oWzTo9tTt+noB79Ttqc4+a0lYwDqBLLJhlHU+cWgcyOP2lB6TboXH0xA==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-8.11.0.tgz", + "integrity": "sha512-9zE7HJNW1UenqfME/ao2+1kNrtFbj+jpAipgHwDOnJ+Xkg37mzQ3cb75QQzT/zM7WJ1r1ET4J2b7zbwOImTvAw==", "dev": true, "dependencies": { "chalk": "^4.0.0", @@ -20091,9 +20091,9 @@ } }, "@wordpress/env": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-5.16.0.tgz", - "integrity": "sha512-zx6UO8PuJBrQ34cfeedK1HlGHLFaj7oWzTo9tTt+noB79Ttqc4+a0lYwDqBLLJhlHU+cWgcyOP2lB6TboXH0xA==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-8.11.0.tgz", + "integrity": "sha512-9zE7HJNW1UenqfME/ao2+1kNrtFbj+jpAipgHwDOnJ+Xkg37mzQ3cb75QQzT/zM7WJ1r1ET4J2b7zbwOImTvAw==", "dev": true, "requires": { "chalk": "^4.0.0", diff --git a/package.json b/package.json index 6a23eb67d..485374444 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "npm": ">=8.19.3 <9" }, "devDependencies": { - "@wordpress/env": "^5.7.0", + "@wordpress/env": "^8.11.0", "@wordpress/scripts": "^24.6.0" }, "scripts": { @@ -22,10 +22,10 @@ "lint-php": "wp-env run composer run-script lint", "format-php": "wp-env run composer run-script format", "pretest-php": "wp-env run composer 'install --no-interaction'", - "test-php": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose'", + "test-php": "wp-env run tests-cli 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose'", "pretest-php-coverage": "wp-env run composer 'install --no-interaction'", - "test-php-coverage": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage.xml'", - "test-php-multisite": "wp-env run phpunit 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose'", - "test-php-multisite-coverage": "wp-env run phpunit 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage-multisite.xml'" + "test-php-coverage": "wp-env run tests-cli 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage.xml'", + "test-php-multisite": "wp-env run tests-cli 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose'", + "test-php-multisite-coverage": "wp-env run tests-cli 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage-multisite.xml'" } } From dae7bce627fea82d6d1a35f367470d29185841ff Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 22:39:08 +0100 Subject: [PATCH 13/51] Update commands --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 485374444..50c2b8472 100644 --- a/package.json +++ b/package.json @@ -17,13 +17,13 @@ "wp-env": "wp-env", "lint-js": "wp-scripts lint-js", "format-js": "npm run lint-js -- --fix", - "prelint-php": "wp-env run composer 'install --no-interaction'", - "phpstan": "wp-env run composer run-script phpstan", - "lint-php": "wp-env run composer run-script lint", - "format-php": "wp-env run composer run-script format", - "pretest-php": "wp-env run composer 'install --no-interaction'", + "prelint-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer 'install --no-interaction'", + "phpstan": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run-script phpstan", + "lint-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run-script lint", + "format-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run-script format", + "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer 'install --no-interaction'", "test-php": "wp-env run tests-cli 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose'", - "pretest-php-coverage": "wp-env run composer 'install --no-interaction'", + "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer 'install --no-interaction'", "test-php-coverage": "wp-env run tests-cli 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage.xml'", "test-php-multisite": "wp-env run tests-cli 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose'", "test-php-multisite-coverage": "wp-env run tests-cli 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage-multisite.xml'" From 1b576ab6777a18bbd06d170cc71f1d5e9c50ff51 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 22:44:41 +0100 Subject: [PATCH 14/51] Add `run` --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 50c2b8472..6554a3a53 100644 --- a/package.json +++ b/package.json @@ -17,11 +17,11 @@ "wp-env": "wp-env", "lint-js": "wp-scripts lint-js", "format-js": "npm run lint-js -- --fix", - "prelint-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer 'install --no-interaction'", + "prelint-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run 'install --no-interaction'", "phpstan": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run-script phpstan", "lint-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run-script lint", "format-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run-script format", - "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer 'install --no-interaction'", + "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run 'install --no-interaction'", "test-php": "wp-env run tests-cli 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose'", "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer 'install --no-interaction'", "test-php-coverage": "wp-env run tests-cli 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage.xml'", From dabee69d699cf556bded8b73660a5bca81262cd5 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 8 Nov 2023 22:44:57 +0100 Subject: [PATCH 15/51] Another one --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6554a3a53..a62b3c488 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "format-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run-script format", "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run 'install --no-interaction'", "test-php": "wp-env run tests-cli 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose'", - "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer 'install --no-interaction'", + "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run 'install --no-interaction'", "test-php-coverage": "wp-env run tests-cli 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage.xml'", "test-php-multisite": "wp-env run tests-cli 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose'", "test-php-multisite-coverage": "wp-env run tests-cli 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage-multisite.xml'" From ed8d9330fd7d5471adf7492f672e3167f9b7a2b9 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 9 Nov 2023 08:12:45 +0000 Subject: [PATCH 16/51] Fix wp-env and scripts --- package-lock.json | 459 +++++++++++++++++++++++++++- package.json | 24 +- patches/@wordpress+env+8.11.0.patch | 19 ++ 3 files changed, 490 insertions(+), 12 deletions(-) create mode 100644 patches/@wordpress+env+8.11.0.patch diff --git a/package-lock.json b/package-lock.json index c0bc924b8..e85b0cf81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,8 @@ "license": "GPL-2.0-or-later", "devDependencies": { "@wordpress/env": "^8.11.0", - "@wordpress/scripts": "^24.6.0" + "@wordpress/scripts": "^24.6.0", + "patch-package": "^8.0.0" }, "engines": { "node": ">=16.19.1", @@ -4474,6 +4475,12 @@ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", "dev": true }, + "node_modules/@yarnpkg/lockfile": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", + "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", + "dev": true + }, "node_modules/abab": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", @@ -4913,6 +4920,15 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "dev": true }, + "node_modules/at-least-node": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", + "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", + "dev": true, + "engines": { + "node": ">= 4.0.0" + } + }, "node_modules/autoprefixer": { "version": "10.4.14", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", @@ -8473,6 +8489,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/find-yarn-workspace-root": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz", + "integrity": "sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ==", + "dev": true, + "dependencies": { + "micromatch": "^4.0.2" + } + }, "node_modules/flat-cache": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", @@ -8602,6 +8627,30 @@ "node": ">=0.10.0" } }, + "node_modules/fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/fs-extra/node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "engines": { + "node": ">= 10.0.0" + } + }, "node_modules/fs-monkey": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.4.tgz", @@ -10824,6 +10873,18 @@ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, + "node_modules/json-stable-stringify": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.2.tgz", + "integrity": "sha512-eunSSaEnxV12z+Z73y/j5N37/In40GK4GmsSy+tEHJMxknvqnA7/djeYtAgW0GsWHUfg+847WJjKaEylk2y09g==", + "dev": true, + "dependencies": { + "jsonify": "^0.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", @@ -10854,6 +10915,36 @@ "integrity": "sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA==", "dev": true }, + "node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jsonfile/node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/jsonify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.1.tgz", + "integrity": "sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/jsx-ast-utils": { "version": "3.3.5", "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", @@ -10890,6 +10981,15 @@ "node": ">=0.10.0" } }, + "node_modules/klaw-sync": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/klaw-sync/-/klaw-sync-6.0.0.tgz", + "integrity": "sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.11" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12472,6 +12572,165 @@ "tslib": "^2.0.3" } }, + "node_modules/patch-package": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/patch-package/-/patch-package-8.0.0.tgz", + "integrity": "sha512-da8BVIhzjtgScwDJ2TtKsfT5JFWz1hYoBl9rUQ1f38MC2HwnEIkK8VN3dKMKcP7P7bvvgzNDbfNHtx3MsQb5vA==", + "dev": true, + "dependencies": { + "@yarnpkg/lockfile": "^1.1.0", + "chalk": "^4.1.2", + "ci-info": "^3.7.0", + "cross-spawn": "^7.0.3", + "find-yarn-workspace-root": "^2.0.0", + "fs-extra": "^9.0.0", + "json-stable-stringify": "^1.0.2", + "klaw-sync": "^6.0.0", + "minimist": "^1.2.6", + "open": "^7.4.2", + "rimraf": "^2.6.3", + "semver": "^7.5.3", + "slash": "^2.0.0", + "tmp": "^0.0.33", + "yaml": "^2.2.2" + }, + "bin": { + "patch-package": "index.js" + }, + "engines": { + "node": ">=14", + "npm": ">5" + } + }, + "node_modules/patch-package/node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/patch-package/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/patch-package/node_modules/open": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz", + "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0", + "is-wsl": "^2.1.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/patch-package/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/patch-package/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/patch-package/node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/patch-package/node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/patch-package/node_modules/slash": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", + "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/patch-package/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/patch-package/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/patch-package/node_modules/yaml": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", + "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", + "dev": true, + "engines": { + "node": ">= 14" + } + }, "node_modules/path-case": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/path-case/-/path-case-3.0.4.tgz", @@ -20295,6 +20554,12 @@ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", "dev": true }, + "@yarnpkg/lockfile": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", + "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", + "dev": true + }, "abab": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", @@ -20618,6 +20883,12 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "dev": true }, + "at-least-node": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", + "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", + "dev": true + }, "autoprefixer": { "version": "10.4.14", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", @@ -23292,6 +23563,15 @@ "path-exists": "^4.0.0" } }, + "find-yarn-workspace-root": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz", + "integrity": "sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ==", + "dev": true, + "requires": { + "micromatch": "^4.0.2" + } + }, "flat-cache": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", @@ -23379,6 +23659,26 @@ "integrity": "sha512-cR/vflFyPZtrN6b38ZyWxpWdhlXrzZEBawlpBQMq7033xVY7/kg0GDMBK5jg8lDYQckdJ5x/YC88lM3C7VMsLg==", "dev": true }, + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "dependencies": { + "universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true + } + } + }, "fs-monkey": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.4.tgz", @@ -25023,6 +25323,15 @@ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, + "json-stable-stringify": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.2.tgz", + "integrity": "sha512-eunSSaEnxV12z+Z73y/j5N37/In40GK4GmsSy+tEHJMxknvqnA7/djeYtAgW0GsWHUfg+847WJjKaEylk2y09g==", + "dev": true, + "requires": { + "jsonify": "^0.0.1" + } + }, "json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", @@ -25047,6 +25356,30 @@ "integrity": "sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA==", "dev": true }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + }, + "dependencies": { + "universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true + } + } + }, + "jsonify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.1.tgz", + "integrity": "sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg==", + "dev": true + }, "jsx-ast-utils": { "version": "3.3.5", "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", @@ -25077,6 +25410,15 @@ "is-buffer": "^1.1.5" } }, + "klaw-sync": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/klaw-sync/-/klaw-sync-6.0.0.tgz", + "integrity": "sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.11" + } + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -26293,6 +26635,121 @@ "tslib": "^2.0.3" } }, + "patch-package": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/patch-package/-/patch-package-8.0.0.tgz", + "integrity": "sha512-da8BVIhzjtgScwDJ2TtKsfT5JFWz1hYoBl9rUQ1f38MC2HwnEIkK8VN3dKMKcP7P7bvvgzNDbfNHtx3MsQb5vA==", + "dev": true, + "requires": { + "@yarnpkg/lockfile": "^1.1.0", + "chalk": "^4.1.2", + "ci-info": "^3.7.0", + "cross-spawn": "^7.0.3", + "find-yarn-workspace-root": "^2.0.0", + "fs-extra": "^9.0.0", + "json-stable-stringify": "^1.0.2", + "klaw-sync": "^6.0.0", + "minimist": "^1.2.6", + "open": "^7.4.2", + "rimraf": "^2.6.3", + "semver": "^7.5.3", + "slash": "^2.0.0", + "tmp": "^0.0.33", + "yaml": "^2.2.2" + }, + "dependencies": { + "cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "open": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz", + "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==", + "dev": true, + "requires": { + "is-docker": "^2.0.0", + "is-wsl": "^2.1.1" + } + }, + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true + }, + "slash": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", + "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "dev": true + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "yaml": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", + "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", + "dev": true + } + } + }, "path-case": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/path-case/-/path-case-3.0.4.tgz", diff --git a/package.json b/package.json index a62b3c488..8f984d829 100644 --- a/package.json +++ b/package.json @@ -11,21 +11,23 @@ }, "devDependencies": { "@wordpress/env": "^8.11.0", - "@wordpress/scripts": "^24.6.0" + "@wordpress/scripts": "^24.6.0", + "patch-package": "^8.0.0" }, "scripts": { + "postinstall": "patch-package", "wp-env": "wp-env", "lint-js": "wp-scripts lint-js", "format-js": "npm run lint-js -- --fix", - "prelint-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run 'install --no-interaction'", - "phpstan": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run-script phpstan", - "lint-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run-script lint", - "format-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run-script format", - "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run 'install --no-interaction'", - "test-php": "wp-env run tests-cli 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose'", - "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run 'install --no-interaction'", - "test-php-coverage": "wp-env run tests-cli 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage.xml'", - "test-php-multisite": "wp-env run tests-cli 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose'", - "test-php-multisite-coverage": "wp-env run tests-cli 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/phpunit/multisite.xml --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage-multisite.xml'" + "prelint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin-check/ composer install --no-interaction", + "phpstan": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin-check/ composer run-script phpstan", + "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin-check/ composer run-script lint", + "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin-check/ composer run-script format", + "pretest-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin-check/ composer install --no-interaction", + "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit --verbose", + "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer install --no-interaction", + "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit --verbose --coverage-clover build/logs/php-coverage.xml", + "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ WP_MULTISITE=1 vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", + "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ WP_MULTISITE=1 vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" } } diff --git a/patches/@wordpress+env+8.11.0.patch b/patches/@wordpress+env+8.11.0.patch new file mode 100644 index 000000000..caf3a20ba --- /dev/null +++ b/patches/@wordpress+env+8.11.0.patch @@ -0,0 +1,19 @@ +diff --git a/node_modules/@wordpress/env/lib/init-config.js b/node_modules/@wordpress/env/lib/init-config.js +index 318bcae..8628137 100644 +--- a/node_modules/@wordpress/env/lib/init-config.js ++++ b/node_modules/@wordpress/env/lib/init-config.js +@@ -244,14 +244,6 @@ RUN export COMPOSER_HASH=\`curl -sS https://composer.github.io/installer.sig\` & + RUN php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer + RUN rm /tmp/composer-setup.php`; + +- // Install any Composer packages we might need globally. +- // Make sure to do this as the user and ensure the binaries are available in the $PATH. +- dockerFileContent += ` +-USER $HOST_UID:$HOST_GID +-ENV PATH="\${PATH}:/home/$HOST_USERNAME/.composer/vendor/bin" +-RUN composer global require --dev phpunit/phpunit:"^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" +-USER root`; +- + return dockerFileContent; + } + From 627fb06592ff29bcfc9d3c7a7623d898f2da7d60 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 9 Nov 2023 09:13:11 +0100 Subject: [PATCH 17/51] Update phpunit config --- phpunit.xml.dist | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 7cfe43b57..d24be36c7 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -6,6 +6,12 @@ convertNoticesToExceptions="true" convertWarningsToExceptions="true" > + + + includes/ + plugin-check.php + + ./tests/phpunit From 1226382889fc97f8d9885daaeb9fc91f2032cf03 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 9 Nov 2023 09:17:34 +0100 Subject: [PATCH 18/51] Further update phpunit config --- phpunit.xml.dist | 10 +++++++++- tests/phpunit/multisite.xml | 18 ++++++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index d24be36c7..6f832700b 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -15,7 +15,9 @@ ./tests/phpunit - ./tests/phpunit/testdata/plugins/* + ./tests/phpunit/testdata/* + ./tests/phpunit/utils/* + ./tests/phpunit/bootstrap.php @@ -23,4 +25,10 @@ ms-required + + + includes/ + plugin-check.php + + diff --git a/tests/phpunit/multisite.xml b/tests/phpunit/multisite.xml index 3c1fcdad7..60e89cb23 100644 --- a/tests/phpunit/multisite.xml +++ b/tests/phpunit/multisite.xml @@ -6,10 +6,18 @@ convertNoticesToExceptions="true" convertWarningsToExceptions="true" > + + + includes/ + plugin-check.php + + - ./ - ./testdata/plugins/* + ./tests/phpunit + ./tests/phpunit/testdata/* + ./tests/phpunit/utils/* + ./tests/phpunit/bootstrap.php @@ -17,4 +25,10 @@ ms-excluded + + + includes/ + plugin-check.php + + From 20c1782f5f04121ff6e5ae52901176f4124672d7 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 9 Nov 2023 09:24:44 +0100 Subject: [PATCH 19/51] Undo exclude --- phpunit.xml.dist | 2 +- tests/phpunit/multisite.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 6f832700b..a55726b09 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -15,7 +15,7 @@ ./tests/phpunit - ./tests/phpunit/testdata/* + ./tests/phpunit/testdata/plugins/* ./tests/phpunit/utils/* ./tests/phpunit/bootstrap.php diff --git a/tests/phpunit/multisite.xml b/tests/phpunit/multisite.xml index 60e89cb23..24f32a398 100644 --- a/tests/phpunit/multisite.xml +++ b/tests/phpunit/multisite.xml @@ -15,7 +15,7 @@ ./tests/phpunit - ./tests/phpunit/testdata/* + ./tests/phpunit/testdata/plugins/* ./tests/phpunit/utils/* ./tests/phpunit/bootstrap.php From 0c9e4afa567da54b162fff7c0c5d47af373fda03 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 9 Nov 2023 09:39:17 +0100 Subject: [PATCH 20/51] Fix multisite config --- package.json | 4 ++-- tests/phpunit/multisite.xml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8f984d829..36015eeee 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit --verbose", "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer install --no-interaction", "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit --verbose --coverage-clover build/logs/php-coverage.xml", - "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ WP_MULTISITE=1 vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", - "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ WP_MULTISITE=1 vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" + "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", + "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" } } diff --git a/tests/phpunit/multisite.xml b/tests/phpunit/multisite.xml index 24f32a398..7962678fd 100644 --- a/tests/phpunit/multisite.xml +++ b/tests/phpunit/multisite.xml @@ -6,6 +6,9 @@ convertNoticesToExceptions="true" convertWarningsToExceptions="true" > + + + includes/ From b88df7eceafb2dea11367ad6fd6503dff12d5c1a Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 9 Nov 2023 09:39:22 +0100 Subject: [PATCH 21/51] Update lock file --- package-lock.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package-lock.json b/package-lock.json index e85b0cf81..0e5935f06 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "packages": { "": { "name": "plugin-check", + "hasInstallScript": true, "license": "GPL-2.0-or-later", "devDependencies": { "@wordpress/env": "^8.11.0", From af4987722a761986611dfbcd625c0c211402f206 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 9 Nov 2023 09:41:52 +0100 Subject: [PATCH 22/51] Fix relative paths --- tests/phpunit/multisite.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/phpunit/multisite.xml b/tests/phpunit/multisite.xml index 7962678fd..93a44f655 100644 --- a/tests/phpunit/multisite.xml +++ b/tests/phpunit/multisite.xml @@ -11,16 +11,16 @@ - includes/ - plugin-check.php + ../../includes/ + ../../plugin-check.php - ./tests/phpunit - ./tests/phpunit/testdata/plugins/* - ./tests/phpunit/utils/* - ./tests/phpunit/bootstrap.php + ./ + ./testdata/plugins/* + ./utils/* + ./bootstrap.php @@ -30,8 +30,8 @@ - includes/ - plugin-check.php + ../../includes/ + ../../plugin-check.php From 53fc7f1a1ca2b0fe008c46eac8365161f1d94804 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 9 Nov 2023 10:08:33 +0100 Subject: [PATCH 23/51] Update phpunit if needed --- .github/workflows/php-test.yml | 32 ++++++++++++++++++++++++++++++++ package.json | 2 -- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index 3b014ba3e..4757794c5 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -73,6 +73,38 @@ jobs: with: php-version: ${{ matrix.php }} + - name: Install PHP dependencies + uses: ramsey/composer-install@v2 + with: + composer-options: '--prefer-dist --no-progress --no-interaction --no-scripts' + + # Installs a different PHPUnit version depending on the PHP version we're testing against. + # + # | WP / PHP | PHPUnit | + # |-----------|---------| + # | * / 7.0 | 6 | + # | * / 7.1 | 7 | + # | * / 7.2 | 8 | + # | * / 7.3 | 9 | + # | * / 7.4 | 9 | + # | * / 8 | 9 | + # + # See https://make.wordpress.org/core/handbook/references/phpunit-compatibility-and-wordpress-versions/ + - name: Update PHPUnit + run: | + if [[ $PHP_VERSION == "7.1" ]]; then + echo "Installing PHPUnit 7.5x" + composer require --ignore-platform-reqs --no-interaction --no-scripts phpunit/phpunit:^7.5 --with-dependencies + elif [[ $PHP_VERSION == "7.2" ]]; then + echo "Installing PHPUnit 8.5x" + composer require --ignore-platform-reqs --no-interaction --no-scripts phpunit/phpunit:^8.5 --with-dependencies + else + echo "Installing latest version of PHPUnit" + composer update --ignore-platform-reqs --no-interaction --no-scripts yoast/phpunit-polyfills --with-dependencies + fi + env: + PHP_VERSION: ${{ matrix.php }} + - name: Setup Node.js (.nvmrc) uses: actions/setup-node@v3 with: diff --git a/package.json b/package.json index 36015eeee..f1e2129bb 100644 --- a/package.json +++ b/package.json @@ -23,9 +23,7 @@ "phpstan": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin-check/ composer run-script phpstan", "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin-check/ composer run-script lint", "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin-check/ composer run-script format", - "pretest-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin-check/ composer install --no-interaction", "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit --verbose", - "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer install --no-interaction", "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit --verbose --coverage-clover build/logs/php-coverage.xml", "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" From 355860bf7c6a31129a0897aaeaa8f76a8d08aed3 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 9 Nov 2023 10:25:11 +0100 Subject: [PATCH 24/51] Do nothing on PHP 7.0 --- .github/workflows/php-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index 4757794c5..3458adce7 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -98,7 +98,7 @@ jobs: elif [[ $PHP_VERSION == "7.2" ]]; then echo "Installing PHPUnit 8.5x" composer require --ignore-platform-reqs --no-interaction --no-scripts phpunit/phpunit:^8.5 --with-dependencies - else + elif [[ $PHP_VERSION != "7.0" ]]; then echo "Installing latest version of PHPUnit" composer update --ignore-platform-reqs --no-interaction --no-scripts yoast/phpunit-polyfills --with-dependencies fi From 6d88d5e0b6863cd895d1d4be854b2449fc25b75f Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 10 Nov 2023 19:47:12 +0100 Subject: [PATCH 25/51] Move to build-cs --- .github/workflows/php-test.yml | 32 - .gitignore | 1 + build-cs/composer.json | 12 +- build-cs/composer.lock | 1918 ----------------- composer.json | 37 +- composer.lock | 3704 +------------------------------- package.json | 17 +- 7 files changed, 41 insertions(+), 5680 deletions(-) delete mode 100644 build-cs/composer.lock diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index 3458adce7..3b014ba3e 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -73,38 +73,6 @@ jobs: with: php-version: ${{ matrix.php }} - - name: Install PHP dependencies - uses: ramsey/composer-install@v2 - with: - composer-options: '--prefer-dist --no-progress --no-interaction --no-scripts' - - # Installs a different PHPUnit version depending on the PHP version we're testing against. - # - # | WP / PHP | PHPUnit | - # |-----------|---------| - # | * / 7.0 | 6 | - # | * / 7.1 | 7 | - # | * / 7.2 | 8 | - # | * / 7.3 | 9 | - # | * / 7.4 | 9 | - # | * / 8 | 9 | - # - # See https://make.wordpress.org/core/handbook/references/phpunit-compatibility-and-wordpress-versions/ - - name: Update PHPUnit - run: | - if [[ $PHP_VERSION == "7.1" ]]; then - echo "Installing PHPUnit 7.5x" - composer require --ignore-platform-reqs --no-interaction --no-scripts phpunit/phpunit:^7.5 --with-dependencies - elif [[ $PHP_VERSION == "7.2" ]]; then - echo "Installing PHPUnit 8.5x" - composer require --ignore-platform-reqs --no-interaction --no-scripts phpunit/phpunit:^8.5 --with-dependencies - elif [[ $PHP_VERSION != "7.0" ]]; then - echo "Installing latest version of PHPUnit" - composer update --ignore-platform-reqs --no-interaction --no-scripts yoast/phpunit-polyfills --with-dependencies - fi - env: - PHP_VERSION: ${{ matrix.php }} - - name: Setup Node.js (.nvmrc) uses: actions/setup-node@v3 with: diff --git a/.gitignore b/.gitignore index b7537e26f..9daebea64 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,7 @@ build node_modules/ vendor/ build-cs/vendor/ +build-cs/composer.lock ############ ## OSes diff --git a/build-cs/composer.json b/build-cs/composer.json index 5fbaeb1be..cc2798073 100644 --- a/build-cs/composer.json +++ b/build-cs/composer.json @@ -3,19 +3,21 @@ "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0", "phpcompatibility/php-compatibility": "^9.3", "phpmd/phpmd": "^2.9", - "phpstan/phpstan": "^1.10", "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.10", "slevomat/coding-standard": "^8.9", "szepeviktor/phpstan-wordpress": "^1.1", - "wp-coding-standards/wpcs": "^3.0.0" + "wp-cli/extension-command": "^2.1", + "wp-cli/wp-cli": "^2.8", + "wp-cli/wp-cli-tests": "^v4.2.2", + "wp-coding-standards/wpcs": "^3.0.0", + "wp-phpunit/wp-phpunit": "^6.1", + "yoast/phpunit-polyfills": "^1.0" }, "config": { "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true, "phpstan/extension-installer": true - }, - "platform": { - "php": "8.0" } } } diff --git a/build-cs/composer.lock b/build-cs/composer.lock deleted file mode 100644 index 1cfda6347..000000000 --- a/build-cs/composer.lock +++ /dev/null @@ -1,1918 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "effb6123cabe174a740530e32679a77d", - "packages": [], - "packages-dev": [ - { - "name": "composer/pcre", - "version": "3.1.1", - "source": { - "type": "git", - "url": "https://github.com/composer/pcre.git", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9", - "shasum": "" - }, - "require": { - "php": "^7.4 || ^8.0" - }, - "require-dev": { - "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": { - "psr-4": { - "Composer\\Pcre\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - } - ], - "description": "PCRE wrapping library that offers type-safe preg_* replacements.", - "keywords": [ - "PCRE", - "preg", - "regex", - "regular expression" - ], - "support": { - "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.1.1" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2023-10-11T07:11:09+00:00" - }, - { - "name": "composer/xdebug-handler", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/composer/xdebug-handler.git", - "reference": "ced299686f41dce890debac69273b47ffe98a40c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", - "reference": "ced299686f41dce890debac69273b47ffe98a40c", - "shasum": "" - }, - "require": { - "composer/pcre": "^1 || ^2 || ^3", - "php": "^7.2.5 || ^8.0", - "psr/log": "^1 || ^2 || ^3" - }, - "require-dev": { - "phpstan/phpstan": "^1.0", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^6.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Composer\\XdebugHandler\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "John Stevenson", - "email": "john-stevenson@blueyonder.co.uk" - } - ], - "description": "Restarts a process without Xdebug.", - "keywords": [ - "Xdebug", - "performance" - ], - "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2022-02-25T21:32:43+00:00" - }, - { - "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v1.0.0", - "source": { - "type": "git", - "url": "https://github.com/PHPCSStandards/composer-installer.git", - "reference": "4be43904336affa5c2f70744a348312336afd0da" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/4be43904336affa5c2f70744a348312336afd0da", - "reference": "4be43904336affa5c2f70744a348312336afd0da", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0 || ^2.0", - "php": ">=5.4", - "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" - }, - "require-dev": { - "composer/composer": "*", - "ext-json": "*", - "ext-zip": "*", - "php-parallel-lint/php-parallel-lint": "^1.3.1", - "phpcompatibility/php-compatibility": "^9.0", - "yoast/phpunit-polyfills": "^1.0" - }, - "type": "composer-plugin", - "extra": { - "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" - }, - "autoload": { - "psr-4": { - "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Franck Nijhof", - "email": "franck.nijhof@dealerdirect.com", - "homepage": "http://www.frenck.nl", - "role": "Developer / IT Manager" - }, - { - "name": "Contributors", - "homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors" - } - ], - "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/PHPCSStandards/composer-installer/issues", - "source": "https://github.com/PHPCSStandards/composer-installer" - }, - "time": "2023-01-05T11:28:13+00:00" - }, - { - "name": "pdepend/pdepend", - "version": "2.15.1", - "source": { - "type": "git", - "url": "https://github.com/pdepend/pdepend.git", - "reference": "d12f25bcdfb7754bea458a4a5cb159d55e9950d0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pdepend/pdepend/zipball/d12f25bcdfb7754bea458a4a5cb159d55e9950d0", - "reference": "d12f25bcdfb7754bea458a4a5cb159d55e9950d0", - "shasum": "" - }, - "require": { - "php": ">=5.3.7", - "symfony/config": "^2.3.0|^3|^4|^5|^6.0", - "symfony/dependency-injection": "^2.3.0|^3|^4|^5|^6.0", - "symfony/filesystem": "^2.3.0|^3|^4|^5|^6.0" - }, - "require-dev": { - "easy-doc/easy-doc": "0.0.0|^1.2.3", - "gregwar/rst": "^1.0", - "phpunit/phpunit": "^4.8.36|^5.7.27", - "squizlabs/php_codesniffer": "^2.0.0" - }, - "bin": [ - "src/bin/pdepend" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, - "autoload": { - "psr-4": { - "PDepend\\": "src/main/php/PDepend" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Official version of pdepend to be handled with Composer", - "keywords": [ - "PHP Depend", - "PHP_Depend", - "dev", - "pdepend" - ], - "support": { - "issues": "https://github.com/pdepend/pdepend/issues", - "source": "https://github.com/pdepend/pdepend/tree/2.15.1" - }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/pdepend/pdepend", - "type": "tidelift" - } - ], - "time": "2023-09-28T12:00:56+00:00" - }, - { - "name": "php-stubs/wordpress-stubs", - "version": "v6.3.2", - "source": { - "type": "git", - "url": "https://github.com/php-stubs/wordpress-stubs.git", - "reference": "f22b00cacd3b9addc2b07ff48290084503c48574" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/f22b00cacd3b9addc2b07ff48290084503c48574", - "reference": "f22b00cacd3b9addc2b07ff48290084503c48574", - "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" - }, - "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.3.2" - }, - "time": "2023-10-14T10:08:05+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": "phpcsstandards/phpcsextra", - "version": "1.1.2", - "source": { - "type": "git", - "url": "https://github.com/PHPCSStandards/PHPCSExtra.git", - "reference": "746c3190ba8eb2f212087c947ba75f4f5b9a58d5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/746c3190ba8eb2f212087c947ba75f4f5b9a58d5", - "reference": "746c3190ba8eb2f212087c947ba75f4f5b9a58d5", - "shasum": "" - }, - "require": { - "php": ">=5.4", - "phpcsstandards/phpcsutils": "^1.0.8", - "squizlabs/php_codesniffer": "^3.7.1" - }, - "require-dev": { - "php-parallel-lint/php-console-highlighter": "^1.0", - "php-parallel-lint/php-parallel-lint": "^1.3.2", - "phpcsstandards/phpcsdevcs": "^1.1.6", - "phpcsstandards/phpcsdevtools": "^1.2.1", - "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0" - }, - "type": "phpcodesniffer-standard", - "extra": { - "branch-alias": { - "dev-stable": "1.x-dev", - "dev-develop": "1.x-dev" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0-or-later" - ], - "authors": [ - { - "name": "Juliette Reinders Folmer", - "homepage": "https://github.com/jrfnl", - "role": "lead" - }, - { - "name": "Contributors", - "homepage": "https://github.com/PHPCSStandards/PHPCSExtra/graphs/contributors" - } - ], - "description": "A collection of sniffs and standards for use with PHP_CodeSniffer.", - "keywords": [ - "PHP_CodeSniffer", - "phpcbf", - "phpcodesniffer-standard", - "phpcs", - "standards", - "static analysis" - ], - "support": { - "issues": "https://github.com/PHPCSStandards/PHPCSExtra/issues", - "source": "https://github.com/PHPCSStandards/PHPCSExtra" - }, - "time": "2023-09-20T22:06:18+00:00" - }, - { - "name": "phpcsstandards/phpcsutils", - "version": "1.0.8", - "source": { - "type": "git", - "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", - "reference": "69465cab9d12454e5e7767b9041af0cd8cd13be7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/69465cab9d12454e5e7767b9041af0cd8cd13be7", - "reference": "69465cab9d12454e5e7767b9041af0cd8cd13be7", - "shasum": "" - }, - "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", - "php": ">=5.4", - "squizlabs/php_codesniffer": "^3.7.1 || 4.0.x-dev@dev" - }, - "require-dev": { - "ext-filter": "*", - "php-parallel-lint/php-console-highlighter": "^1.0", - "php-parallel-lint/php-parallel-lint": "^1.3.2", - "phpcsstandards/phpcsdevcs": "^1.1.6", - "yoast/phpunit-polyfills": "^1.0.5 || ^2.0.0" - }, - "type": "phpcodesniffer-standard", - "extra": { - "branch-alias": { - "dev-stable": "1.x-dev", - "dev-develop": "1.x-dev" - } - }, - "autoload": { - "classmap": [ - "PHPCSUtils/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0-or-later" - ], - "authors": [ - { - "name": "Juliette Reinders Folmer", - "homepage": "https://github.com/jrfnl", - "role": "lead" - }, - { - "name": "Contributors", - "homepage": "https://github.com/PHPCSStandards/PHPCSUtils/graphs/contributors" - } - ], - "description": "A suite of utility functions for use with PHP_CodeSniffer", - "homepage": "https://phpcsutils.com/", - "keywords": [ - "PHP_CodeSniffer", - "phpcbf", - "phpcodesniffer-standard", - "phpcs", - "phpcs3", - "standards", - "static analysis", - "tokens", - "utility" - ], - "support": { - "docs": "https://phpcsutils.com/", - "issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues", - "source": "https://github.com/PHPCSStandards/PHPCSUtils" - }, - "time": "2023-07-16T21:39:41+00:00" - }, - { - "name": "phpmd/phpmd", - "version": "2.14.1", - "source": { - "type": "git", - "url": "https://github.com/phpmd/phpmd.git", - "reference": "442fc2c34edcd5198b442d8647c7f0aec3afabe8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpmd/phpmd/zipball/442fc2c34edcd5198b442d8647c7f0aec3afabe8", - "reference": "442fc2c34edcd5198b442d8647c7f0aec3afabe8", - "shasum": "" - }, - "require": { - "composer/xdebug-handler": "^1.0 || ^2.0 || ^3.0", - "ext-xml": "*", - "pdepend/pdepend": "^2.15.1", - "php": ">=5.3.9" - }, - "require-dev": { - "easy-doc/easy-doc": "0.0.0 || ^1.3.2", - "ext-json": "*", - "ext-simplexml": "*", - "gregwar/rst": "^1.0", - "mikey179/vfsstream": "^1.6.8", - "phpunit/phpunit": "^4.8.36 || ^5.7.27", - "squizlabs/php_codesniffer": "^2.9.2 || ^3.7.2" - }, - "bin": [ - "src/bin/phpmd" - ], - "type": "library", - "autoload": { - "psr-0": { - "PHPMD\\": "src/main/php" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Manuel Pichler", - "email": "github@manuel-pichler.de", - "homepage": "https://github.com/manuelpichler", - "role": "Project Founder" - }, - { - "name": "Marc Würth", - "email": "ravage@bluewin.ch", - "homepage": "https://github.com/ravage84", - "role": "Project Maintainer" - }, - { - "name": "Other contributors", - "homepage": "https://github.com/phpmd/phpmd/graphs/contributors", - "role": "Contributors" - } - ], - "description": "PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD.", - "homepage": "https://phpmd.org/", - "keywords": [ - "dev", - "mess detection", - "mess detector", - "pdepend", - "phpmd", - "pmd" - ], - "support": { - "irc": "irc://irc.freenode.org/phpmd", - "issues": "https://github.com/phpmd/phpmd/issues", - "source": "https://github.com/phpmd/phpmd/tree/2.14.1" - }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/phpmd/phpmd", - "type": "tidelift" - } - ], - "time": "2023-09-28T13:07:44+00:00" - }, - { - "name": "phpstan/extension-installer", - "version": "1.3.1", - "source": { - "type": "git", - "url": "https://github.com/phpstan/extension-installer.git", - "reference": "f45734bfb9984c6c56c4486b71230355f066a58a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/f45734bfb9984c6c56c4486b71230355f066a58a", - "reference": "f45734bfb9984c6c56c4486b71230355f066a58a", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^2.0", - "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.9.0" - }, - "require-dev": { - "composer/composer": "^2.0", - "php-parallel-lint/php-parallel-lint": "^1.2.0", - "phpstan/phpstan-strict-rules": "^0.11 || ^0.12 || ^1.0" - }, - "type": "composer-plugin", - "extra": { - "class": "PHPStan\\ExtensionInstaller\\Plugin" - }, - "autoload": { - "psr-4": { - "PHPStan\\ExtensionInstaller\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Composer plugin for automatic installation of PHPStan extensions", - "support": { - "issues": "https://github.com/phpstan/extension-installer/issues", - "source": "https://github.com/phpstan/extension-installer/tree/1.3.1" - }, - "time": "2023-05-24T08:59:17+00:00" - }, - { - "name": "phpstan/phpdoc-parser", - "version": "1.24.2", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "bcad8d995980440892759db0c32acae7c8e79442" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/bcad8d995980440892759db0c32acae7c8e79442", - "reference": "bcad8d995980440892759db0c32acae7c8e79442", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "require-dev": { - "doctrine/annotations": "^2.0", - "nikic/php-parser": "^4.15", - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.5", - "phpstan/phpstan-phpunit": "^1.1", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^9.5", - "symfony/process": "^5.2" - }, - "type": "library", - "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/1.24.2" - }, - "time": "2023-09-26T12:28:12+00:00" - }, - { - "name": "phpstan/phpstan", - "version": "1.10.38", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5302bb402c57f00fb3c2c015bac86e0827e4b691", - "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691", - "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" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" - } - ], - "time": "2023-10-06T14:19:14+00:00" - }, - { - "name": "psr/container", - "version": "1.1.2", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", - "shasum": "" - }, - "require": { - "php": ">=7.4.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.2" - }, - "time": "2021-11-05T16:50:12+00:00" - }, - { - "name": "psr/log", - "version": "3.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/3.0.0" - }, - "time": "2021-07-14T16:46:02+00:00" - }, - { - "name": "slevomat/coding-standard", - "version": "8.14.1", - "source": { - "type": "git", - "url": "https://github.com/slevomat/coding-standard.git", - "reference": "fea1fd6f137cc84f9cba0ae30d549615dbc6a926" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/fea1fd6f137cc84f9cba0ae30d549615dbc6a926", - "reference": "fea1fd6f137cc84f9cba0ae30d549615dbc6a926", - "shasum": "" - }, - "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0", - "php": "^7.2 || ^8.0", - "phpstan/phpdoc-parser": "^1.23.1", - "squizlabs/php_codesniffer": "^3.7.1" - }, - "require-dev": { - "phing/phing": "2.17.4", - "php-parallel-lint/php-parallel-lint": "1.3.2", - "phpstan/phpstan": "1.10.37", - "phpstan/phpstan-deprecation-rules": "1.1.4", - "phpstan/phpstan-phpunit": "1.3.14", - "phpstan/phpstan-strict-rules": "1.5.1", - "phpunit/phpunit": "8.5.21|9.6.8|10.3.5" - }, - "type": "phpcodesniffer-standard", - "extra": { - "branch-alias": { - "dev-master": "8.x-dev" - } - }, - "autoload": { - "psr-4": { - "SlevomatCodingStandard\\": "SlevomatCodingStandard/" - } - }, - "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.", - "keywords": [ - "dev", - "phpcs" - ], - "support": { - "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/8.14.1" - }, - "funding": [ - { - "url": "https://github.com/kukulich", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/slevomat/coding-standard", - "type": "tidelift" - } - ], - "time": "2023-10-08T07:28:08+00:00" - }, - { - "name": "squizlabs/php_codesniffer", - "version": "3.7.2", - "source": { - "type": "git", - "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", - "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", - "shasum": "" - }, - "require": { - "ext-simplexml": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" - }, - "bin": [ - "bin/phpcs", - "bin/phpcbf" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Greg Sherwood", - "role": "lead" - } - ], - "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", - "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", - "keywords": [ - "phpcs", - "standards", - "static analysis" - ], - "support": { - "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", - "source": "https://github.com/squizlabs/PHP_CodeSniffer", - "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" - }, - "time": "2023-02-22T23:07:41+00:00" - }, - { - "name": "symfony/config", - "version": "v5.4.26", - "source": { - "type": "git", - "url": "https://github.com/symfony/config.git", - "reference": "8109892f27beed9252bd1f1c1880aeb4ad842650" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/8109892f27beed9252bd1f1c1880aeb4ad842650", - "reference": "8109892f27beed9252bd1f1c1880aeb4ad842650", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/filesystem": "^4.4|^5.0|^6.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-php80": "^1.16", - "symfony/polyfill-php81": "^1.22" - }, - "conflict": { - "symfony/finder": "<4.4" - }, - "require-dev": { - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/messenger": "^4.4|^5.0|^6.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/yaml": "^4.4|^5.0|^6.0" - }, - "suggest": { - "symfony/yaml": "To use the yaml reference dumper" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Config\\": "" - }, - "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": "Helps you find, load, combine, autofill and validate configuration values of any kind", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/config/tree/v5.4.26" - }, - "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-07-19T20:21:11+00:00" - }, - { - "name": "symfony/dependency-injection", - "version": "v5.4.29", - "source": { - "type": "git", - "url": "https://github.com/symfony/dependency-injection.git", - "reference": "338638ed8c9d5c7fcb136a73f5c7043465ae2f05" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/338638ed8c9d5c7fcb136a73f5c7043465ae2f05", - "reference": "338638ed8c9d5c7fcb136a73f5c7043465ae2f05", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "psr/container": "^1.1.1", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16", - "symfony/polyfill-php81": "^1.22", - "symfony/service-contracts": "^1.1.6|^2" - }, - "conflict": { - "ext-psr": "<1.1|>=2", - "symfony/config": "<5.3", - "symfony/finder": "<4.4", - "symfony/proxy-manager-bridge": "<4.4", - "symfony/yaml": "<4.4.26" - }, - "provide": { - "psr/container-implementation": "1.0", - "symfony/service-implementation": "1.0|2.0" - }, - "require-dev": { - "symfony/config": "^5.3|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/yaml": "^4.4.26|^5.0|^6.0" - }, - "suggest": { - "symfony/config": "", - "symfony/expression-language": "For using expressions in service container configuration", - "symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required", - "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", - "symfony/yaml": "" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\DependencyInjection\\": "" - }, - "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": "Allows you to standardize and centralize the way objects are constructed in your application", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v5.4.29" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-09-20T06:23:43+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "v2.5.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "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": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" - }, - "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": "2022-01-02T09:53:40+00:00" - }, - { - "name": "symfony/filesystem", - "version": "v5.4.25", - "source": { - "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", - "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8", - "symfony/polyfill-php80": "^1.16" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Filesystem\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides basic utilities for the filesystem", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.25" - }, - "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-05-31T13:04:02+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.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": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "42292d99c55abe617799667f454222c54c60e229" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", - "reference": "42292d99c55abe617799667f454222c54c60e229", - "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" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.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": "2023-07-28T09:04:16+00:00" - }, - { - "name": "symfony/polyfill-php73", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.28.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": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "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" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.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": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-php81", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/7581cd600fa9fd681b797d00b02f068e2f13263b", - "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php81\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.28.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": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/service-contracts", - "version": "v2.5.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", - "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", - "shasum": "" - }, - "require": { - "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": "2.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\Service\\": "" - } - }, - "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": "Generic abstractions related to writing services", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.2" - }, - "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": "2022-05-30T19:17:29+00:00" - }, - { - "name": "szepeviktor/phpstan-wordpress", - "version": "v1.3.1", - "source": { - "type": "git", - "url": "https://github.com/szepeviktor/phpstan-wordpress.git", - "reference": "78db560e7989b50b05bec50ee5d862b41892654a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/szepeviktor/phpstan-wordpress/zipball/78db560e7989b50b05bec50ee5d862b41892654a", - "reference": "78db560e7989b50b05bec50ee5d862b41892654a", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0", - "php-stubs/wordpress-stubs": "^4.7 || ^5.0 || ^6.0", - "phpstan/phpstan": "^1.10.0", - "symfony/polyfill-php73": "^1.12.0" - }, - "require-dev": { - "composer/composer": "^2.1.14", - "dealerdirect/phpcodesniffer-composer-installer": "^1.0", - "php-parallel-lint/php-parallel-lint": "^1.1", - "phpstan/phpstan-strict-rules": "^1.2", - "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": { - "includes": [ - "extension.neon" - ] - } - }, - "autoload": { - "psr-4": { - "SzepeViktor\\PHPStan\\WordPress\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "WordPress extensions for PHPStan", - "keywords": [ - "PHPStan", - "code analyse", - "code analysis", - "static analysis", - "wordpress" - ], - "support": { - "issues": "https://github.com/szepeviktor/phpstan-wordpress/issues", - "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/v1.3.1" - }, - "time": "2023-10-14T18:59:35+00:00" - }, - { - "name": "wp-coding-standards/wpcs", - "version": "3.0.1", - "source": { - "type": "git", - "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", - "reference": "b4caf9689f1a0e4a4c632679a44e638c1c67aff1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/b4caf9689f1a0e4a4c632679a44e638c1c67aff1", - "reference": "b4caf9689f1a0e4a4c632679a44e638c1c67aff1", - "shasum": "" - }, - "require": { - "ext-filter": "*", - "ext-libxml": "*", - "ext-tokenizer": "*", - "ext-xmlreader": "*", - "php": ">=5.4", - "phpcsstandards/phpcsextra": "^1.1.0", - "phpcsstandards/phpcsutils": "^1.0.8", - "squizlabs/php_codesniffer": "^3.7.2" - }, - "require-dev": { - "php-parallel-lint/php-console-highlighter": "^1.0.0", - "php-parallel-lint/php-parallel-lint": "^1.3.2", - "phpcompatibility/php-compatibility": "^9.0", - "phpcsstandards/phpcsdevtools": "^1.2.0", - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" - }, - "suggest": { - "ext-iconv": "For improved results", - "ext-mbstring": "For improved results" - }, - "type": "phpcodesniffer-standard", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Contributors", - "homepage": "https://github.com/WordPress/WordPress-Coding-Standards/graphs/contributors" - } - ], - "description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions", - "keywords": [ - "phpcs", - "standards", - "static analysis", - "wordpress" - ], - "support": { - "issues": "https://github.com/WordPress/WordPress-Coding-Standards/issues", - "source": "https://github.com/WordPress/WordPress-Coding-Standards", - "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki" - }, - "funding": [ - { - "url": "https://opencollective.com/thewpcc/contribute/wp-php-63406", - "type": "custom" - } - ], - "time": "2023-09-14T07:06:09+00:00" - } - ], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": { - "php": ">=7|^8" - }, - "platform-dev": [], - "platform-overrides": { - "php": "8.0" - }, - "plugin-api-version": "2.6.0" -} diff --git a/composer.json b/composer.json index ea14220ae..e098dd603 100644 --- a/composer.json +++ b/composer.json @@ -11,33 +11,40 @@ "automattic/vipwpcs": "^3.0.0" }, "require-dev": { - "wp-phpunit/wp-phpunit": "^6.1", - "yoast/phpunit-polyfills": "^1.0", - "wp-cli/extension-command": "^2.1", - "wp-cli/wp-cli": "^2.8", - "wp-cli/wp-cli-tests": "^v4.2.2" }, "scripts": { - "lint": [ - "composer --working-dir=build-cs install", - "build-cs/vendor/bin/phpcs --standard=phpcs.xml.dist" + "behat": [ + "composer --working-dir=build-cs update --no-interaction", + "BEHAT_FEATURES_FOLDER=tests/behat/features run-behat-tests" + ], + "behat-rerun": [ + "composer --working-dir=build-cs update --no-interaction", + "BEHAT_FEATURES_FOLDER=tests/behat/features rerun-behat-tests" ], "format": [ - "composer --working-dir=build-cs install", + "composer --working-dir=build-cs update --no-interaction", "build-cs/vendor/bin/phpcbf --standard=phpcs.xml.dist" ], - "test": "phpunit -c phpunit.xml.dist --verbose", + "lint": [ + "composer --working-dir=build-cs update --no-interaction", + "build-cs/vendor/bin/phpcs --standard=phpcs.xml.dist" + ], "phpmd": [ - "composer --working-dir=build-cs install", + "composer --working-dir=build-cs update --no-interaction", "build-cs/vendor/bin/phpmd . text phpmd.xml" ], "phpstan": [ - "composer --working-dir=build-cs install", + "composer --working-dir=build-cs update --no-interaction", "build-cs/vendor/bin/phpstan analyse --memory-limit=2048M" ], - "behat": "BEHAT_FEATURES_FOLDER=tests/behat/features run-behat-tests", - "behat-rerun": "BEHAT_FEATURES_FOLDER=tests/behat/features rerun-behat-tests", - "prepare-behat-tests": "install-package-tests" + "prepare-behat-tests": [ + "composer --working-dir=build-cs update --no-interaction", + "install-package-tests" + ], + "test": [ + "composer --working-dir=build-cs update --no-interaction", + "phpunit -c phpunit.xml.dist --verbose" + ] }, "scripts-descriptions": { "lint": "Detect coding standards issues", diff --git a/composer.lock b/composer.lock index e5a2e3761..8c15c5f95 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": "5ddf11ee8ead5be7227aff4501ed17e2", + "content-hash": "fe7b399e5ccb90280924472db1227604", "packages": [ { "name": "automattic/vipwpcs", @@ -607,3707 +607,7 @@ "time": "2023-09-14T07:06:09+00:00" } ], - "packages-dev": [ - { - "name": "behat/behat", - "version": "v3.7.0", - "source": { - "type": "git", - "url": "https://github.com/Behat/Behat.git", - "reference": "08052f739619a9e9f62f457a67302f0715e6dd13" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Behat/Behat/zipball/08052f739619a9e9f62f457a67302f0715e6dd13", - "reference": "08052f739619a9e9f62f457a67302f0715e6dd13", - "shasum": "" - }, - "require": { - "behat/gherkin": "^4.6.0", - "behat/transliterator": "^1.2", - "ext-mbstring": "*", - "php": ">=5.3.3", - "psr/container": "^1.0", - "symfony/config": "^2.7.51 || ^3.0 || ^4.0 || ^5.0", - "symfony/console": "^2.7.51 || ^2.8.33 || ^3.3.15 || ^3.4.3 || ^4.0.3 || ^5.0", - "symfony/dependency-injection": "^2.7.51 || ^3.0 || ^4.0 || ^5.0", - "symfony/event-dispatcher": "^2.7.51 || ^3.0 || ^4.0 || ^5.0", - "symfony/translation": "^2.7.51 || ^3.0 || ^4.0 || ^5.0", - "symfony/yaml": "^2.7.51 || ^3.0 || ^4.0 || ^5.0" - }, - "require-dev": { - "container-interop/container-interop": "^1.2", - "herrera-io/box": "~1.6.1", - "phpunit/phpunit": "^4.8.36 || ^6.5.14 || ^7.5.20", - "symfony/process": "~2.5 || ^3.0 || ^4.0 || ^5.0" - }, - "suggest": { - "ext-dom": "Needed to output test results in JUnit format." - }, - "bin": [ - "bin/behat" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.6.x-dev" - } - }, - "autoload": { - "psr-4": { - "Behat\\Behat\\": "src/Behat/Behat/", - "Behat\\Testwork\\": "src/Behat/Testwork/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - } - ], - "description": "Scenario-oriented BDD framework for PHP 5.3", - "homepage": "http://behat.org/", - "keywords": [ - "Agile", - "BDD", - "ScenarioBDD", - "Scrum", - "StoryBDD", - "User story", - "business", - "development", - "documentation", - "examples", - "symfony", - "testing" - ], - "support": { - "issues": "https://github.com/Behat/Behat/issues", - "source": "https://github.com/Behat/Behat/tree/v3.7.0" - }, - "time": "2020-06-03T13:08:44+00:00" - }, - { - "name": "behat/gherkin", - "version": "v4.7.3", - "source": { - "type": "git", - "url": "https://github.com/Behat/Gherkin.git", - "reference": "d5ae4616aeaa91daadbfb8446d9d17aae8d43cf7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Behat/Gherkin/zipball/d5ae4616aeaa91daadbfb8446d9d17aae8d43cf7", - "reference": "d5ae4616aeaa91daadbfb8446d9d17aae8d43cf7", - "shasum": "" - }, - "require": { - "php": ">=5.6" - }, - "require-dev": { - "cucumber/cucumber": "dev-gherkin-16.0.0", - "phpunit/phpunit": "^5.7.1|~6|~7", - "symfony/phpunit-bridge": "~2.7|~3|~4", - "symfony/yaml": "~2.3|~3|~4" - }, - "suggest": { - "symfony/yaml": "If you want to parse features, represented in YAML files" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.4-dev" - } - }, - "autoload": { - "psr-0": { - "Behat\\Gherkin": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - } - ], - "description": "Gherkin DSL parser for PHP", - "homepage": "http://behat.org/", - "keywords": [ - "BDD", - "Behat", - "Cucumber", - "DSL", - "gherkin", - "parser" - ], - "support": { - "issues": "https://github.com/Behat/Gherkin/issues", - "source": "https://github.com/Behat/Gherkin/tree/v4.7.3" - }, - "time": "2021-02-04T12:26:47+00:00" - }, - { - "name": "behat/transliterator", - "version": "v1.4.0", - "source": { - "type": "git", - "url": "https://github.com/Behat/Transliterator.git", - "reference": "34490b42c5225687d9449e6476e66a03c62c43ff" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Behat/Transliterator/zipball/34490b42c5225687d9449e6476e66a03c62c43ff", - "reference": "34490b42c5225687d9449e6476e66a03c62c43ff", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "chuyskywalker/rolling-curl": "^3.1", - "php-yaoi/php-yaoi": "^1.0", - "phpunit/phpunit": "^4.8.36 || ^6.5.14 || ^8.5.25" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Behat\\Transliterator\\": "src/Behat/Transliterator" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Artistic-1.0" - ], - "description": "String transliterator", - "keywords": [ - "i18n", - "slug", - "transliterator" - ], - "support": { - "issues": "https://github.com/Behat/Transliterator/issues", - "source": "https://github.com/Behat/Transliterator/tree/v1.4.0" - }, - "time": "2022-03-30T09:16:18+00:00" - }, - { - "name": "composer/semver", - "version": "3.4.0", - "source": { - "type": "git", - "url": "https://github.com/composer/semver.git", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", - "shasum": "" - }, - "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^1.4", - "symfony/phpunit-bridge": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\Semver\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "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": "Semver library that offers utilities, version constraint parsing and validation.", - "keywords": [ - "semantic", - "semver", - "validation", - "versioning" - ], - "support": { - "irc": "ircs://irc.libera.chat:6697/composer", - "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.0" - }, - "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": "doctrine/instantiator", - "version": "1.0.5", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", - "shasum": "" - }, - "require": { - "php": ">=5.3,<8.0-DEV" - }, - "require-dev": { - "athletic/athletic": "~0.1.8", - "ext-pdo": "*", - "ext-phar": "*", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://github.com/doctrine/instantiator", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.0.5" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2015-06-14T21:17:01+00:00" - }, - { - "name": "mustache/mustache", - "version": "v2.14.2", - "source": { - "type": "git", - "url": "https://github.com/bobthecow/mustache.php.git", - "reference": "e62b7c3849d22ec55f3ec425507bf7968193a6cb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/bobthecow/mustache.php/zipball/e62b7c3849d22ec55f3ec425507bf7968193a6cb", - "reference": "e62b7c3849d22ec55f3ec425507bf7968193a6cb", - "shasum": "" - }, - "require": { - "php": ">=5.2.4" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "~1.11", - "phpunit/phpunit": "~3.7|~4.0|~5.0" - }, - "type": "library", - "autoload": { - "psr-0": { - "Mustache": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Justin Hileman", - "email": "justin@justinhileman.info", - "homepage": "http://justinhileman.com" - } - ], - "description": "A Mustache implementation in PHP.", - "homepage": "https://github.com/bobthecow/mustache.php", - "keywords": [ - "mustache", - "templating" - ], - "support": { - "issues": "https://github.com/bobthecow/mustache.php/issues", - "source": "https://github.com/bobthecow/mustache.php/tree/v2.14.2" - }, - "time": "2022-08-23T13:07:01+00:00" - }, - { - "name": "myclabs/deep-copy", - "version": "1.7.0", - "source": { - "type": "git", - "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", - "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0" - }, - "require-dev": { - "doctrine/collections": "^1.0", - "doctrine/common": "^2.6", - "phpunit/phpunit": "^4.1" - }, - "type": "library", - "autoload": { - "files": [ - "src/DeepCopy/deep_copy.php" - ], - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - } - }, - "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.x" - }, - "time": "2017-10-19T19:58:43+00:00" - }, - { - "name": "phar-io/manifest", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/phar-io/manifest.git", - "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0", - "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-phar": "*", - "phar-io/version": "^1.0.1", - "php": "^5.6 || ^7.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.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/master" - }, - "time": "2017-03-05T18:14:27+00:00" - }, - { - "name": "phar-io/version", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/phar-io/version.git", - "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df", - "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.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/master" - }, - "time": "2017-03-05T17:38:23+00:00" - }, - { - "name": "php-parallel-lint/php-console-color", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/php-parallel-lint/PHP-Console-Color.git", - "reference": "7adfefd530aa2d7570ba87100a99e2483a543b88" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-parallel-lint/PHP-Console-Color/zipball/7adfefd530aa2d7570ba87100a99e2483a543b88", - "reference": "7adfefd530aa2d7570ba87100a99e2483a543b88", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "replace": { - "jakub-onderka/php-console-color": "*" - }, - "require-dev": { - "php-parallel-lint/php-code-style": "^2.0", - "php-parallel-lint/php-parallel-lint": "^1.0", - "php-parallel-lint/php-var-dump-check": "0.*", - "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "PHP_Parallel_Lint\\PhpConsoleColor\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Jakub Onderka", - "email": "jakub.onderka@gmail.com" - } - ], - "description": "Simple library for creating colored console ouput.", - "support": { - "issues": "https://github.com/php-parallel-lint/PHP-Console-Color/issues", - "source": "https://github.com/php-parallel-lint/PHP-Console-Color/tree/v1.0.1" - }, - "time": "2021-12-25T06:49:29+00:00" - }, - { - "name": "php-parallel-lint/php-console-highlighter", - "version": "v1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-parallel-lint/PHP-Console-Highlighter.git", - "reference": "5b4803384d3303cf8e84141039ef56c8a123138d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-parallel-lint/PHP-Console-Highlighter/zipball/5b4803384d3303cf8e84141039ef56c8a123138d", - "reference": "5b4803384d3303cf8e84141039ef56c8a123138d", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": ">=5.3.2", - "php-parallel-lint/php-console-color": "^1.0.1" - }, - "replace": { - "jakub-onderka/php-console-highlighter": "*" - }, - "require-dev": { - "php-parallel-lint/php-code-style": "^2.0", - "php-parallel-lint/php-parallel-lint": "^1.0", - "php-parallel-lint/php-var-dump-check": "0.*", - "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "PHP_Parallel_Lint\\PhpConsoleHighlighter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jakub Onderka", - "email": "acci@acci.cz", - "homepage": "http://www.acci.cz/" - } - ], - "description": "Highlight PHP code in terminal", - "support": { - "issues": "https://github.com/php-parallel-lint/PHP-Console-Highlighter/issues", - "source": "https://github.com/php-parallel-lint/PHP-Console-Highlighter/tree/v1.0.0" - }, - "time": "2022-02-18T08:23:19+00:00" - }, - { - "name": "php-parallel-lint/php-parallel-lint", - "version": "v1.3.2", - "source": { - "type": "git", - "url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git", - "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/6483c9832e71973ed29cf71bd6b3f4fde438a9de", - "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de", - "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 check syntax of PHP files about 20x faster than serial check.", - "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint", - "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" - }, - "time": "2022-02-21T12:50:22+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": "phpdocumentor/reflection-common", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", - "shasum": "" - }, - "require": { - "php": ">=5.5" - }, - "require-dev": { - "phpunit/phpunit": "^4.6" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jaap van Otterdijk", - "email": "opensource@ijaap.nl" - } - ], - "description": "Common reflection classes used by phpdocumentor to reflect the code structure", - "homepage": "http://www.phpdoc.org", - "keywords": [ - "FQSEN", - "phpDocumentor", - "phpdoc", - "reflection", - "static analysis" - ], - "support": { - "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", - "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/master" - }, - "time": "2017-09-11T18:02:19+00:00" - }, - { - "name": "phpdocumentor/reflection-docblock", - "version": "4.3.4", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/da3fd972d6bafd628114f7e7e036f45944b62e9c", - "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c", - "shasum": "" - }, - "require": { - "php": "^7.0", - "phpdocumentor/reflection-common": "^1.0.0 || ^2.0.0", - "phpdocumentor/type-resolver": "~0.4 || ^1.0.0", - "webmozart/assert": "^1.0" - }, - "require-dev": { - "doctrine/instantiator": "^1.0.5", - "mockery/mockery": "^1.0", - "phpdocumentor/type-resolver": "0.4.*", - "phpunit/phpunit": "^6.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - } - ], - "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "support": { - "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/release/4.x" - }, - "time": "2019-12-28T18:55:12+00:00" - }, - { - "name": "phpdocumentor/type-resolver", - "version": "0.5.1", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "cf842904952e64e703800d094cdf34e715a8a3ae" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/cf842904952e64e703800d094cdf34e715a8a3ae", - "reference": "cf842904952e64e703800d094cdf34e715a8a3ae", - "shasum": "" - }, - "require": { - "php": "^7.0", - "phpdocumentor/reflection-common": "^1.0" - }, - "require-dev": { - "mockery/mockery": "^1.0", - "phpunit/phpunit": "^6.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - } - ], - "support": { - "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/master" - }, - "time": "2017-12-30T13:23:38+00:00" - }, - { - "name": "phpspec/prophecy", - "version": "v1.10.3", - "source": { - "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "451c3cd1418cf640de218914901e51b064abb093" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093", - "reference": "451c3cd1418cf640de218914901e51b064abb093", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.2", - "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0", - "sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0", - "sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0" - }, - "require-dev": { - "phpspec/phpspec": "^2.5 || ^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.10.x-dev" - } - }, - "autoload": { - "psr-4": { - "Prophecy\\": "src/Prophecy" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" - } - ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", - "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" - ], - "support": { - "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/v1.10.3" - }, - "time": "2020-03-05T15:02:03+00:00" - }, - { - "name": "phpunit/php-code-coverage", - "version": "5.3.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "c89677919c5dd6d3b3852f230a663118762218ac" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c89677919c5dd6d3b3852f230a663118762218ac", - "reference": "c89677919c5dd6d3b3852f230a663118762218ac", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-xmlwriter": "*", - "php": "^7.0", - "phpunit/php-file-iterator": "^1.4.2", - "phpunit/php-text-template": "^1.2.1", - "phpunit/php-token-stream": "^2.0.1", - "sebastian/code-unit-reverse-lookup": "^1.0.1", - "sebastian/environment": "^3.0", - "sebastian/version": "^2.0.1", - "theseer/tokenizer": "^1.1" - }, - "require-dev": { - "phpunit/phpunit": "^6.0" - }, - "suggest": { - "ext-xdebug": "^2.5.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.3.x-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", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/5.3" - }, - "time": "2018-04-06T15:36:58+00:00" - }, - { - "name": "phpunit/php-file-iterator", - "version": "1.4.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.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": { - "irc": "irc://irc.freenode.net/phpunit", - "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/1.4.5" - }, - "time": "2017-11-27T13:52:08+00:00" - }, - { - "name": "phpunit/php-text-template", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/1.2.1" - }, - "time": "2015-06-21T13:50:34+00:00" - }, - { - "name": "phpunit/php-timer", - "version": "1.0.9", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.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/master" - }, - "time": "2017-02-26T11:10:40+00:00" - }, - { - "name": "phpunit/php-token-stream", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "791198a2c6254db10131eecfe8c06670700904db" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db", - "reference": "791198a2c6254db10131eecfe8c06670700904db", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": "^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^6.2.4" - }, - "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" - } - ], - "description": "Wrapper around PHP's tokenizer extension.", - "homepage": "https://github.com/sebastianbergmann/php-token-stream/", - "keywords": [ - "tokenizer" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-token-stream/issues", - "source": "https://github.com/sebastianbergmann/php-token-stream/tree/master" - }, - "abandoned": true, - "time": "2017-11-27T05:48:46+00:00" - }, - { - "name": "phpunit/phpunit", - "version": "6.5.14", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "bac23fe7ff13dbdb461481f706f0e9fe746334b7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/bac23fe7ff13dbdb461481f706f0e9fe746334b7", - "reference": "bac23fe7ff13dbdb461481f706f0e9fe746334b7", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-xml": "*", - "myclabs/deep-copy": "^1.6.1", - "phar-io/manifest": "^1.0.1", - "phar-io/version": "^1.0", - "php": "^7.0", - "phpspec/prophecy": "^1.7", - "phpunit/php-code-coverage": "^5.3", - "phpunit/php-file-iterator": "^1.4.3", - "phpunit/php-text-template": "^1.2.1", - "phpunit/php-timer": "^1.0.9", - "phpunit/phpunit-mock-objects": "^5.0.9", - "sebastian/comparator": "^2.1", - "sebastian/diff": "^2.0", - "sebastian/environment": "^3.1", - "sebastian/exporter": "^3.1", - "sebastian/global-state": "^2.0", - "sebastian/object-enumerator": "^3.0.3", - "sebastian/resource-operations": "^1.0", - "sebastian/version": "^2.0.1" - }, - "conflict": { - "phpdocumentor/reflection-docblock": "3.0.2", - "phpunit/dbunit": "<3.0" - }, - "require-dev": { - "ext-pdo": "*" - }, - "suggest": { - "ext-xdebug": "*", - "phpunit/php-invoker": "^1.1" - }, - "bin": [ - "phpunit" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "6.5.x-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": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", - "keywords": [ - "phpunit", - "testing", - "xunit" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/6.5.14" - }, - "time": "2019-02-01T05:22:47+00:00" - }, - { - "name": "phpunit/phpunit-mock-objects", - "version": "5.0.10", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/cd1cf05c553ecfec36b170070573e540b67d3f1f", - "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.5", - "php": "^7.0", - "phpunit/php-text-template": "^1.2.1", - "sebastian/exporter": "^3.1" - }, - "conflict": { - "phpunit/phpunit": "<6.0" - }, - "require-dev": { - "phpunit/phpunit": "^6.5.11" - }, - "suggest": { - "ext-soap": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0.x-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": "Mock Object library for PHPUnit", - "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", - "keywords": [ - "mock", - "xunit" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/phpunit-mock-objects/issues", - "source": "https://github.com/sebastianbergmann/phpunit-mock-objects/tree/5.0.10" - }, - "abandoned": true, - "time": "2018-08-09T05:50:03+00:00" - }, - { - "name": "psr/container", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/master" - }, - "time": "2017-02-14T16:28:37+00:00" - }, - { - "name": "psr/log", - "version": "1.1.4", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "Psr/Log/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/1.1.4" - }, - "time": "2021-05-03T11:20:27+00:00" - }, - { - "name": "sebastian/code-unit-reverse-lookup", - "version": "1.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/1de8cd5c010cb153fcd68b8d0f64606f523f7619", - "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619", - "shasum": "" - }, - "require": { - "php": ">=5.6" - }, - "require-dev": { - "phpunit/phpunit": "^8.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "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/", - "support": { - "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/1.0.2" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-11-30T08:15:22+00:00" - }, - { - "name": "sebastian/comparator", - "version": "2.1.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9", - "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9", - "shasum": "" - }, - "require": { - "php": "^7.0", - "sebastian/diff": "^2.0 || ^3.0", - "sebastian/exporter": "^3.1" - }, - "require-dev": { - "phpunit/phpunit": "^6.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "https://github.com/sebastianbergmann/comparator", - "keywords": [ - "comparator", - "compare", - "equality" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/master" - }, - "time": "2018-02-01T13:46:46+00:00" - }, - { - "name": "sebastian/diff", - "version": "2.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/347c1d8b49c5c3ee30c7040ea6fc446790e6bddd", - "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd", - "shasum": "" - }, - "require": { - "php": "^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^6.2" - }, - "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": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Diff implementation", - "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": [ - "diff" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/master" - }, - "time": "2017-08-03T08:09:46+00:00" - }, - { - "name": "sebastian/environment", - "version": "3.1.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cd0871b3975fb7fc44d11314fd1ee20925fce4f5", - "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5", - "shasum": "" - }, - "require": { - "php": "^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^6.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/master" - }, - "time": "2017-07-01T08:51:00+00:00" - }, - { - "name": "sebastian/exporter", - "version": "3.1.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "73a9676f2833b9a7c36968f9d882589cd75511e6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/73a9676f2833b9a7c36968f9d882589cd75511e6", - "reference": "73a9676f2833b9a7c36968f9d882589cd75511e6", - "shasum": "" - }, - "require": { - "php": ">=7.0", - "sebastian/recursion-context": "^3.0" - }, - "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^8.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "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": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", - "keywords": [ - "export", - "exporter" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-09-14T06:00:17+00:00" - }, - { - "name": "sebastian/global-state", - "version": "2.0.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", - "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", - "shasum": "" - }, - "require": { - "php": "^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^6.0" - }, - "suggest": { - "ext-uopz": "*" - }, - "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" - } - ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": [ - "global state" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/2.0.0" - }, - "time": "2017-04-27T15:39:26+00:00" - }, - { - "name": "sebastian/object-enumerator", - "version": "3.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2", - "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2", - "shasum": "" - }, - "require": { - "php": ">=7.0", - "sebastian/object-reflector": "^1.1.1", - "sebastian/recursion-context": "^3.0" - }, - "require-dev": { - "phpunit/phpunit": "^6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "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/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/3.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-11-30T07:40:27+00:00" - }, - { - "name": "sebastian/object-reflector", - "version": "1.1.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/9b8772b9cbd456ab45d4a598d2dd1a1bced6363d", - "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d", - "shasum": "" - }, - "require": { - "php": ">=7.0" - }, - "require-dev": { - "phpunit/phpunit": "^6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "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/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/1.1.2" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-11-30T07:37:18+00:00" - }, - { - "name": "sebastian/recursion-context", - "version": "3.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/367dcba38d6e1977be014dc4b22f47a484dac7fb", - "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb", - "shasum": "" - }, - "require": { - "php": ">=7.0" - }, - "require-dev": { - "phpunit/phpunit": "^6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "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" - } - ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "support": { - "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/3.0.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-11-30T07:34:24+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", - "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", - "shasum": "" - }, - "require": { - "php": ">=5.6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "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/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/master" - }, - "time": "2015-07-28T20:34:47+00:00" - }, - { - "name": "sebastian/version", - "version": "2.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019", - "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019", - "shasum": "" - }, - "require": { - "php": ">=5.6" - }, - "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": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/master" - }, - "time": "2016-10-03T07:35:21+00:00" - }, - { - "name": "symfony/config", - "version": "v3.3.6", - "source": { - "type": "git", - "url": "https://github.com/symfony/config.git", - "reference": "54ee12b0dd60f294132cabae6f5da9573d2e5297" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/54ee12b0dd60f294132cabae6f5da9573d2e5297", - "reference": "54ee12b0dd60f294132cabae6f5da9573d2e5297", - "shasum": "" - }, - "require": { - "php": ">=5.5.9", - "symfony/filesystem": "~2.8|~3.0" - }, - "conflict": { - "symfony/dependency-injection": "<3.3", - "symfony/finder": "<3.3" - }, - "require-dev": { - "symfony/dependency-injection": "~3.3", - "symfony/finder": "~3.3", - "symfony/yaml": "~3.0" - }, - "suggest": { - "symfony/yaml": "To use the yaml reference dumper" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Config\\": "" - }, - "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": "Symfony Config Component", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/config/tree/3.3" - }, - "time": "2017-07-19T07:37:29+00:00" - }, - { - "name": "symfony/console", - "version": "v2.8.52", - "source": { - "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12", - "reference": "cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12", - "shasum": "" - }, - "require": { - "php": ">=5.3.9", - "symfony/debug": "^2.7.2|~3.0.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/event-dispatcher": "~2.1|~3.0.0", - "symfony/process": "~2.1|~3.0.0" - }, - "suggest": { - "psr/log-implementation": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/process": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.8-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "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": "Symfony Console Component", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/console/tree/v2.8.52" - }, - "time": "2018-11-20T15:55:20+00:00" - }, - { - "name": "symfony/debug", - "version": "v3.0.9", - "source": { - "type": "git", - "url": "https://github.com/symfony/debug.git", - "reference": "697c527acd9ea1b2d3efac34d9806bf255278b0a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/697c527acd9ea1b2d3efac34d9806bf255278b0a", - "reference": "697c527acd9ea1b2d3efac34d9806bf255278b0a", - "shasum": "" - }, - "require": { - "php": ">=5.5.9", - "psr/log": "~1.0" - }, - "conflict": { - "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" - }, - "require-dev": { - "symfony/class-loader": "~2.8|~3.0", - "symfony/http-kernel": "~2.8|~3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Debug\\": "" - }, - "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": "Symfony Debug Component", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/debug/tree/3.0" - }, - "abandoned": "symfony/error-handler", - "time": "2016-07-30T07:22:48+00:00" - }, - { - "name": "symfony/dependency-injection", - "version": "v3.3.6", - "source": { - "type": "git", - "url": "https://github.com/symfony/dependency-injection.git", - "reference": "8d70987f991481e809c63681ffe8ce3f3fde68a0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/8d70987f991481e809c63681ffe8ce3f3fde68a0", - "reference": "8d70987f991481e809c63681ffe8ce3f3fde68a0", - "shasum": "" - }, - "require": { - "php": ">=5.5.9", - "psr/container": "^1.0" - }, - "conflict": { - "symfony/config": "<3.3.1", - "symfony/finder": "<3.3", - "symfony/yaml": "<3.3" - }, - "provide": { - "psr/container-implementation": "1.0" - }, - "require-dev": { - "symfony/config": "~3.3", - "symfony/expression-language": "~2.8|~3.0", - "symfony/yaml": "~3.3" - }, - "suggest": { - "symfony/config": "", - "symfony/expression-language": "For using expressions in service container configuration", - "symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required", - "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", - "symfony/yaml": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\DependencyInjection\\": "" - }, - "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": "Symfony DependencyInjection Component", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/dependency-injection/tree/3.3" - }, - "time": "2017-07-28T15:27:31+00:00" - }, - { - "name": "symfony/event-dispatcher", - "version": "v3.3.6", - "source": { - "type": "git", - "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "67535f1e3fd662bdc68d7ba317c93eecd973617e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/67535f1e3fd662bdc68d7ba317c93eecd973617e", - "reference": "67535f1e3fd662bdc68d7ba317c93eecd973617e", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "conflict": { - "symfony/dependency-injection": "<3.3" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~2.8|~3.0", - "symfony/dependency-injection": "~3.3", - "symfony/expression-language": "~2.8|~3.0", - "symfony/stopwatch": "~2.8|~3.0" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\EventDispatcher\\": "" - }, - "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": "Symfony EventDispatcher Component", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/3.3" - }, - "time": "2017-06-09T14:53:08+00:00" - }, - { - "name": "symfony/filesystem", - "version": "v3.3.6", - "source": { - "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "427987eb4eed764c3b6e38d52a0f87989e010676" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/427987eb4eed764c3b6e38d52a0f87989e010676", - "reference": "427987eb4eed764c3b6e38d52a0f87989e010676", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Filesystem\\": "" - }, - "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": "Symfony Filesystem Component", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/filesystem/tree/3.3" - }, - "time": "2017-07-11T07:17:58+00:00" - }, - { - "name": "symfony/finder", - "version": "v3.3.6", - "source": { - "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "baea7f66d30854ad32988c11a09d7ffd485810c4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/baea7f66d30854ad32988c11a09d7ffd485810c4", - "reference": "baea7f66d30854ad32988c11a09d7ffd485810c4", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Finder\\": "" - }, - "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": "Symfony Finder Component", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/finder/tree/3.3" - }, - "time": "2017-06-01T21:01:25+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.19.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "aed596913b70fae57be53d86faa2e9ef85a2297b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/aed596913b70fae57be53d86faa2e9ef85a2297b", - "reference": "aed596913b70fae57be53d86faa2e9ef85a2297b", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.19-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.19.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": "2020-10-23T09:01:57+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.19.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "b5f7b932ee6fa802fc792eabd77c4c88084517ce" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/b5f7b932ee6fa802fc792eabd77c4c88084517ce", - "reference": "b5f7b932ee6fa802fc792eabd77c4c88084517ce", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.19-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.19.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": "2020-10-23T09:01:57+00:00" - }, - { - "name": "symfony/translation", - "version": "v3.3.6", - "source": { - "type": "git", - "url": "https://github.com/symfony/translation.git", - "reference": "35dd5fb003c90e8bd4d8cabdf94bf9c96d06fdc3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/35dd5fb003c90e8bd4d8cabdf94bf9c96d06fdc3", - "reference": "35dd5fb003c90e8bd4d8cabdf94bf9c96d06fdc3", - "shasum": "" - }, - "require": { - "php": ">=5.5.9", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/config": "<2.8", - "symfony/yaml": "<3.3" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~2.8|~3.0", - "symfony/intl": "^2.8.18|^3.2.5", - "symfony/yaml": "~3.3" - }, - "suggest": { - "psr/log": "To use logging capability in translator", - "symfony/config": "", - "symfony/yaml": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Translation\\": "" - }, - "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": "Symfony Translation Component", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/translation/tree/3.3" - }, - "time": "2017-06-24T16:45:30+00:00" - }, - { - "name": "symfony/yaml", - "version": "v3.3.6", - "source": { - "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/ddc23324e6cfe066f3dd34a37ff494fa80b617ed", - "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "symfony/console": "~2.8|~3.0" - }, - "suggest": { - "symfony/console": "For validating YAML files using the lint command" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Yaml\\": "" - }, - "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": "Symfony Yaml Component", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/yaml/tree/3.3" - }, - "time": "2017-07-23T12:43:26+00:00" - }, - { - "name": "theseer/tokenizer", - "version": "1.1.3", - "source": { - "type": "git", - "url": "https://github.com/theseer/tokenizer.git", - "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/11336f6f84e16a720dae9d8e6ed5019efa85a0f9", - "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": "^7.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" - } - ], - "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/master" - }, - "time": "2019-06-13T22:48:21+00:00" - }, - { - "name": "webmozart/assert", - "version": "1.9.1", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/assert.git", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0 || ^8.0", - "symfony/polyfill-ctype": "^1.8" - }, - "conflict": { - "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<3.9.1" - }, - "require-dev": { - "phpunit/phpunit": "^4.8.36 || ^7.5.13" - }, - "type": "library", - "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], - "support": { - "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.9.1" - }, - "time": "2020-07-08T17:02:28+00:00" - }, - { - "name": "wp-cli/config-command", - "version": "v2.3.2", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/config-command.git", - "reference": "9de6ce3536a2db56ae5264c61b6f1a35e9132e01" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/config-command/zipball/9de6ce3536a2db56ae5264c61b6f1a35e9132e01", - "reference": "9de6ce3536a2db56ae5264c61b6f1a35e9132e01", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5", - "wp-cli/wp-config-transformer": "^1.2.1" - }, - "require-dev": { - "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "config", - "config edit", - "config delete", - "config create", - "config get", - "config has", - "config is-true", - "config list", - "config path", - "config set", - "config shuffle-salts" - ] - }, - "autoload": { - "files": [ - "config-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - }, - { - "name": "Alain Schlesser", - "email": "alain.schlesser@gmail.com", - "homepage": "https://www.alainschlesser.com" - } - ], - "description": "Generates and reads the wp-config.php file.", - "homepage": "https://github.com/wp-cli/config-command", - "support": { - "issues": "https://github.com/wp-cli/config-command/issues", - "source": "https://github.com/wp-cli/config-command/tree/v2.3.2" - }, - "time": "2023-10-20T10:15:46+00:00" - }, - { - "name": "wp-cli/core-command", - "version": "v2.1.15", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/core-command.git", - "reference": "7a81a8658620078bf5f2785836cb33aa382e8bb4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/core-command/zipball/7a81a8658620078bf5f2785836cb33aa382e8bb4", - "reference": "7a81a8658620078bf5f2785836cb33aa382e8bb4", - "shasum": "" - }, - "require": { - "composer/semver": "^1.4 || ^2 || ^3", - "wp-cli/wp-cli": "^2.5.1" - }, - "require-dev": { - "wp-cli/checksum-command": "^1 || ^2", - "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "core", - "core check-update", - "core download", - "core install", - "core is-installed", - "core multisite-convert", - "core multisite-install", - "core update", - "core update-db", - "core version" - ] - }, - "autoload": { - "files": [ - "core-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Downloads, installs, updates, and manages a WordPress installation.", - "homepage": "https://github.com/wp-cli/core-command", - "support": { - "issues": "https://github.com/wp-cli/core-command/issues", - "source": "https://github.com/wp-cli/core-command/tree/v2.1.15" - }, - "time": "2023-08-30T15:54:16+00:00" - }, - { - "name": "wp-cli/eval-command", - "version": "v2.2.4", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/eval-command.git", - "reference": "5a9c605ae52d118f582693209d2f1c5c4f214b76" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/eval-command/zipball/5a9c605ae52d118f582693209d2f1c5c4f214b76", - "reference": "5a9c605ae52d118f582693209d2f1c5c4f214b76", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "eval", - "eval-file" - ] - }, - "autoload": { - "files": [ - "eval-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Executes arbitrary PHP code or files.", - "homepage": "https://github.com/wp-cli/eval-command", - "support": { - "issues": "https://github.com/wp-cli/eval-command/issues", - "source": "https://github.com/wp-cli/eval-command/tree/v2.2.4" - }, - "time": "2023-08-30T14:51:36+00:00" - }, - { - "name": "wp-cli/extension-command", - "version": "v2.1.15", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/extension-command.git", - "reference": "1fe271c5ebb1815732a8cf6bb6979c9261ee6375" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/extension-command/zipball/1fe271c5ebb1815732a8cf6bb6979c9261ee6375", - "reference": "1fe271c5ebb1815732a8cf6bb6979c9261ee6375", - "shasum": "" - }, - "require": { - "composer/semver": "^1.4 || ^2 || ^3", - "wp-cli/wp-cli": "^2.5.1" - }, - "require-dev": { - "wp-cli/cache-command": "^2.0", - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/language-command": "^2.0", - "wp-cli/scaffold-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "plugin", - "plugin activate", - "plugin deactivate", - "plugin delete", - "plugin get", - "plugin install", - "plugin is-installed", - "plugin list", - "plugin path", - "plugin search", - "plugin status", - "plugin toggle", - "plugin uninstall", - "plugin update", - "theme", - "theme activate", - "theme delete", - "theme disable", - "theme enable", - "theme get", - "theme install", - "theme is-installed", - "theme list", - "theme mod", - "theme mod get", - "theme mod set", - "theme mod remove", - "theme path", - "theme search", - "theme status", - "theme update", - "theme mod list" - ] - }, - "autoload": { - "files": [ - "extension-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - }, - { - "name": "Alain Schlesser", - "email": "alain.schlesser@gmail.com", - "homepage": "https://www.alainschlesser.com" - } - ], - "description": "Manages plugins and themes, including installs, activations, and updates.", - "homepage": "https://github.com/wp-cli/extension-command", - "support": { - "issues": "https://github.com/wp-cli/extension-command/issues", - "source": "https://github.com/wp-cli/extension-command/tree/v2.1.15" - }, - "time": "2023-10-11T14:55:49+00:00" - }, - { - "name": "wp-cli/mustangostang-spyc", - "version": "0.6.3", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/spyc.git", - "reference": "6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/spyc/zipball/6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7", - "reference": "6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7", - "shasum": "" - }, - "require": { - "php": ">=5.3.1" - }, - "require-dev": { - "phpunit/phpunit": "4.3.*@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.5.x-dev" - } - }, - "autoload": { - "files": [ - "includes/functions.php" - ], - "psr-4": { - "Mustangostang\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "mustangostang", - "email": "vlad.andersen@gmail.com" - } - ], - "description": "A simple YAML loader/dumper class for PHP (WP-CLI fork)", - "homepage": "https://github.com/mustangostang/spyc/", - "support": { - "source": "https://github.com/wp-cli/spyc/tree/autoload" - }, - "time": "2017-04-25T11:26:20+00:00" - }, - { - "name": "wp-cli/php-cli-tools", - "version": "v0.11.21", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/php-cli-tools.git", - "reference": "b3457a8d60cd0b1c48cab76ad95df136d266f0b6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/php-cli-tools/zipball/b3457a8d60cd0b1c48cab76ad95df136d266f0b6", - "reference": "b3457a8d60cd0b1c48cab76ad95df136d266f0b6", - "shasum": "" - }, - "require": { - "php": ">= 5.3.0" - }, - "require-dev": { - "roave/security-advisories": "dev-latest", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.11.x-dev" - } - }, - "autoload": { - "files": [ - "lib/cli/cli.php" - ], - "psr-0": { - "cli": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@handbuilt.co", - "role": "Maintainer" - }, - { - "name": "James Logsdon", - "email": "jlogsdon@php.net", - "role": "Developer" - } - ], - "description": "Console utilities for PHP", - "homepage": "http://github.com/wp-cli/php-cli-tools", - "keywords": [ - "cli", - "console" - ], - "support": { - "issues": "https://github.com/wp-cli/php-cli-tools/issues", - "source": "https://github.com/wp-cli/php-cli-tools/tree/v0.11.21" - }, - "time": "2023-09-29T15:28:10+00:00" - }, - { - "name": "wp-cli/wp-cli", - "version": "v2.9.0", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/wp-cli.git", - "reference": "8a3befba2d947fbf5cc6d1941edf2dd99da4d4b7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/8a3befba2d947fbf5cc6d1941edf2dd99da4d4b7", - "reference": "8a3befba2d947fbf5cc6d1941edf2dd99da4d4b7", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "mustache/mustache": "^2.14.1", - "php": "^5.6 || ^7.0 || ^8.0", - "symfony/finder": ">2.7", - "wp-cli/mustangostang-spyc": "^0.6.3", - "wp-cli/php-cli-tools": "~0.11.2" - }, - "require-dev": { - "roave/security-advisories": "dev-latest", - "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/entity-command": "^1.2 || ^2", - "wp-cli/extension-command": "^1.1 || ^2", - "wp-cli/package-command": "^1 || ^2", - "wp-cli/wp-cli-tests": "^4.0.1" - }, - "suggest": { - "ext-readline": "Include for a better --prompt implementation", - "ext-zip": "Needed to support extraction of ZIP archives when doing downloads or updates" - }, - "bin": [ - "bin/wp", - "bin/wp.bat" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.9.x-dev" - } - }, - "autoload": { - "psr-0": { - "WP_CLI\\": "php/" - }, - "classmap": [ - "php/class-wp-cli.php", - "php/class-wp-cli-command.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "WP-CLI framework", - "homepage": "https://wp-cli.org", - "keywords": [ - "cli", - "wordpress" - ], - "support": { - "docs": "https://make.wordpress.org/cli/handbook/", - "issues": "https://github.com/wp-cli/wp-cli/issues", - "source": "https://github.com/wp-cli/wp-cli" - }, - "time": "2023-10-25T09:06:37+00:00" - }, - { - "name": "wp-cli/wp-cli-tests", - "version": "v4.2.2", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/wp-cli-tests.git", - "reference": "560ed5ca2776b6b3b66c79a6e6dc62904ae20b3b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli-tests/zipball/560ed5ca2776b6b3b66c79a6e6dc62904ae20b3b", - "reference": "560ed5ca2776b6b3b66c79a6e6dc62904ae20b3b", - "shasum": "" - }, - "require": { - "behat/behat": "^3.7", - "dealerdirect/phpcodesniffer-composer-installer": "^0.4.3 || ^0.5 || ^0.6.2 || ^0.7.1 || ^1.0.0", - "php": ">=5.6", - "php-parallel-lint/php-console-highlighter": "^1.0", - "php-parallel-lint/php-parallel-lint": "^1.3.1", - "phpcompatibility/php-compatibility": "^9.3.5", - "wp-cli/config-command": "^1 || ^2", - "wp-cli/core-command": "^1 || ^2", - "wp-cli/eval-command": "^1 || ^2", - "wp-cli/wp-cli": "^2.5.1", - "wp-coding-standards/wpcs": "^3", - "yoast/phpunit-polyfills": "^1.0.3" - }, - "require-dev": { - "roave/security-advisories": "dev-latest" - }, - "bin": [ - "bin/install-package-tests", - "bin/rerun-behat-tests", - "bin/run-behat-tests", - "bin/run-linter-tests", - "bin/run-php-unit-tests", - "bin/run-phpcs-tests", - "bin/run-phpcbf-cleanup" - ], - "type": "phpcodesniffer-standard", - "extra": { - "branch-alias": { - "dev-main": "4.0.x-dev" - }, - "readme": { - "sections": [ - "Using", - "Contributing", - "Support" - ], - "using": { - "body": ".readme-partials/USING.md" - }, - "show_powered_by": false - } - }, - "autoload": { - "psr-4": { - "WP_CLI\\Tests\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "WP-CLI testing framework", - "homepage": "https://wp-cli.org", - "keywords": [ - "cli", - "wordpress" - ], - "support": { - "docs": "https://make.wordpress.org/cli/handbook/", - "issues": "https://github.com/wp-cli/wp-cli-tests/issues", - "source": "https://github.com/wp-cli/wp-cli-tests" - }, - "time": "2023-10-24T07:49:22+00:00" - }, - { - "name": "wp-cli/wp-config-transformer", - "version": "v1.3.4", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/wp-config-transformer.git", - "reference": "1f80df413c0d779a813223d9dd5dd58358eee60c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/1f80df413c0d779a813223d9dd5dd58358eee60c", - "reference": "1f80df413c0d779a813223d9dd5dd58358eee60c", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0 || ^8.0" - }, - "require-dev": { - "wp-cli/wp-cli-tests": "^4.0" - }, - "type": "library", - "autoload": { - "files": [ - "src/WPConfigTransformer.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Frankie Jarrett", - "email": "fjarrett@gmail.com" - } - ], - "description": "Programmatically edit a wp-config.php file.", - "homepage": "https://github.com/wp-cli/wp-config-transformer", - "support": { - "issues": "https://github.com/wp-cli/wp-config-transformer/issues", - "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3.4" - }, - "time": "2023-08-31T10:11:36+00:00" - }, - { - "name": "wp-phpunit/wp-phpunit", - "version": "6.3.1", - "source": { - "type": "git", - "url": "https://github.com/wp-phpunit/wp-phpunit.git", - "reference": "4797791a311c41d213027333e4fcc48073f77df0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-phpunit/wp-phpunit/zipball/4797791a311c41d213027333e4fcc48073f77df0", - "reference": "4797791a311c41d213027333e4fcc48073f77df0", - "shasum": "" - }, - "type": "library", - "autoload": { - "files": [ - "__loaded.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0-or-later" - ], - "authors": [ - { - "name": "Evan Mattson", - "email": "me@aaemnnost.tv" - }, - { - "name": "WordPress Community", - "homepage": "https://wordpress.org/about/" - } - ], - "description": "WordPress core PHPUnit library", - "homepage": "https://github.com/wp-phpunit", - "keywords": [ - "phpunit", - "test", - "wordpress" - ], - "support": { - "docs": "https://github.com/wp-phpunit/docs", - "issues": "https://github.com/wp-phpunit/issues", - "source": "https://github.com/wp-phpunit/wp-phpunit" - }, - "time": "2023-08-09T01:26:57+00:00" - }, - { - "name": "yoast/phpunit-polyfills", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/Yoast/PHPUnit-Polyfills.git", - "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/224e4a1329c03d8bad520e3fc4ec980034a4b212", - "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212", - "shasum": "" - }, - "require": { - "php": ">=5.4", - "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" - }, - "require-dev": { - "yoast/yoastcs": "^2.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - } - }, - "autoload": { - "files": [ - "phpunitpolyfills-autoload.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Team Yoast", - "email": "support@yoast.com", - "homepage": "https://yoast.com" - }, - { - "name": "Contributors", - "homepage": "https://github.com/Yoast/PHPUnit-Polyfills/graphs/contributors" - } - ], - "description": "Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests", - "homepage": "https://github.com/Yoast/PHPUnit-Polyfills", - "keywords": [ - "phpunit", - "polyfill", - "testing" - ], - "support": { - "issues": "https://github.com/Yoast/PHPUnit-Polyfills/issues", - "source": "https://github.com/Yoast/PHPUnit-Polyfills" - }, - "time": "2023-08-19T14:25:08+00:00" - } - ], + "packages-dev": [], "aliases": [], "minimum-stability": "stable", "stability-flags": [], diff --git a/package.json b/package.json index f1e2129bb..5f8d82079 100644 --- a/package.json +++ b/package.json @@ -19,13 +19,14 @@ "wp-env": "wp-env", "lint-js": "wp-scripts lint-js", "format-js": "npm run lint-js -- --fix", - "prelint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin-check/ composer install --no-interaction", - "phpstan": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin-check/ composer run-script phpstan", - "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin-check/ composer run-script lint", - "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin-check/ composer run-script format", - "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit --verbose", - "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit --verbose --coverage-clover build/logs/php-coverage.xml", - "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", - "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" + "phpstan": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script phpstan", + "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script lint", + "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script format", + "pretest-php": "composer --working-dir=build-cs update", + "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit --verbose", + "pretest-php-coverage": "composer --working-dir=build-cs update", + "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit --verbose --coverage-clover build/logs/php-coverage.xml", + "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", + "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" } } From b568cddf4f2e89fb3ccc380e1eb84ccfada3cc76 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 10 Nov 2023 19:52:50 +0100 Subject: [PATCH 26/51] Fix config file paths --- composer.json | 4 ++-- package.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index e098dd603..1f217a997 100644 --- a/composer.json +++ b/composer.json @@ -39,11 +39,11 @@ ], "prepare-behat-tests": [ "composer --working-dir=build-cs update --no-interaction", - "install-package-tests" + "build-cs/vendor/bin/install-package-tests" ], "test": [ "composer --working-dir=build-cs update --no-interaction", - "phpunit -c phpunit.xml.dist --verbose" + "phpunit -c ../phpunit.xml.dist --verbose" ] }, "scripts-descriptions": { diff --git a/package.json b/package.json index 5f8d82079..3bec765ed 100644 --- a/package.json +++ b/package.json @@ -23,10 +23,10 @@ "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script lint", "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script format", "pretest-php": "composer --working-dir=build-cs update", - "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit --verbose", + "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c ../phpunit.xml.dist --verbose", "pretest-php-coverage": "composer --working-dir=build-cs update", - "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit --verbose --coverage-clover build/logs/php-coverage.xml", - "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", - "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" + "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c ../phpunit.xml.dist --verbose --coverage-clover build/logs/php-coverage.xml", + "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c ../tests/phpunit/multisite.xml --verbose", + "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c ../tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" } } From ebb86af54525b4c6cf2091682cb7067d099fba71 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 10 Nov 2023 20:02:59 +0100 Subject: [PATCH 27/51] Undo exclude --- phpunit.xml.dist | 1 - tests/phpunit/multisite.xml | 1 - 2 files changed, 2 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index a55726b09..3f42fa1d3 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -16,7 +16,6 @@ ./tests/phpunit ./tests/phpunit/testdata/plugins/* - ./tests/phpunit/utils/* ./tests/phpunit/bootstrap.php diff --git a/tests/phpunit/multisite.xml b/tests/phpunit/multisite.xml index 93a44f655..994c4982a 100644 --- a/tests/phpunit/multisite.xml +++ b/tests/phpunit/multisite.xml @@ -19,7 +19,6 @@ ./ ./testdata/plugins/* - ./utils/* ./bootstrap.php From 111b57252e185f400d0626de831c72467d55e57a Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 10 Nov 2023 20:05:09 +0100 Subject: [PATCH 28/51] Fix behat script path --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 1f217a997..eb43a37a5 100644 --- a/composer.json +++ b/composer.json @@ -15,11 +15,11 @@ "scripts": { "behat": [ "composer --working-dir=build-cs update --no-interaction", - "BEHAT_FEATURES_FOLDER=tests/behat/features run-behat-tests" + "BEHAT_FEATURES_FOLDER=tests/behat/features build-cs/vendor/bin/run-behat-tests" ], "behat-rerun": [ "composer --working-dir=build-cs update --no-interaction", - "BEHAT_FEATURES_FOLDER=tests/behat/features rerun-behat-tests" + "BEHAT_FEATURES_FOLDER=tests/behat/features build-cs/vendor/bin/rerun-behat-tests" ], "format": [ "composer --working-dir=build-cs update --no-interaction", From eb49dcf738f91745c01c6339adcdfb9a61428ada Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 10 Nov 2023 20:49:02 +0100 Subject: [PATCH 29/51] partial revert --- behat.yml | 2 +- build-cs/composer.json | 3 - composer.json | 18 +- composer.lock | 3656 +++++++++++++++++++++++++++++++++++++++- package.json | 4 +- 5 files changed, 3663 insertions(+), 20 deletions(-) diff --git a/behat.yml b/behat.yml index dd094cb36..5aed2a90e 100644 --- a/behat.yml +++ b/behat.yml @@ -4,4 +4,4 @@ default: contexts: - WordPress\Plugin_Check\Behat_Utils\FeatureContext paths: - - tests/behat/features + - ../tests/behat/features diff --git a/build-cs/composer.json b/build-cs/composer.json index cc2798073..9db290eba 100644 --- a/build-cs/composer.json +++ b/build-cs/composer.json @@ -7,9 +7,6 @@ "phpstan/phpstan": "^1.10", "slevomat/coding-standard": "^8.9", "szepeviktor/phpstan-wordpress": "^1.1", - "wp-cli/extension-command": "^2.1", - "wp-cli/wp-cli": "^2.8", - "wp-cli/wp-cli-tests": "^v4.2.2", "wp-coding-standards/wpcs": "^3.0.0", "wp-phpunit/wp-phpunit": "^6.1", "yoast/phpunit-polyfills": "^1.0" diff --git a/composer.json b/composer.json index eb43a37a5..b53fec9f0 100644 --- a/composer.json +++ b/composer.json @@ -11,16 +11,14 @@ "automattic/vipwpcs": "^3.0.0" }, "require-dev": { + "wp-cli/extension-command": "^2.1", + "wp-cli/wp-cli": "^2.8", + "wp-cli/wp-cli-tests": "^v4.2.2" }, "scripts": { - "behat": [ - "composer --working-dir=build-cs update --no-interaction", - "BEHAT_FEATURES_FOLDER=tests/behat/features build-cs/vendor/bin/run-behat-tests" - ], - "behat-rerun": [ - "composer --working-dir=build-cs update --no-interaction", - "BEHAT_FEATURES_FOLDER=tests/behat/features build-cs/vendor/bin/rerun-behat-tests" - ], + "behat": "BEHAT_FEATURES_FOLDER=tests/behat/features run-behat-tests", + "behat-rerun": "BEHAT_FEATURES_FOLDER=tests/behat/features rerun-behat-tests", + "prepare-behat-tests": "install-package-tests", "format": [ "composer --working-dir=build-cs update --no-interaction", "build-cs/vendor/bin/phpcbf --standard=phpcs.xml.dist" @@ -37,10 +35,6 @@ "composer --working-dir=build-cs update --no-interaction", "build-cs/vendor/bin/phpstan analyse --memory-limit=2048M" ], - "prepare-behat-tests": [ - "composer --working-dir=build-cs update --no-interaction", - "build-cs/vendor/bin/install-package-tests" - ], "test": [ "composer --working-dir=build-cs update --no-interaction", "phpunit -c ../phpunit.xml.dist --verbose" diff --git a/composer.lock b/composer.lock index 8c15c5f95..e94ceecc8 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": "fe7b399e5ccb90280924472db1227604", + "content-hash": "d6efb77e17ac9905f61dc15c9d198fba", "packages": [ { "name": "automattic/vipwpcs", @@ -607,7 +607,3659 @@ "time": "2023-09-14T07:06:09+00:00" } ], - "packages-dev": [], + "packages-dev": [ + { + "name": "behat/behat", + "version": "v3.7.0", + "source": { + "type": "git", + "url": "https://github.com/Behat/Behat.git", + "reference": "08052f739619a9e9f62f457a67302f0715e6dd13" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Behat/Behat/zipball/08052f739619a9e9f62f457a67302f0715e6dd13", + "reference": "08052f739619a9e9f62f457a67302f0715e6dd13", + "shasum": "" + }, + "require": { + "behat/gherkin": "^4.6.0", + "behat/transliterator": "^1.2", + "ext-mbstring": "*", + "php": ">=5.3.3", + "psr/container": "^1.0", + "symfony/config": "^2.7.51 || ^3.0 || ^4.0 || ^5.0", + "symfony/console": "^2.7.51 || ^2.8.33 || ^3.3.15 || ^3.4.3 || ^4.0.3 || ^5.0", + "symfony/dependency-injection": "^2.7.51 || ^3.0 || ^4.0 || ^5.0", + "symfony/event-dispatcher": "^2.7.51 || ^3.0 || ^4.0 || ^5.0", + "symfony/translation": "^2.7.51 || ^3.0 || ^4.0 || ^5.0", + "symfony/yaml": "^2.7.51 || ^3.0 || ^4.0 || ^5.0" + }, + "require-dev": { + "container-interop/container-interop": "^1.2", + "herrera-io/box": "~1.6.1", + "phpunit/phpunit": "^4.8.36 || ^6.5.14 || ^7.5.20", + "symfony/process": "~2.5 || ^3.0 || ^4.0 || ^5.0" + }, + "suggest": { + "ext-dom": "Needed to output test results in JUnit format." + }, + "bin": [ + "bin/behat" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.6.x-dev" + } + }, + "autoload": { + "psr-4": { + "Behat\\Behat\\": "src/Behat/Behat/", + "Behat\\Testwork\\": "src/Behat/Testwork/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + } + ], + "description": "Scenario-oriented BDD framework for PHP 5.3", + "homepage": "http://behat.org/", + "keywords": [ + "Agile", + "BDD", + "ScenarioBDD", + "Scrum", + "StoryBDD", + "User story", + "business", + "development", + "documentation", + "examples", + "symfony", + "testing" + ], + "support": { + "issues": "https://github.com/Behat/Behat/issues", + "source": "https://github.com/Behat/Behat/tree/v3.7.0" + }, + "time": "2020-06-03T13:08:44+00:00" + }, + { + "name": "behat/gherkin", + "version": "v4.7.3", + "source": { + "type": "git", + "url": "https://github.com/Behat/Gherkin.git", + "reference": "d5ae4616aeaa91daadbfb8446d9d17aae8d43cf7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Behat/Gherkin/zipball/d5ae4616aeaa91daadbfb8446d9d17aae8d43cf7", + "reference": "d5ae4616aeaa91daadbfb8446d9d17aae8d43cf7", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "cucumber/cucumber": "dev-gherkin-16.0.0", + "phpunit/phpunit": "^5.7.1|~6|~7", + "symfony/phpunit-bridge": "~2.7|~3|~4", + "symfony/yaml": "~2.3|~3|~4" + }, + "suggest": { + "symfony/yaml": "If you want to parse features, represented in YAML files" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.4-dev" + } + }, + "autoload": { + "psr-0": { + "Behat\\Gherkin": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + } + ], + "description": "Gherkin DSL parser for PHP", + "homepage": "http://behat.org/", + "keywords": [ + "BDD", + "Behat", + "Cucumber", + "DSL", + "gherkin", + "parser" + ], + "support": { + "issues": "https://github.com/Behat/Gherkin/issues", + "source": "https://github.com/Behat/Gherkin/tree/v4.7.3" + }, + "time": "2021-02-04T12:26:47+00:00" + }, + { + "name": "behat/transliterator", + "version": "v1.4.0", + "source": { + "type": "git", + "url": "https://github.com/Behat/Transliterator.git", + "reference": "34490b42c5225687d9449e6476e66a03c62c43ff" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Behat/Transliterator/zipball/34490b42c5225687d9449e6476e66a03c62c43ff", + "reference": "34490b42c5225687d9449e6476e66a03c62c43ff", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "chuyskywalker/rolling-curl": "^3.1", + "php-yaoi/php-yaoi": "^1.0", + "phpunit/phpunit": "^4.8.36 || ^6.5.14 || ^8.5.25" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Behat\\Transliterator\\": "src/Behat/Transliterator" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Artistic-1.0" + ], + "description": "String transliterator", + "keywords": [ + "i18n", + "slug", + "transliterator" + ], + "support": { + "issues": "https://github.com/Behat/Transliterator/issues", + "source": "https://github.com/Behat/Transliterator/tree/v1.4.0" + }, + "time": "2022-03-30T09:16:18+00:00" + }, + { + "name": "composer/semver", + "version": "3.4.0", + "source": { + "type": "git", + "url": "https://github.com/composer/semver.git", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", + "shasum": "" + }, + "require": { + "php": "^5.3.2 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.4", + "symfony/phpunit-bridge": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\Semver\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "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": "Semver library that offers utilities, version constraint parsing and validation.", + "keywords": [ + "semantic", + "semver", + "validation", + "versioning" + ], + "support": { + "irc": "ircs://irc.libera.chat:6697/composer", + "issues": "https://github.com/composer/semver/issues", + "source": "https://github.com/composer/semver/tree/3.4.0" + }, + "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": "doctrine/instantiator", + "version": "1.0.5", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", + "shasum": "" + }, + "require": { + "php": ">=5.3,<8.0-DEV" + }, + "require-dev": { + "athletic/athletic": "~0.1.8", + "ext-pdo": "*", + "ext-phar": "*", + "phpunit/phpunit": "~4.0", + "squizlabs/php_codesniffer": "~2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://ocramius.github.com/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://github.com/doctrine/instantiator", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.0.5" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2015-06-14T21:17:01+00:00" + }, + { + "name": "mustache/mustache", + "version": "v2.14.2", + "source": { + "type": "git", + "url": "https://github.com/bobthecow/mustache.php.git", + "reference": "e62b7c3849d22ec55f3ec425507bf7968193a6cb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/bobthecow/mustache.php/zipball/e62b7c3849d22ec55f3ec425507bf7968193a6cb", + "reference": "e62b7c3849d22ec55f3ec425507bf7968193a6cb", + "shasum": "" + }, + "require": { + "php": ">=5.2.4" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "~1.11", + "phpunit/phpunit": "~3.7|~4.0|~5.0" + }, + "type": "library", + "autoload": { + "psr-0": { + "Mustache": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Justin Hileman", + "email": "justin@justinhileman.info", + "homepage": "http://justinhileman.com" + } + ], + "description": "A Mustache implementation in PHP.", + "homepage": "https://github.com/bobthecow/mustache.php", + "keywords": [ + "mustache", + "templating" + ], + "support": { + "issues": "https://github.com/bobthecow/mustache.php/issues", + "source": "https://github.com/bobthecow/mustache.php/tree/v2.14.2" + }, + "time": "2022-08-23T13:07:01+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.7.0", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", + "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "require-dev": { + "doctrine/collections": "^1.0", + "doctrine/common": "^2.6", + "phpunit/phpunit": "^4.1" + }, + "type": "library", + "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "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.x" + }, + "time": "2017-10-19T19:58:43+00:00" + }, + { + "name": "phar-io/manifest", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0", + "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "phar-io/version": "^1.0.1", + "php": "^5.6 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.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/master" + }, + "time": "2017-03-05T18:14:27+00:00" + }, + { + "name": "phar-io/version", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df", + "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.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/master" + }, + "time": "2017-03-05T17:38:23+00:00" + }, + { + "name": "php-parallel-lint/php-console-color", + "version": "v1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-parallel-lint/PHP-Console-Color.git", + "reference": "7adfefd530aa2d7570ba87100a99e2483a543b88" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-parallel-lint/PHP-Console-Color/zipball/7adfefd530aa2d7570ba87100a99e2483a543b88", + "reference": "7adfefd530aa2d7570ba87100a99e2483a543b88", + "shasum": "" + }, + "require": { + "php": ">=5.3.2" + }, + "replace": { + "jakub-onderka/php-console-color": "*" + }, + "require-dev": { + "php-parallel-lint/php-code-style": "^2.0", + "php-parallel-lint/php-parallel-lint": "^1.0", + "php-parallel-lint/php-var-dump-check": "0.*", + "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "PHP_Parallel_Lint\\PhpConsoleColor\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Jakub Onderka", + "email": "jakub.onderka@gmail.com" + } + ], + "description": "Simple library for creating colored console ouput.", + "support": { + "issues": "https://github.com/php-parallel-lint/PHP-Console-Color/issues", + "source": "https://github.com/php-parallel-lint/PHP-Console-Color/tree/v1.0.1" + }, + "time": "2021-12-25T06:49:29+00:00" + }, + { + "name": "php-parallel-lint/php-console-highlighter", + "version": "v1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-parallel-lint/PHP-Console-Highlighter.git", + "reference": "5b4803384d3303cf8e84141039ef56c8a123138d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-parallel-lint/PHP-Console-Highlighter/zipball/5b4803384d3303cf8e84141039ef56c8a123138d", + "reference": "5b4803384d3303cf8e84141039ef56c8a123138d", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=5.3.2", + "php-parallel-lint/php-console-color": "^1.0.1" + }, + "replace": { + "jakub-onderka/php-console-highlighter": "*" + }, + "require-dev": { + "php-parallel-lint/php-code-style": "^2.0", + "php-parallel-lint/php-parallel-lint": "^1.0", + "php-parallel-lint/php-var-dump-check": "0.*", + "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "PHP_Parallel_Lint\\PhpConsoleHighlighter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jakub Onderka", + "email": "acci@acci.cz", + "homepage": "http://www.acci.cz/" + } + ], + "description": "Highlight PHP code in terminal", + "support": { + "issues": "https://github.com/php-parallel-lint/PHP-Console-Highlighter/issues", + "source": "https://github.com/php-parallel-lint/PHP-Console-Highlighter/tree/v1.0.0" + }, + "time": "2022-02-18T08:23:19+00:00" + }, + { + "name": "php-parallel-lint/php-parallel-lint", + "version": "v1.3.2", + "source": { + "type": "git", + "url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git", + "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/6483c9832e71973ed29cf71bd6b3f4fde438a9de", + "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de", + "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 check syntax of PHP files about 20x faster than serial check.", + "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint", + "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" + }, + "time": "2022-02-21T12:50:22+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": "phpdocumentor/reflection-common", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", + "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "phpunit/phpunit": "^4.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", + "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/master" + }, + "time": "2017-09-11T18:02:19+00:00" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "4.3.4", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/da3fd972d6bafd628114f7e7e036f45944b62e9c", + "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c", + "shasum": "" + }, + "require": { + "php": "^7.0", + "phpdocumentor/reflection-common": "^1.0.0 || ^2.0.0", + "phpdocumentor/type-resolver": "~0.4 || ^1.0.0", + "webmozart/assert": "^1.0" + }, + "require-dev": { + "doctrine/instantiator": "^1.0.5", + "mockery/mockery": "^1.0", + "phpdocumentor/type-resolver": "0.4.*", + "phpunit/phpunit": "^6.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/release/4.x" + }, + "time": "2019-12-28T18:55:12+00:00" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "0.5.1", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "cf842904952e64e703800d094cdf34e715a8a3ae" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/cf842904952e64e703800d094cdf34e715a8a3ae", + "reference": "cf842904952e64e703800d094cdf34e715a8a3ae", + "shasum": "" + }, + "require": { + "php": "^7.0", + "phpdocumentor/reflection-common": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^6.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "support": { + "issues": "https://github.com/phpDocumentor/TypeResolver/issues", + "source": "https://github.com/phpDocumentor/TypeResolver/tree/master" + }, + "time": "2017-12-30T13:23:38+00:00" + }, + { + "name": "phpspec/prophecy", + "version": "v1.10.3", + "source": { + "type": "git", + "url": "https://github.com/phpspec/prophecy.git", + "reference": "451c3cd1418cf640de218914901e51b064abb093" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093", + "reference": "451c3cd1418cf640de218914901e51b064abb093", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.2", + "php": "^5.3|^7.0", + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0", + "sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0", + "sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0" + }, + "require-dev": { + "phpspec/phpspec": "^2.5 || ^3.2", + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10.x-dev" + } + }, + "autoload": { + "psr-4": { + "Prophecy\\": "src/Prophecy" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + }, + { + "name": "Marcello Duarte", + "email": "marcello.duarte@gmail.com" + } + ], + "description": "Highly opinionated mocking framework for PHP 5.3+", + "homepage": "https://github.com/phpspec/prophecy", + "keywords": [ + "Double", + "Dummy", + "fake", + "mock", + "spy", + "stub" + ], + "support": { + "issues": "https://github.com/phpspec/prophecy/issues", + "source": "https://github.com/phpspec/prophecy/tree/v1.10.3" + }, + "time": "2020-03-05T15:02:03+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "5.3.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "c89677919c5dd6d3b3852f230a663118762218ac" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c89677919c5dd6d3b3852f230a663118762218ac", + "reference": "c89677919c5dd6d3b3852f230a663118762218ac", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-xmlwriter": "*", + "php": "^7.0", + "phpunit/php-file-iterator": "^1.4.2", + "phpunit/php-text-template": "^1.2.1", + "phpunit/php-token-stream": "^2.0.1", + "sebastian/code-unit-reverse-lookup": "^1.0.1", + "sebastian/environment": "^3.0", + "sebastian/version": "^2.0.1", + "theseer/tokenizer": "^1.1" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "suggest": { + "ext-xdebug": "^2.5.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.3.x-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", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/5.3" + }, + "time": "2018-04-06T15:36:58+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "1.4.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4", + "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.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": { + "irc": "irc://irc.freenode.net/phpunit", + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/1.4.5" + }, + "time": "2017-11-27T13:52:08+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/1.2.1" + }, + "time": "2015-06-21T13:50:34+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "1.0.9", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", + "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.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/master" + }, + "time": "2017-02-26T11:10:40+00:00" + }, + { + "name": "phpunit/php-token-stream", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-token-stream.git", + "reference": "791198a2c6254db10131eecfe8c06670700904db" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db", + "reference": "791198a2c6254db10131eecfe8c06670700904db", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": "^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.2.4" + }, + "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" + } + ], + "description": "Wrapper around PHP's tokenizer extension.", + "homepage": "https://github.com/sebastianbergmann/php-token-stream/", + "keywords": [ + "tokenizer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-token-stream/issues", + "source": "https://github.com/sebastianbergmann/php-token-stream/tree/master" + }, + "abandoned": true, + "time": "2017-11-27T05:48:46+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "6.5.14", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "bac23fe7ff13dbdb461481f706f0e9fe746334b7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/bac23fe7ff13dbdb461481f706f0e9fe746334b7", + "reference": "bac23fe7ff13dbdb461481f706f0e9fe746334b7", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "myclabs/deep-copy": "^1.6.1", + "phar-io/manifest": "^1.0.1", + "phar-io/version": "^1.0", + "php": "^7.0", + "phpspec/prophecy": "^1.7", + "phpunit/php-code-coverage": "^5.3", + "phpunit/php-file-iterator": "^1.4.3", + "phpunit/php-text-template": "^1.2.1", + "phpunit/php-timer": "^1.0.9", + "phpunit/phpunit-mock-objects": "^5.0.9", + "sebastian/comparator": "^2.1", + "sebastian/diff": "^2.0", + "sebastian/environment": "^3.1", + "sebastian/exporter": "^3.1", + "sebastian/global-state": "^2.0", + "sebastian/object-enumerator": "^3.0.3", + "sebastian/resource-operations": "^1.0", + "sebastian/version": "^2.0.1" + }, + "conflict": { + "phpdocumentor/reflection-docblock": "3.0.2", + "phpunit/dbunit": "<3.0" + }, + "require-dev": { + "ext-pdo": "*" + }, + "suggest": { + "ext-xdebug": "*", + "phpunit/php-invoker": "^1.1" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.5.x-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": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "source": "https://github.com/sebastianbergmann/phpunit/tree/6.5.14" + }, + "time": "2019-02-01T05:22:47+00:00" + }, + { + "name": "phpunit/phpunit-mock-objects", + "version": "5.0.10", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", + "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/cd1cf05c553ecfec36b170070573e540b67d3f1f", + "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.5", + "php": "^7.0", + "phpunit/php-text-template": "^1.2.1", + "sebastian/exporter": "^3.1" + }, + "conflict": { + "phpunit/phpunit": "<6.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.5.11" + }, + "suggest": { + "ext-soap": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0.x-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": "Mock Object library for PHPUnit", + "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", + "keywords": [ + "mock", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit-mock-objects/issues", + "source": "https://github.com/sebastianbergmann/phpunit-mock-objects/tree/5.0.10" + }, + "abandoned": true, + "time": "2018-08-09T05:50:03+00:00" + }, + { + "name": "psr/container", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/master" + }, + "time": "2017-02-14T16:28:37+00:00" + }, + { + "name": "psr/log", + "version": "1.1.4", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/1.1.4" + }, + "time": "2021-05-03T11:20:27+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/1de8cd5c010cb153fcd68b8d0f64606f523f7619", + "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "phpunit/phpunit": "^8.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "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/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/1.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T08:15:22+00:00" + }, + { + "name": "sebastian/comparator", + "version": "2.1.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9", + "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9", + "shasum": "" + }, + "require": { + "php": "^7.0", + "sebastian/diff": "^2.0 || ^3.0", + "sebastian/exporter": "^3.1" + }, + "require-dev": { + "phpunit/phpunit": "^6.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/master" + }, + "time": "2018-02-01T13:46:46+00:00" + }, + { + "name": "sebastian/diff", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/347c1d8b49c5c3ee30c7040ea6fc446790e6bddd", + "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd", + "shasum": "" + }, + "require": { + "php": "^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.2" + }, + "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": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/master" + }, + "time": "2017-08-03T08:09:46+00:00" + }, + { + "name": "sebastian/environment", + "version": "3.1.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cd0871b3975fb7fc44d11314fd1ee20925fce4f5", + "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5", + "shasum": "" + }, + "require": { + "php": "^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/master" + }, + "time": "2017-07-01T08:51:00+00:00" + }, + { + "name": "sebastian/exporter", + "version": "3.1.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "73a9676f2833b9a7c36968f9d882589cd75511e6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/73a9676f2833b9a7c36968f9d882589cd75511e6", + "reference": "73a9676f2833b9a7c36968f9d882589cd75511e6", + "shasum": "" + }, + "require": { + "php": ">=7.0", + "sebastian/recursion-context": "^3.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "^8.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "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": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "http://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T06:00:17+00:00" + }, + { + "name": "sebastian/global-state", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", + "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", + "shasum": "" + }, + "require": { + "php": "^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "suggest": { + "ext-uopz": "*" + }, + "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" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/2.0.0" + }, + "time": "2017-04-27T15:39:26+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "3.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2", + "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2", + "shasum": "" + }, + "require": { + "php": ">=7.0", + "sebastian/object-reflector": "^1.1.1", + "sebastian/recursion-context": "^3.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "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/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/3.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:40:27+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/9b8772b9cbd456ab45d4a598d2dd1a1bced6363d", + "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d", + "shasum": "" + }, + "require": { + "php": ">=7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "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/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/1.1.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:37:18+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/367dcba38d6e1977be014dc4b22f47a484dac7fb", + "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb", + "shasum": "" + }, + "require": { + "php": ">=7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "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" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/3.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:34:24+00:00" + }, + { + "name": "sebastian/resource-operations", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", + "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", + "shasum": "" + }, + "require": { + "php": ">=5.6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "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/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/master" + }, + "time": "2015-07-28T20:34:47+00:00" + }, + { + "name": "sebastian/version", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019", + "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "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": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/master" + }, + "time": "2016-10-03T07:35:21+00:00" + }, + { + "name": "symfony/config", + "version": "v3.3.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/config.git", + "reference": "54ee12b0dd60f294132cabae6f5da9573d2e5297" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/config/zipball/54ee12b0dd60f294132cabae6f5da9573d2e5297", + "reference": "54ee12b0dd60f294132cabae6f5da9573d2e5297", + "shasum": "" + }, + "require": { + "php": ">=5.5.9", + "symfony/filesystem": "~2.8|~3.0" + }, + "conflict": { + "symfony/dependency-injection": "<3.3", + "symfony/finder": "<3.3" + }, + "require-dev": { + "symfony/dependency-injection": "~3.3", + "symfony/finder": "~3.3", + "symfony/yaml": "~3.0" + }, + "suggest": { + "symfony/yaml": "To use the yaml reference dumper" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Config\\": "" + }, + "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": "Symfony Config Component", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/config/tree/3.3" + }, + "time": "2017-07-19T07:37:29+00:00" + }, + { + "name": "symfony/console", + "version": "v2.8.52", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12", + "reference": "cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12", + "shasum": "" + }, + "require": { + "php": ">=5.3.9", + "symfony/debug": "^2.7.2|~3.0.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/event-dispatcher": "~2.1|~3.0.0", + "symfony/process": "~2.1|~3.0.0" + }, + "suggest": { + "psr/log-implementation": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/process": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "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": "Symfony Console Component", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/console/tree/v2.8.52" + }, + "time": "2018-11-20T15:55:20+00:00" + }, + { + "name": "symfony/debug", + "version": "v3.0.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/debug.git", + "reference": "697c527acd9ea1b2d3efac34d9806bf255278b0a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/debug/zipball/697c527acd9ea1b2d3efac34d9806bf255278b0a", + "reference": "697c527acd9ea1b2d3efac34d9806bf255278b0a", + "shasum": "" + }, + "require": { + "php": ">=5.5.9", + "psr/log": "~1.0" + }, + "conflict": { + "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" + }, + "require-dev": { + "symfony/class-loader": "~2.8|~3.0", + "symfony/http-kernel": "~2.8|~3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Debug\\": "" + }, + "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": "Symfony Debug Component", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/debug/tree/3.0" + }, + "abandoned": "symfony/error-handler", + "time": "2016-07-30T07:22:48+00:00" + }, + { + "name": "symfony/dependency-injection", + "version": "v3.3.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/dependency-injection.git", + "reference": "8d70987f991481e809c63681ffe8ce3f3fde68a0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/8d70987f991481e809c63681ffe8ce3f3fde68a0", + "reference": "8d70987f991481e809c63681ffe8ce3f3fde68a0", + "shasum": "" + }, + "require": { + "php": ">=5.5.9", + "psr/container": "^1.0" + }, + "conflict": { + "symfony/config": "<3.3.1", + "symfony/finder": "<3.3", + "symfony/yaml": "<3.3" + }, + "provide": { + "psr/container-implementation": "1.0" + }, + "require-dev": { + "symfony/config": "~3.3", + "symfony/expression-language": "~2.8|~3.0", + "symfony/yaml": "~3.3" + }, + "suggest": { + "symfony/config": "", + "symfony/expression-language": "For using expressions in service container configuration", + "symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required", + "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", + "symfony/yaml": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\DependencyInjection\\": "" + }, + "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": "Symfony DependencyInjection Component", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/dependency-injection/tree/3.3" + }, + "time": "2017-07-28T15:27:31+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "v3.3.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "67535f1e3fd662bdc68d7ba317c93eecd973617e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/67535f1e3fd662bdc68d7ba317c93eecd973617e", + "reference": "67535f1e3fd662bdc68d7ba317c93eecd973617e", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "conflict": { + "symfony/dependency-injection": "<3.3" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~2.8|~3.0", + "symfony/dependency-injection": "~3.3", + "symfony/expression-language": "~2.8|~3.0", + "symfony/stopwatch": "~2.8|~3.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "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": "Symfony EventDispatcher Component", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/event-dispatcher/tree/3.3" + }, + "time": "2017-06-09T14:53:08+00:00" + }, + { + "name": "symfony/filesystem", + "version": "v3.3.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/filesystem.git", + "reference": "427987eb4eed764c3b6e38d52a0f87989e010676" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/427987eb4eed764c3b6e38d52a0f87989e010676", + "reference": "427987eb4eed764c3b6e38d52a0f87989e010676", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Filesystem\\": "" + }, + "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": "Symfony Filesystem Component", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/filesystem/tree/3.3" + }, + "time": "2017-07-11T07:17:58+00:00" + }, + { + "name": "symfony/finder", + "version": "v3.3.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "baea7f66d30854ad32988c11a09d7ffd485810c4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/baea7f66d30854ad32988c11a09d7ffd485810c4", + "reference": "baea7f66d30854ad32988c11a09d7ffd485810c4", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "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": "Symfony Finder Component", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/3.3" + }, + "time": "2017-06-01T21:01:25+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.19.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "aed596913b70fae57be53d86faa2e9ef85a2297b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/aed596913b70fae57be53d86faa2e9ef85a2297b", + "reference": "aed596913b70fae57be53d86faa2e9ef85a2297b", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.19-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.19.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": "2020-10-23T09:01:57+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.19.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "b5f7b932ee6fa802fc792eabd77c4c88084517ce" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/b5f7b932ee6fa802fc792eabd77c4c88084517ce", + "reference": "b5f7b932ee6fa802fc792eabd77c4c88084517ce", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.19-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.19.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": "2020-10-23T09:01:57+00:00" + }, + { + "name": "symfony/translation", + "version": "v3.3.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation.git", + "reference": "35dd5fb003c90e8bd4d8cabdf94bf9c96d06fdc3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation/zipball/35dd5fb003c90e8bd4d8cabdf94bf9c96d06fdc3", + "reference": "35dd5fb003c90e8bd4d8cabdf94bf9c96d06fdc3", + "shasum": "" + }, + "require": { + "php": ">=5.5.9", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/config": "<2.8", + "symfony/yaml": "<3.3" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~2.8|~3.0", + "symfony/intl": "^2.8.18|^3.2.5", + "symfony/yaml": "~3.3" + }, + "suggest": { + "psr/log": "To use logging capability in translator", + "symfony/config": "", + "symfony/yaml": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Translation\\": "" + }, + "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": "Symfony Translation Component", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/translation/tree/3.3" + }, + "time": "2017-06-24T16:45:30+00:00" + }, + { + "name": "symfony/yaml", + "version": "v3.3.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/ddc23324e6cfe066f3dd34a37ff494fa80b617ed", + "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "require-dev": { + "symfony/console": "~2.8|~3.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "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": "Symfony Yaml Component", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/yaml/tree/3.3" + }, + "time": "2017-07-23T12:43:26+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.1.3", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/11336f6f84e16a720dae9d8e6ed5019efa85a0f9", + "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.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" + } + ], + "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/master" + }, + "time": "2019-06-13T22:48:21+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.9.1", + "source": { + "type": "git", + "url": "https://github.com/webmozarts/assert.git", + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0 || ^8.0", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<3.9.1" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.36 || ^7.5.13" + }, + "type": "library", + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "support": { + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.9.1" + }, + "time": "2020-07-08T17:02:28+00:00" + }, + { + "name": "wp-cli/config-command", + "version": "v2.3.2", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/config-command.git", + "reference": "9de6ce3536a2db56ae5264c61b6f1a35e9132e01" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/config-command/zipball/9de6ce3536a2db56ae5264c61b6f1a35e9132e01", + "reference": "9de6ce3536a2db56ae5264c61b6f1a35e9132e01", + "shasum": "" + }, + "require": { + "wp-cli/wp-cli": "^2.5", + "wp-cli/wp-config-transformer": "^1.2.1" + }, + "require-dev": { + "wp-cli/db-command": "^1.3 || ^2", + "wp-cli/wp-cli-tests": "^4" + }, + "type": "wp-cli-package", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + }, + "bundled": true, + "commands": [ + "config", + "config edit", + "config delete", + "config create", + "config get", + "config has", + "config is-true", + "config list", + "config path", + "config set", + "config shuffle-salts" + ] + }, + "autoload": { + "files": [ + "config-command.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Daniel Bachhuber", + "email": "daniel@runcommand.io", + "homepage": "https://runcommand.io" + }, + { + "name": "Alain Schlesser", + "email": "alain.schlesser@gmail.com", + "homepage": "https://www.alainschlesser.com" + } + ], + "description": "Generates and reads the wp-config.php file.", + "homepage": "https://github.com/wp-cli/config-command", + "support": { + "issues": "https://github.com/wp-cli/config-command/issues", + "source": "https://github.com/wp-cli/config-command/tree/v2.3.2" + }, + "time": "2023-10-20T10:15:46+00:00" + }, + { + "name": "wp-cli/core-command", + "version": "v2.1.15", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/core-command.git", + "reference": "7a81a8658620078bf5f2785836cb33aa382e8bb4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/core-command/zipball/7a81a8658620078bf5f2785836cb33aa382e8bb4", + "reference": "7a81a8658620078bf5f2785836cb33aa382e8bb4", + "shasum": "" + }, + "require": { + "composer/semver": "^1.4 || ^2 || ^3", + "wp-cli/wp-cli": "^2.5.1" + }, + "require-dev": { + "wp-cli/checksum-command": "^1 || ^2", + "wp-cli/db-command": "^1.3 || ^2", + "wp-cli/entity-command": "^1.3 || ^2", + "wp-cli/extension-command": "^1.2 || ^2", + "wp-cli/wp-cli-tests": "^4" + }, + "type": "wp-cli-package", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + }, + "bundled": true, + "commands": [ + "core", + "core check-update", + "core download", + "core install", + "core is-installed", + "core multisite-convert", + "core multisite-install", + "core update", + "core update-db", + "core version" + ] + }, + "autoload": { + "files": [ + "core-command.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Daniel Bachhuber", + "email": "daniel@runcommand.io", + "homepage": "https://runcommand.io" + } + ], + "description": "Downloads, installs, updates, and manages a WordPress installation.", + "homepage": "https://github.com/wp-cli/core-command", + "support": { + "issues": "https://github.com/wp-cli/core-command/issues", + "source": "https://github.com/wp-cli/core-command/tree/v2.1.15" + }, + "time": "2023-08-30T15:54:16+00:00" + }, + { + "name": "wp-cli/eval-command", + "version": "v2.2.4", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/eval-command.git", + "reference": "5a9c605ae52d118f582693209d2f1c5c4f214b76" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/eval-command/zipball/5a9c605ae52d118f582693209d2f1c5c4f214b76", + "reference": "5a9c605ae52d118f582693209d2f1c5c4f214b76", + "shasum": "" + }, + "require": { + "wp-cli/wp-cli": "^2.5" + }, + "require-dev": { + "wp-cli/wp-cli-tests": "^4" + }, + "type": "wp-cli-package", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + }, + "bundled": true, + "commands": [ + "eval", + "eval-file" + ] + }, + "autoload": { + "files": [ + "eval-command.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Daniel Bachhuber", + "email": "daniel@runcommand.io", + "homepage": "https://runcommand.io" + } + ], + "description": "Executes arbitrary PHP code or files.", + "homepage": "https://github.com/wp-cli/eval-command", + "support": { + "issues": "https://github.com/wp-cli/eval-command/issues", + "source": "https://github.com/wp-cli/eval-command/tree/v2.2.4" + }, + "time": "2023-08-30T14:51:36+00:00" + }, + { + "name": "wp-cli/extension-command", + "version": "v2.1.15", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/extension-command.git", + "reference": "1fe271c5ebb1815732a8cf6bb6979c9261ee6375" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/extension-command/zipball/1fe271c5ebb1815732a8cf6bb6979c9261ee6375", + "reference": "1fe271c5ebb1815732a8cf6bb6979c9261ee6375", + "shasum": "" + }, + "require": { + "composer/semver": "^1.4 || ^2 || ^3", + "wp-cli/wp-cli": "^2.5.1" + }, + "require-dev": { + "wp-cli/cache-command": "^2.0", + "wp-cli/entity-command": "^1.3 || ^2", + "wp-cli/language-command": "^2.0", + "wp-cli/scaffold-command": "^1.2 || ^2", + "wp-cli/wp-cli-tests": "^4" + }, + "type": "wp-cli-package", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + }, + "bundled": true, + "commands": [ + "plugin", + "plugin activate", + "plugin deactivate", + "plugin delete", + "plugin get", + "plugin install", + "plugin is-installed", + "plugin list", + "plugin path", + "plugin search", + "plugin status", + "plugin toggle", + "plugin uninstall", + "plugin update", + "theme", + "theme activate", + "theme delete", + "theme disable", + "theme enable", + "theme get", + "theme install", + "theme is-installed", + "theme list", + "theme mod", + "theme mod get", + "theme mod set", + "theme mod remove", + "theme path", + "theme search", + "theme status", + "theme update", + "theme mod list" + ] + }, + "autoload": { + "files": [ + "extension-command.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Daniel Bachhuber", + "email": "daniel@runcommand.io", + "homepage": "https://runcommand.io" + }, + { + "name": "Alain Schlesser", + "email": "alain.schlesser@gmail.com", + "homepage": "https://www.alainschlesser.com" + } + ], + "description": "Manages plugins and themes, including installs, activations, and updates.", + "homepage": "https://github.com/wp-cli/extension-command", + "support": { + "issues": "https://github.com/wp-cli/extension-command/issues", + "source": "https://github.com/wp-cli/extension-command/tree/v2.1.15" + }, + "time": "2023-10-11T14:55:49+00:00" + }, + { + "name": "wp-cli/mustangostang-spyc", + "version": "0.6.3", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/spyc.git", + "reference": "6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/spyc/zipball/6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7", + "reference": "6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7", + "shasum": "" + }, + "require": { + "php": ">=5.3.1" + }, + "require-dev": { + "phpunit/phpunit": "4.3.*@dev" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.5.x-dev" + } + }, + "autoload": { + "files": [ + "includes/functions.php" + ], + "psr-4": { + "Mustangostang\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "mustangostang", + "email": "vlad.andersen@gmail.com" + } + ], + "description": "A simple YAML loader/dumper class for PHP (WP-CLI fork)", + "homepage": "https://github.com/mustangostang/spyc/", + "support": { + "source": "https://github.com/wp-cli/spyc/tree/autoload" + }, + "time": "2017-04-25T11:26:20+00:00" + }, + { + "name": "wp-cli/php-cli-tools", + "version": "v0.11.21", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/php-cli-tools.git", + "reference": "b3457a8d60cd0b1c48cab76ad95df136d266f0b6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/php-cli-tools/zipball/b3457a8d60cd0b1c48cab76ad95df136d266f0b6", + "reference": "b3457a8d60cd0b1c48cab76ad95df136d266f0b6", + "shasum": "" + }, + "require": { + "php": ">= 5.3.0" + }, + "require-dev": { + "roave/security-advisories": "dev-latest", + "wp-cli/wp-cli-tests": "^4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.11.x-dev" + } + }, + "autoload": { + "files": [ + "lib/cli/cli.php" + ], + "psr-0": { + "cli": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Daniel Bachhuber", + "email": "daniel@handbuilt.co", + "role": "Maintainer" + }, + { + "name": "James Logsdon", + "email": "jlogsdon@php.net", + "role": "Developer" + } + ], + "description": "Console utilities for PHP", + "homepage": "http://github.com/wp-cli/php-cli-tools", + "keywords": [ + "cli", + "console" + ], + "support": { + "issues": "https://github.com/wp-cli/php-cli-tools/issues", + "source": "https://github.com/wp-cli/php-cli-tools/tree/v0.11.21" + }, + "time": "2023-09-29T15:28:10+00:00" + }, + { + "name": "wp-cli/wp-cli", + "version": "v2.9.0", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/wp-cli.git", + "reference": "8a3befba2d947fbf5cc6d1941edf2dd99da4d4b7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/8a3befba2d947fbf5cc6d1941edf2dd99da4d4b7", + "reference": "8a3befba2d947fbf5cc6d1941edf2dd99da4d4b7", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "mustache/mustache": "^2.14.1", + "php": "^5.6 || ^7.0 || ^8.0", + "symfony/finder": ">2.7", + "wp-cli/mustangostang-spyc": "^0.6.3", + "wp-cli/php-cli-tools": "~0.11.2" + }, + "require-dev": { + "roave/security-advisories": "dev-latest", + "wp-cli/db-command": "^1.3 || ^2", + "wp-cli/entity-command": "^1.2 || ^2", + "wp-cli/extension-command": "^1.1 || ^2", + "wp-cli/package-command": "^1 || ^2", + "wp-cli/wp-cli-tests": "^4.0.1" + }, + "suggest": { + "ext-readline": "Include for a better --prompt implementation", + "ext-zip": "Needed to support extraction of ZIP archives when doing downloads or updates" + }, + "bin": [ + "bin/wp", + "bin/wp.bat" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.9.x-dev" + } + }, + "autoload": { + "psr-0": { + "WP_CLI\\": "php/" + }, + "classmap": [ + "php/class-wp-cli.php", + "php/class-wp-cli-command.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "WP-CLI framework", + "homepage": "https://wp-cli.org", + "keywords": [ + "cli", + "wordpress" + ], + "support": { + "docs": "https://make.wordpress.org/cli/handbook/", + "issues": "https://github.com/wp-cli/wp-cli/issues", + "source": "https://github.com/wp-cli/wp-cli" + }, + "time": "2023-10-25T09:06:37+00:00" + }, + { + "name": "wp-cli/wp-cli-tests", + "version": "v4.2.4", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/wp-cli-tests.git", + "reference": "0601666a81fcf3efcc6eb27ff35babfd82deb66e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/wp-cli-tests/zipball/0601666a81fcf3efcc6eb27ff35babfd82deb66e", + "reference": "0601666a81fcf3efcc6eb27ff35babfd82deb66e", + "shasum": "" + }, + "require": { + "behat/behat": "^3.7", + "dealerdirect/phpcodesniffer-composer-installer": "^0.4.3 || ^0.5 || ^0.6.2 || ^0.7.1 || ^1.0.0", + "php": ">=5.6", + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3.1", + "phpcompatibility/php-compatibility": "^9.3.5", + "wp-cli/config-command": "^1 || ^2", + "wp-cli/core-command": "^1 || ^2", + "wp-cli/eval-command": "^1 || ^2", + "wp-cli/wp-cli": "^2.5.1", + "wp-coding-standards/wpcs": "^3", + "yoast/phpunit-polyfills": "^1.0.3" + }, + "require-dev": { + "roave/security-advisories": "dev-latest" + }, + "bin": [ + "bin/install-package-tests", + "bin/rerun-behat-tests", + "bin/run-behat-tests", + "bin/run-linter-tests", + "bin/run-php-unit-tests", + "bin/run-phpcs-tests", + "bin/run-phpcbf-cleanup" + ], + "type": "phpcodesniffer-standard", + "extra": { + "branch-alias": { + "dev-main": "4.0.x-dev" + }, + "readme": { + "sections": [ + "Using", + "Contributing", + "Support" + ], + "using": { + "body": ".readme-partials/USING.md" + }, + "show_powered_by": false + } + }, + "autoload": { + "psr-4": { + "WP_CLI\\Tests\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "WP-CLI testing framework", + "homepage": "https://wp-cli.org", + "keywords": [ + "cli", + "wordpress" + ], + "support": { + "docs": "https://make.wordpress.org/cli/handbook/", + "issues": "https://github.com/wp-cli/wp-cli-tests/issues", + "source": "https://github.com/wp-cli/wp-cli-tests" + }, + "time": "2023-11-10T12:08:30+00:00" + }, + { + "name": "wp-cli/wp-config-transformer", + "version": "v1.3.4", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/wp-config-transformer.git", + "reference": "1f80df413c0d779a813223d9dd5dd58358eee60c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/1f80df413c0d779a813223d9dd5dd58358eee60c", + "reference": "1f80df413c0d779a813223d9dd5dd58358eee60c", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0 || ^8.0" + }, + "require-dev": { + "wp-cli/wp-cli-tests": "^4.0" + }, + "type": "library", + "autoload": { + "files": [ + "src/WPConfigTransformer.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frankie Jarrett", + "email": "fjarrett@gmail.com" + } + ], + "description": "Programmatically edit a wp-config.php file.", + "homepage": "https://github.com/wp-cli/wp-config-transformer", + "support": { + "issues": "https://github.com/wp-cli/wp-config-transformer/issues", + "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3.4" + }, + "time": "2023-08-31T10:11:36+00:00" + }, + { + "name": "yoast/phpunit-polyfills", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/Yoast/PHPUnit-Polyfills.git", + "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/224e4a1329c03d8bad520e3fc4ec980034a4b212", + "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" + }, + "require-dev": { + "yoast/yoastcs": "^2.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + } + }, + "autoload": { + "files": [ + "phpunitpolyfills-autoload.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Team Yoast", + "email": "support@yoast.com", + "homepage": "https://yoast.com" + }, + { + "name": "Contributors", + "homepage": "https://github.com/Yoast/PHPUnit-Polyfills/graphs/contributors" + } + ], + "description": "Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests", + "homepage": "https://github.com/Yoast/PHPUnit-Polyfills", + "keywords": [ + "phpunit", + "polyfill", + "testing" + ], + "support": { + "issues": "https://github.com/Yoast/PHPUnit-Polyfills/issues", + "source": "https://github.com/Yoast/PHPUnit-Polyfills" + }, + "time": "2023-08-19T14:25:08+00:00" + } + ], "aliases": [], "minimum-stability": "stable", "stability-flags": [], diff --git a/package.json b/package.json index 3bec765ed..a0c4df92c 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,9 @@ "phpstan": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script phpstan", "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script lint", "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script format", - "pretest-php": "composer --working-dir=build-cs update", + "pretest-php": "composer install --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs composer update --ignore-platform-reqs", "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c ../phpunit.xml.dist --verbose", - "pretest-php-coverage": "composer --working-dir=build-cs update", + "pretest-php-coverage": "composer install --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs composer update", "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c ../phpunit.xml.dist --verbose --coverage-clover build/logs/php-coverage.xml", "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c ../tests/phpunit/multisite.xml --verbose", "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c ../tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" From eb4216fb0bc9513adb7f1b62540df2e928b53f42 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 13 Nov 2023 15:57:37 +0100 Subject: [PATCH 30/51] Undo path change --- behat.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/behat.yml b/behat.yml index 5aed2a90e..dd094cb36 100644 --- a/behat.yml +++ b/behat.yml @@ -4,4 +4,4 @@ default: contexts: - WordPress\Plugin_Check\Behat_Utils\FeatureContext paths: - - ../tests/behat/features + - tests/behat/features From 82477bb3bf88d59313a32951e66770eae335a672 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 13 Nov 2023 16:06:15 +0100 Subject: [PATCH 31/51] Install in container --- composer.json | 2 +- package.json | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index b53fec9f0..c11766f22 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ ], "test": [ "composer --working-dir=build-cs update --no-interaction", - "phpunit -c ../phpunit.xml.dist --verbose" + "build-cs/vendor/bin/phpunit --verbose" ] }, "scripts-descriptions": { diff --git a/package.json b/package.json index a0c4df92c..32c6ef84a 100644 --- a/package.json +++ b/package.json @@ -22,11 +22,11 @@ "phpstan": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script phpstan", "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script lint", "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script format", - "pretest-php": "composer install --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs composer update --ignore-platform-reqs", - "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c ../phpunit.xml.dist --verbose", - "pretest-php-coverage": "composer install --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs composer update", - "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c ../phpunit.xml.dist --verbose --coverage-clover build/logs/php-coverage.xml", - "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c ../tests/phpunit/multisite.xml --verbose", - "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd))/build-cs vendor/bin/phpunit -c ../tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" + "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-dev --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", + "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c ../phpunit.xml.dist --verbose", + "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-dev --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", + "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose --coverage-clover build/logs/php-coverage.xml", + "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", + "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" } } From f10b8c7d32826a4bd99e4f892797437617028236 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 13 Nov 2023 16:12:17 +0100 Subject: [PATCH 32/51] Fix path --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 32c6ef84a..ee461fb07 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script lint", "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script format", "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-dev --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", - "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c ../phpunit.xml.dist --verbose", + "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose", "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-dev --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose --coverage-clover build/logs/php-coverage.xml", "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", From e0c9b023ebda28811128f80520d708315cb73bd2 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 13 Nov 2023 16:16:57 +0100 Subject: [PATCH 33/51] Need dev autoloader --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ee461fb07..73289a3c5 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,9 @@ "phpstan": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script phpstan", "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script lint", "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script format", - "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-dev --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", + "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose", - "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-dev --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", + "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose --coverage-clover build/logs/php-coverage.xml", "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" From 79aeb17c744dea084afd3cbf0289ce9fa95e3a18 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 16:23:37 +0100 Subject: [PATCH 34/51] Only dump autoloader --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 73289a3c5..92c16a80b 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,9 @@ "phpstan": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script phpstan", "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script lint", "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script format", - "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", + "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose", - "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", + "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose --coverage-clover build/logs/php-coverage.xml", "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" From 207b0221a5a4ca77b1e5bef089a43cb93c8856e0 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 16:26:47 +0100 Subject: [PATCH 35/51] Require other autoloader --- tests/phpunit/bootstrap.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/phpunit/bootstrap.php b/tests/phpunit/bootstrap.php index 144317c78..272056467 100644 --- a/tests/phpunit/bootstrap.php +++ b/tests/phpunit/bootstrap.php @@ -8,6 +8,10 @@ define( 'TESTS_PLUGIN_DIR', dirname( __DIR__, 2 ) ); define( 'UNIT_TESTS_PLUGIN_DIR', TESTS_PLUGIN_DIR . '/tests/phpunit/testdata/plugins/' ); +if ( file_exists( TESTS_PLUGIN_DIR . '/build-cs/vendor/autoload.php' ) ) { + require_once TESTS_PLUGIN_DIR . '/build-cs/vendor/autoload.php'; +} + if ( file_exists( TESTS_PLUGIN_DIR . '/vendor/autoload.php' ) ) { require_once TESTS_PLUGIN_DIR . '/vendor/autoload.php'; } From 225b0ff364b1af18974fca16a7d2e599bc9d0a54 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 16:31:36 +0100 Subject: [PATCH 36/51] Ignore reqs --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 92c16a80b..ace8a3aef 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,9 @@ "phpstan": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script phpstan", "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script lint", "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script format", - "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", + "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction --ignore-platform-reqs", "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose", - "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", + "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction --ignore-platform-reqs", "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose --coverage-clover build/logs/php-coverage.xml", "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" From dad96e085a658d63148cc63a204b70d8ef91e691 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 17:01:13 +0100 Subject: [PATCH 37/51] prefer lowest --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ace8a3aef..1cf47eb56 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,9 @@ "phpstan": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script phpstan", "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script lint", "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script format", - "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction --ignore-platform-reqs", + "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction --ignore-platform-reqs --prefer-lowest", "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose", - "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction --ignore-platform-reqs", + "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction --ignore-platform-reqs --prefer-lowest", "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose --coverage-clover build/logs/php-coverage.xml", "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" From fccbf2c0601405e4e52b1ce1a0bebaf639b7a377 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 17:09:55 +0100 Subject: [PATCH 38/51] use separate dir for phpunit --- .gitignore | 2 ++ build-cs/composer.json | 4 +--- build-phpunit/composer.json | 6 ++++++ composer.json | 4 ++-- package.json | 12 ++++++------ 5 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 build-phpunit/composer.json diff --git a/.gitignore b/.gitignore index 9daebea64..30a0c3c28 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,8 @@ node_modules/ vendor/ build-cs/vendor/ build-cs/composer.lock +build-phpunit/vendor/ +build-phpunit/composer.lock ############ ## OSes diff --git a/build-cs/composer.json b/build-cs/composer.json index 9db290eba..33f503d11 100644 --- a/build-cs/composer.json +++ b/build-cs/composer.json @@ -7,9 +7,7 @@ "phpstan/phpstan": "^1.10", "slevomat/coding-standard": "^8.9", "szepeviktor/phpstan-wordpress": "^1.1", - "wp-coding-standards/wpcs": "^3.0.0", - "wp-phpunit/wp-phpunit": "^6.1", - "yoast/phpunit-polyfills": "^1.0" + "wp-coding-standards/wpcs": "^3.0.0" }, "config": { "allow-plugins": { diff --git a/build-phpunit/composer.json b/build-phpunit/composer.json new file mode 100644 index 000000000..3e4d634fe --- /dev/null +++ b/build-phpunit/composer.json @@ -0,0 +1,6 @@ +{ + "require-dev": { + "wp-phpunit/wp-phpunit": "^6.1", + "yoast/phpunit-polyfills": "^1.0" + } +} diff --git a/composer.json b/composer.json index c11766f22..2ed7ba215 100644 --- a/composer.json +++ b/composer.json @@ -36,8 +36,8 @@ "build-cs/vendor/bin/phpstan analyse --memory-limit=2048M" ], "test": [ - "composer --working-dir=build-cs update --no-interaction", - "build-cs/vendor/bin/phpunit --verbose" + "composer --working-dir=build-phpunit update --no-interaction", + "build-phpunit/vendor/bin/phpunit --verbose" ] }, "scripts-descriptions": { diff --git a/package.json b/package.json index 1cf47eb56..5d7eeaa05 100644 --- a/package.json +++ b/package.json @@ -22,11 +22,11 @@ "phpstan": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script phpstan", "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script lint", "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script format", - "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction --ignore-platform-reqs --prefer-lowest", - "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose", - "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction --ignore-platform-reqs --prefer-lowest", - "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose --coverage-clover build/logs/php-coverage.xml", - "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", - "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" + "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-phpunit update --no-interaction", + "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-phpunit/vendor/bin/phpunit -c phpunit.xml.dist --verbose", + "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-phpunit update --no-interaction", + "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-phpunit/vendor/bin/phpunit -c phpunit.xml.dist --verbose --coverage-clover build/logs/php-coverage.xml", + "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-phpunit/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", + "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-phpunit/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" } } From 7435ad0aea73eb0e4a3755e1b39d4581e09d6f60 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 17:13:03 +0100 Subject: [PATCH 39/51] Update autoload --- tests/phpunit/bootstrap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/bootstrap.php b/tests/phpunit/bootstrap.php index 272056467..734c39da4 100644 --- a/tests/phpunit/bootstrap.php +++ b/tests/phpunit/bootstrap.php @@ -8,8 +8,8 @@ define( 'TESTS_PLUGIN_DIR', dirname( __DIR__, 2 ) ); define( 'UNIT_TESTS_PLUGIN_DIR', TESTS_PLUGIN_DIR . '/tests/phpunit/testdata/plugins/' ); -if ( file_exists( TESTS_PLUGIN_DIR . '/build-cs/vendor/autoload.php' ) ) { - require_once TESTS_PLUGIN_DIR . '/build-cs/vendor/autoload.php'; +if ( file_exists( TESTS_PLUGIN_DIR . '/build-phpunit/vendor/autoload.php' ) ) { + require_once TESTS_PLUGIN_DIR . '/build-phpunit/vendor/autoload.php'; } if ( file_exists( TESTS_PLUGIN_DIR . '/vendor/autoload.php' ) ) { From 5679b6a26c3a8d2a5b0f695d7d7686e137076634 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 17:16:27 +0100 Subject: [PATCH 40/51] Install no-dev --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5d7eeaa05..f2801dad6 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,9 @@ "phpstan": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script phpstan", "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script lint", "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script format", - "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-phpunit update --no-interaction", + "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-phpunit update --no-interaction", "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-phpunit/vendor/bin/phpunit -c phpunit.xml.dist --verbose", - "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-phpunit update --no-interaction", + "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer dump --dev; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-phpunit update --no-interaction", "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-phpunit/vendor/bin/phpunit -c phpunit.xml.dist --verbose --coverage-clover build/logs/php-coverage.xml", "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-phpunit/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-phpunit/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml" From 87ee2357fad1872bb6a89611d98ad0116fb69516 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 17:16:34 +0100 Subject: [PATCH 41/51] Make error message more obvious --- includes/Checker/Checks/Abstract_PHP_CodeSniffer_Check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Checker/Checks/Abstract_PHP_CodeSniffer_Check.php b/includes/Checker/Checks/Abstract_PHP_CodeSniffer_Check.php index 8fb5dfc76..a9e827f65 100644 --- a/includes/Checker/Checks/Abstract_PHP_CodeSniffer_Check.php +++ b/includes/Checker/Checks/Abstract_PHP_CodeSniffer_Check.php @@ -72,7 +72,7 @@ final public function run( Check_Result $result ) { if ( ! class_exists( '\PHP_CodeSniffer\Runner' ) ) { throw new Exception( - __( 'Unable to find Runner class.', 'plugin-check' ) + __( 'Unable to find PHPCS Runner class.', 'plugin-check' ) ); } From c24cad2246db3d65c26b3445c669209f0c3ccbb5 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 18:38:59 +0100 Subject: [PATCH 42/51] Add codecov config file --- codecov.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..fa945ddf2 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,35 @@ +# Overall settings for PR integration via codecov.io +# See https://docs.codecov.com/docs/codecovyml-reference + +# Separate PR statuses for project-level and patch-level coverage +# See https://docs.codecov.com/docs/commit-status +coverage: + status: + # Project-level coverage + project: + default: + base: auto + # Disable once code base is more mature. + informational: true + only_pulls: true + target: auto + threshold: 5% + + # Patch-level coverage (how well is the PR tested) + patch: + default: + base: auto + informational: true + only_pulls: true + target: auto + threshold: 50% + +# Pull request comments +# See https://docs.codecov.com/docs/pull-request-comments +comment: false + +# See https://docs.codecov.com/docs/ignoring-paths +ignore: +- drop-ins +- test-content +- tests \ No newline at end of file From 61e8b11043293a10ac96e515c4f5db16fabcfdf1 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 18:43:11 +0100 Subject: [PATCH 43/51] Improve phpunit folder structure --- composer.json | 4 ++-- phpunit.xml.dist | 4 +--- .../TestCase/Runtime_Check_UnitTestCase.php | 0 .../Traits/With_Mock_Filesystem.php | 0 .../testdata/Checks/Category_Check_Five.php | 0 .../testdata/Checks/Category_Check_Four.php | 0 .../testdata/Checks/Category_Check_One.php | 0 .../testdata/Checks/Category_Check_Seven.php | 0 .../testdata/Checks/Category_Check_Six.php | 0 .../testdata/Checks/Category_Check_Three.php | 0 .../testdata/Checks/Category_Check_Two.php | 0 .../testdata/Checks/Check_Without_Category.php | 0 .../{ => includes}/testdata/Checks/Empty_Check.php | 0 .../{ => includes}/testdata/Checks/Error_Check.php | 0 .../testdata/Checks/Experimental_Runtime_Check.php | 0 .../testdata/Checks/Experimental_Static_Check.php | 0 .../testdata/Checks/Invalid_Check.php | 0 .../testdata/Checks/Runtime_Check.php | 0 .../{ => includes}/testdata/Checks/Static_Check.php | 0 .../WP_Filesystem_FailingMockFilesystem.php | 0 .../Filesystem/WP_Filesystem_MockFilesystem.php | 0 .../load.php | 0 .../load.php | 0 .../obfuscated.php | 0 .../load.php | 0 .../obfuscated.php | 0 .../test-plugin-enqueued-script-size-check/load.php | 0 .../test-script.js | 0 .../header.js | 0 .../load.php | 0 .../footer.js | 0 .../load.php | 0 .../home.css | 0 .../load.php | 0 .../style.css | 0 .../home.css | 0 .../load.php | 0 .../hello-world.sh | 0 .../load.php | 0 .../compressed.zip | Bin .../load.php | 0 .../test-plugin-file-type-phar-errors/load.phar | 0 .../test-plugin-file-type-phar-errors/load.php | 0 .../.bzr/empty.php | 0 .../.gitignore | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../plugins/test-plugin-i18n-usage-errors/load.php | 0 .../test-plugin-i18n-usage-without-errors/load.php | 0 .../custom_directory/error.php | 0 .../plugins/test-plugin-ignore-directories/load.php | 0 .../test-plugin-late-escaping-errors/load.php | 0 .../load.php | 0 .../test-plugin-localhost-with-errors/load.php | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../readme.txt | 0 .../load.php | 0 .../readme.txt | 0 .../load.php | 0 .../load.php | 0 .../readme.txt | 0 .../load.php | 0 .../readme.md | 0 .../load.php | 0 .../readme.md | 0 .../load.php | 0 .../readme.md | 0 .../readme.txt | 0 .../test-plugin-review-phpcs-errors/load.php | 0 .../load.php | 0 .../test-plugin-root-readme-without-errors/load.php | 0 .../readme.txt | 0 .../sub-directory/readme.txt | 0 .../load.php | 0 .../test-plugin-update-uri-header-errors/load.php | 0 .../test-plugin-updater-file-errors/load.php | 0 .../plugin-update-checker.php | 0 .../test-plugin-updater-routines-errors/load.php | 0 .../load.php | 0 .../plugins/test-plugin-updaters-errors/load.php | 0 .../test-plugin-updaters-regex-errors/load.php | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../test-trademarks-plugin-readme-errors/load.php | 0 .../test-trademarks-plugin-readme-errors/readme.txt | 0 .../plugins/test-trademarks-without-errors/load.php | 0 tests/phpunit/multisite.xml | 4 +--- .../phpunit/{ => tests}/Admin/Admin_AJAX_Tests.php | 0 .../phpunit/{ => tests}/Admin/Admin_Page_Tests.php | 0 .../{ => tests}/Checker/AJAX_Runner_Tests.php | 0 .../{ => tests}/Checker/CLI_Runner_Tests.php | 0 .../{ => tests}/Checker/Check_Categories_Tests.php | 0 .../{ => tests}/Checker/Check_Context_Tests.php | 0 .../{ => tests}/Checker/Check_Result_Tests.php | 0 .../Checker/Checks/Code_Obfuscation_Check_Tests.php | 0 .../Enqueued_Scripts_In_Footer_Check_Tests.php | 0 .../Checks/Enqueued_Scripts_Size_Check_Tests.php | 0 .../Checks/Enqueued_Styles_Scope_Check_Tests.php | 0 .../Checker/Checks/File_Type_Check_Tests.php | 0 .../Checker/Checks/I18n_Usage_Check_Tests.php | 0 .../Checker/Checks/Late_Escaping_Check_Tests.php | 0 .../Checker/Checks/Localhost_Check_Tests.php | 0 .../Checks/No_Unfiltered_Uploads_Check_Tests.php | 0 .../Performant_WP_Query_Params_Check_Tests.php | 0 .../Plugin_Header_Text_Domain_Check_Tests.php | 0 .../Checker/Checks/Plugin_Readme_Check_Tests.php | 0 .../Checks/Plugin_Review_PHPCS_Check_Tests.php | 0 .../Checker/Checks/Plugin_Updater_Check_Tests.php | 0 .../Checker/Checks/Trademarks_Check_Tests.php | 0 tests/phpunit/{ => tests}/Checker/Checks_Tests.php | 0 .../Checker/Default_Check_Collection_Tests.php | 0 .../Checker/Default_Check_Repository_Tests.php | 0 .../Demo_Posts_Creation_Preparation_Tests.php | 0 .../Force_Single_Plugin_Preparation_Tests.php | 0 .../Universal_Runtime_Preparation_Tests.php | 0 .../Use_Minimal_Theme_Preparation_Tests.php | 0 .../Checker/Runtime_Environment_Setup_Tests.php | 0 .../Utilities/Plugin_Request_Utility_Tests.php | 0 126 files changed, 4 insertions(+), 8 deletions(-) rename tests/phpunit/{utils => includes}/TestCase/Runtime_Check_UnitTestCase.php (100%) rename tests/phpunit/{utils => includes}/Traits/With_Mock_Filesystem.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Category_Check_Five.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Category_Check_Four.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Category_Check_One.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Category_Check_Seven.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Category_Check_Six.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Category_Check_Three.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Category_Check_Two.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Check_Without_Category.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Empty_Check.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Error_Check.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Experimental_Runtime_Check.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Experimental_Static_Check.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Invalid_Check.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Runtime_Check.php (100%) rename tests/phpunit/{ => includes}/testdata/Checks/Static_Check.php (100%) rename tests/phpunit/{ => includes}/testdata/Filesystem/WP_Filesystem_FailingMockFilesystem.php (100%) rename tests/phpunit/{ => includes}/testdata/Filesystem/WP_Filesystem_MockFilesystem.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-code-obfuscation-ioncube-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/obfuscated.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/obfuscated.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-enqueued-script-size-check/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-enqueued-script-size-check/test-script.js (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/header.js (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/footer.js (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/home.css (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/style.css (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/home.css (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-file-type-application-errors/hello-world.sh (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-file-type-application-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-file-type-compressed-errors/compressed.zip (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-file-type-compressed-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-file-type-phar-errors/load.phar (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-file-type-phar-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.bzr/empty.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.gitignore (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-header-text-domain-with-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-header-text-domain-without-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-i18n-usage-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-i18n-usage-without-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-ignore-directories/custom_directory/error.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-ignore-directories/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-late-escaping-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-late-escaping-without-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-localhost-with-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-performant-wp-query-params-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-performant-wp-query-params-without-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-errors-default-text/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-errors-default-text/readme.txt (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-errors-license/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-errors-license/readme.txt (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-errors-no-readme/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/readme.txt (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-md-with-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-md-with-errors/readme.md (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-md-without-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-md-without-errors/readme.md (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-without-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.md (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.txt (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-review-phpcs-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-review-phpcs-without-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-root-readme-without-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-root-readme-without-errors/readme.txt (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-root-readme-without-errors/sub-directory/readme.txt (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-unfiltered-uploads-with-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-update-uri-header-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-updater-file-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-updater-file-errors/plugin-update-checker.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-updater-routines-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-updater-routines-regex-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-updaters-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-plugin-updaters-regex-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-trademarks-plugin-header-example-string-for-woocommerce/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-trademarks-plugin-header-name-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-trademarks-plugin-header-portmanteaus/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-trademarks-plugin-header-slug-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-trademarks-plugin-header-woocommerce-string-for-woocommerce/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-trademarks-plugin-header-woocommerce-string/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-trademarks-plugin-header-wordpress-string-for-woocommerce/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-trademarks-plugin-readme-errors/load.php (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-trademarks-plugin-readme-errors/readme.txt (100%) rename tests/phpunit/{ => includes}/testdata/plugins/test-trademarks-without-errors/load.php (100%) rename tests/phpunit/{ => tests}/Admin/Admin_AJAX_Tests.php (100%) rename tests/phpunit/{ => tests}/Admin/Admin_Page_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/AJAX_Runner_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/CLI_Runner_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Check_Categories_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Check_Context_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Check_Result_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/Code_Obfuscation_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/Enqueued_Scripts_In_Footer_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/Enqueued_Scripts_Size_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/Enqueued_Styles_Scope_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/File_Type_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/I18n_Usage_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/Late_Escaping_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/Localhost_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/No_Unfiltered_Uploads_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/Performant_WP_Query_Params_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/Plugin_Header_Text_Domain_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/Plugin_Readme_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/Plugin_Review_PHPCS_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/Plugin_Updater_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks/Trademarks_Check_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Checks_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Default_Check_Collection_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Default_Check_Repository_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Preparations/Demo_Posts_Creation_Preparation_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Preparations/Force_Single_Plugin_Preparation_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Preparations/Universal_Runtime_Preparation_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Preparations/Use_Minimal_Theme_Preparation_Tests.php (100%) rename tests/phpunit/{ => tests}/Checker/Runtime_Environment_Setup_Tests.php (100%) rename tests/phpunit/{ => tests}/Utilities/Plugin_Request_Utility_Tests.php (100%) diff --git a/composer.json b/composer.json index 2ed7ba215..4b9dba7b1 100644 --- a/composer.json +++ b/composer.json @@ -68,8 +68,8 @@ }, "autoload-dev": { "psr-4": { - "WordPress\\Plugin_Check\\Test_Data\\": "tests/phpunit/testdata", - "WordPress\\Plugin_Check\\Test_Utils\\": "tests/phpunit/utils", + "WordPress\\Plugin_Check\\Test_Data\\": "tests/phpunit/includes/testdata", + "WordPress\\Plugin_Check\\Test_Utils\\": "tests/phpunit/includes", "WordPress\\Plugin_Check\\Behat_Utils\\": "tests/behat/includes" } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 3f42fa1d3..e868b35e8 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -14,9 +14,7 @@ - ./tests/phpunit - ./tests/phpunit/testdata/plugins/* - ./tests/phpunit/bootstrap.php + ./tests/phpunit/tests diff --git a/tests/phpunit/utils/TestCase/Runtime_Check_UnitTestCase.php b/tests/phpunit/includes/TestCase/Runtime_Check_UnitTestCase.php similarity index 100% rename from tests/phpunit/utils/TestCase/Runtime_Check_UnitTestCase.php rename to tests/phpunit/includes/TestCase/Runtime_Check_UnitTestCase.php diff --git a/tests/phpunit/utils/Traits/With_Mock_Filesystem.php b/tests/phpunit/includes/Traits/With_Mock_Filesystem.php similarity index 100% rename from tests/phpunit/utils/Traits/With_Mock_Filesystem.php rename to tests/phpunit/includes/Traits/With_Mock_Filesystem.php diff --git a/tests/phpunit/testdata/Checks/Category_Check_Five.php b/tests/phpunit/includes/testdata/Checks/Category_Check_Five.php similarity index 100% rename from tests/phpunit/testdata/Checks/Category_Check_Five.php rename to tests/phpunit/includes/testdata/Checks/Category_Check_Five.php diff --git a/tests/phpunit/testdata/Checks/Category_Check_Four.php b/tests/phpunit/includes/testdata/Checks/Category_Check_Four.php similarity index 100% rename from tests/phpunit/testdata/Checks/Category_Check_Four.php rename to tests/phpunit/includes/testdata/Checks/Category_Check_Four.php diff --git a/tests/phpunit/testdata/Checks/Category_Check_One.php b/tests/phpunit/includes/testdata/Checks/Category_Check_One.php similarity index 100% rename from tests/phpunit/testdata/Checks/Category_Check_One.php rename to tests/phpunit/includes/testdata/Checks/Category_Check_One.php diff --git a/tests/phpunit/testdata/Checks/Category_Check_Seven.php b/tests/phpunit/includes/testdata/Checks/Category_Check_Seven.php similarity index 100% rename from tests/phpunit/testdata/Checks/Category_Check_Seven.php rename to tests/phpunit/includes/testdata/Checks/Category_Check_Seven.php diff --git a/tests/phpunit/testdata/Checks/Category_Check_Six.php b/tests/phpunit/includes/testdata/Checks/Category_Check_Six.php similarity index 100% rename from tests/phpunit/testdata/Checks/Category_Check_Six.php rename to tests/phpunit/includes/testdata/Checks/Category_Check_Six.php diff --git a/tests/phpunit/testdata/Checks/Category_Check_Three.php b/tests/phpunit/includes/testdata/Checks/Category_Check_Three.php similarity index 100% rename from tests/phpunit/testdata/Checks/Category_Check_Three.php rename to tests/phpunit/includes/testdata/Checks/Category_Check_Three.php diff --git a/tests/phpunit/testdata/Checks/Category_Check_Two.php b/tests/phpunit/includes/testdata/Checks/Category_Check_Two.php similarity index 100% rename from tests/phpunit/testdata/Checks/Category_Check_Two.php rename to tests/phpunit/includes/testdata/Checks/Category_Check_Two.php diff --git a/tests/phpunit/testdata/Checks/Check_Without_Category.php b/tests/phpunit/includes/testdata/Checks/Check_Without_Category.php similarity index 100% rename from tests/phpunit/testdata/Checks/Check_Without_Category.php rename to tests/phpunit/includes/testdata/Checks/Check_Without_Category.php diff --git a/tests/phpunit/testdata/Checks/Empty_Check.php b/tests/phpunit/includes/testdata/Checks/Empty_Check.php similarity index 100% rename from tests/phpunit/testdata/Checks/Empty_Check.php rename to tests/phpunit/includes/testdata/Checks/Empty_Check.php diff --git a/tests/phpunit/testdata/Checks/Error_Check.php b/tests/phpunit/includes/testdata/Checks/Error_Check.php similarity index 100% rename from tests/phpunit/testdata/Checks/Error_Check.php rename to tests/phpunit/includes/testdata/Checks/Error_Check.php diff --git a/tests/phpunit/testdata/Checks/Experimental_Runtime_Check.php b/tests/phpunit/includes/testdata/Checks/Experimental_Runtime_Check.php similarity index 100% rename from tests/phpunit/testdata/Checks/Experimental_Runtime_Check.php rename to tests/phpunit/includes/testdata/Checks/Experimental_Runtime_Check.php diff --git a/tests/phpunit/testdata/Checks/Experimental_Static_Check.php b/tests/phpunit/includes/testdata/Checks/Experimental_Static_Check.php similarity index 100% rename from tests/phpunit/testdata/Checks/Experimental_Static_Check.php rename to tests/phpunit/includes/testdata/Checks/Experimental_Static_Check.php diff --git a/tests/phpunit/testdata/Checks/Invalid_Check.php b/tests/phpunit/includes/testdata/Checks/Invalid_Check.php similarity index 100% rename from tests/phpunit/testdata/Checks/Invalid_Check.php rename to tests/phpunit/includes/testdata/Checks/Invalid_Check.php diff --git a/tests/phpunit/testdata/Checks/Runtime_Check.php b/tests/phpunit/includes/testdata/Checks/Runtime_Check.php similarity index 100% rename from tests/phpunit/testdata/Checks/Runtime_Check.php rename to tests/phpunit/includes/testdata/Checks/Runtime_Check.php diff --git a/tests/phpunit/testdata/Checks/Static_Check.php b/tests/phpunit/includes/testdata/Checks/Static_Check.php similarity index 100% rename from tests/phpunit/testdata/Checks/Static_Check.php rename to tests/phpunit/includes/testdata/Checks/Static_Check.php diff --git a/tests/phpunit/testdata/Filesystem/WP_Filesystem_FailingMockFilesystem.php b/tests/phpunit/includes/testdata/Filesystem/WP_Filesystem_FailingMockFilesystem.php similarity index 100% rename from tests/phpunit/testdata/Filesystem/WP_Filesystem_FailingMockFilesystem.php rename to tests/phpunit/includes/testdata/Filesystem/WP_Filesystem_FailingMockFilesystem.php diff --git a/tests/phpunit/testdata/Filesystem/WP_Filesystem_MockFilesystem.php b/tests/phpunit/includes/testdata/Filesystem/WP_Filesystem_MockFilesystem.php similarity index 100% rename from tests/phpunit/testdata/Filesystem/WP_Filesystem_MockFilesystem.php rename to tests/phpunit/includes/testdata/Filesystem/WP_Filesystem_MockFilesystem.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-ioncube-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-ioncube-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-ioncube-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-ioncube-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/obfuscated.php b/tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/obfuscated.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/obfuscated.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/obfuscated.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/obfuscated.php b/tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/obfuscated.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/obfuscated.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/obfuscated.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-enqueued-script-size-check/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-script-size-check/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-enqueued-script-size-check/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-script-size-check/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-enqueued-script-size-check/test-script.js b/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-script-size-check/test-script.js similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-enqueued-script-size-check/test-script.js rename to tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-script-size-check/test-script.js diff --git a/tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/header.js b/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/header.js similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/header.js rename to tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/header.js diff --git a/tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/footer.js b/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/footer.js similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/footer.js rename to tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/footer.js diff --git a/tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/home.css b/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/home.css similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/home.css rename to tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/home.css diff --git a/tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/style.css b/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/style.css similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/style.css rename to tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/style.css diff --git a/tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/home.css b/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/home.css similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/home.css rename to tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/home.css diff --git a/tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-file-type-application-errors/hello-world.sh b/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-application-errors/hello-world.sh similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-file-type-application-errors/hello-world.sh rename to tests/phpunit/includes/testdata/plugins/test-plugin-file-type-application-errors/hello-world.sh diff --git a/tests/phpunit/testdata/plugins/test-plugin-file-type-application-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-application-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-file-type-application-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-file-type-application-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-file-type-compressed-errors/compressed.zip b/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-compressed-errors/compressed.zip similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-file-type-compressed-errors/compressed.zip rename to tests/phpunit/includes/testdata/plugins/test-plugin-file-type-compressed-errors/compressed.zip diff --git a/tests/phpunit/testdata/plugins/test-plugin-file-type-compressed-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-compressed-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-file-type-compressed-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-file-type-compressed-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-file-type-phar-errors/load.phar b/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-phar-errors/load.phar similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-file-type-phar-errors/load.phar rename to tests/phpunit/includes/testdata/plugins/test-plugin-file-type-phar-errors/load.phar diff --git a/tests/phpunit/testdata/plugins/test-plugin-file-type-phar-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-phar-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-file-type-phar-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-file-type-phar-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.bzr/empty.php b/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.bzr/empty.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.bzr/empty.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.bzr/empty.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.gitignore b/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.gitignore similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.gitignore rename to tests/phpunit/includes/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.gitignore diff --git a/tests/phpunit/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-header-text-domain-with-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-header-text-domain-with-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-header-text-domain-with-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-header-text-domain-with-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-header-text-domain-without-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-header-text-domain-without-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-header-text-domain-without-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-header-text-domain-without-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-i18n-usage-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-i18n-usage-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-i18n-usage-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-i18n-usage-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-i18n-usage-without-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-i18n-usage-without-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-i18n-usage-without-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-i18n-usage-without-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-ignore-directories/custom_directory/error.php b/tests/phpunit/includes/testdata/plugins/test-plugin-ignore-directories/custom_directory/error.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-ignore-directories/custom_directory/error.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-ignore-directories/custom_directory/error.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-ignore-directories/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-ignore-directories/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-ignore-directories/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-ignore-directories/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-late-escaping-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-late-escaping-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-late-escaping-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-late-escaping-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-late-escaping-without-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-late-escaping-without-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-late-escaping-without-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-late-escaping-without-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-localhost-with-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-localhost-with-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-localhost-with-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-localhost-with-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-performant-wp-query-params-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-performant-wp-query-params-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-performant-wp-query-params-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-performant-wp-query-params-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-performant-wp-query-params-without-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-performant-wp-query-params-without-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-performant-wp-query-params-without-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-performant-wp-query-params-without-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-default-text/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-default-text/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-default-text/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-default-text/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-default-text/readme.txt b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-default-text/readme.txt similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-default-text/readme.txt rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-default-text/readme.txt diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-license/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-license/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-license/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-license/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-license/readme.txt b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-license/readme.txt similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-license/readme.txt rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-license/readme.txt diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-no-readme/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-no-readme/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-no-readme/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-no-readme/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/readme.txt b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/readme.txt similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/readme.txt rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/readme.txt diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-with-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-with-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-with-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-with-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-with-errors/readme.md b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-with-errors/readme.md similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-with-errors/readme.md rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-with-errors/readme.md diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-without-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-without-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-without-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-without-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-without-errors/readme.md b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-without-errors/readme.md similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-without-errors/readme.md rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-without-errors/readme.md diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-without-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-without-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-without-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-without-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.md b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.md similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.md rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.md diff --git a/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.txt b/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.txt similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.txt rename to tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.txt diff --git a/tests/phpunit/testdata/plugins/test-plugin-review-phpcs-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-review-phpcs-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-review-phpcs-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-review-phpcs-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-review-phpcs-without-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-review-phpcs-without-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-review-phpcs-without-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-review-phpcs-without-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-root-readme-without-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-root-readme-without-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-root-readme-without-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-root-readme-without-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-root-readme-without-errors/readme.txt b/tests/phpunit/includes/testdata/plugins/test-plugin-root-readme-without-errors/readme.txt similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-root-readme-without-errors/readme.txt rename to tests/phpunit/includes/testdata/plugins/test-plugin-root-readme-without-errors/readme.txt diff --git a/tests/phpunit/testdata/plugins/test-plugin-root-readme-without-errors/sub-directory/readme.txt b/tests/phpunit/includes/testdata/plugins/test-plugin-root-readme-without-errors/sub-directory/readme.txt similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-root-readme-without-errors/sub-directory/readme.txt rename to tests/phpunit/includes/testdata/plugins/test-plugin-root-readme-without-errors/sub-directory/readme.txt diff --git a/tests/phpunit/testdata/plugins/test-plugin-unfiltered-uploads-with-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-unfiltered-uploads-with-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-unfiltered-uploads-with-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-unfiltered-uploads-with-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-update-uri-header-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-update-uri-header-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-update-uri-header-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-update-uri-header-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-updater-file-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-updater-file-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-updater-file-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-updater-file-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-updater-file-errors/plugin-update-checker.php b/tests/phpunit/includes/testdata/plugins/test-plugin-updater-file-errors/plugin-update-checker.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-updater-file-errors/plugin-update-checker.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-updater-file-errors/plugin-update-checker.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-updater-routines-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-updater-routines-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-updater-routines-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-updater-routines-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-updater-routines-regex-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-updater-routines-regex-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-updater-routines-regex-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-updater-routines-regex-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-updaters-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-updaters-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-updaters-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-updaters-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-plugin-updaters-regex-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-plugin-updaters-regex-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-plugin-updaters-regex-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-plugin-updaters-regex-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-example-string-for-woocommerce/load.php b/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-example-string-for-woocommerce/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-trademarks-plugin-header-example-string-for-woocommerce/load.php rename to tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-example-string-for-woocommerce/load.php diff --git a/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-name-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-name-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-trademarks-plugin-header-name-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-name-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-portmanteaus/load.php b/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-portmanteaus/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-trademarks-plugin-header-portmanteaus/load.php rename to tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-portmanteaus/load.php diff --git a/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-slug-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-slug-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-trademarks-plugin-header-slug-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-slug-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-woocommerce-string-for-woocommerce/load.php b/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-woocommerce-string-for-woocommerce/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-trademarks-plugin-header-woocommerce-string-for-woocommerce/load.php rename to tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-woocommerce-string-for-woocommerce/load.php diff --git a/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-woocommerce-string/load.php b/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-woocommerce-string/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-trademarks-plugin-header-woocommerce-string/load.php rename to tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-woocommerce-string/load.php diff --git a/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-wordpress-string-for-woocommerce/load.php b/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-wordpress-string-for-woocommerce/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-trademarks-plugin-header-wordpress-string-for-woocommerce/load.php rename to tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-wordpress-string-for-woocommerce/load.php diff --git a/tests/phpunit/testdata/plugins/test-trademarks-plugin-readme-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-readme-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-trademarks-plugin-readme-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-readme-errors/load.php diff --git a/tests/phpunit/testdata/plugins/test-trademarks-plugin-readme-errors/readme.txt b/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-readme-errors/readme.txt similarity index 100% rename from tests/phpunit/testdata/plugins/test-trademarks-plugin-readme-errors/readme.txt rename to tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-readme-errors/readme.txt diff --git a/tests/phpunit/testdata/plugins/test-trademarks-without-errors/load.php b/tests/phpunit/includes/testdata/plugins/test-trademarks-without-errors/load.php similarity index 100% rename from tests/phpunit/testdata/plugins/test-trademarks-without-errors/load.php rename to tests/phpunit/includes/testdata/plugins/test-trademarks-without-errors/load.php diff --git a/tests/phpunit/multisite.xml b/tests/phpunit/multisite.xml index 994c4982a..93a232128 100644 --- a/tests/phpunit/multisite.xml +++ b/tests/phpunit/multisite.xml @@ -17,9 +17,7 @@ - ./ - ./testdata/plugins/* - ./bootstrap.php + ./tests diff --git a/tests/phpunit/Admin/Admin_AJAX_Tests.php b/tests/phpunit/tests/Admin/Admin_AJAX_Tests.php similarity index 100% rename from tests/phpunit/Admin/Admin_AJAX_Tests.php rename to tests/phpunit/tests/Admin/Admin_AJAX_Tests.php diff --git a/tests/phpunit/Admin/Admin_Page_Tests.php b/tests/phpunit/tests/Admin/Admin_Page_Tests.php similarity index 100% rename from tests/phpunit/Admin/Admin_Page_Tests.php rename to tests/phpunit/tests/Admin/Admin_Page_Tests.php diff --git a/tests/phpunit/Checker/AJAX_Runner_Tests.php b/tests/phpunit/tests/Checker/AJAX_Runner_Tests.php similarity index 100% rename from tests/phpunit/Checker/AJAX_Runner_Tests.php rename to tests/phpunit/tests/Checker/AJAX_Runner_Tests.php diff --git a/tests/phpunit/Checker/CLI_Runner_Tests.php b/tests/phpunit/tests/Checker/CLI_Runner_Tests.php similarity index 100% rename from tests/phpunit/Checker/CLI_Runner_Tests.php rename to tests/phpunit/tests/Checker/CLI_Runner_Tests.php diff --git a/tests/phpunit/Checker/Check_Categories_Tests.php b/tests/phpunit/tests/Checker/Check_Categories_Tests.php similarity index 100% rename from tests/phpunit/Checker/Check_Categories_Tests.php rename to tests/phpunit/tests/Checker/Check_Categories_Tests.php diff --git a/tests/phpunit/Checker/Check_Context_Tests.php b/tests/phpunit/tests/Checker/Check_Context_Tests.php similarity index 100% rename from tests/phpunit/Checker/Check_Context_Tests.php rename to tests/phpunit/tests/Checker/Check_Context_Tests.php diff --git a/tests/phpunit/Checker/Check_Result_Tests.php b/tests/phpunit/tests/Checker/Check_Result_Tests.php similarity index 100% rename from tests/phpunit/Checker/Check_Result_Tests.php rename to tests/phpunit/tests/Checker/Check_Result_Tests.php diff --git a/tests/phpunit/Checker/Checks/Code_Obfuscation_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/Code_Obfuscation_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/Code_Obfuscation_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/Code_Obfuscation_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/Enqueued_Scripts_In_Footer_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/Enqueued_Scripts_In_Footer_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/Enqueued_Scripts_In_Footer_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/Enqueued_Scripts_In_Footer_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/Enqueued_Scripts_Size_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/Enqueued_Scripts_Size_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/Enqueued_Scripts_Size_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/Enqueued_Scripts_Size_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/Enqueued_Styles_Scope_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/Enqueued_Styles_Scope_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/Enqueued_Styles_Scope_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/Enqueued_Styles_Scope_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/File_Type_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/File_Type_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/File_Type_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/File_Type_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/I18n_Usage_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/I18n_Usage_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/I18n_Usage_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/I18n_Usage_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/Late_Escaping_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/Late_Escaping_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/Late_Escaping_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/Late_Escaping_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/Localhost_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/Localhost_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/Localhost_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/Localhost_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/No_Unfiltered_Uploads_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/No_Unfiltered_Uploads_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/No_Unfiltered_Uploads_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/No_Unfiltered_Uploads_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/Performant_WP_Query_Params_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/Performant_WP_Query_Params_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/Performant_WP_Query_Params_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/Performant_WP_Query_Params_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/Plugin_Header_Text_Domain_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/Plugin_Header_Text_Domain_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/Plugin_Header_Text_Domain_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/Plugin_Header_Text_Domain_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/Plugin_Readme_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/Plugin_Readme_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/Plugin_Readme_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/Plugin_Readme_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/Plugin_Review_PHPCS_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/Plugin_Review_PHPCS_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/Plugin_Review_PHPCS_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/Plugin_Review_PHPCS_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/Plugin_Updater_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/Plugin_Updater_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/Plugin_Updater_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/Plugin_Updater_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks/Trademarks_Check_Tests.php b/tests/phpunit/tests/Checker/Checks/Trademarks_Check_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks/Trademarks_Check_Tests.php rename to tests/phpunit/tests/Checker/Checks/Trademarks_Check_Tests.php diff --git a/tests/phpunit/Checker/Checks_Tests.php b/tests/phpunit/tests/Checker/Checks_Tests.php similarity index 100% rename from tests/phpunit/Checker/Checks_Tests.php rename to tests/phpunit/tests/Checker/Checks_Tests.php diff --git a/tests/phpunit/Checker/Default_Check_Collection_Tests.php b/tests/phpunit/tests/Checker/Default_Check_Collection_Tests.php similarity index 100% rename from tests/phpunit/Checker/Default_Check_Collection_Tests.php rename to tests/phpunit/tests/Checker/Default_Check_Collection_Tests.php diff --git a/tests/phpunit/Checker/Default_Check_Repository_Tests.php b/tests/phpunit/tests/Checker/Default_Check_Repository_Tests.php similarity index 100% rename from tests/phpunit/Checker/Default_Check_Repository_Tests.php rename to tests/phpunit/tests/Checker/Default_Check_Repository_Tests.php diff --git a/tests/phpunit/Checker/Preparations/Demo_Posts_Creation_Preparation_Tests.php b/tests/phpunit/tests/Checker/Preparations/Demo_Posts_Creation_Preparation_Tests.php similarity index 100% rename from tests/phpunit/Checker/Preparations/Demo_Posts_Creation_Preparation_Tests.php rename to tests/phpunit/tests/Checker/Preparations/Demo_Posts_Creation_Preparation_Tests.php diff --git a/tests/phpunit/Checker/Preparations/Force_Single_Plugin_Preparation_Tests.php b/tests/phpunit/tests/Checker/Preparations/Force_Single_Plugin_Preparation_Tests.php similarity index 100% rename from tests/phpunit/Checker/Preparations/Force_Single_Plugin_Preparation_Tests.php rename to tests/phpunit/tests/Checker/Preparations/Force_Single_Plugin_Preparation_Tests.php diff --git a/tests/phpunit/Checker/Preparations/Universal_Runtime_Preparation_Tests.php b/tests/phpunit/tests/Checker/Preparations/Universal_Runtime_Preparation_Tests.php similarity index 100% rename from tests/phpunit/Checker/Preparations/Universal_Runtime_Preparation_Tests.php rename to tests/phpunit/tests/Checker/Preparations/Universal_Runtime_Preparation_Tests.php diff --git a/tests/phpunit/Checker/Preparations/Use_Minimal_Theme_Preparation_Tests.php b/tests/phpunit/tests/Checker/Preparations/Use_Minimal_Theme_Preparation_Tests.php similarity index 100% rename from tests/phpunit/Checker/Preparations/Use_Minimal_Theme_Preparation_Tests.php rename to tests/phpunit/tests/Checker/Preparations/Use_Minimal_Theme_Preparation_Tests.php diff --git a/tests/phpunit/Checker/Runtime_Environment_Setup_Tests.php b/tests/phpunit/tests/Checker/Runtime_Environment_Setup_Tests.php similarity index 100% rename from tests/phpunit/Checker/Runtime_Environment_Setup_Tests.php rename to tests/phpunit/tests/Checker/Runtime_Environment_Setup_Tests.php diff --git a/tests/phpunit/Utilities/Plugin_Request_Utility_Tests.php b/tests/phpunit/tests/Utilities/Plugin_Request_Utility_Tests.php similarity index 100% rename from tests/phpunit/Utilities/Plugin_Request_Utility_Tests.php rename to tests/phpunit/tests/Utilities/Plugin_Request_Utility_Tests.php From 9c8e884307c1e18e3a01c85b557e2978749f1eb9 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 18:47:20 +0100 Subject: [PATCH 44/51] Undo testdata move --- phpcs.xml.dist | 4 ++-- .../testdata/Checks/Category_Check_Five.php | 0 .../testdata/Checks/Category_Check_Four.php | 0 .../testdata/Checks/Category_Check_One.php | 0 .../testdata/Checks/Category_Check_Seven.php | 0 .../testdata/Checks/Category_Check_Six.php | 0 .../testdata/Checks/Category_Check_Three.php | 0 .../testdata/Checks/Category_Check_Two.php | 0 .../testdata/Checks/Check_Without_Category.php | 0 .../{includes => }/testdata/Checks/Empty_Check.php | 0 .../{includes => }/testdata/Checks/Error_Check.php | 0 .../testdata/Checks/Experimental_Runtime_Check.php | 0 .../testdata/Checks/Experimental_Static_Check.php | 0 .../testdata/Checks/Invalid_Check.php | 0 .../testdata/Checks/Runtime_Check.php | 0 .../{includes => }/testdata/Checks/Static_Check.php | 0 .../WP_Filesystem_FailingMockFilesystem.php | 0 .../Filesystem/WP_Filesystem_MockFilesystem.php | 0 .../load.php | 0 .../load.php | 0 .../obfuscated.php | 0 .../load.php | 0 .../obfuscated.php | 0 .../test-plugin-enqueued-script-size-check/load.php | 0 .../test-script.js | 0 .../header.js | 0 .../load.php | 0 .../footer.js | 0 .../load.php | 0 .../home.css | 0 .../load.php | 0 .../style.css | 0 .../home.css | 0 .../load.php | 0 .../hello-world.sh | 0 .../load.php | 0 .../compressed.zip | Bin .../load.php | 0 .../test-plugin-file-type-phar-errors/load.phar | 0 .../test-plugin-file-type-phar-errors/load.php | 0 .../.bzr/empty.php | 0 .../.gitignore | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../plugins/test-plugin-i18n-usage-errors/load.php | 0 .../test-plugin-i18n-usage-without-errors/load.php | 0 .../custom_directory/error.php | 0 .../plugins/test-plugin-ignore-directories/load.php | 0 .../test-plugin-late-escaping-errors/load.php | 0 .../load.php | 0 .../test-plugin-localhost-with-errors/load.php | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../readme.txt | 0 .../load.php | 0 .../readme.txt | 0 .../load.php | 0 .../load.php | 0 .../readme.txt | 0 .../load.php | 0 .../readme.md | 0 .../load.php | 0 .../readme.md | 0 .../load.php | 0 .../readme.md | 0 .../readme.txt | 0 .../test-plugin-review-phpcs-errors/load.php | 0 .../load.php | 0 .../test-plugin-root-readme-without-errors/load.php | 0 .../readme.txt | 0 .../sub-directory/readme.txt | 0 .../load.php | 0 .../test-plugin-update-uri-header-errors/load.php | 0 .../test-plugin-updater-file-errors/load.php | 0 .../plugin-update-checker.php | 0 .../test-plugin-updater-routines-errors/load.php | 0 .../load.php | 0 .../plugins/test-plugin-updaters-errors/load.php | 0 .../test-plugin-updaters-regex-errors/load.php | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../load.php | 0 .../test-trademarks-plugin-readme-errors/load.php | 0 .../test-trademarks-plugin-readme-errors/readme.txt | 0 .../plugins/test-trademarks-without-errors/load.php | 0 91 files changed, 2 insertions(+), 2 deletions(-) rename tests/phpunit/{includes => }/testdata/Checks/Category_Check_Five.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Category_Check_Four.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Category_Check_One.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Category_Check_Seven.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Category_Check_Six.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Category_Check_Three.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Category_Check_Two.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Check_Without_Category.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Empty_Check.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Error_Check.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Experimental_Runtime_Check.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Experimental_Static_Check.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Invalid_Check.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Runtime_Check.php (100%) rename tests/phpunit/{includes => }/testdata/Checks/Static_Check.php (100%) rename tests/phpunit/{includes => }/testdata/Filesystem/WP_Filesystem_FailingMockFilesystem.php (100%) rename tests/phpunit/{includes => }/testdata/Filesystem/WP_Filesystem_MockFilesystem.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-code-obfuscation-ioncube-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/obfuscated.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/obfuscated.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-enqueued-script-size-check/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-enqueued-script-size-check/test-script.js (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/header.js (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/footer.js (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/home.css (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/style.css (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/home.css (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-file-type-application-errors/hello-world.sh (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-file-type-application-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-file-type-compressed-errors/compressed.zip (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-file-type-compressed-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-file-type-phar-errors/load.phar (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-file-type-phar-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.bzr/empty.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.gitignore (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-header-text-domain-with-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-header-text-domain-without-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-i18n-usage-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-i18n-usage-without-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-ignore-directories/custom_directory/error.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-ignore-directories/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-late-escaping-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-late-escaping-without-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-localhost-with-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-performant-wp-query-params-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-performant-wp-query-params-without-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-errors-default-text/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-errors-default-text/readme.txt (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-errors-license/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-errors-license/readme.txt (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-errors-no-readme/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/readme.txt (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-md-with-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-md-with-errors/readme.md (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-md-without-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-md-without-errors/readme.md (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-without-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.md (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.txt (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-review-phpcs-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-review-phpcs-without-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-root-readme-without-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-root-readme-without-errors/readme.txt (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-root-readme-without-errors/sub-directory/readme.txt (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-unfiltered-uploads-with-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-update-uri-header-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-updater-file-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-updater-file-errors/plugin-update-checker.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-updater-routines-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-updater-routines-regex-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-updaters-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-plugin-updaters-regex-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-trademarks-plugin-header-example-string-for-woocommerce/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-trademarks-plugin-header-name-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-trademarks-plugin-header-portmanteaus/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-trademarks-plugin-header-slug-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-trademarks-plugin-header-woocommerce-string-for-woocommerce/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-trademarks-plugin-header-woocommerce-string/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-trademarks-plugin-header-wordpress-string-for-woocommerce/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-trademarks-plugin-readme-errors/load.php (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-trademarks-plugin-readme-errors/readme.txt (100%) rename tests/phpunit/{includes => }/testdata/plugins/test-trademarks-without-errors/load.php (100%) diff --git a/phpcs.xml.dist b/phpcs.xml.dist index f0f29587c..27118a934 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -60,10 +60,10 @@ - tests/utils/* + tests/includes/* - tests/utils/* + tests/includes/* diff --git a/tests/phpunit/includes/testdata/Checks/Category_Check_Five.php b/tests/phpunit/testdata/Checks/Category_Check_Five.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Category_Check_Five.php rename to tests/phpunit/testdata/Checks/Category_Check_Five.php diff --git a/tests/phpunit/includes/testdata/Checks/Category_Check_Four.php b/tests/phpunit/testdata/Checks/Category_Check_Four.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Category_Check_Four.php rename to tests/phpunit/testdata/Checks/Category_Check_Four.php diff --git a/tests/phpunit/includes/testdata/Checks/Category_Check_One.php b/tests/phpunit/testdata/Checks/Category_Check_One.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Category_Check_One.php rename to tests/phpunit/testdata/Checks/Category_Check_One.php diff --git a/tests/phpunit/includes/testdata/Checks/Category_Check_Seven.php b/tests/phpunit/testdata/Checks/Category_Check_Seven.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Category_Check_Seven.php rename to tests/phpunit/testdata/Checks/Category_Check_Seven.php diff --git a/tests/phpunit/includes/testdata/Checks/Category_Check_Six.php b/tests/phpunit/testdata/Checks/Category_Check_Six.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Category_Check_Six.php rename to tests/phpunit/testdata/Checks/Category_Check_Six.php diff --git a/tests/phpunit/includes/testdata/Checks/Category_Check_Three.php b/tests/phpunit/testdata/Checks/Category_Check_Three.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Category_Check_Three.php rename to tests/phpunit/testdata/Checks/Category_Check_Three.php diff --git a/tests/phpunit/includes/testdata/Checks/Category_Check_Two.php b/tests/phpunit/testdata/Checks/Category_Check_Two.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Category_Check_Two.php rename to tests/phpunit/testdata/Checks/Category_Check_Two.php diff --git a/tests/phpunit/includes/testdata/Checks/Check_Without_Category.php b/tests/phpunit/testdata/Checks/Check_Without_Category.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Check_Without_Category.php rename to tests/phpunit/testdata/Checks/Check_Without_Category.php diff --git a/tests/phpunit/includes/testdata/Checks/Empty_Check.php b/tests/phpunit/testdata/Checks/Empty_Check.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Empty_Check.php rename to tests/phpunit/testdata/Checks/Empty_Check.php diff --git a/tests/phpunit/includes/testdata/Checks/Error_Check.php b/tests/phpunit/testdata/Checks/Error_Check.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Error_Check.php rename to tests/phpunit/testdata/Checks/Error_Check.php diff --git a/tests/phpunit/includes/testdata/Checks/Experimental_Runtime_Check.php b/tests/phpunit/testdata/Checks/Experimental_Runtime_Check.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Experimental_Runtime_Check.php rename to tests/phpunit/testdata/Checks/Experimental_Runtime_Check.php diff --git a/tests/phpunit/includes/testdata/Checks/Experimental_Static_Check.php b/tests/phpunit/testdata/Checks/Experimental_Static_Check.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Experimental_Static_Check.php rename to tests/phpunit/testdata/Checks/Experimental_Static_Check.php diff --git a/tests/phpunit/includes/testdata/Checks/Invalid_Check.php b/tests/phpunit/testdata/Checks/Invalid_Check.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Invalid_Check.php rename to tests/phpunit/testdata/Checks/Invalid_Check.php diff --git a/tests/phpunit/includes/testdata/Checks/Runtime_Check.php b/tests/phpunit/testdata/Checks/Runtime_Check.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Runtime_Check.php rename to tests/phpunit/testdata/Checks/Runtime_Check.php diff --git a/tests/phpunit/includes/testdata/Checks/Static_Check.php b/tests/phpunit/testdata/Checks/Static_Check.php similarity index 100% rename from tests/phpunit/includes/testdata/Checks/Static_Check.php rename to tests/phpunit/testdata/Checks/Static_Check.php diff --git a/tests/phpunit/includes/testdata/Filesystem/WP_Filesystem_FailingMockFilesystem.php b/tests/phpunit/testdata/Filesystem/WP_Filesystem_FailingMockFilesystem.php similarity index 100% rename from tests/phpunit/includes/testdata/Filesystem/WP_Filesystem_FailingMockFilesystem.php rename to tests/phpunit/testdata/Filesystem/WP_Filesystem_FailingMockFilesystem.php diff --git a/tests/phpunit/includes/testdata/Filesystem/WP_Filesystem_MockFilesystem.php b/tests/phpunit/testdata/Filesystem/WP_Filesystem_MockFilesystem.php similarity index 100% rename from tests/phpunit/includes/testdata/Filesystem/WP_Filesystem_MockFilesystem.php rename to tests/phpunit/testdata/Filesystem/WP_Filesystem_MockFilesystem.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-ioncube-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-ioncube-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-ioncube-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-ioncube-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/obfuscated.php b/tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/obfuscated.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/obfuscated.php rename to tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-sourceguardian-errors/obfuscated.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/obfuscated.php b/tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/obfuscated.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/obfuscated.php rename to tests/phpunit/testdata/plugins/test-plugin-code-obfuscation-zendguard-errors/obfuscated.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-script-size-check/load.php b/tests/phpunit/testdata/plugins/test-plugin-enqueued-script-size-check/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-script-size-check/load.php rename to tests/phpunit/testdata/plugins/test-plugin-enqueued-script-size-check/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-script-size-check/test-script.js b/tests/phpunit/testdata/plugins/test-plugin-enqueued-script-size-check/test-script.js similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-script-size-check/test-script.js rename to tests/phpunit/testdata/plugins/test-plugin-enqueued-script-size-check/test-script.js diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/header.js b/tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/header.js similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/header.js rename to tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/header.js diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-with-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/footer.js b/tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/footer.js similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/footer.js rename to tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/footer.js diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-enqueued-scripts-in-footer-check-without-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/home.css b/tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/home.css similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/home.css rename to tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/home.css diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/load.php b/tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/load.php rename to tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/style.css b/tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/style.css similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/style.css rename to tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-with-error/style.css diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/home.css b/tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/home.css similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/home.css rename to tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/home.css diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/load.php b/tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/load.php rename to tests/phpunit/testdata/plugins/test-plugin-enqueued-styles-scope-check-without-error/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-application-errors/hello-world.sh b/tests/phpunit/testdata/plugins/test-plugin-file-type-application-errors/hello-world.sh similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-file-type-application-errors/hello-world.sh rename to tests/phpunit/testdata/plugins/test-plugin-file-type-application-errors/hello-world.sh diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-application-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-file-type-application-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-file-type-application-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-file-type-application-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-compressed-errors/compressed.zip b/tests/phpunit/testdata/plugins/test-plugin-file-type-compressed-errors/compressed.zip similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-file-type-compressed-errors/compressed.zip rename to tests/phpunit/testdata/plugins/test-plugin-file-type-compressed-errors/compressed.zip diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-compressed-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-file-type-compressed-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-file-type-compressed-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-file-type-compressed-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-phar-errors/load.phar b/tests/phpunit/testdata/plugins/test-plugin-file-type-phar-errors/load.phar similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-file-type-phar-errors/load.phar rename to tests/phpunit/testdata/plugins/test-plugin-file-type-phar-errors/load.phar diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-phar-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-file-type-phar-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-file-type-phar-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-file-type-phar-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.bzr/empty.php b/tests/phpunit/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.bzr/empty.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.bzr/empty.php rename to tests/phpunit/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.bzr/empty.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.gitignore b/tests/phpunit/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.gitignore similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.gitignore rename to tests/phpunit/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/.gitignore diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-file-type-vcs-hidden-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-header-text-domain-with-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-header-text-domain-with-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-header-text-domain-with-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-header-text-domain-with-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-header-text-domain-without-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-header-text-domain-without-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-header-text-domain-without-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-header-text-domain-without-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-i18n-usage-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-i18n-usage-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-i18n-usage-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-i18n-usage-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-i18n-usage-without-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-i18n-usage-without-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-i18n-usage-without-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-i18n-usage-without-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-ignore-directories/custom_directory/error.php b/tests/phpunit/testdata/plugins/test-plugin-ignore-directories/custom_directory/error.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-ignore-directories/custom_directory/error.php rename to tests/phpunit/testdata/plugins/test-plugin-ignore-directories/custom_directory/error.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-ignore-directories/load.php b/tests/phpunit/testdata/plugins/test-plugin-ignore-directories/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-ignore-directories/load.php rename to tests/phpunit/testdata/plugins/test-plugin-ignore-directories/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-late-escaping-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-late-escaping-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-late-escaping-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-late-escaping-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-late-escaping-without-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-late-escaping-without-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-late-escaping-without-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-late-escaping-without-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-localhost-with-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-localhost-with-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-localhost-with-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-localhost-with-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-performant-wp-query-params-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-performant-wp-query-params-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-performant-wp-query-params-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-performant-wp-query-params-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-performant-wp-query-params-without-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-performant-wp-query-params-without-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-performant-wp-query-params-without-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-performant-wp-query-params-without-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-default-text/load.php b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-default-text/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-default-text/load.php rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-default-text/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-default-text/readme.txt b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-default-text/readme.txt similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-default-text/readme.txt rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-default-text/readme.txt diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-license/load.php b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-license/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-license/load.php rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-license/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-license/readme.txt b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-license/readme.txt similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-license/readme.txt rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-license/readme.txt diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-no-readme/load.php b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-no-readme/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-no-readme/load.php rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-no-readme/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/load.php b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/load.php rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/readme.txt b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/readme.txt similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/readme.txt rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-stable-tag/readme.txt diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-with-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-with-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-with-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-with-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-with-errors/readme.md b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-with-errors/readme.md similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-with-errors/readme.md rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-with-errors/readme.md diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-without-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-without-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-without-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-without-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-without-errors/readme.md b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-without-errors/readme.md similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-md-without-errors/readme.md rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-md-without-errors/readme.md diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-without-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-without-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-without-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-without-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.md b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.md similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.md rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.md diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.txt b/tests/phpunit/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.txt similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.txt rename to tests/phpunit/testdata/plugins/test-plugin-plugin-readme-without-errors/readme.txt diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-review-phpcs-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-review-phpcs-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-review-phpcs-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-review-phpcs-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-review-phpcs-without-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-review-phpcs-without-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-review-phpcs-without-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-review-phpcs-without-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-root-readme-without-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-root-readme-without-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-root-readme-without-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-root-readme-without-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-root-readme-without-errors/readme.txt b/tests/phpunit/testdata/plugins/test-plugin-root-readme-without-errors/readme.txt similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-root-readme-without-errors/readme.txt rename to tests/phpunit/testdata/plugins/test-plugin-root-readme-without-errors/readme.txt diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-root-readme-without-errors/sub-directory/readme.txt b/tests/phpunit/testdata/plugins/test-plugin-root-readme-without-errors/sub-directory/readme.txt similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-root-readme-without-errors/sub-directory/readme.txt rename to tests/phpunit/testdata/plugins/test-plugin-root-readme-without-errors/sub-directory/readme.txt diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-unfiltered-uploads-with-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-unfiltered-uploads-with-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-unfiltered-uploads-with-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-unfiltered-uploads-with-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-update-uri-header-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-update-uri-header-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-update-uri-header-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-update-uri-header-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-updater-file-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-updater-file-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-updater-file-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-updater-file-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-updater-file-errors/plugin-update-checker.php b/tests/phpunit/testdata/plugins/test-plugin-updater-file-errors/plugin-update-checker.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-updater-file-errors/plugin-update-checker.php rename to tests/phpunit/testdata/plugins/test-plugin-updater-file-errors/plugin-update-checker.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-updater-routines-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-updater-routines-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-updater-routines-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-updater-routines-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-updater-routines-regex-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-updater-routines-regex-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-updater-routines-regex-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-updater-routines-regex-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-updaters-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-updaters-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-updaters-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-updaters-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-plugin-updaters-regex-errors/load.php b/tests/phpunit/testdata/plugins/test-plugin-updaters-regex-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-plugin-updaters-regex-errors/load.php rename to tests/phpunit/testdata/plugins/test-plugin-updaters-regex-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-example-string-for-woocommerce/load.php b/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-example-string-for-woocommerce/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-example-string-for-woocommerce/load.php rename to tests/phpunit/testdata/plugins/test-trademarks-plugin-header-example-string-for-woocommerce/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-name-errors/load.php b/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-name-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-name-errors/load.php rename to tests/phpunit/testdata/plugins/test-trademarks-plugin-header-name-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-portmanteaus/load.php b/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-portmanteaus/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-portmanteaus/load.php rename to tests/phpunit/testdata/plugins/test-trademarks-plugin-header-portmanteaus/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-slug-errors/load.php b/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-slug-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-slug-errors/load.php rename to tests/phpunit/testdata/plugins/test-trademarks-plugin-header-slug-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-woocommerce-string-for-woocommerce/load.php b/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-woocommerce-string-for-woocommerce/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-woocommerce-string-for-woocommerce/load.php rename to tests/phpunit/testdata/plugins/test-trademarks-plugin-header-woocommerce-string-for-woocommerce/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-woocommerce-string/load.php b/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-woocommerce-string/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-woocommerce-string/load.php rename to tests/phpunit/testdata/plugins/test-trademarks-plugin-header-woocommerce-string/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-wordpress-string-for-woocommerce/load.php b/tests/phpunit/testdata/plugins/test-trademarks-plugin-header-wordpress-string-for-woocommerce/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-header-wordpress-string-for-woocommerce/load.php rename to tests/phpunit/testdata/plugins/test-trademarks-plugin-header-wordpress-string-for-woocommerce/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-readme-errors/load.php b/tests/phpunit/testdata/plugins/test-trademarks-plugin-readme-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-readme-errors/load.php rename to tests/phpunit/testdata/plugins/test-trademarks-plugin-readme-errors/load.php diff --git a/tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-readme-errors/readme.txt b/tests/phpunit/testdata/plugins/test-trademarks-plugin-readme-errors/readme.txt similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-trademarks-plugin-readme-errors/readme.txt rename to tests/phpunit/testdata/plugins/test-trademarks-plugin-readme-errors/readme.txt diff --git a/tests/phpunit/includes/testdata/plugins/test-trademarks-without-errors/load.php b/tests/phpunit/testdata/plugins/test-trademarks-without-errors/load.php similarity index 100% rename from tests/phpunit/includes/testdata/plugins/test-trademarks-without-errors/load.php rename to tests/phpunit/testdata/plugins/test-trademarks-without-errors/load.php From af20298469ef0342bb3c1f7050af1cdb0db85540 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 18:52:32 +0100 Subject: [PATCH 45/51] Update autoload path again --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4b9dba7b1..aa53095de 100644 --- a/composer.json +++ b/composer.json @@ -68,7 +68,7 @@ }, "autoload-dev": { "psr-4": { - "WordPress\\Plugin_Check\\Test_Data\\": "tests/phpunit/includes/testdata", + "WordPress\\Plugin_Check\\Test_Data\\": "tests/phpunit/testdata", "WordPress\\Plugin_Check\\Test_Utils\\": "tests/phpunit/includes", "WordPress\\Plugin_Check\\Behat_Utils\\": "tests/behat/includes" } From 3f883dbdfecf5a706ba8523bdc459c791c33377f Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 19:08:07 +0100 Subject: [PATCH 46/51] Add whitespace --- codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index fa945ddf2..6327940a7 100644 --- a/codecov.yml +++ b/codecov.yml @@ -32,4 +32,4 @@ comment: false ignore: - drop-ins - test-content -- tests \ No newline at end of file +- tests From 847a09ad4de5b07715b7fbe20ccdbcbda56d1fc2 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 19:13:55 +0100 Subject: [PATCH 47/51] Undo change --- composer.json | 2 +- phpcs.xml.dist | 4 ++-- .../TestCase/Runtime_Check_UnitTestCase.php | 0 .../{includes => utils}/Traits/With_Mock_Filesystem.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename tests/phpunit/{includes => utils}/TestCase/Runtime_Check_UnitTestCase.php (100%) rename tests/phpunit/{includes => utils}/Traits/With_Mock_Filesystem.php (93%) diff --git a/composer.json b/composer.json index aa53095de..2ed7ba215 100644 --- a/composer.json +++ b/composer.json @@ -69,7 +69,7 @@ "autoload-dev": { "psr-4": { "WordPress\\Plugin_Check\\Test_Data\\": "tests/phpunit/testdata", - "WordPress\\Plugin_Check\\Test_Utils\\": "tests/phpunit/includes", + "WordPress\\Plugin_Check\\Test_Utils\\": "tests/phpunit/utils", "WordPress\\Plugin_Check\\Behat_Utils\\": "tests/behat/includes" } } diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 27118a934..a370263f8 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -60,10 +60,10 @@ - tests/includes/* + tests/phpunit/utils/* - tests/includes/* + tests/phpunit/utils/* diff --git a/tests/phpunit/includes/TestCase/Runtime_Check_UnitTestCase.php b/tests/phpunit/utils/TestCase/Runtime_Check_UnitTestCase.php similarity index 100% rename from tests/phpunit/includes/TestCase/Runtime_Check_UnitTestCase.php rename to tests/phpunit/utils/TestCase/Runtime_Check_UnitTestCase.php diff --git a/tests/phpunit/includes/Traits/With_Mock_Filesystem.php b/tests/phpunit/utils/Traits/With_Mock_Filesystem.php similarity index 93% rename from tests/phpunit/includes/Traits/With_Mock_Filesystem.php rename to tests/phpunit/utils/Traits/With_Mock_Filesystem.php index f68b04c6b..b6d11a58e 100644 --- a/tests/phpunit/includes/Traits/With_Mock_Filesystem.php +++ b/tests/phpunit/utils/Traits/With_Mock_Filesystem.php @@ -19,7 +19,7 @@ protected function set_up_mock_filesystem() { add_filter( 'filesystem_method_file', function () { - return TESTS_PLUGIN_DIR . '/testdata/Filesystem/WP_Filesystem_MockFilesystem.php'; + return TESTS_PLUGIN_DIR . '/tests/phpunit/testdata/Filesystem/WP_Filesystem_MockFilesystem.php'; } ); add_filter( From d1c21c3f6e6f201214a0ad6366142d568aa9dc66 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 19:19:58 +0100 Subject: [PATCH 48/51] Update another path --- tests/phpunit/utils/Traits/With_Mock_Filesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/utils/Traits/With_Mock_Filesystem.php b/tests/phpunit/utils/Traits/With_Mock_Filesystem.php index b6d11a58e..602657bc3 100644 --- a/tests/phpunit/utils/Traits/With_Mock_Filesystem.php +++ b/tests/phpunit/utils/Traits/With_Mock_Filesystem.php @@ -46,7 +46,7 @@ protected function set_up_failing_mock_filesystem() { add_filter( 'filesystem_method_file', function () { - return TESTS_PLUGIN_DIR . '/testdata/Filesystem/WP_Filesystem_FailingMockFilesystem.php'; + return TESTS_PLUGIN_DIR . '/tests/phpunit/testdata/Filesystem/WP_Filesystem_FailingMockFilesystem.php'; } ); add_filter( From d5f5a5564859b3cc75c2f2c69463ce2828ab0813 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 19:57:15 +0100 Subject: [PATCH 49/51] Move other tests too --- tests/phpunit/{ => tests}/Plugin_Context_Tests.php | 0 tests/phpunit/{ => tests}/Plugin_Main_Tests.php | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename tests/phpunit/{ => tests}/Plugin_Context_Tests.php (100%) rename tests/phpunit/{ => tests}/Plugin_Main_Tests.php (100%) diff --git a/tests/phpunit/Plugin_Context_Tests.php b/tests/phpunit/tests/Plugin_Context_Tests.php similarity index 100% rename from tests/phpunit/Plugin_Context_Tests.php rename to tests/phpunit/tests/Plugin_Context_Tests.php diff --git a/tests/phpunit/Plugin_Main_Tests.php b/tests/phpunit/tests/Plugin_Main_Tests.php similarity index 100% rename from tests/phpunit/Plugin_Main_Tests.php rename to tests/phpunit/tests/Plugin_Main_Tests.php From d417e8772a1c7a0b7dd1e7fb440e84aabe690364 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 20:01:47 +0100 Subject: [PATCH 50/51] Fix some paths --- composer.json | 2 +- tests/phpunit/tests/Checker/AJAX_Runner_Tests.php | 2 +- tests/phpunit/utils/Traits/With_Mock_Filesystem.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 2ed7ba215..5d24acd8d 100644 --- a/composer.json +++ b/composer.json @@ -68,7 +68,7 @@ }, "autoload-dev": { "psr-4": { - "WordPress\\Plugin_Check\\Test_Data\\": "tests/phpunit/testdata", + "WordPress\\Plugin_Check\\Test_Data\\": "tests/phpunit/testdata/Checks", "WordPress\\Plugin_Check\\Test_Utils\\": "tests/phpunit/utils", "WordPress\\Plugin_Check\\Behat_Utils\\": "tests/behat/includes" } diff --git a/tests/phpunit/tests/Checker/AJAX_Runner_Tests.php b/tests/phpunit/tests/Checker/AJAX_Runner_Tests.php index d60781fab..a8c530ffa 100644 --- a/tests/phpunit/tests/Checker/AJAX_Runner_Tests.php +++ b/tests/phpunit/tests/Checker/AJAX_Runner_Tests.php @@ -84,7 +84,7 @@ function ( $checks ) { $this->assertIsCallable( $cleanup ); - // Assert the Universal_Runtume_Preparation was run. + // Assert the Universal_Runtime_Preparation was run. $this->assertTrue( has_filter( 'option_active_plugins' ) ); $this->assertTrue( has_filter( 'default_option_active_plugins' ) ); $this->assertTrue( has_filter( 'stylesheet' ) ); diff --git a/tests/phpunit/utils/Traits/With_Mock_Filesystem.php b/tests/phpunit/utils/Traits/With_Mock_Filesystem.php index 602657bc3..f4b338bfe 100644 --- a/tests/phpunit/utils/Traits/With_Mock_Filesystem.php +++ b/tests/phpunit/utils/Traits/With_Mock_Filesystem.php @@ -32,7 +32,7 @@ function () { WP_Filesystem(); // Simulate that the original object-cache.copy.php file exists. - $wp_filesystem->put_contents( WP_PLUGIN_CHECK_PLUGIN_DIR_PATH . 'drop-ins/object-cache.copy.php', file_get_contents( WP_PLUGIN_CHECK_PLUGIN_DIR_PATH . 'drop-ins/object-cache.copy.php' ) ); + $wp_filesystem->put_contents( TESTS_PLUGIN_DIR . '/drop-ins/object-cache.copy.php', file_get_contents( TESTS_PLUGIN_DIR . '/drop-ins/object-cache.copy.php' ) ); } /** @@ -59,6 +59,6 @@ function () { WP_Filesystem(); // Simulate that the original object-cache.copy.php file exists. - $wp_filesystem->put_contents( WP_PLUGIN_CHECK_PLUGIN_DIR_PATH . 'drop-ins/object-cache.copy.php', file_get_contents( WP_PLUGIN_CHECK_PLUGIN_DIR_PATH . 'drop-ins/object-cache.copy.php' ) ); + $wp_filesystem->put_contents( TESTS_PLUGIN_DIR . '/drop-ins/object-cache.copy.php', file_get_contents( TESTS_PLUGIN_DIR . '/drop-ins/object-cache.copy.php' ) ); } } From 9222e1a75320830a5fb7e9f68884e6421af5788c Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Nov 2023 20:06:24 +0100 Subject: [PATCH 51/51] Address some dynamic property creation warnings --- tests/phpunit/tests/Checker/Check_Categories_Tests.php | 4 ++++ tests/phpunit/tests/Checker/Check_Context_Tests.php | 10 ++++++++++ tests/phpunit/tests/Plugin_Context_Tests.php | 10 ++++++++++ 3 files changed, 24 insertions(+) diff --git a/tests/phpunit/tests/Checker/Check_Categories_Tests.php b/tests/phpunit/tests/Checker/Check_Categories_Tests.php index f4d96f316..017c28667 100644 --- a/tests/phpunit/tests/Checker/Check_Categories_Tests.php +++ b/tests/phpunit/tests/Checker/Check_Categories_Tests.php @@ -16,6 +16,10 @@ use WordPress\Plugin_Check\Test_Data\Category_Check_Two; class Check_Categories_Tests extends WP_UnitTestCase { + /** + * @var Default_Check_Repository + */ + protected $repository; public function set_up() { parent::set_up(); diff --git a/tests/phpunit/tests/Checker/Check_Context_Tests.php b/tests/phpunit/tests/Checker/Check_Context_Tests.php index a5c893bdc..ad6046d5b 100644 --- a/tests/phpunit/tests/Checker/Check_Context_Tests.php +++ b/tests/phpunit/tests/Checker/Check_Context_Tests.php @@ -8,6 +8,16 @@ use WordPress\Plugin_Check\Checker\Check_Context; class Check_Context_Tests extends WP_UnitTestCase { + /** + * @var string + */ + protected $plugin_name; + + /** + * @var Check_Context + */ + protected $check_context; + public function set_up() { parent::set_up(); diff --git a/tests/phpunit/tests/Plugin_Context_Tests.php b/tests/phpunit/tests/Plugin_Context_Tests.php index 0b03c98b5..688124481 100644 --- a/tests/phpunit/tests/Plugin_Context_Tests.php +++ b/tests/phpunit/tests/Plugin_Context_Tests.php @@ -8,6 +8,16 @@ use WordPress\Plugin_Check\Plugin_Context; class Plugin_Context_Tests extends WP_UnitTestCase { + /** + * @var string + */ + protected $plugin_name; + + /** + * @var Plugin_Context + */ + protected $plugin_context; + public function set_up() { parent::set_up();