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

fix: remove ProjectTypes from phpstan command #95

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rfay
Copy link
Member

@rfay rfay commented Nov 28, 2024

The Issue

In DDEV v1.24.0 (HEAD) the drupal111 project type becomes "normal" for D11, and is autodetected in ddev-drupal-contrib tests.

The phpstan command provided by this add-on had a # ProjectTypes: drupal,drupal8,drupal9,drupal10 which isn't very useful. (That directive is intended to not clog up the ddev help when using project types other than Drupal*)

Current tests using DDEV HEAD are failing with "# Command 'phpstan' is not available for the 'drupal11' project type."

How This PR Solves The Issue

Remove the ProjectTypes restriction on this one command. As with the rest of the commands in this add-on, it seems people would not have installed this add-on if they weren't using Drupal.

Manual Testing Instructions

Install add-on
Restart
ddev phpstan

Automated Testing Overview

Related Issue Link(s)

Release/Deployment Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant