From 337bed720b87daa97a4f5be5aa408e32c8a5e986 Mon Sep 17 00:00:00 2001 From: andergmartins Date: Wed, 10 Nov 2021 21:19:27 -0300 Subject: [PATCH] Improve the PHPLint config --- .github/workflows/phplint.yml | 2 ++ .phplint.yml | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/phplint.yml b/.github/workflows/phplint.yml index c322dd10..37542d6f 100644 --- a/.github/workflows/phplint.yml +++ b/.github/workflows/phplint.yml @@ -16,6 +16,8 @@ jobs: with: php-version: '7.4' extensions: intl + env: + COMPOSER_TOKEN: ${{ secrets.COMPOSER_TOKEN }} - name: Update the composer.lock file run: composer update --lock diff --git a/.phplint.yml b/.phplint.yml index 72125e03..e844221b 100644 --- a/.phplint.yml +++ b/.phplint.yml @@ -1,12 +1,14 @@ path: ./ jobs: 10 -cache: dist/phplint.cache +cache: build/phplint.cache extensions: - php exclude: - vendor - assets_wp - bin - - dist + - build - node_modules + - tests/_output + - tests/_support/_generated warning: false