Skip to content

Commit

Permalink
Update PHPStan baseline and integrate workflow
Browse files Browse the repository at this point in the history
Updated the PHPStan baseline file to reflect recent changes in the codebase. Added an optional argument in the stan function to generate a baseline. Also, updated the integrate workflow file to include PHP version 8.2 in the test environment.
  • Loading branch information
Spomky committed Jul 9, 2024
1 parent 28a9752 commit 1e55fc7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.3"
php-version: "8.2"
extensions: "json, mbstring, openssl, sqlite3, curl, uuid"
tools: castor

Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.3"
php-version: "8.2"
extensions: "json, mbstring, openssl, sqlite3, curl, uuid"
tools: castor

Expand All @@ -115,7 +115,7 @@ jobs:
- name: "Install dependencies"
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "highest"
dependency-versions: "lowest"
composer-options: "--optimize-autoloader"

- name: "Execute static analysis"
Expand All @@ -131,7 +131,7 @@ jobs:
- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.3"
php-version: "8.2"
extensions: "json, mbstring, openssl, sqlite3, curl, uuid"
tools: castor

Expand All @@ -141,7 +141,7 @@ jobs:
- name: "Install dependencies"
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "highest"
dependency-versions: "lowest"
composer-options: "--optimize-autoloader"

- name: "Check adherence to EditorConfig"
Expand All @@ -160,7 +160,7 @@ jobs:
- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.3"
php-version: "8.2"
extensions: "json, mbstring, openssl, sqlite3, curl, uuid"
tools: castor

Expand All @@ -170,7 +170,7 @@ jobs:
- name: "Install dependencies"
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "highest"
dependency-versions: "lowest"
composer-options: "--optimize-autoloader"

- name: "Check coding style"
Expand All @@ -186,7 +186,7 @@ jobs:
- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.3"
php-version: "8.2"
extensions: "json, mbstring, openssl, sqlite3, curl, uuid"
tools: castor
coverage: "xdebug"
Expand All @@ -197,7 +197,7 @@ jobs:
- name: "Install dependencies"
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "highest"
dependency-versions: "lowest"
composer-options: "--optimize-autoloader"

- name: "Execute Rector"
Expand Down
1 change: 0 additions & 1 deletion src/Bundle/Serializer/JWSSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public function __construct(
$this->serializerManager = $serializerManager;
}

#[Override]
public function getSupportedTypes(?string $format): array
{
return [
Expand Down

0 comments on commit 1e55fc7

Please sign in to comment.