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: PHP CodeSniffer on settings.ddev.php for Drupal 8 - 11 #6217

Merged
merged 1 commit into from
May 20, 2024

Conversation

truls1502
Copy link
Contributor

The Issue

The settings.ddev.php file from Drupal versions 8 to 11 had various PHP CodeSniffer violations.

How This PR Solves The Issue

Correcting these PHP CodeSniffer violations using default Drupal rules ensures our Drupal configurations adhere to standard code quality norms and fix the issues.

Manual Testing Instructions

  • Copy those files to your Drupal Composer project
  • Ensure PHP CodeSniffer (drupal/coder) with Drupal rules installed
  • Run phpcs to validate the settings.ddev.php files.

Automated Testing Overview

This PR does not introduce new functionality that will be covered by existing automated tests. If not, let me know, so we can create a test for it.

@truls1502 truls1502 requested a review from a team as a code owner May 19, 2024 11:14
Copy link

@truls1502 truls1502 changed the title fix(drupal): Fix PHP CodeSniffer on settings.ddev.php for Drupal 8 - 11 fix: PHP CodeSniffer on settings.ddev.php for Drupal 8 - 11 May 19, 2024
Copy link
Member

@rfay rfay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no objection!

@tyler36
Copy link
Collaborator

tyler36 commented May 20, 2024

Thank you so much! This was annoying me for so long but I never got around to fixing it.

@rfay rfay merged commit 6eaf943 into ddev:master May 20, 2024
19 of 20 checks passed
jonesrussell pushed a commit to jonesrussell/ddev that referenced this pull request Jun 9, 2024
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 this pull request may close these issues.

None yet

3 participants