Closed thinkverse closed 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.
FilesystemIterator::SKIP_DOTS
isDot
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 theisDot
check completely. Also makes the code a bit easier to read IMHO.