Skip to content

Commit

Permalink
Merge pull request #19 from PlannrCrm/feature/laravel-11-support
Browse files Browse the repository at this point in the history
Feature | Add support for Laravel 11
  • Loading branch information
Sammyjo20 authored Apr 8, 2024
2 parents f5055bd + c03839d commit b462772
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 46 deletions.
31 changes: 9 additions & 22 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,31 @@
{
"name": "plannr/laravel-fast-refresh-database",
"description": "Refresh your database faster than you've ever seen before 🚀",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"Plannr\\Laravel\\FastRefreshDatabase\\": "src/"
}
},
"type": "library",
"authors": [
{
"name": "Sam Carré",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"require": {
"php": "^8.1",
"symfony/process": "^5.0|^6.0"
"symfony/process": "^6.0 || ^7.0"
},
"require-dev": {
"orchestra/testbench": "^7.17",
"pestphp/pest": "^1.22",
"friendsofphp/php-cs-fixer": "^3.13",
"symfony/var-dumper": "^6.2"
"orchestra/testbench": "^9.0"
},
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"Plannr\\Laravel\\FastRefreshDatabase\\": "src/"
}
},
"scripts": {
"post-autoload-dump": [
"@php vendor/bin/testbench package:discover --ansi"
],
"test": [
"./vendor/bin/pest"
],
"fix-code": [
"./vendor/bin/php-cs-fixer fix"
]
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
}
4 changes: 2 additions & 2 deletions src/Traits/FastRefreshDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace Plannr\Laravel\FastRefreshDatabase\Traits;

use SplFileInfo;
use Illuminate\Support\Str;
use Symfony\Component\Finder\Finder;
use Symfony\Component\Process\Process;
use Illuminate\Database\ConnectionInterface;
use Illuminate\Support\Str;
use Illuminate\Contracts\Console\Kernel;
use Illuminate\Database\ConnectionInterface;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\RefreshDatabaseState;
use Plannr\Laravel\FastRefreshDatabase\Data\FastRefreshDatabaseState;
Expand Down
5 changes: 0 additions & 5 deletions tests/ExampleTest.php

This file was deleted.

17 changes: 0 additions & 17 deletions tests/Pest.php

This file was deleted.

0 comments on commit b462772

Please sign in to comment.