Skip to content

Use StructArmed on QA - #12

Merged
SanderMuller merged 3 commits into
SanderMuller:mainfrom
samsonasik:use-structarmed-on-qa
Oct 12, 2026
Merged

SanderMuller merged 3 commits into
SanderMuller:mainfrom
samsonasik:use-structarmed-on-qa

Conversation

@samsonasik

@samsonasik samsonasik commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

This PR to make use of StructArmed.

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

On CODEQUALITY, it fixed to use static on anonymous function when possible and make use of _ separator on big numbers.

applied with single command:

vendor/bin/structarmed analyze --fix

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 register to github action and composer script.

@samsonasik

Copy link
Copy Markdown
Contributor Author

@SanderMuller ready for review/merge 👍

The import only served a docblock link, but StructArmed counts it as a
dependency from the RunLog layer on the ServiceProvider layer. Describe
the provider in words instead, so the layer rule holds and Pint does not
add the import back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@SanderMuller
SanderMuller merged commit 7546273 into SanderMuller:main Oct 12, 2026
17 checks passed
@SanderMuller

Copy link
Copy Markdown
Owner

Thank you!

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.

2 participants