We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assuming you have a configuration with a ruleset where a layer does not define any dependencies, e.g. this one:
paths: - ./src exclude_files: - '#.*test.*#' layers: - name: Controllers collectors: - type: className regex: ^App\\Controller\\.* ruleset: Controllers: ~ # or its equivalent: null
This will produce the following error:
In ArrayNode.php line 260: Invalid type for path "deptrac.ruleset.Controllers". Expected "array", but got "string"
The current workaround is to assign an empty list, i.e. Controllers: [], but it would be nice, if null/ ~ would work as well.
Controllers: []
null
~
The text was updated successfully, but these errors were encountered:
I can't reproduce this anymore, so closed for now
Sorry, something went wrong.
No branches or pull requests
Assuming you have a configuration with a ruleset where a layer does not define any dependencies, e.g. this one:
This will produce the following error:
The current workaround is to assign an empty list, i.e.
Controllers: []
, but it would be nice, ifnull
/~
would work as well.The text was updated successfully, but these errors were encountered: