Skip to content

Conversation

rmikalkenas
Copy link
Contributor

Currently TypeNameMatchesFileNameSniff fails if file path is /www/src/src/Foo/FooTest.php and defined root namespace is 'src' => 'Slevomat'. By removing current working dir path from files path, we can assure that filepath namspace extractor will do its job correctly.

@c33s
Copy link

c33s commented Jul 16, 2021

@rmikalkenas is there a reason why this wasn't merged? i currently have exactly this problem. see #1249

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