Skip to content

fix cs to avoid deprecation in php 8.3 #129

fix cs to avoid deprecation in php 8.3

fix cs to avoid deprecation in php 8.3 #129

Triggered via pull request April 2, 2024 15:15
@dbudbu
opened #867
fix-cs
Status Failure
Total duration 39s
Artifacts

static.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
PHPStan: lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/AttributeTranslationStrategy.php#L178
Deprecated in PHP 8.1: Required parameter $alias follows optional parameter $constraint.
PHPStan: lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/AttributeTranslationStrategy.php#L179
Deprecated in PHP 8.0: Required parameter $locale follows optional parameter $constraint.
PHPStan: lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/ChildTranslationStrategy.php#L132
Deprecated in PHP 8.1: Required parameter $alias follows optional parameter $constraint.
PHPStan: lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/ChildTranslationStrategy.php#L133
Deprecated in PHP 8.0: Required parameter $locale follows optional parameter $constraint.
PHPStan: lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/NonTranslatedStrategy.php#L92
Deprecated in PHP 8.1: Required parameter $alias follows optional parameter $constraint.
PHPStan: lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/NonTranslatedStrategy.php#L93
Deprecated in PHP 8.0: Required parameter $locale follows optional parameter $constraint.
PHPStan: lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/TranslationStrategyInterface.php#L111
Deprecated in PHP 8.1: Required parameter $alias follows optional parameter $constraint.
PHPStan: lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/TranslationStrategyInterface.php#L112
Deprecated in PHP 8.0: Required parameter $locale follows optional parameter $constraint.
PHPStan
Process completed with exit code 1.
PHP-CS-Fixer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.