You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically you either need to specifically call a library API that would always check the content for possible (ambiguous) list of matching languages (e.g GetLanguageByClassifier or GetLanguageByContent that do not depend on file extension), otherwise if used though a high-level API - the first unambiguous strategy will be used, as it is done by CLI which in this case was a file extension.
I'll push a bit of the doc update on use cases, to make more clear soon.
After noticing that
enry
commands ignore files without extension, I Wrote a simple PHP file:Created files with the same content but different extensions:
enry --breakdown
returns:Don't know if that's the desired output.
The text was updated successfully, but these errors were encountered: