Skip to content

Commit

Permalink
Update for PHP 8.2 (#1377)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerManoMann authored Jan 3, 2023
1 parent 5016342 commit e8c3bb3
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ jobs:
fail-fast: true
matrix:
operating-system: [ ubuntu-latest ]
php: [ '7.2', '7.3', '7.4', '8.0', '8.1' ]
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
dependencies: [ 'lowest', 'highest' ]
exclude:
- php: '8.1'
dependencies: 'lowest'
- php: '8.2'
dependencies: 'lowest'

name: PHP ${{ matrix.php }} on ${{ matrix.operating-system }} with ${{ matrix.dependencies }} dependencies

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.1'

- uses: ramsey/composer-install@v1
- uses: ramsey/composer-install@v2
with:
dependency-versions: 'highest'

- name: Static Code Analysis
- name: Check Code Style
run: composer lint
6 changes: 3 additions & 3 deletions .github/workflows/security-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: true
matrix:
operating-system: [ ubuntu-latest ]
php: [ '7.2', '7.3', '7.4', '8.0' ]
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
dependencies: [ 'highest' ]

name: PHP ${{ matrix.php }} on ${{ matrix.operating-system }} with ${{ matrix.dependencies }} dependencies
Expand All @@ -26,7 +26,7 @@ jobs:
php-version: ${{ matrix.php }}

- name: Composer install
uses: ramsey/composer-install@v1
uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: ${{ matrix.composer-options }} --no-dev
Expand All @@ -37,4 +37,4 @@ jobs:
path: ~/.symfony/cache
key: security-checker-db

- uses: symfonycorp/security-checker-action@v2
- uses: symfonycorp/security-checker-action@v3
1 change: 0 additions & 1 deletion src/Annotations/JsonContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
class JsonContent extends Schema
{

/**
* @var object
*/
Expand Down
1 change: 0 additions & 1 deletion src/Annotations/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
*/
class Link extends AbstractAnnotation
{

/**
* $ref See https://swagger.io/docs/specification/using-ref/.
*
Expand Down
1 change: 0 additions & 1 deletion src/Annotations/MediaType.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
class MediaType extends AbstractAnnotation
{

/**
* The key into Operation->content array.
*
Expand Down
1 change: 1 addition & 0 deletions src/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
* @property Annotations\AbstractAnnotation[] $annotations
* @property \Psr\Log\LoggerInterface $logger Guaranteed to be set when using the `Generator`
*/
#[\AllowDynamicProperties]
class Context
{
/**
Expand Down

0 comments on commit e8c3bb3

Please sign in to comment.