diff --git a/.github/workflows/php.code_quality.yaml b/.github/workflows/php.code_quality.yaml index c3bcdfd..9117c52 100644 --- a/.github/workflows/php.code_quality.yaml +++ b/.github/workflows/php.code_quality.yaml @@ -4,7 +4,7 @@ on: pull_request: env: - PHP_VERSION: 8.3.0 + PHP_VERSION: 8.4.1 jobs: php_analysis: @@ -30,6 +30,8 @@ jobs: vendor/ - name: Install/update dependencies uses: php-actions/composer@d936bcb900310224b9089aff3337f2221a8df9a0 # renovate: tag=v6.0.0 + env: + COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.PAT }}"} }' with: php_version: ${{ env.PHP_VERSION }} args: --ignore-platform-reqs diff --git a/composer.json b/composer.json index c625715..9ca0566 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "description": "", "license": "MIT", "require": { - "php": "^8.3 || ^8.4", + "php": "^8.4", "ext-json": "*", "ext-mbstring": "*", "graylog2/gelf-php": "^2.0", @@ -16,7 +16,7 @@ "symfony/monolog-bundle": "^3.10" }, "require-dev": { - "etsglobal/php-static-analysis": "^3.0", + "etsglobal/php-static-analysis": "^3.3", "symfony/phpunit-bridge": "^7.0" }, "suggest": { @@ -41,5 +41,15 @@ "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true } - } + }, + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/ETSGlobal/php-static-analysis" + }, + { + "type": "vcs", + "url": "https://github.com/ETSGlobal/phiremock-client" + } + ] }