Skip to content

Commit 452546a

Browse files
authored
composer update and test PHP 8.2 (#57)
* `composer update` * Remove different dependency types (use locked) * Fix workflow * Fix name
1 parent bc0e753 commit 452546a

File tree

3 files changed

+402
-180
lines changed

3 files changed

+402
-180
lines changed

.github/workflows/php.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
run: vendor/bin/phpstan analyze
9191

9292
tests:
93-
name: "2️⃣ PHP ${{ matrix.php-version }}: ${{ matrix.beta }} ${{ matrix.dependencies }}"
93+
name: "2️⃣ PHP ${{ matrix.php-version }}: Tests"
9494
needs:
9595
- "php_syntax_errors"
9696
runs-on: "ubuntu-latest"
@@ -100,19 +100,7 @@ jobs:
100100
php-version:
101101
- "8.0"
102102
- "8.1"
103-
dependencies:
104-
- "locked"
105-
- "lowest"
106-
- "highest"
107-
beta:
108-
- "beta"
109-
- ""
110-
exclude:
111-
- beta: "beta"
112-
dependencies: "locked"
113-
- beta: "beta"
114-
dependencies: "lowest"
115-
103+
- "8.2"
116104
env:
117105
extensions: curl, dom, imagick, json, libxml, mbstring
118106

@@ -134,17 +122,11 @@ jobs:
134122
coverage: xdebug
135123
tools: pecl, composer
136124

137-
- name: Fix beta
138-
if: ${{ matrix.beta == 'beta' }}
139-
run: perl -pi -e 's/^}$/,"minimum-stability":"beta"}/' composer.json
140-
141125
# Install dependencies and handle caching in one go.
142126
# Dependencies need to be installed to make sure the PHPUnit classes are recognized.
143127
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
144128
- name: Install Composer dependencies
145129
uses: "ramsey/composer-install@v2"
146-
with:
147-
dependency-versions: "${{ matrix.dependencies }}"
148130

149131
# - name: boot test server
150132
# run: vendor/bin/http_test_server > /dev/null 2>&1 &

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [PHPExif v0.7.11](http://github.com/LycheeOrg/php-exif)
1+
# [PHPExif](http://github.com/LycheeOrg/php-exif)
22

33
[![GitHub Release][release-shield]](https://github.com/LycheeOrg/php-exif/releases)
44
[![PHP 8.0 & 8.1][php-shield]](https://github.com/LycheeOrg/php-exif#installation-composer)

0 commit comments

Comments
 (0)