Fix PHP 8 #18
Annotations
12 errors and 3 warnings
PHP 8.1:
src/Functions/DepthFunction.php#L82
PossiblyNullPropertyFetch: Cannot get property on possibly null variable $page of type Contao\PageModel|null (reported by psalm)
|
PHP 8.1:
src/Functions/DepthFunction.php#L82
PossiblyNullPropertyFetch: Cannot get property on possibly null variable $page of type Contao\PageModel|null (reported by psalm)
|
PHP 8.1:
src/Functions/RootFunction.php#L78
PossiblyNullPropertyFetch: Cannot get property on possibly null variable $rootPage of type Contao\PageModel|null (reported by psalm)
|
PHP 8.1:
src/Renderer/PageModuleRenderer.php#L307
Trailing commas are not allowed in function calls in PHP 7.2 or earlier (reported by php-compatibility: PHPCompatibility.Syntax.NewFunctionCallTrailingComma.FoundInFunctionCall)
|
PHP 8.1
Process completed with exit code 1.
|
PHP 8.2:
src/Functions/DepthFunction.php#L82
PossiblyNullPropertyFetch: Cannot get property on possibly null variable $page of type Contao\PageModel|null (reported by psalm)
|
PHP 8.2:
src/Functions/DepthFunction.php#L82
PossiblyNullPropertyFetch: Cannot get property on possibly null variable $page of type Contao\PageModel|null (reported by psalm)
|
PHP 8.2:
src/Functions/RootFunction.php#L78
PossiblyNullPropertyFetch: Cannot get property on possibly null variable $rootPage of type Contao\PageModel|null (reported by psalm)
|
PHP 8.2:
src/Renderer/PageModuleRenderer.php#L307
Trailing commas are not allowed in function calls in PHP 7.2 or earlier (reported by php-compatibility: PHPCompatibility.Syntax.NewFunctionCallTrailingComma.FoundInFunctionCall)
|
PHP 8.2
Process completed with exit code 1.
|
PHP 7.4:
src/Renderer/PageModuleRenderer.php#L307
Trailing commas are not allowed in function calls in PHP 7.2 or earlier (reported by php-compatibility: PHPCompatibility.Syntax.NewFunctionCallTrailingComma.FoundInFunctionCall)
|
PHP 7.4
Process completed with exit code 1.
|
PHP 8.1:
composer.json#L1
Did not understand the following tool output:
> pre-command-run: Contao\ManagerPlugin\Composer\ArtifactsPlugin->preCommandRun (reported by composer-normalize)
|
PHP 8.2:
composer.json#L1
Did not understand the following tool output:
> pre-command-run: Contao\ManagerPlugin\Composer\ArtifactsPlugin->preCommandRun (reported by composer-normalize)
|
PHP 7.4:
composer.json#L1
Did not understand the following tool output:
> pre-command-run: Contao\ManagerPlugin\Composer\ArtifactsPlugin->preCommandRun (reported by composer-normalize)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phpcq-builds-php-7.4
Expired
|
9.92 KB |
|
phpcq-builds-php-8.1
Expired
|
12.7 KB |
|
phpcq-builds-php-8.2
Expired
|
12.7 KB |
|