Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Nov 27, 2023
1 parent 08a93ad commit 9e45f56
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
11 changes: 11 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\Foundation\\\\Application\\:\\:joinPaths\\(\\)\\.$#"
count: 1
path: src/Commands/MigrationGeneratorCommand.php

-
message: "#^Cannot access offset 'migration\\.creator' on Illuminate\\\\Contracts\\\\Foundation\\\\Application\\.$#"
count: 1
path: src/Commands/MigrationGeneratorCommand.php
5 changes: 3 additions & 2 deletions src/Concerns/UsesGeneratorOverrides.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Orchestra\Canvas\Core\Concerns;

use Illuminate\Console\Generators\Presets\Preset;
use Illuminate\Support\Str;
use Symfony\Component\Finder\Finder;

Expand Down Expand Up @@ -107,6 +106,8 @@ abstract protected function rootNamespace();

/**
* Resolve the generator preset.
*
* @return \Illuminate\Console\Generators\Presets\Preset
*/
abstract protected function generatorPreset(): Preset;
abstract protected function generatorPreset();
}

0 comments on commit 9e45f56

Please sign in to comment.