diff --git a/.gitattributes b/.gitattributes index a1a1464d..a4bee5f1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -11,6 +11,7 @@ /box.json export-ignore /composer-require-checker.json export-ignore /Makefile export-ignore +/phive.xml export-ignore /phpstan-baseline.neon export-ignore /phpstan.neon export-ignore /psalm-baseline.xml export-ignore diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index eb65a148..c741ca85 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -86,9 +86,7 @@ jobs: working-directory: "tools/" - name: "Run ergebnis/composer-normalize" - uses: "docker://localheinz/composer-normalize-action:0.5.2" - with: - args: "--dry-run" + run: "tools/composer-normalize --dry-run" - name: "Create cache directory for friendsofphp/php-cs-fixer" run: "mkdir -p .build/php-cs-fixer" diff --git a/Makefile b/Makefile index 4335a2f9..b0418b41 100644 --- a/Makefile +++ b/Makefile @@ -63,4 +63,4 @@ vendor: composer.json composer.lock tools/composer.json tools/composer.lock composer validate --strict composer install --no-interaction --no-progress --no-suggest composer install --no-interaction --no-progress --no-suggest --working-dir=tools - docker run --interactive --rm --tty --workdir=/app --volume ${PWD}:/app localheinz/composer-normalize-action:0.5.2 + tools/composer-normalize diff --git a/README.md b/README.md index 04cbaf58..b8642e65 100644 --- a/README.md +++ b/README.md @@ -540,10 +540,6 @@ This package is licensed using the MIT License. Please have a look at [`LICENSE.md`](LICENSE.md). -## GitHub Action - -`ergebnis/composer-normalize` is also available as a [GitHub Action](https://github.com/features/actions) on the [GitHub Marketplace](https://github.com/marketplace), see [`composer-normalize-action`](https://github.com/marketplace/actions/composer-normalize-action) as well as the corresponding repository [`ergebnis/composer-normalize-action`](https://github.com/ergebnis/composer-normalize-action). - ## Services `ergebnis/composer-normalize` is currently in use by [FlintCI](https://flintci.io), see https://flintci.io/docs#composernormalize. diff --git a/phive.xml b/phive.xml new file mode 100644 index 00000000..5a562ccb --- /dev/null +++ b/phive.xml @@ -0,0 +1,4 @@ + + + + diff --git a/tools/composer-normalize b/tools/composer-normalize new file mode 100755 index 00000000..a17567f4 Binary files /dev/null and b/tools/composer-normalize differ