Skip to content

chore: Add Structarmed to QA#10180

Open
samsonasik wants to merge 5 commits intocodeigniter4:developfrom
samsonasik:chore-add-structarmed
Open

chore: Add Structarmed to QA#10180
samsonasik wants to merge 5 commits intocodeigniter4:developfrom
samsonasik:chore-add-structarmed

Conversation

@samsonasik
Copy link
Copy Markdown
Member

@samsonasik samsonasik commented May 10, 2026

Description

This is continue of PR that detected by Structarmed

to automate architecture definition check on github workflows.

https://github.com/boundwize/structarmed

Structarmed is configurable PHP architecture guards, this we can define layers and rules, then keep them enforced.

On early of this PR, only check PSR4 usage. Use pinned version 0.3.4 on purpose to ease catch bug isolation when new version released.

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@github-actions github-actions Bot added the github_actions Pull requests that update Github_actions code label May 10, 2026
@samsonasik
Copy link
Copy Markdown
Member Author

Ready for review/merge 👍

@samsonasik
Copy link
Copy Markdown
Member Author

The Structarmed github caching seems not reliable for now, I will try improve later, but this seems should be ok for now, as it pretty fast :)

@neznaika0
Copy link
Copy Markdown
Contributor

I don't see any practical benefit from the package yet. Perhaps it will grow further into something similar to deptrac...

@samsonasik
Copy link
Copy Markdown
Member Author

It trades deptrac's flexibility and maturity for a dramatically lower setup cost, opinionated presets, PHP-native config, and PHPUnit integration out of the box.

@samsonasik
Copy link
Copy Markdown
Member Author

samsonasik commented May 10, 2026

Btw, just bumped structarmed to 0.3.3 to properly fix cache on CI workflow, tested in my own repo samsonasik/ArrayLookup#44

This should be ok now 👍

@samsonasik
Copy link
Copy Markdown
Member Author

Bumped to 0.3.4 to fix very long list progressbar 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update Github_actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants