Bump php to ^8.0, add tooling, linting, fixes

This commit is contained in:
Ismo Vuorinen
2024-12-11 12:58:22 +02:00
parent e12085be2c
commit aec5ec026a
30 changed files with 4467 additions and 2018 deletions

View File

@@ -2,15 +2,15 @@
namespace nullthoughts\LaravelDataSync\Tests\Fakes;
use nullthoughts\LaravelDataSync\Updater;
use Illuminate\Support\Str;
use nullthoughts\LaravelDataSync\Updater;
class UpdaterFake extends Updater
{
protected function getModel(string $name)
{
return '\\nullthoughts\\LaravelDataSync\\Tests\\'.Str::studly(
pathinfo($name, PATHINFO_FILENAME)
);
pathinfo($name, PATHINFO_FILENAME)
);
}
}
}