-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
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
Is blacklist
setting supposed to act as a pattern ?
#1422
Comments
According to this test it is: https://github.com/box-project/box/blob/main/tests/Configuration/ConfigurationFileTest.php#L39 I'm not sure having a cursory look at the code though. So it should be clarified in the docs. |
@theofidry I don't think the test match my context. I've added
|
Ah ok I did not get that. Yes indeed it's 100% a bug then, possibly one that's always been there 😅 |
As a fallback: maybe using finders would be simpler in your case? |
Alternative (I've adopted) |
Hello,
Working on my project https://github.com/llaville/php-compatinfo-db that use Doctrine, I've recently found a possible bug.
I wanted to have control on files/dirs included, so I've removed the
force-autodiscovery
setting (https://github.com/llaville/php-compatinfo-db/blob/6.12/box.json#L3), and replace it by :But with
blacklist/doc
it also excluded to add myvendor/doctrine
folder with contains Doctrine DBAL and ORM dependencies.So the question is : Is
blacklist
setting supposed to act as a pattern ? or is it a bug ?If it's not a bug, the BOX documentation should explains it
The text was updated successfully, but these errors were encountered: