diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index cd991d2..0000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,22 +0,0 @@ ---- -engines: - duplication: - enabled: true - config: - languages: - - php - fixme: - enabled: true - phpcodesniffer: - enabled: true - phpmd: - enabled: true - checks: - CleanCode/StaticAccess: - enabled: false -ratings: - paths: - - "**.php" -exclude_paths: -- tests/**/* -- ".codeclimate.yml" diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 3d70184..a7a5484 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -25,7 +25,7 @@ jobs: name: PHP ${{ matrix.php }}, PHPUnit ${{ matrix.phpunit }} steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/php_coverage.yml b/.github/workflows/php_coverage.yml deleted file mode 100644 index 3e89f2b..0000000 --- a/.github/workflows/php_coverage.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Code coverage - -on: - push: - branches: - -jobs: - coverage: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: 8.4 - extensions: mbstring, intl, json - coverage: pcov - - - name: Install dependencies - run: composer install --prefer-dist --no-progress --no-suggest - - - name: Test & publish code coverage - uses: paambaati/codeclimate-action@v3.0.0 - env: - CC_TEST_REPORTER_ID: ${{ secrets.codeClimateReporterID }} - with: - coverageCommand: ./vendor/bin/phpunit --coverage-clover=clover.xml - debug: true