From b55769213c538fc302aec024f4b52efa4def42d1 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Sun, 22 Jan 2023 15:01:12 +0100 Subject: [PATCH] Use dev instead of stable (#1409) * Update run-integration-tests.yml * composer fix-style * Update run-integration-tests.yml Co-authored-by: laravel-ide-helper --- .github/workflows/run-integration-tests.yml | 2 ++ src/Console/ModelsCommand.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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