Skip to content

Commit 31bf026

Browse files
Update blueprint version, remove redundant php 8.1 support (^8.0 alre… (#22)
* Update blueprint version, remove redundant php 8.1 support (^8.0 already provides for it) * Fix cs * Update versions, remove all versions
1 parent 8ca5a1e commit 31bf026

File tree

2 files changed

+16
-22
lines changed

2 files changed

+16
-22
lines changed

composer.json

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,34 +13,28 @@
1313
"email": "[email protected]"
1414
}],
1515
"require": {
16-
"php": "^7.2.5|^8.0|^8.1",
17-
"dingo/blueprint": "dev-patch-1",
18-
"illuminate/routing": "^7.0|^8.0|^9.0",
19-
"illuminate/support": "^7.0|^8.0|^9.0",
16+
"php": "^8.0",
17+
"dingo/blueprint": "^0.4.4",
18+
"illuminate/routing": "^9.0",
19+
"illuminate/support": "^9.0",
2020
"league/fractal": "^0.20"
2121
},
2222
"require-dev": {
23-
"friendsofphp/php-cs-fixer": "~2|~3",
24-
"illuminate/auth": "^7.0|^8.0|^9.0",
25-
"illuminate/cache": "^7.0|^8.0|^9.0",
26-
"illuminate/console": "^7.0|^8.0|^9.0",
27-
"illuminate/database": "^7.0|^8.0|^9.0",
28-
"illuminate/events": "^7.0|^8.0|^9.0",
29-
"illuminate/filesystem": "^7.0|^8.0|^9.0",
30-
"illuminate/log": "^7.0|^8.0|^9.0",
31-
"illuminate/pagination": "^7.0|^8.0|^9.0",
32-
"laravel/lumen-framework": "^7.0|^8.0|^9.0",
23+
"friendsofphp/php-cs-fixer": "~3",
24+
"illuminate/auth": "^9.0",
25+
"illuminate/cache": "^9.0",
26+
"illuminate/console": "^9.0",
27+
"illuminate/database": "^9.0",
28+
"illuminate/events": "^9.0",
29+
"illuminate/filesystem": "^9.0",
30+
"illuminate/log": "^9.0",
31+
"illuminate/pagination": "^9.0",
32+
"laravel/lumen-framework": "^9.0",
3333
"mockery/mockery": "~1.0",
34-
"phpunit/phpunit": "^8.5|^9.0",
34+
"phpunit/phpunit": "^9.0",
3535
"squizlabs/php_codesniffer": "~2.0",
3636
"php-open-source-saver/jwt-auth": "^1.4"
3737
},
38-
"repositories": [
39-
{
40-
"type": "vcs",
41-
"url": "https://github.com/dmason30/blueprint"
42-
}
43-
],
4438
"suggest": {
4539
"php-open-source-saver/jwt-auth": "Protect your API with JSON Web Tokens."
4640
},

src/Http/Response/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function item($item, $transformer = null, $parameters = [], Closure $afte
126126
if (! is_null($item)) {
127127
$class = get_class($item);
128128
} else {
129-
$class = \StdClass::class;
129+
$class = \stdClass::class;
130130
}
131131

132132
if ($parameters instanceof \Closure) {

0 commit comments

Comments
 (0)