Skip to content

chore: meet the standard setup of a public repo, and correct the README (PHTML-3) - #9

Merged
sorge-it merged 1 commit into
mainfrom
phtml-3-standard-setup
Nov 23, 2026
Merged

sorge-it merged 1 commit into
mainfrom
phtml-3-standard-setup

Conversation

@sorge-it

Copy link
Copy Markdown
Owner

What

The repo meets the standard setup of a public sorge-it repo, and the README states only what the code does.

CI

  • tests.yml: push to main, tags v*, pull requests and weekly. Jobs:
    • PHP 8.3 with the lowest and the locked versions, PHP 8.4 locked, PHP 8.5 newest, PHP 8.5 on macOS locked
    • Coverage with --min=100, Package (validate --strict, audit --locked), Workflows (zizmor, actionlint), Demo
  • mutation.yml: weekly, serial, --min=97. Expectations.php and StackTrace.php are left out: Composer loads them before Pest Mutate can swap in a mutant.
  • Every action pinned by SHA, every image by digest. concurrency, persist-credentials: false, timeout-minutes everywhere.
  • Dependabot for github-actions and docker, monthly, 14 days cooldown, no Composer.
  • composer.lock resolved for PHP 8.3.

Files

  • CONTRIBUTING.md, SECURITY.md, CODE_OF_CONDUCT.md and pull_request_template.md in .github/; LICENSE.md is LICENSE.
  • type-coverage.xml reads src and tests.

README and skill

  • Contents, When to use it and when not to, Scope as a table, Comparison with version and source, Support, the shared author footer.
  • Corrected: the requirements (^13.2, not 13), fragment parsing on PHP 8.3, values in a chain after a check, the ignore example, boost:update.
  • The skill names the PHPUnit method of each expectation.
  • Demo and social preview recorded again.

Tests

Tests for 100% line coverage, among them a check that Rector reads each fixture without a system error. src/ changes in one line, without a change in behavior.

Verified locally in Docker: composer test on PHP 8.3, 8.4 and 8.5, the lowest and the newest stack, coverage 100.0%, mutation 97.03%, zizmor, actionlint, the demo preflight.

@sorge-it
sorge-it force-pushed the phtml-3-standard-setup branch from 137da54 to 4345e76 Compare November 23, 2026 14:07
…ME (PHTML-3)

CI on PHP 8.3 to 8.5 and macOS, 100% coverage, weekly mutation, Package and Workflows jobs, pinned
actions and images, Dependabot. Community files in .github. README: contents, scope, sourced
comparison, support, author; requirements, fragment parsing and chains corrected.
@sorge-it
sorge-it force-pushed the phtml-3-standard-setup branch 3 times, most recently from 3dc81fe to 972bca3 Compare November 23, 2026 14:31
@sorge-it
sorge-it marked this pull request as ready for review November 23, 2026 14:32
@sorge-it
sorge-it merged commit 981d2ba into main Nov 23, 2026
18 checks passed
@sorge-it
sorge-it deleted the phtml-3-standard-setup branch November 23, 2026 14:32
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