build: add PSR-12 and PHPStan tooling with lint/analyse scripts #200

Merged
manlycucumber merged 1 commit from feature/8-quality-tooling into develop 2026-07-01 02:25:09 +00:00
manlycucumber commented 2026-07-01 02:24:23 +00:00 (Migrated from github.com)

Closes #8

Enforces style and type discipline from day one.

  • phpcs.xml.dist: PSR-12 over src/ (test sources added with the first tests)
  • phpstan.neon.dist: level 6 over src/
  • composer scripts: lint (phpcs), lint:fix (phpcbf), analyse (phpstan), check (both)
  • CI now runs composer validate, install, php -l, phpcs and phpstan across the 7.4→8.3 matrix
  • Both tools run clean on the scaffold locally (phpcs 1/1 100%, phpstan [OK] No errors)
Closes #8 Enforces style and type discipline from day one. - `phpcs.xml.dist`: PSR-12 over `src/` (test sources added with the first tests) - `phpstan.neon.dist`: level 6 over `src/` - composer scripts: `lint` (phpcs), `lint:fix` (phpcbf), `analyse` (phpstan), `check` (both) - CI now runs `composer validate`, install, `php -l`, phpcs and phpstan across the 7.4→8.3 matrix - Both tools run clean on the scaffold locally (phpcs `1/1 100%`, phpstan `[OK] No errors`)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Directorium/Core!200
No description provided.