Skip to content

Commit 5d1d7c3

Browse files
Merge pull request #393 from bytestream/patch-1
PHP 8.4 support
2 parents f7b96b5 + 0100c4b commit 5d1d7c3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest]
15-
php: ['8.0', '8.1', '8.2', '8.3']
15+
php: ['8.0', '8.1', '8.2', '8.3', '8.4']
1616
steps:
1717
- uses: actions/checkout@master
1818

src/Backup/Cli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ abstract class Cli
4848
* @param \SebastianFeldmann\Cli\Command\Runner $runner
4949
* @param int|null $time
5050
*/
51-
public function __construct(Runner $runner = null, ?int $time = null)
51+
public function __construct(?Runner $runner = null, ?int $time = null)
5252
{
5353
$this->runner = $runner ? : new Runner\Simple(new Symfony());
5454
$this->time = $time ? : time();

src/Backup/Compressor/Abstraction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ abstract class Abstraction extends Cli implements Compressible
4242
* @param \SebastianFeldmann\Cli\Command\Runner $runner
4343
* @throws \phpbu\App\Exception
4444
*/
45-
public function __construct($path, $pathToCommand = '', Runner $runner = null)
45+
public function __construct($path, $pathToCommand = '', ?Runner $runner = null)
4646
{
4747
if (empty($path)) {
4848
throw new Exception('no path to compress set');

0 commit comments

Comments
 (0)