ComposerRequireChecker icon indicating copy to clipboard operation
ComposerRequireChecker copied to clipboard

Recursively find files

Open steevanbarboyon opened this issue 4 years ago • 3 comments

Hi,

With scan-files I can't recursively find files: foo/*.php will only search in foo directory, not in subdirectories.

Ho can I do it?

Thanks

steevanbarboyon avatar Jul 01 '21 07:07 steevanbarboyon

scan-files follow the glob pattern. So as far as i know it should be possible but never tried it myself or have seen it in the tests here. See here the glob pattern syntax: https://github.com/webmozarts/glob

/foo/**/*.php should maybe do the trick.

DanielBadura avatar Jul 01 '21 08:07 DanielBadura

Ok thanks, you can close this issue :)

steevanb avatar Mar 28 '22 15:03 steevanb

Did it worked out?

DanielBadura avatar Mar 28 '22 15:03 DanielBadura

I can confirm that foo/**/*.php works for me. I guess this issue can be closed by someone with the power to do so. :slightly_smiling_face:

crocodele avatar Oct 20 '22 11:10 crocodele