Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Drush command for configuring PHPStan #391

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

Open
mglaman wants to merge 6 commits into main
base: main
Choose a base branch
Loading
from gh343
Open

Add Drush command for configuring PHPStan #391

mglaman wants to merge 6 commits into main from gh343

Conversation

@mglaman
Copy link
Owner

@mglaman mglaman commented Apr 13, 2022
edited
Loading

Fixes #343

Copy link
Owner Author

mglaman commented Apr 13, 2022

Instead of being used to dump phpstan.neon, could be a supplemental file that gets included into the phpstan.neon for drupal related items.

Copy link
Contributor

You don’t need to use nette/neon to write the file, you can output it like a human would, by echoing tabs and newlines 😊

Copy link
Owner Author

mglaman commented Apr 14, 2022

You don’t need to use nette/neon to write the file, you can output it like a human would, by echoing tabs and newlines 😊

😅 Yeah, thinking back it's not that bad. Especially since it's just "is string or array?" But apparently it was too much for my end of day brain

Copy link
Owner Author

mglaman commented May 4, 2022

Fails due to Symfony v4 and v6 compat, see https://github.com/drush-ops/drush/pull/5108/files#diff-fcb54a74a331c6112bd5cf5e32f08a4d0a39f42c16833b899b4fac0339d453c7

Need to call \Drush\Preflight\Preflight::loadSymfonyCompatabilityAutoloader – Drush 11 only!

Copy link

batkor commented May 2, 2025

Hi.
Please see this my commit batkor@b6afcce
I stard create drushGenerator command for generate drupal meta data.
And use metadata map on rules.

i think need generate another metadata and integrate to on remain rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Provide a Drush command to generate configuration

AltStyle によって変換されたページ (->オリジナル) /