Skip to content

Commit

Permalink
[TASK] Stop version-controlling the development tool PHARs
Browse files Browse the repository at this point in the history
Fixes #984
  • Loading branch information
oliverklee committed Sep 27, 2022
1 parent f6fcba4 commit f6afd55
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 1,015 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ jobs:
- name: Show the Composer configuration
run: composer config --global --list

- name: Install development tools
run: phive --no-progress install --trust-gpg-keys D8406D0D82947747293778314AA394086372C20A

- name: Composer Normalize
run: composer ci:composer:normalize

Expand Down Expand Up @@ -132,7 +135,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v2
tools: composer:v2, phive
coverage: none

- name: Show the Composer version
Expand All @@ -152,6 +155,9 @@ jobs:
- name: Install Composer dependencies
run: composer install --no-progress

- name: Install development tools
run: phive --no-progress install --trust-gpg-keys D8406D0D82947747293778314AA394086372C20A

- name: Run Command
run: composer ci:php:${{ matrix.command }}

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ nbproject
/.phpunit.result.cache
/vendor/
composer.lock
/.phive
!/.phive/phars.xml
Binary file removed .phive/composer-normalize
Binary file not shown.
11 changes: 5 additions & 6 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="composer-normalize" version="^2.28.3" installed="2.28.3" location="./.phive/composer-normalize" copy="true"/>
<phar name="phar-io/phive" version="^0.14.5" installed="0.14.5" location="./.phive/phive" copy="true"/>
<phar name="php-cs-fixer" version="^3.11.0" installed="3.11.0" location="./.phive/php-cs-fixer" copy="true"/>
<phar name="phpcs" version="^3.7.1" installed="3.7.1" location="./.phive/phpcs" copy="true"/>
<phar name="phpmd" version="^2.13.0" installed="2.13.0" location="./.phive/phpmd" copy="true"/>
<phar name="psalm" version="^4.27.0" installed="4.27.0" location="./.phive/psalm" copy="true"/>
<phar name="composer-normalize" version="^2.28.3" installed="2.28.3" location="./.phive/composer-normalize" copy="false"/>
<phar name="php-cs-fixer" version="^3.11.0" installed="3.11.0" location="./.phive/php-cs-fixer" copy="false"/>
<phar name="phpcs" version="^3.7.1" installed="3.7.1" location="./.phive/phpcs" copy="false"/>
<phar name="phpmd" version="^2.13.0" installed="2.13.0" location="./.phive/phpmd" copy="false"/>
<phar name="psalm" version="^4.27.0" installed="4.27.0" location="./.phive/psalm" copy="false"/>
</phive>
1,008 changes: 0 additions & 1,008 deletions .phive/phive

This file was deleted.

Binary file removed .phive/php-cs-fixer
Binary file not shown.
Binary file removed .phive/phpcs
Binary file not shown.
Binary file removed .phive/phpmd
Binary file not shown.
Binary file removed .phive/psalm
Binary file not shown.

0 comments on commit f6afd55

Please sign in to comment.