diff --git a/.github/workflows/run-integration-tests.yml b/.github/workflows/run-integration-tests.yml index a7632bc..0fce49f 100644 --- a/.github/workflows/run-integration-tests.yml +++ b/.github/workflows/run-integration-tests.yml @@ -37,6 +37,7 @@ jobs: run: | composer create-project --prefer-dist laravel/lumen:${{ matrix.lumen }} --no-progress sample cd sample + composer config minimum-stability dev composer require "league/flysystem:^1" --no-update --no-progress composer update --prefer-stable --prefer-dist --no-progress @@ -105,6 +106,7 @@ jobs: run: | composer create-project --prefer-dist laravel/laravel:${{ matrix.laravel }} --no-progress sample cd sample + composer config minimum-stability dev composer update --prefer-stable --prefer-dist --no-progress - name: Add package from source diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php index 9d78583..6f75bcc 100644 --- a/src/Console/ModelsCommand.php +++ b/src/Console/ModelsCommand.php @@ -935,14 +935,14 @@ class ModelsCommand extends Command // remove the already existing tag to prevent duplicates foreach ($phpdoc->getTagsByName('mixin') as $tag) { - if($tag->getContent() === $eloquentClassNameInModel) { + if ($tag->getContent() === $eloquentClassNameInModel) { $phpdoc->deleteTag($tag); } } $phpdoc->appendTag(Tag::createInstance('@mixin ' . $eloquentClassNameInModel, $phpdoc)); } - + if ($this->phpstorm_noinspections) { /** * Facades, Eloquent API