Skip to content

Commit

Permalink
support for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-zacek committed Dec 31, 2024
1 parent 8307a80 commit 672ba15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.0', '8.1', '8.2', '8.3']
php: ['8.0', '8.1', '8.2', '8.3', '8.4']

fail-fast: false

Expand All @@ -22,7 +22,7 @@ jobs:
- run: composer install --no-progress --prefer-dist
- run: vendor/bin/tester tests -s -C
- if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: output
path: tests/**/output
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
}
],
"require": {
"php": "8.0 - 8.3"
"php": "8.0 - 8.4"
},
"require-dev": {
"nette/tester": "^2.4",
"tracy/tracy": "^2.8",
"phpstan/phpstan": "^0.12"
"nette/tester": "^2.5",
"tracy/tracy": "^2.10",
"phpstan/phpstan": "^2.1"
},
"autoload": {
"classmap": ["src/"],
Expand Down
3 changes: 0 additions & 3 deletions src/SafeStream/Wrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ class Wrapper
/** @var resource orignal file handle */
private $handle;

/** orignal file path */
private string $filePath;

/** starting position in file (for appending) */
private int $startPos = 0;

Expand Down

0 comments on commit 672ba15

Please sign in to comment.