Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fezfez committed Oct 14, 2022
1 parent 1fefc03 commit b7d82aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@
}
],
"require": {
"php": "~8.0.0 || ~8.1.0",
"php": "~8.1.0 || ~8.2.0",
"fezfez/backup-manager": "^0.1",
"league/flysystem": "^1.0.64"
},
"require-dev": {
"doctrine/coding-standard": "^9.0.0",
"doctrine/coding-standard": "^10.0",
"infection/infection": "^0.26.15",
"phpunit/phpunit": "^9.5.25",
"vimeo/psalm": "^4.29.0",
"infection/infection": "^0.26.15"
"psalm/plugin-phpunit": "^0.17.0",
"vimeo/psalm": "^4.29.0"
},
"config": {
"allow-plugins": {
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version : '3'
services :
php:
image: cube43/docker-apache2-php:8.0
image: cube43/docker-apache2-php:8.1
volumes:
- .:/var/www
- ./../composercache/:/home/www-data/.composer/
5 changes: 1 addition & 4 deletions src/LeagueFilesystemAdapterV1.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@

final class LeagueFilesystemAdapterV1 implements BackupManagerFilesystemAdapter
{
private FilesystemInterface $fileSystem;

public function __construct(FilesystemInterface $fileSystem)
public function __construct(private readonly FilesystemInterface $fileSystem)
{
$this->fileSystem = $fileSystem;
}

public function readStream(string $path): BackupManagerRessource
Expand Down

0 comments on commit b7d82aa

Please sign in to comment.