Repository navigation
Use StructArmed on QA - #7104
samsonasik wants to merge 8 commits into
Conversation
|
@ondrejmirtes ready for review 👍 |
|
@ondrejmirtes this should be ready now 👍 |
|
thanks for preparing the PR. I don't think the reported problems are relevant for phpstan. looks more like cosmetic fixes which are not worth maintaining another tool in our CI pipeline. |
|
@staabm yeah, I can clean codequality preset registration for this PR, so it only give ruleset dependency layers config. I will clean it up when I back to PC today |
|
I don't want to say you need to invest more time to make it acceptable. my feeling is this new CI check "is not valuable" for phpstan-src. at least I don't see which value it is expected to provide |
|
Okay, I think we can wait @ondrejmirtes opinion about it. If you guys want to know more about the capability to show off (eg: YAGNI, STABILITY preset), just let me know :) |
Hi,
This PR makes use of StructArmed as an architecture check on QA.
For starter, this PR apply
PSR4andCodeQualitypreset, and already fix 13 violations:_literal on big numbers.Applied with single command:
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 worklow for it.
Please let me know if this is ok or need simplification/reduction change for starter. Thank you.