Skip to content

Commit

Permalink
Use more precise regex
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb committed Feb 14, 2019
1 parent 7404c10 commit 028bdc5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class ExcludeFileByNameFilterIterator extends \RecursiveFilterIterator {
* @var array
*/
private $excludedFilenamePatterns = [
'/^\.webapp-nextcloud-.*/', // Gentoo/Funtoo & derivatives use a tool known as webapp-config to manage wep-apps.
'/^\.webapp-nextcloud-(\d+.){2}(\d+)/', // Gentoo/Funtoo & derivatives use a tool known as webapp-config to manage wep-apps.
];

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public function setUp() {
->disableOriginalConstructor()
->setMethods(['current'])
->getMock();

}

public function fileNameProvider(): array {
Expand Down

0 comments on commit 028bdc5

Please sign in to comment.