only findFiles() when searching for definition files recursively

4 jobs for check-command in 24 seconds (queued for 9 seconds)
Status Name Job ID Coverage
  Build
passed build.composer #288914

00:00:09

 
  Test
passed test.linter #288917

00:00:09

passed test.phpstan #288916

00:00:15

passed test.tests #288915

00:00:11