php / doc-base

Tools for the PHP documentation
Other
343 stars 85 forks source link

Use FilesystemIterator constants instead of `isDot` #35

Closed thinkverse closed 3 years ago

thinkverse commented 3 years ago

Since the reading of dotfiles files isn't something we're doing in this script, using the FilesystemIterator::SKIP_DOTS constant removes the use of the isDot check completely. Also makes the code a bit easier to read IMHO.