Skip to content

Commit

Permalink
Update blueprint version, remove redundant php 8.1 support (^8.0 alre… (
Browse files Browse the repository at this point in the history
#22)

* Update blueprint version, remove redundant php 8.1 support (^8.0 already provides for it)

* Fix cs

* Update versions, remove all versions
  • Loading branch information
specialtactics authored Aug 20, 2022
1 parent 8ca5a1e commit 31bf026
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 22 deletions.
36 changes: 15 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,28 @@
"email": "[email protected]"
}],
"require": {
"php": "^7.2.5|^8.0|^8.1",
"dingo/blueprint": "dev-patch-1",
"illuminate/routing": "^7.0|^8.0|^9.0",
"illuminate/support": "^7.0|^8.0|^9.0",
"php": "^8.0",
"dingo/blueprint": "^0.4.4",
"illuminate/routing": "^9.0",
"illuminate/support": "^9.0",
"league/fractal": "^0.20"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "~2|~3",
"illuminate/auth": "^7.0|^8.0|^9.0",
"illuminate/cache": "^7.0|^8.0|^9.0",
"illuminate/console": "^7.0|^8.0|^9.0",
"illuminate/database": "^7.0|^8.0|^9.0",
"illuminate/events": "^7.0|^8.0|^9.0",
"illuminate/filesystem": "^7.0|^8.0|^9.0",
"illuminate/log": "^7.0|^8.0|^9.0",
"illuminate/pagination": "^7.0|^8.0|^9.0",
"laravel/lumen-framework": "^7.0|^8.0|^9.0",
"friendsofphp/php-cs-fixer": "~3",
"illuminate/auth": "^9.0",
"illuminate/cache": "^9.0",
"illuminate/console": "^9.0",
"illuminate/database": "^9.0",
"illuminate/events": "^9.0",
"illuminate/filesystem": "^9.0",
"illuminate/log": "^9.0",
"illuminate/pagination": "^9.0",
"laravel/lumen-framework": "^9.0",
"mockery/mockery": "~1.0",
"phpunit/phpunit": "^8.5|^9.0",
"phpunit/phpunit": "^9.0",
"squizlabs/php_codesniffer": "~2.0",
"php-open-source-saver/jwt-auth": "^1.4"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/dmason30/blueprint"
}
],
"suggest": {
"php-open-source-saver/jwt-auth": "Protect your API with JSON Web Tokens."
},
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Response/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function item($item, $transformer = null, $parameters = [], Closure $afte
if (! is_null($item)) {
$class = get_class($item);
} else {
$class = \StdClass::class;
$class = \stdClass::class;
}

if ($parameters instanceof \Closure) {
Expand Down

0 comments on commit 31bf026

Please sign in to comment.