Skip to content

Commit f220989

Browse files
committed
Removed php 8.1 support
1 parent ebfaec3 commit f220989

File tree

4 files changed

+37
-9
lines changed

4 files changed

+37
-9
lines changed

.github/workflows/tests.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
php-version:
20-
- "8.1"
2120
- "8.2"
2221
- "8.3"
2322
- "8.4"
@@ -33,8 +32,28 @@ jobs:
3332
php-version: "${{ matrix.php-version }}"
3433
coverage: "pcov"
3534

35+
- name: Get Composer Cache Directory 2
36+
id: composer-cache
37+
run: |
38+
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
39+
40+
- uses: actions/cache@v4
41+
id: actions-cache
42+
with:
43+
path: ${{ steps.composer-cache.outputs.dir }}
44+
key: ${{ runner.os }}-composer-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
45+
restore-keys: |
46+
${{ runner.os }}-composer-${{ matrix.php-version }}-
47+
48+
- name: Cache PHP dependencies
49+
uses: actions/cache@v4
50+
id: vendor-cache
51+
with:
52+
path: vendor
53+
key: ${{ runner.os }}-build-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
54+
3655
- name: Install Composer dependencies
37-
run: composer install --no-progress --ansi
56+
run: composer install --no-progress
3857

3958
- name: Code style test
4059
run: ./vendor/bin/phpcs

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"homepage" : "https://github.com/indy2kro/php-iso",
1010
"license" : "GPL-2.0",
1111
"require" : {
12-
"php" : ">=8.1"
12+
"php" : ">=8.2"
1313
},
1414
"require-dev" : {
1515
"squizlabs/php_codesniffer" : ">=3.7",

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/IsoFileTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace PhpIso\Test;
6+
7+
class IsoFileTest
8+
{
9+
}

0 commit comments

Comments
 (0)