Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
},
"autoload": {
"psr-4": {
"PlinCode\\KmlParser\\": "src/",
"PlinCode\\KmlParser\\Database\\Factories\\": "database/factories/"
"PlinCode\\KmlParser\\": "src/"
}
},
"autoload-dev": {
Expand Down
19 changes: 0 additions & 19 deletions database/factories/ModelFactory.php

This file was deleted.

2 changes: 0 additions & 2 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ parameters:
paths:
- src
- config
- database
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
Empty file removed resources/views/.gitkeep
Empty file.
21 changes: 0 additions & 21 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,15 @@

namespace PlinCode\KmlParser\Tests;

use Illuminate\Database\Eloquent\Factories\Factory;
use Orchestra\Testbench\TestCase as Orchestra;
use PlinCode\KmlParser\KmlParserServiceProvider;

class TestCase extends Orchestra
{
protected function setUp(): void
{
parent::setUp();

Factory::guessFactoryNamesUsing(
fn (string $modelName) => 'PlinCode\\KmlParser\\Database\\Factories\\'.class_basename($modelName).'Factory'
);
}

protected function getPackageProviders($app)
{
return [
KmlParserServiceProvider::class,
];
}

public function getEnvironmentSetUp($app)
{
config()->set('database.default', 'testing');

/*
foreach (\Illuminate\Support\Facades\File::allFiles(__DIR__ . '/database/migrations') as $migration) {
(include $migration->getRealPath())->up();
}
*/
}
}