diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index d4d43a7e89..2931b51e45 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -3,8 +3,6 @@ on: push: branches: - 'master' - tags: - - '*' permissions: {} jobs: diff --git a/bin/findpolyfill.php b/bin/findpolyfill.php index 0ba0803625..7a836ec7fa 100644 --- a/bin/findpolyfill.php +++ b/bin/findpolyfill.php @@ -12,7 +12,7 @@ function findPolyfill(string $directory): int . '|enum_exists[(]'; $polyfill = '/\\b(?:' . $polyfill81 - . '})/'; + . ')/'; $it = new RecursiveIteratorIterator( new RecursiveDirectoryIterator($directory, FilesystemIterator::UNIX_PATHS)