Update for PHP 8.2 (#1377)
This commit is contained in:
parent
5016342f96
commit
e8c3bb316e
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -37,4 +37,4 @@ jobs:
|
|||
path: ~/.symfony/cache
|
||||
key: security-checker-db
|
||||
|
||||
- uses: symfonycorp/security-checker-action@v2
|
||||
- uses: symfonycorp/security-checker-action@v3
|
||||
|
|
|
@ -16,7 +16,6 @@ use OpenApi\Generator;
|
|||
*/
|
||||
class JsonContent extends Schema
|
||||
{
|
||||
|
||||
/**
|
||||
* @var object
|
||||
*/
|
||||
|
|
|
@ -19,7 +19,6 @@ use OpenApi\Generator;
|
|||
*/
|
||||
class Link extends AbstractAnnotation
|
||||
{
|
||||
|
||||
/**
|
||||
* $ref See https://swagger.io/docs/specification/using-ref/.
|
||||
*
|
||||
|
|
|
@ -16,7 +16,6 @@ use OpenApi\Generator;
|
|||
*/
|
||||
class MediaType extends AbstractAnnotation
|
||||
{
|
||||
|
||||
/**
|
||||
* The key into Operation->content array.
|
||||
*
|
||||
|
|
|
@ -43,6 +43,7 @@ use OpenApi\Logger\DefaultLogger;
|
|||
* @property Annotations\AbstractAnnotation[] $annotations
|
||||
* @property \Psr\Log\LoggerInterface $logger Guaranteed to be set when using the `Generator`
|
||||
*/
|
||||
#[\AllowDynamicProperties]
|
||||
class Context
|
||||
{
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue