Skip to content

feat: add comprehensive Drupal linting and checking infrastructure#4

Open
jjroelofs wants to merge 5 commits into1.xfrom
feature/add-drupal-lint-infrastructure
Open

feat: add comprehensive Drupal linting and checking infrastructure#4
jjroelofs wants to merge 5 commits into1.xfrom
feature/add-drupal-lint-infrastructure

Conversation

@jjroelofs
Copy link
Copy Markdown
Contributor

Summary

  • Add drupal-lint service with PHPCompatibility, Drupal, and DrupalPractice standards
  • Add drupal-lint-auto-fix for automated code standard corrections
  • Add drupal-check service with full dependency management for ai_social_posts

Test plan

  • Run docker compose run --rm drupal-lint to verify linting works
  • Run docker compose run --rm drupal-check to verify dependency checking works
  • Run docker compose run --rm drupal-lint-auto-fix to verify auto-fixing works

🤖 Generated with Claude Code

Jurriaan Roelofs and others added 5 commits September 10, 2025 13:23
Add drupal-lint service with PHPCompatibility, Drupal, and DrupalPractice standards
Add drupal-lint-auto-fix for automated code standard corrections
Add drupal-check service with full dependency management for ai_social_posts
Configure proper module-specific ignore patterns and dependency installation
Ensure compatibility with Drupal 11.2.x-dev and maxlength module requirements

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add GitHub Actions workflow for automated Drupal linting and code quality checks
- Update docker-compose.yml to use Drupal 11.x-dev consistently
- Add automated PHPCompatibility checks for PHP 8.3+ compatibility
- Configure workflows to run on push and pull requests to main/1.x branches

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Separate drupal-check into dedicated job for clearer status reporting
- Maintain existing drupal-lint and compatibility checks
- Improve workflow organization and readability

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Move scripts to scripts/linters/ directory following standard structure
- Replace mglaman/drupal-check with PHPStan analysis for better static analysis
- Add environment variable support for flexible Docker configurations
- Update workflow to use --profile lint for cleaner service management
- Implement proper dependency management with module-specific requirements
- Align with dxpr_theme_helper standards for consistent tooling across projects

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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