diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 2582648..e0340bc 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: php-version: - - "7.4" + - "8.1" steps: - name: "Checkout" diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 6cfdc30..2633a40 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -12,14 +12,14 @@ jobs: strategy: matrix: php-version: - - "7.4" - - "8.0" - "8.1" + - "8.2" + - "8.3" dependencies: - "highest" include: - dependencies: "lowest" - php-version: "7.4" + php-version: "8.1" steps: - name: "Checkout" diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 3ea96d9..e83aea4 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: php-version: - - "7.4" + - "8.1" steps: - name: "Checkout code" @@ -40,20 +40,21 @@ jobs: strategy: matrix: php-version: - - "7.4" + - "8.1" steps: - name: Checkout code uses: actions/checkout@v2 - - name: Psalm - uses: docker://vimeo/psalm-github-actions:4.4.1 - with: - args: --shepherd - composer_require_dev: true - security_analysis: true - report_file: results.sarif - - name: Upload Security Analysis results to GitHub - uses: github/codeql-action/upload-sarif@v1 + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" with: - sarif_file: results.sarif + coverage: "none" + php-version: "${{ matrix.php-version }}" + tools: "cs2pr" + + - name: "Install dependencies with Composer" + uses: "ramsey/composer-install@v1" + + - name: "Run a static analysis with vimeo/psalm" + run: "vendor/bin/psalm diff --git a/composer.json b/composer.json index 6f8895c..81724b4 100644 --- a/composer.json +++ b/composer.json @@ -18,17 +18,17 @@ ] }, "require": { - "php": "^7.4 || ^8.0" + "php": "^8.1" }, "require-dev": { "bentools/cartesian-product": "^1.3", "doctrine/coding-standard": "^8.2", - "pestphp/pest": "^1.0,<=1.13", + "pestphp/pest": "^2.34", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^0.12.67", "phpstan/phpstan-strict-rules": "^0.12.9", "symfony/var-dumper": "^5.2", - "vimeo/psalm": "^4.4" + "vimeo/psalm": "^5.23" }, "config": { "sort-packages": true, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 9247927..7862027 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -8,14 +8,14 @@ colors="true" bootstrap="tests/bootstrap.php" > - - - tests - - - - - src - - + + + tests + + + + + src + +