From 56ccf82bee4384abcc35f8d00779662627bc686c Mon Sep 17 00:00:00 2001 From: amiabot Date: Thu, 16 Nov 2023 23:27:09 +0000 Subject: [PATCH] Update: synced local '.github/workflows/phpcs.yml' with remote 'workflows/phpcs-default.yml' --- .github/workflows/phpcs.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index 9ee9f6b..d70c09b 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -1,4 +1,5 @@ -name: PHP_CodeSniffer +# This file is managed in https://github.com/happyprime/projects +name: PHPCS (Default, PHP 8.2) on: pull_request @@ -12,7 +13,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.0' + php-version: '8.2' coverage: none tools: composer, cs2pr @@ -28,7 +29,9 @@ jobs: ${{ runner.os }}-composer- - name: Install dependencies - run: composer install --no-interaction --no-scripts + run: | + composer config github-oauth.github.com ${{ secrets.AMIABOT_BOT_TOKEN }} + composer install --prefer-dist --no-progress - name: Detect coding standard violations run: vendor/bin/phpcs -q --report=checkstyle . | cs2pr --notices-as-warnings