Skip to content

Commit

Permalink
Fix dependencies to work with **Laravel 11** last version.
Browse files Browse the repository at this point in the history
  • Loading branch information
alibori committed Dec 7, 2024
1 parent 4daca42 commit eaba210
Show file tree
Hide file tree
Showing 5 changed files with 3,367 additions and 2,655 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

## 1.4.1 - 2024-12-07

- Fix dependencies to work with **Laravel 11** last version.

## 1.4.0 - 2024-04-16

- Added option to generate multiple resources at once.
Expand Down
12 changes: 7 additions & 5 deletions build/report.junit.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="" tests="3" assertions="4" errors="0" warnings="0" failures="0" skipped="0" time="0.203934">
<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">
<testcase name="it database users table has been created" assertions="1" time="0.096050"/>
<testcase name="it can generate a resource" assertions="1" time="0.093684"/>
<testcase name="it can generate a resource for multiple models" assertions="2" time="0.014201"/>
<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">
<testsuite name="Alibori Test Suite" tests="3" assertions="4" errors="0" failures="0" skipped="0" time="0.289931">
<testsuite name="Tests\Feature\Test" file="tests\Feature\Test.php" tests="3" assertions="4" errors="0" failures="0" skipped="0" time="0.289931">
<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"/>
<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"/>
<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"/>
</testsuite>
</testsuite>
</testsuite>
</testsuites>
19 changes: 9 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,20 @@
],
"license": "MIT",
"require": {
"php": ">=8.1",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/filesystem": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"doctrine/dbal": "^2.9|^2.10|^3.0",
"illuminate/database": "^9.1|^9.2|^10.0|^11.0",
"php": ">=8.2",
"illuminate/support": "^11.15",
"illuminate/console": "^11.15",
"illuminate/filesystem": "^11.15",
"illuminate/database": "^11.15",
"barryvdh/reflection-docblock": "^2.1"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"orchestra/testbench": "^7.22|^8.11|^9.0",
"laravel/pint": "^1.6",
"pestphp/pest": "^1.22",
"pestphp/pest-plugin-laravel": "^1.4"
"orchestra/testbench": "^9.6",
"laravel/pint": "^1.18",
"pestphp/pest": "^3.6",
"pestphp/pest-plugin-laravel": "^3.0"
},
"scripts": {
"test": "vendor/bin/pest",
Expand Down
Loading

0 comments on commit eaba210

Please sign in to comment.