Skip to content

Commit 996a76a

Browse files
author
nejc
committed
Refactor repository pattern and add tests: Update Laravel 12 compatibility, simplify RepositoryInterface, add test suite
1 parent df0f657 commit 996a76a

File tree

5 files changed

+5640
-3700
lines changed

5 files changed

+5640
-3700
lines changed

composer.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@
1717
],
1818
"require": {
1919
"php": "^8.3",
20-
"illuminate/support": "^8.0",
20+
"illuminate/support": "^12.0",
2121
"nejcc/php-datatypes": "^1.0"
2222
},
2323
"require-dev": {
24+
"laravel/framework": "^12.0",
2425
"laravel/pint": "^1.22",
25-
"orchestra/testbench": "^6.0",
26+
"orchestra/testbench": "^10.0",
27+
"pestphp/pest": "*",
28+
"pestphp/pest-plugin-laravel": "^3.2",
2629
"phpstan/phpstan": "^2.1",
27-
"phpunit/phpunit": "^9.0"
30+
"phpunit/phpunit": "^11.5.15 || ^12.0"
2831
},
2932
"autoload": {
3033
"psr-4": {
@@ -42,7 +45,10 @@
4245

4346
},
4447
"config": {
45-
"sort-packages": true
48+
"sort-packages": true,
49+
"allow-plugins": {
50+
"pestphp/pest-plugin": true
51+
}
4652
},
4753
"extra": {
4854
"laravel": {

0 commit comments

Comments
 (0)