Skip to content

Scope composer.json rules to the analysed file list on explicit path arguments - #413

Closed
samsonasik wants to merge 2 commits into
mainfrom
scope-composer-json
Closed

Scope composer.json rules to the analysed file list on explicit path arguments#413
samsonasik wants to merge 2 commits into
mainfrom
scope-composer-json

Conversation

@samsonasik

Copy link
Copy Markdown
Member

Run on path argument without including composer.json now show invalid count of files

➜  structarmed git:(main) bin/structarmed analyze src/Analyser/Analyser.php --clear-cache
Analyzing [============================] 100% 2/2

StructArmed dev-main — Architecture Enforcement
=================================================

✅  No violations found. (0.17s)

which should be 1/1 instead of 2/2.

This PR try to fix it.

@samsonasik
samsonasik marked this pull request as draft September 4, 2026 17:18
@samsonasik samsonasik closed this Sep 4, 2026
@samsonasik
samsonasik deleted the scope-composer-json branch September 4, 2026 17:29
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