Skip to content

Commit

Permalink
[TASK] Stop version-controlling the development tool PHARs (#1175)
Browse files Browse the repository at this point in the history
Fixes #984
  • Loading branch information
oliverklee committed Oct 7, 2022
1 parent 8f5e428 commit 3279f1a
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 1,016 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,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 @@ -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 0FDE18AE1D09E19F60F6B1CBC00543248C87FB13,BBAB5DF0A0D6672989CF1869E82B2FB314E9906E,A972B9ABB95D0B760B51442231C7E470E2138192,9882DD2B38813C08EA651B69A4E55EA12C7C085C,2DE50EB60C013FFFA831040D12CE0F1D262429A5

- 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 0FDE18AE1D09E19F60F6B1CBC00543248C87FB13,BBAB5DF0A0D6672989CF1869E82B2FB314E9906E,A972B9ABB95D0B760B51442231C7E470E2138192,9882DD2B38813C08EA651B69A4E55EA12C7C085C,2DE50EB60C013FFFA831040D12CE0F1D262429A5

- 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 3279f1a

Please sign in to comment.