-
-
Notifications
You must be signed in to change notification settings - Fork 0
Updated to be compatible with PHPCS4. #6
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
Conversation
📝 WalkthroughWalkthroughAdds PHPCS v3/v4 testing to the CI matrix, updates composer constraints to allow PHPCS v4 and Drupal coder v9-alpha, and silences PHPCS output in a functional test by adding the -q flag. Changes
Sequence Diagram(s)sequenceDiagram
participant GH as GitHub Actions runner
participant Matrix as Job Matrix (php-versions × phpcs-versions)
participant Step as Job Steps
participant Artifact as Upload Artifact
Note over GH,Matrix: For each combination (php, phpcs)
GH->>Matrix: start job
Matrix->>Step: checkout, setup php
Step->>Step: determine phpcs version
alt phpcs == 3
Step->>Step: composer require squizlabs/php_codesniffer:^3.10 drupal/coder:^8.3
else phpcs == 4
Step->>Step: composer require squizlabs/php_codesniffer:^4 drupal/coder:^9@alpha
end
Step->>Step: run tests (PHPCS invoked with -q in functional tests)
Step->>Artifact: upload `...-php${{ matrix.php-versions }}-phpcs${{ matrix.phpcs-versions }}`
Artifact-->>GH: artifact stored
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (3)
🔇 Additional comments (6)
Comment |
e7088af to
f1e42e2
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 164 164
=========================================
Hits 164 164 ☔ View full report in Codecov by Sentry. |
f1e42e2 to
11848d9
Compare
Summary by CodeRabbit
Chores
Tests
✏️ Tip: You can customize this high-level summary in your review settings.