Skip to content

Commit b45a04c

Browse files
Merge pull request #55 from kiwilan/develop
v2.3.01
2 parents 2abe7c2 + 8464597 commit b45a04c

File tree

6 files changed

+10
-22
lines changed

6 files changed

+10
-22
lines changed

.github/workflows/codecov.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
4545
sudo cp ./modules/rar.so $pecl_path
4646
sudo echo "extension=rar.so" > $phpini_path
4747
48+
- name: Create .env file
49+
run: |
50+
cp .env.example .env
51+
shell: bash
52+
4853
- name: Check extension rar
4954
run: php -m | grep rar
5055

@@ -63,7 +68,7 @@ jobs:
6368
run: vendor/bin/pest --coverage
6469

6570
- name: Send code coverage
66-
uses: codecov/codecov-action@v4
71+
uses: codecov/codecov-action@v5
6772
with:
6873
token: ${{ secrets.CODECOV_TOKEN }}
6974
verbose: false

.github/workflows/run-macos.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,11 @@ jobs:
3636
- name: Install dependencies
3737
run: composer install --prefer-dist --no-interaction
3838

39-
- name: Add rar extension
40-
run: |
41-
git clone https://github.com/cataphract/php-rar
42-
cd php-rar
43-
phpize
44-
./configure
45-
sudo make
46-
sudo make install
47-
pecl_path=$(pecl config-get ext_dir)
48-
phpini_path=$(php -i | grep /.+/php.ini -oE)
49-
sudo cp ./modules/rar.so $pecl_path
50-
sudo echo "extension=rar.so" > $phpini_path
51-
5239
- name: Create .env file
5340
run: |
5441
cp .env.example .env
5542
shell: bash
5643

57-
- name: Check extension rar
58-
run: php -m | grep rar
59-
6044
- name: Check extension imagick
6145
run: php -m | grep imagick
6246

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: [8.1, 8.2, 8.3]
12+
php: [8.1, 8.2, 8.3, 8.4]
1313
stability: [prefer-stable]
1414

1515
name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kiwilan/php-archive",
3-
"version": "2.3.0",
3+
"version": "2.3.01",
44
"description": "PHP package to handle archives (.zip, .rar, .tar, .7z, .pdf) with unified API and hybrid solution (native/p7zip), designed to works with EPUB and CBA (.cbz, .cbr, .cb7, .cbt).",
55
"keywords": [
66
"php",

phpstan.neon

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@ parameters:
77

88
# The level 9 is the highest level
99
level: 5
10-
11-
checkMissingIterableValueType: false

tests/ArchiveTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,4 +168,5 @@ function (Pest\Expectation $item) use ($ext) {
168168
$file = $archive->getFileItem('archive/file-1.md');
169169
$text = $archive->getText($file);
170170
expect($text)->toBeString();
171-
})->with([SEVENZIP]);
171+
})->with([SEVENZIP])
172+
->skip(PHP_OS_FAMILY === 'Darwin', 'Skip on MacOS');

0 commit comments

Comments
 (0)