[ticket/11699] Exclude build/new_version and build/old_versions from lint.

PHPBB3-11699
[ticket/11699] Properly exclude the .git directory. Namely missing dot prefix.

PHPBB3-11699
[ticket/11699] Also exclude the phpBB/cache directory.

PHPBB3-11699
Merge remote-tracking branch 'bantu/ticket/11699' into develop-olympus

* bantu/ticket/11699:
  [ticket/11699] Also exclude the phpBB/cache directory.
  [ticket/11699] Properly exclude the .git directory. Namely missing dot prefix.
  [ticket/11699] Exclude build/new_version and build/old_versions from lint.
Merge branch 'develop-olympus' into develop

* develop-olympus:
  [ticket/11699] Also exclude the phpBB/cache directory.
  [ticket/11699] Properly exclude the .git directory. Namely missing dot prefix.
  [ticket/11699] Exclude build/new_version and build/old_versions from lint.