Skip to content

Commit 552b392

Browse files
committed
Drop PHP 7.1 support
1 parent e3f8096 commit 552b392

File tree

2 files changed

+34
-26
lines changed

2 files changed

+34
-26
lines changed

composer.json

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "sassnowski/laravel-shareable-models",
3-
"type": "library",
43
"description": "Create shareable links from your eloquent models.",
54
"license": "MIT",
5+
"type": "library",
66
"authors": [
77
{
88
"name": "Kai Sassnowski",
99
"email": "[email protected]"
1010
}
1111
],
1212
"require": {
13-
"php": "^7.4 || ^8.0",
13+
"php": "^8.0",
1414
"illuminate/database": "^9.0",
1515
"illuminate/http": "^9.0",
1616
"illuminate/support": "^9.0",
@@ -25,13 +25,8 @@
2525
"phpunit/phpunit": "^9.5.8",
2626
"roave/security-advisories": "dev-latest"
2727
},
28-
"extra": {
29-
"laravel": {
30-
"providers": [
31-
"Sassnowski\\LaravelShareableModel\\ShareableLinkServiceProvider"
32-
]
33-
}
34-
},
28+
"minimum-stability": "dev",
29+
"prefer-stable": true,
3530
"autoload": {
3631
"psr-4": {
3732
"Sassnowski\\LaravelShareableModel\\": "src/"
@@ -42,22 +37,32 @@
4237
"Sassnowski\\LaravelShareableModel\\Tests\\": "tests/"
4338
}
4439
},
45-
"minimum-stability": "dev",
46-
"prefer-stable": true,
40+
"config": {
41+
"allow-plugins": {
42+
"ergebnis/composer-normalize": true
43+
}
44+
},
45+
"extra": {
46+
"laravel": {
47+
"providers": [
48+
"Sassnowski\\LaravelShareableModel\\ShareableLinkServiceProvider"
49+
]
50+
}
51+
},
4752
"scripts": {
4853
"post-install-cmd": [
4954
"@composer normalize"
5055
],
5156
"post-update-cmd": [
5257
"@composer normalize"
5358
],
59+
"analyse": [
60+
"vendor/bin/phpstan analyse"
61+
],
5462
"check": [
5563
"@analyse",
5664
"@test"
5765
],
58-
"analyse": [
59-
"vendor/bin/phpstan analyse"
60-
],
6166
"test": [
6267
"vendor/bin/phpunit"
6368
]

composer.lock

Lines changed: 15 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)