Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force FQN is not taken into account when using ide-helper:models --write-mixin #1358

Open
bmoex opened this issue Jun 24, 2022 · 0 comments · May be fixed by #1359
Open

Force FQN is not taken into account when using ide-helper:models --write-mixin #1358

bmoex opened this issue Jun 24, 2022 · 0 comments · May be fixed by #1359
Labels

Comments

@bmoex
Copy link

bmoex commented Jun 24, 2022

Versions:

  • ide-helper Version: 2.12.3
  • Laravel Version: 9.18.0
  • PHP Version: 8.1.6

Description:

Our coding standards require all docprops to be FQN. When i want to use the --write-mixin option it conflicts with our phpcs conditions, if we use our phpcbf to fix it, the mixin will be placed everytime the command is generated.

Steps To Reproduce:

  • Set force_fqn to true
  • Run artisan ide-helper:models --write-mixin
  • Expected: * @mixin \App\Models\IdeHelper<<MODEL>>
@bmoex bmoex added the bug label Jun 24, 2022
@bmoex bmoex linked a pull request Jun 24, 2022 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant