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 Oct 3, 2023
1 parent 63e5411 commit 27ac6b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 10 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ parameters:
count: 1
path: src/Commands/GeneratorCommand.php

-
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

-
message: "#^Parameter \\#1 \\$app of class Orchestra\\\\Canvas\\\\Core\\\\Presets\\\\Laravel constructor expects Illuminate\\\\Contracts\\\\Foundation\\\\Application, Illuminate\\\\Contracts\\\\Container\\\\Container given\\.$#"
count: 1
Expand Down
4 changes: 1 addition & 3 deletions src/Commands/MigrationGeneratorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@
* @property string|null $name
* @property string|null $description
*/
class MigrationGeneratorCommand extends \Illuminate\Console\MigrationGeneratorCommand
abstract class MigrationGeneratorCommand extends \Illuminate\Console\MigrationGeneratorCommand
{
use MigrationGenerator;

/**
* Create a new notifications table command instance.
*
* @param \Illuminate\Filesystem\Filesystem $files
* @param \Illuminate\Support\Composer $composer
* @return void
*/
public function __construct(Filesystem $files, Composer $composer)
Expand Down

0 comments on commit 27ac6b0

Please sign in to comment.