Skip to content

Add PHPStan, PHPCS, and composer QA scripts#89

Merged
alganet merged 1 commit intoRespect:masterfrom
alganet:composer-qa
Mar 15, 2026
Merged

Add PHPStan, PHPCS, and composer QA scripts#89
alganet merged 1 commit intoRespect:masterfrom
alganet:composer-qa

Conversation

@alganet
Copy link
Member

@alganet alganet commented Mar 15, 2026

Add static analysis (PHPStan level 1) and code style checking (PHPCS with respect/coding-standard) as dev dependencies. Configure composer scripts for phpcs, phpstan, phpunit, and qa. PHPStan ignores are set for magic method patterns (__callStatic, new static()) and known test quirks (duplicate array keys, property unsetting with hooks) that are by-design in this project.

Add static analysis (PHPStan level 1) and code style checking
(PHPCS with respect/coding-standard) as dev dependencies.
Configure composer scripts for phpcs, phpstan, phpunit, and qa.
PHPStan ignores are set for magic method patterns (__callStatic,
new static()) and known test quirks (duplicate array keys,
property unsetting with hooks) that are by-design in this project.
@alganet alganet marked this pull request as ready for review March 15, 2026 00:46
@alganet alganet merged commit 7f3b718 into Respect:master Mar 15, 2026
1 check passed
@alganet alganet deleted the composer-qa branch March 15, 2026 00:46
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