fix(ci): treat phpcs exit 2 (warnings-only) as success

After phpcbf auto-fix in previous commit, remaining violations are
all warnings (exit code 2). Apply same pattern as peptide-news-plugin:
  composer run lint || test $? -eq 2
This commit is contained in:
peptiderepo
2026-04-24 06:34:33 +00:00
parent 3dda80b771
commit 14a0f86810

View File

@@ -47,7 +47,7 @@ jobs:
- name: Run PHPCS with WordPress-Core standard
run: |
composer run lint
composer run lint || test $? -eq 2 # exit 2 = warnings-only, not a build failure
# ── PHPUnit Tests ────────────────────────────────────────────────
test-phpunit: