Skip to content

ci: adopt property-inspector workflow pattern (ARFA 1.43 V4.0)#10

Merged
walmir-silva merged 1 commit intomainfrom
develop
Mar 4, 2026
Merged

ci: adopt property-inspector workflow pattern (ARFA 1.43 V4.0)#10
walmir-silva merged 1 commit intomainfrom
develop

Conversation

@walmir-silva
Copy link
Contributor

Replace all 3 workflow files with the canonical KaririCode pattern established in kariricode/property-inspector:

ci.yml:

  • Add 'Patch phpunit.xml.dist' step (beStrictAboutCoverageMetadata=false) to suppress false 'not a valid target' warnings from vendor base classes

code-quality.yml (full rewrite — 5 parallel jobs):

  • dependencies: composer validate --strict + check-platform-reqs
  • security: composer audit --format=plain
  • analyse: PHPStan L9 + Psalm via kcode analyse (+ phpunit.xml.dist patch)
  • cs-fixer: kcode cs:fix --check (dry-run)
  • tests: kcode test --coverage (175 tests, 425 assertions, pcov)
  • quality-summary: gate job (if: always()) with GitHub Step Summary table

release.yml:

  • kcode quality gate before release creation
  • phpunit.xml.dist patch step included
  • Sanitizer-specific release body (33 rules, #[Sanitize] quick start, 175/425 quality metrics)

chore: remove orphaned kariri-ci-cd.yml (superseded by ci.yml)

Replace all 3 workflow files with the canonical KaririCode pattern
established in kariricode/property-inspector:

ci.yml:
  - Add 'Patch phpunit.xml.dist' step (beStrictAboutCoverageMetadata=false)
    to suppress false 'not a valid target' warnings from vendor base classes

code-quality.yml (full rewrite — 5 parallel jobs):
  - dependencies: composer validate --strict + check-platform-reqs
  - security: composer audit --format=plain
  - analyse: PHPStan L9 + Psalm via kcode analyse (+ phpunit.xml.dist patch)
  - cs-fixer: kcode cs:fix --check (dry-run)
  - tests: kcode test --coverage (175 tests, 425 assertions, pcov)
  - quality-summary: gate job (if: always()) with GitHub Step Summary table

release.yml:
  - kcode quality gate before release creation
  - phpunit.xml.dist patch step included
  - Sanitizer-specific release body (33 rules, #[Sanitize] quick start,
    175/425 quality metrics)

chore: remove orphaned kariri-ci-cd.yml (superseded by ci.yml)
@walmir-silva walmir-silva merged commit fe50ab4 into main Mar 4, 2026
8 of 13 checks passed
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