From 103bb4a0ccaa33706bf0245f290e0a968a02e4b5 Mon Sep 17 00:00:00 2001 From: Matthias Glaub Date: Wed, 10 Nov 2021 10:37:07 +0100 Subject: [PATCH 1/9] automatic phar creation and release --- .github/workflows/phar-creation.yml | 50 ++++++++++------------------- 1 file changed, 17 insertions(+), 33 deletions(-) diff --git a/.github/workflows/phar-creation.yml b/.github/workflows/phar-creation.yml index f315a2a4..a1aa36cf 100644 --- a/.github/workflows/phar-creation.yml +++ b/.github/workflows/phar-creation.yml @@ -4,22 +4,20 @@ name: "Building Require-Checker phar" on: pull_request: +# release: +# types: [published] jobs: build: name: "Building Require-Checker phar" - runs-on: ${{ matrix.operating-system }} + runs-on: "ubuntu-latest" strategy: matrix: - dependencies: - - "locked" php-version: - "7.4" - "8.0" - operating-system: - - "ubuntu-latest" steps: - name: "Checkout" @@ -30,41 +28,27 @@ jobs: with: tools: "phing" coverage: "none" - php-version: "${{ matrix.php-version }}" + php-version: ${{ matrix.php-version }} ini-values: memory_limit=-1, phar.readonly=0 - - name: Get Composer cache directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-dir)" - - - name: Cache dependencies - uses: actions/cache@v2 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}-${{ matrix.dependencies }} - restore-keys: | - composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}- - composer-${{ runner.os }}-${{ matrix.php-version }}- - composer-${{ runner.os }}- - composer- - - - name: "Install lowest dependencies" - if: ${{ matrix.dependencies == 'lowest' }} - run: "composer update --prefer-lowest --no-interaction --no-progress --no-suggest" - - - name: "Install highest dependencies" - if: ${{ matrix.dependencies == 'highest' }} + - name: "Install dependencies" run: "composer update --no-interaction --no-progress --no-suggest" - - name: "Install locked dependencies" - if: ${{ matrix.dependencies == 'locked' }} - run: "composer install --no-interaction --no-progress --no-suggest" + - name: "Build phar file via phing" + run: "phing phar-build" - - name: "build via phing" - run: "phing" + - name: "Sign Phar" + # if: ${{ github.event_name == 'release' && github.event.action == 'published' }} + run: | + echo "$PRIVATE_KEY" > privatekey.pem + openssl dgst -sha512 -sign privatekey.pem --detach-sign --output build/composer-require-checker.phar.asc build/composer-require-checker.phar + env: + PRIVATE_KEY: ${{ secrets.SIGNING_SECRET_KEY }} - name: "Upload phar file artifact" uses: actions/upload-artifact@v2 with: name: composer-require-checker-${{ matrix.php-version }}.phar - path: build/composer-require-checker.phar + path: | + build/composer-require-checker.phar + build/composer-require-checker.phar.asc From 11073aa78610703f15fda8c514ea2de03dde0268 Mon Sep 17 00:00:00 2001 From: Matthias Glaub Date: Wed, 10 Nov 2021 10:56:19 +0100 Subject: [PATCH 2/9] fixes signing process --- .github/workflows/phar-creation.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/phar-creation.yml b/.github/workflows/phar-creation.yml index a1aa36cf..6d8028ef 100644 --- a/.github/workflows/phar-creation.yml +++ b/.github/workflows/phar-creation.yml @@ -31,8 +31,8 @@ jobs: php-version: ${{ matrix.php-version }} ini-values: memory_limit=-1, phar.readonly=0 - - name: "Install dependencies" - run: "composer update --no-interaction --no-progress --no-suggest" + - name: "Install prod dependencies" + run: "composer update --no-interaction --no-progress --no-suggest --no-dev" - name: "Build phar file via phing" run: "phing phar-build" @@ -41,7 +41,7 @@ jobs: # if: ${{ github.event_name == 'release' && github.event.action == 'published' }} run: | echo "$PRIVATE_KEY" > privatekey.pem - openssl dgst -sha512 -sign privatekey.pem --detach-sign --output build/composer-require-checker.phar.asc build/composer-require-checker.phar + openssl dgst -sha512 -sign privatekey.pem -out build/composer-require-checker.phar.asc build/composer-require-checker.phar env: PRIVATE_KEY: ${{ secrets.SIGNING_SECRET_KEY }} From 1de5495fba4ae9940045e38322df987bd0d401bb Mon Sep 17 00:00:00 2001 From: Matthias Glaub Date: Wed, 10 Nov 2021 11:04:50 +0100 Subject: [PATCH 3/9] build dependencies with phing / remove multiple php versions --- .github/workflows/phar-creation.yml | 13 ++----------- build.xml | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/phar-creation.yml b/.github/workflows/phar-creation.yml index 6d8028ef..3dd163a6 100644 --- a/.github/workflows/phar-creation.yml +++ b/.github/workflows/phar-creation.yml @@ -13,12 +13,6 @@ jobs: runs-on: "ubuntu-latest" - strategy: - matrix: - php-version: - - "7.4" - - "8.0" - steps: - name: "Checkout" uses: "actions/checkout@v2" @@ -28,12 +22,9 @@ jobs: with: tools: "phing" coverage: "none" - php-version: ${{ matrix.php-version }} + php-version: "7.4" ini-values: memory_limit=-1, phar.readonly=0 - - name: "Install prod dependencies" - run: "composer update --no-interaction --no-progress --no-suggest --no-dev" - - name: "Build phar file via phing" run: "phing phar-build" @@ -48,7 +39,7 @@ jobs: - name: "Upload phar file artifact" uses: actions/upload-artifact@v2 with: - name: composer-require-checker-${{ matrix.php-version }}.phar + name: composer-require-checker.phar path: | build/composer-require-checker.phar build/composer-require-checker.phar.asc diff --git a/build.xml b/build.xml index 538dca27..c2fbfe7b 100644 --- a/build.xml +++ b/build.xml @@ -55,7 +55,7 @@ - + Date: Wed, 10 Nov 2021 11:16:05 +0100 Subject: [PATCH 4/9] fixes composer install within phing --- build.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.xml b/build.xml index c2fbfe7b..ab77b9e6 100644 --- a/build.xml +++ b/build.xml @@ -37,10 +37,7 @@ - - - - + From be047cefd69b5d2126935b0d4fc1b2f5cf8a9a1a Mon Sep 17 00:00:00 2001 From: Matthias Glaub Date: Wed, 10 Nov 2021 11:21:45 +0100 Subject: [PATCH 5/9] create build directory if it does not exist --- build.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/build.xml b/build.xml index ab77b9e6..6b1c465a 100644 --- a/build.xml +++ b/build.xml @@ -54,6 +54,7 @@ + Date: Wed, 10 Nov 2021 11:45:28 +0100 Subject: [PATCH 6/9] switch to gpg for phar signing --- .github/workflows/phar-creation.yml | 13 +++++++------ build.xml | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/phar-creation.yml b/.github/workflows/phar-creation.yml index 3dd163a6..1177ff73 100644 --- a/.github/workflows/phar-creation.yml +++ b/.github/workflows/phar-creation.yml @@ -25,16 +25,17 @@ jobs: php-version: "7.4" ini-values: memory_limit=-1, phar.readonly=0 + - name: "Import GPG Key" + run: echo "$PRIVATE_KEY" | gpg --import + env: + PRIVATE_KEY: ${{ secrets.SIGNING_SECRET_KEY }} + - name: "Build phar file via phing" run: "phing phar-build" - name: "Sign Phar" - # if: ${{ github.event_name == 'release' && github.event.action == 'published' }} - run: | - echo "$PRIVATE_KEY" > privatekey.pem - openssl dgst -sha512 -sign privatekey.pem -out build/composer-require-checker.phar.asc build/composer-require-checker.phar - env: - PRIVATE_KEY: ${{ secrets.SIGNING_SECRET_KEY }} +# if: ${{ github.event_name == 'release' && github.event.action == 'published' }} + run: "phing phar-sign" - name: "Upload phar file artifact" uses: actions/upload-artifact@v2 diff --git a/build.xml b/build.xml index 6b1c465a..9ec950cc 100644 --- a/build.xml +++ b/build.xml @@ -72,7 +72,7 @@ - + From 91d90383a50025a719757ef2de2311b4ac835989 Mon Sep 17 00:00:00 2001 From: Matthias Glaub Date: Wed, 10 Nov 2021 11:57:51 +0100 Subject: [PATCH 7/9] automatic upload to releases --- .github/workflows/phar-creation.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/phar-creation.yml b/.github/workflows/phar-creation.yml index 1177ff73..b6569182 100644 --- a/.github/workflows/phar-creation.yml +++ b/.github/workflows/phar-creation.yml @@ -1,11 +1,10 @@ # https://help.github.com/en/categories/automating-your-workflow-with-github-actions -name: "Building Require-Checker phar" +name: "Building Require-Checker phar for release" on: - pull_request: -# release: -# types: [published] + release: + types: [published] jobs: build: @@ -34,7 +33,6 @@ jobs: run: "phing phar-build" - name: "Sign Phar" -# if: ${{ github.event_name == 'release' && github.event.action == 'published' }} run: "phing phar-sign" - name: "Upload phar file artifact" @@ -44,3 +42,11 @@ jobs: path: | build/composer-require-checker.phar build/composer-require-checker.phar.asc + + - name: Upload PHAR to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: build/composer-require-checker.phar* + file_glob: true + tag: ${{ github.ref }} From b085cba88c8573bbe7297d792cf01153f15071eb Mon Sep 17 00:00:00 2001 From: Matthias Glaub Date: Wed, 10 Nov 2021 12:37:01 +0100 Subject: [PATCH 8/9] require phing/phing as dev dependency --- .github/workflows/phar-creation.yml | 8 +- composer.json | 1 + composer.lock | 203 +++++++++++++++++++++------- 3 files changed, 160 insertions(+), 52 deletions(-) diff --git a/.github/workflows/phar-creation.yml b/.github/workflows/phar-creation.yml index b6569182..4b82ebf8 100644 --- a/.github/workflows/phar-creation.yml +++ b/.github/workflows/phar-creation.yml @@ -19,7 +19,6 @@ jobs: - name: "Install PHP" uses: "shivammathur/setup-php@v2" with: - tools: "phing" coverage: "none" php-version: "7.4" ini-values: memory_limit=-1, phar.readonly=0 @@ -29,11 +28,8 @@ jobs: env: PRIVATE_KEY: ${{ secrets.SIGNING_SECRET_KEY }} - - name: "Build phar file via phing" - run: "phing phar-build" - - - name: "Sign Phar" - run: "phing phar-sign" + - name: "Build and sign phar file via phing" + run: "vendor/bin/phing phar-build phar-sign" - name: "Upload phar file artifact" uses: actions/upload-artifact@v2 diff --git a/composer.json b/composer.json index 71036dc7..c661201e 100644 --- a/composer.json +++ b/composer.json @@ -39,6 +39,7 @@ "ext-zend-opcache": "*", "doctrine/coding-standard": "^9.0.0", "mikey179/vfsstream": "^1.6.10", + "phing/phing": "^2.0", "phpstan/phpstan": "^1.1.1", "phpunit/phpunit": "^9.5.10", "vimeo/psalm": "^4.12.0" diff --git a/composer.lock b/composer.lock index 960f1bc0..5b1d7564 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": "14b553b4b5d9bb4139cede64d54c79d7", + "content-hash": "ec672d6b73fc40e78b50f1acad6492df", "packages": [ { "name": "nikic/php-parser", @@ -2125,6 +2125,118 @@ }, "time": "2021-02-23T14:00:09+00:00" }, + { + "name": "phing/phing", + "version": "2.17.0", + "source": { + "type": "git", + "url": "https://github.com/phingofficial/phing.git", + "reference": "c0a3bce822c088d60b30a577c25debb42325d0f8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phingofficial/phing/zipball/c0a3bce822c088d60b30a577c25debb42325d0f8", + "reference": "c0a3bce822c088d60b30a577c25debb42325d0f8", + "shasum": "" + }, + "require": { + "php": ">=5.2.0" + }, + "require-dev": { + "ext-pdo_sqlite": "*", + "mikey179/vfsstream": "^1.6", + "pdepend/pdepend": "2.x", + "pear/archive_tar": "1.4.x", + "pear/http_request2": "dev-trunk", + "pear/net_growl": "dev-trunk", + "pear/pear-core-minimal": "1.10.1", + "pear/versioncontrol_git": "@dev", + "pear/versioncontrol_svn": "~0.5", + "phpdocumentor/phpdocumentor": "2.x", + "phploc/phploc": "~2.0.6", + "phpmd/phpmd": "~2.2", + "phpunit/phpunit": ">=3.7", + "sebastian/git": "~1.0", + "sebastian/phpcpd": "2.x", + "siad007/versioncontrol_hg": "^1.0", + "simpletest/simpletest": "^1.1", + "squizlabs/php_codesniffer": "~2.2", + "symfony/yaml": "^2.8 || ^3.1 || ^4.0" + }, + "suggest": { + "pdepend/pdepend": "PHP version of JDepend", + "pear/archive_tar": "Tar file management class", + "pear/versioncontrol_git": "A library that provides OO interface to handle Git repository", + "pear/versioncontrol_svn": "A simple OO-style interface for Subversion, the free/open-source version control system", + "phpdocumentor/phpdocumentor": "Documentation Generator for PHP", + "phploc/phploc": "A tool for quickly measuring the size of a PHP project", + "phpmd/phpmd": "PHP version of PMD tool", + "phpunit/php-code-coverage": "Library that provides collection, processing, and rendering functionality for PHP code coverage information", + "phpunit/phpunit": "The PHP Unit Testing Framework", + "sebastian/phpcpd": "Copy/Paste Detector (CPD) for PHP code", + "siad007/versioncontrol_hg": "A library for interfacing with Mercurial repositories.", + "tedivm/jshrink": "Javascript Minifier built in PHP" + }, + "bin": [ + "bin/phing" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.16.x-dev" + } + }, + "autoload": { + "classmap": [ + "classes/phing/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "classes" + ], + "license": [ + "LGPL-3.0-only" + ], + "authors": [ + { + "name": "Michiel Rook", + "email": "mrook@php.net" + }, + { + "name": "Phing Community", + "homepage": "https://www.phing.info/trac/wiki/Development/Contributors" + } + ], + "description": "PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.", + "homepage": "https://www.phing.info/", + "keywords": [ + "build", + "phing", + "task", + "tool" + ], + "support": { + "irc": "irc://irc.freenode.net/phing", + "issues": "https://www.phing.info/trac/report", + "source": "https://github.com/phingofficial/phing/tree/2.17.0" + }, + "funding": [ + { + "url": "https://github.com/mrook", + "type": "github" + }, + { + "url": "https://github.com/siad007", + "type": "github" + }, + { + "url": "https://www.patreon.com/michielrook", + "type": "patreon" + } + ], + "time": "2021-08-31T13:33:01+00:00" + }, { "name": "phpdocumentor/reflection-common", "version": "2.2.0", @@ -2354,34 +2466,33 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "0.5.4", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "e352d065af1ae9b41c12d1dfd309e90f7b1f55c9" + "reference": "dbc093d7af60eff5cd575d2ed761b15ed40bd08e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/e352d065af1ae9b41c12d1dfd309e90f7b1f55c9", - "reference": "e352d065af1ae9b41c12d1dfd309e90f7b1f55c9", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/dbc093d7af60eff5cd575d2ed761b15ed40bd08e", + "reference": "dbc093d7af60eff5cd575d2ed761b15ed40bd08e", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "phing/phing": "^2.16.3", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12.60", - "phpstan/phpstan-strict-rules": "^0.12.5", - "phpunit/phpunit": "^7.5.20", + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^9.5", "symfony/process": "^5.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.5-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -2398,22 +2509,22 @@ "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/0.5.4" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.2.0" }, - "time": "2021-04-03T14:46:19+00:00" + "time": "2021-09-16T20:46:02+00:00" }, { "name": "phpstan/phpstan", - "version": "1.1.1", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "cb317029197236c571c1b9305b8dd12850d8d85c" + "reference": "bcea0ae85868a89d5789c75f012c93129f842934" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/cb317029197236c571c1b9305b8dd12850d8d85c", - "reference": "cb317029197236c571c1b9305b8dd12850d8d85c", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/bcea0ae85868a89d5789c75f012c93129f842934", + "reference": "bcea0ae85868a89d5789c75f012c93129f842934", "shasum": "" }, "require": { @@ -2444,7 +2555,7 @@ "description": "PHPStan - PHP Static Analysis Tool", "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.1.1" + "source": "https://github.com/phpstan/phpstan/tree/1.1.2" }, "funding": [ { @@ -2464,27 +2575,27 @@ "type": "tidelift" } ], - "time": "2021-11-06T22:46:47+00:00" + "time": "2021-11-09T12:41:09+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.7", + "version": "9.2.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218" + "reference": "cf04e88a2e3c56fc1a65488afd493325b4c1bc3e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d4c798ed8d51506800b441f7a13ecb0f76f12218", - "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/cf04e88a2e3c56fc1a65488afd493325b4c1bc3e", + "reference": "cf04e88a2e3c56fc1a65488afd493325b4c1bc3e", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.12.0", + "nikic/php-parser": "^4.13.0", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -2533,7 +2644,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.7" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.8" }, "funding": [ { @@ -2541,7 +2652,7 @@ "type": "github" } ], - "time": "2021-09-17T05:39:03+00:00" + "time": "2021-10-30T08:01:38+00:00" }, { "name": "phpunit/php-file-iterator", @@ -3903,37 +4014,37 @@ }, { "name": "slevomat/coding-standard", - "version": "7.0.6", + "version": "7.0.16", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "cad651ba4920b4fe458cd38b76a87a6f4a18f64f" + "reference": "14c324b2f2f0072933036c2f3abaeda16a56dcd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/cad651ba4920b4fe458cd38b76a87a6f4a18f64f", - "reference": "cad651ba4920b4fe458cd38b76a87a6f4a18f64f", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/14c324b2f2f0072933036c2f3abaeda16a56dcd3", + "reference": "14c324b2f2f0072933036c2f3abaeda16a56dcd3", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", "php": "^7.1 || ^8.0", - "phpstan/phpdoc-parser": "0.5.1 - 0.5.4", - "squizlabs/php_codesniffer": "^3.6.0" + "phpstan/phpdoc-parser": "^1.0.0", + "squizlabs/php_codesniffer": "^3.6.1" }, "require-dev": { - "phing/phing": "2.16.4", - "php-parallel-lint/php-parallel-lint": "1.3.0", - "phpstan/phpstan": "0.12.85", + "phing/phing": "2.17.0", + "php-parallel-lint/php-parallel-lint": "1.3.1", + "phpstan/phpstan": "0.12.99", "phpstan/phpstan-deprecation-rules": "0.12.6", - "phpstan/phpstan-phpunit": "0.12.18", - "phpstan/phpstan-strict-rules": "0.12.9", - "phpunit/phpunit": "7.5.20|8.5.5|9.5.4" + "phpstan/phpstan-phpunit": "0.12.22", + "phpstan/phpstan-strict-rules": "0.12.11", + "phpunit/phpunit": "7.5.20|8.5.5|9.5.10" }, "type": "phpcodesniffer-standard", "extra": { "branch-alias": { - "dev-master": "6.x-dev" + "dev-master": "7.x-dev" } }, "autoload": { @@ -3948,7 +4059,7 @@ "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", "support": { "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/7.0.6" + "source": "https://github.com/slevomat/coding-standard/tree/7.0.16" }, "funding": [ { @@ -3960,20 +4071,20 @@ "type": "tidelift" } ], - "time": "2021-04-27T16:34:01+00:00" + "time": "2021-10-22T06:56:51+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.6.0", + "version": "3.6.1", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625" + "reference": "f268ca40d54617c6e06757f83f699775c9b3ff2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625", - "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/f268ca40d54617c6e06757f83f699775c9b3ff2e", + "reference": "f268ca40d54617c6e06757f83f699775c9b3ff2e", "shasum": "" }, "require": { @@ -4016,7 +4127,7 @@ "source": "https://github.com/squizlabs/PHP_CodeSniffer", "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" }, - "time": "2021-04-09T00:54:41+00:00" + "time": "2021-10-11T04:00:11+00:00" }, { "name": "theseer/tokenizer", @@ -4188,5 +4299,5 @@ "platform-dev": { "ext-zend-opcache": "*" }, - "plugin-api-version": "2.1.0" + "plugin-api-version": "2.0.0" } From 9e29c061a87cd8ee20018a8bf4cd19673623c9fa Mon Sep 17 00:00:00 2001 From: Matthias Glaub Date: Wed, 10 Nov 2021 12:50:54 +0100 Subject: [PATCH 9/9] fixes to current stable phing version and newer --- composer.json | 2 +- composer.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c661201e..eabeb313 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "ext-zend-opcache": "*", "doctrine/coding-standard": "^9.0.0", "mikey179/vfsstream": "^1.6.10", - "phing/phing": "^2.0", + "phing/phing": "^2.17.0", "phpstan/phpstan": "^1.1.1", "phpunit/phpunit": "^9.5.10", "vimeo/psalm": "^4.12.0" diff --git a/composer.lock b/composer.lock index 5b1d7564..0be2410d 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": "ec672d6b73fc40e78b50f1acad6492df", + "content-hash": "acf646215ca98f581492fe1a72aa4771", "packages": [ { "name": "nikic/php-parser",