Skip to content

Use StructArmed on QA - #21

Open
samsonasik wants to merge 2 commits into
calebdw:masterfrom
samsonasik:use-structarmed-on-qa
Open

samsonasik wants to merge 2 commits into
calebdw:masterfrom
samsonasik:use-structarmed-on-qa

Conversation

@samsonasik

@samsonasik samsonasik commented Oct 10, 2026 •

Copy link
Copy Markdown

This PR to make use of StructArmed.

This PR start apply StructArmed with initialize using PSR4 and CODEQUALITY preset, and already help fix 19 violations.

On CODEQUALITY preset, it help apply to use static on anonymous function when possible.

Applied with single command:

vendor/bin/structarmed analyze --fix

Currently applied on src directory for easier to review.

I also enable ruleset above so it show more ability of layering setup to define which layers each layer is allowed to depend on.

I also added to composer script so github action will auto use it with:

composer test

@samsonasik

Copy link
Copy Markdown
Author

@calebdw ready for review/merge 👍

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