Skip to content

Commit

Permalink
Require PHP 8 and update types
Browse files Browse the repository at this point in the history
  • Loading branch information
jrabausch committed Jan 1, 2025
1 parent 249da61 commit 0334e08
Show file tree
Hide file tree
Showing 10 changed files with 581 additions and 497 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Just use Composer:
```
composer require semperton/container
```
Container requires PHP 7.2+
Container requires PHP 8.0+

## Interface

Expand Down
13 changes: 8 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "library",
"license": "MIT",
"require": {
"php": ">=7.2.0",
"php": ">=8.0",
"psr/container": "^1.1|^2.0"
},
"autoload": {
Expand All @@ -18,11 +18,14 @@
}
},
"scripts": {
"test": "phpunit tests",
"check": "psalm"
},
"test": "phpunit tests",
"check": "psalm --no-cache"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"vimeo/psalm": "^4.7"
},
"provide": {
"psr/container-implementation": "^1.0"
}
}
}
Loading

0 comments on commit 0334e08

Please sign in to comment.