Skip to content

Commit eaba210

Browse files
committed
Fix dependencies to work with **Laravel 11** last version.
1 parent 4daca42 commit eaba210

File tree

5 files changed

+3367
-2655
lines changed

5 files changed

+3367
-2655
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `laravel-api-resource-generator` will be documented in this file.
44

5+
## 1.4.1 - 2024-12-07
6+
7+
- Fix dependencies to work with **Laravel 11** last version.
8+
59
## 1.4.0 - 2024-04-16
610

711
- Added option to generate multiple resources at once.

build/report.junit.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<testsuites>
3-
<testsuite name="" tests="3" assertions="4" errors="0" warnings="0" failures="0" skipped="0" time="0.203934">
4-
<testsuite name="P\Tests\Feature\Test" file="C:\laragon\www\custom-packages\laravel-api-resource-generator\vendor\pestphp\pest\src\Factories\TestCaseFactory.php(223) : eval()'d code" tests="3" assertions="4" errors="0" warnings="0" failures="0" skipped="0" time="0.203934">
5-
<testcase name="it database users table has been created" assertions="1" time="0.096050"/>
6-
<testcase name="it can generate a resource" assertions="1" time="0.093684"/>
7-
<testcase name="it can generate a resource for multiple models" assertions="2" time="0.014201"/>
3+
<testsuite name="C:\laragon\www\custom-packages\laravel-api-resource-generator\phpunit.xml.dist" tests="3" assertions="4" errors="0" failures="0" skipped="0" time="0.289931">
4+
<testsuite name="Alibori Test Suite" tests="3" assertions="4" errors="0" failures="0" skipped="0" time="0.289931">
5+
<testsuite name="Tests\Feature\Test" file="tests\Feature\Test.php" tests="3" assertions="4" errors="0" failures="0" skipped="0" time="0.289931">
6+
<testcase name="it database users table has been created" file="tests\Feature\Test.php::it database users table has been created" class="Tests\Feature\Test" classname="Tests.Feature.Test" assertions="1" time="0.230880"/>
7+
<testcase name="it can generate a resource" file="tests\Feature\Test.php::it can generate a resource" class="Tests\Feature\Test" classname="Tests.Feature.Test" assertions="1" time="0.042592"/>
8+
<testcase name="it can generate a resource for multiple models" file="tests\Feature\Test.php::it can generate a resource for multiple models" class="Tests\Feature\Test" classname="Tests.Feature.Test" assertions="2" time="0.016458"/>
9+
</testsuite>
810
</testsuite>
911
</testsuite>
1012
</testsuites>

composer.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,20 @@
3333
],
3434
"license": "MIT",
3535
"require": {
36-
"php": ">=8.1",
37-
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
38-
"illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
39-
"illuminate/filesystem": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
40-
"doctrine/dbal": "^2.9|^2.10|^3.0",
41-
"illuminate/database": "^9.1|^9.2|^10.0|^11.0",
36+
"php": ">=8.2",
37+
"illuminate/support": "^11.15",
38+
"illuminate/console": "^11.15",
39+
"illuminate/filesystem": "^11.15",
40+
"illuminate/database": "^11.15",
4241
"barryvdh/reflection-docblock": "^2.1"
4342
},
4443
"minimum-stability": "dev",
4544
"prefer-stable": true,
4645
"require-dev": {
47-
"orchestra/testbench": "^7.22|^8.11|^9.0",
48-
"laravel/pint": "^1.6",
49-
"pestphp/pest": "^1.22",
50-
"pestphp/pest-plugin-laravel": "^1.4"
46+
"orchestra/testbench": "^9.6",
47+
"laravel/pint": "^1.18",
48+
"pestphp/pest": "^3.6",
49+
"pestphp/pest-plugin-laravel": "^3.0"
5150
},
5251
"scripts": {
5352
"test": "vendor/bin/pest",

0 commit comments

Comments
 (0)