Skip to content

PHP 8.4.7 deprication errors #82

@tiefenb

Description

@tiefenb

After upgrading vom PHP 8.3.x -> 8.4.7 I got this errors:

fpm-1 | NOTICE: PHP message: PHP Deprecated: ProcessWire\GraphQL\Type\PageArrayType::type(): Implicitly marking parameter $template as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/src/Type/PageArrayType.php on line 14
fpm-1 | NOTICE: PHP message: PHP Deprecated: ProcessWire\GraphQL\Type\PageArrayType::getName(): Implicitly marking parameter $template as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/src/Type/PageArrayType.php on line 109
fpm-1 | NOTICE: PHP message: PHP Deprecated: ProcessWire\GraphQL\Type\PageArrayType::getDescription(): Implicitly marking parameter $template as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/src/Type/PageArrayType.php on line 118
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Type\Definition\IntType::parseLiteral(): Implicitly marking parameter $variables as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Type/Definition/IntType.php on line 72
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Type\Definition\LeafType::parseLiteral(): Implicitly marking parameter $variables as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Type/Definition/LeafType.php on line 56
fpm-1 | NOTICE: PHP message: PHP Deprecated: ProcessWire\GraphQL\Type\PageType::getName(): Implicitly marking parameter $template as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/src/Type/PageType.php on line 239
fpm-1 | NOTICE: PHP message: PHP Deprecated: ProcessWire\GraphQL\Type\PageType::getDescription(): Implicitly marking parameter $template as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/src/Type/PageType.php on line 248
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Type\Definition\CustomScalarType::parseLiteral(): Implicitly marking parameter $variables as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Type/Definition/CustomScalarType.php on line 70
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Type\Definition\StringType::parseLiteral(): Implicitly marking parameter $variables as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Type/Definition/StringType.php on line 47
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Type\Definition\IDType::parseLiteral(): Implicitly marking parameter $variables as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Type/Definition/IDType.php on line 50
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\GraphQL::executeQuery(): Implicitly marking parameter $variableValues as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/GraphQL.php on line 84
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\GraphQL::executeQuery(): Implicitly marking parameter $operationName as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/GraphQL.php on line 84
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\GraphQL::executeQuery(): Implicitly marking parameter $fieldResolver as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/GraphQL.php on line 84
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\GraphQL::executeQuery(): Implicitly marking parameter $validationRules as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/GraphQL.php on line 84
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\GraphQL::promiseToExecute(): Implicitly marking parameter $variableValues as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/GraphQL.php on line 125
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\GraphQL::promiseToExecute(): Implicitly marking parameter $operationName as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/GraphQL.php on line 125
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\GraphQL::promiseToExecute(): Implicitly marking parameter $fieldResolver as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/GraphQL.php on line 125
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\GraphQL::promiseToExecute(): Implicitly marking parameter $validationRules as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/GraphQL.php on line 125
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Promise\Adapter\SyncPromiseAdapter::then(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Promise/Adapter/SyncPromiseAdapter.php on line 36
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Promise\Adapter\SyncPromiseAdapter::then(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Promise/Adapter/SyncPromiseAdapter.php on line 36
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Promise\PromiseAdapter::then(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Promise/PromiseAdapter.php on line 34
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Promise\PromiseAdapter::then(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Promise/PromiseAdapter.php on line 34
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Language\Parser::unexpected(): Implicitly marking parameter $atToken as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Language/Parser.php on line 429
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Language\Source::__construct(): Implicitly marking parameter $name as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Language/Source.php on line 24
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Language\Source::__construct(): Implicitly marking parameter $location as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Language/Source.php on line 24
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Language\Lexer::readChar(): Implicitly marking parameter $byteStreamPosition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Language/Lexer.php on line 718
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Language\Token::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Language/Token.php on line 63
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Language\Token::__construct(): Implicitly marking parameter $value as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Language/Token.php on line 63
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Language\AST\Location::__construct(): Implicitly marking parameter $startToken as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Language/AST/Location.php on line 41
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Language\AST\Location::__construct(): Implicitly marking parameter $endToken as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Language/AST/Location.php on line 41
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Language\AST\Location::__construct(): Implicitly marking parameter $source as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Language/AST/Location.php on line 41
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Utils\Utils::isValidNameError(): Implicitly marking parameter $node as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Utils/Utils.php on line 173
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Validator\DocumentValidator::validate(): Implicitly marking parameter $rules as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Validator/DocumentValidator.php on line 97
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Validator\DocumentValidator::validate(): Implicitly marking parameter $typeInfo as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Validator/DocumentValidator.php on line 97
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Validator\DocumentValidator::validateSDL(): Implicitly marking parameter $schemaToExtend as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Validator/DocumentValidator.php on line 268
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Validator\DocumentValidator::validateSDL(): Implicitly marking parameter $rules as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Validator/DocumentValidator.php on line 268
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Validator\Rules\NoUnusedVariables::unusedVariableMessage(): Implicitly marking parameter $opName as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Validator/Rules/NoUnusedVariables.php on line 55
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Validator\Rules\QuerySecurityRule::collectFieldASTsAndDefs(): Implicitly marking parameter $visitedFragmentNames as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Validator/Rules/QuerySecurityRule.php on line 102
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Validator\Rules\QuerySecurityRule::collectFieldASTsAndDefs(): Implicitly marking parameter $astAndDefs as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Validator/Rules/QuerySecurityRule.php on line 102
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Validator\Rules\QueryComplexity::setRawVariableValues(): Implicitly marking parameter $rawVariableValues as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Validator/Rules/QueryComplexity.php on line 215
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Type\Definition\BooleanType::parseLiteral(): Implicitly marking parameter $variables as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Type/Definition/BooleanType.php on line 39
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Language\Visitor::visit(): Implicitly marking parameter $keyMap as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Language/Visitor.php on line 171
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Utils\AST::valueFromAST(): Implicitly marking parameter $variables as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Utils/AST.php on line 310
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Utils\AST::valueFromASTUntyped(): Implicitly marking parameter $variables as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Utils/AST.php on line 490
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Utils\AST::getOperationAST(): Implicitly marking parameter $operationName as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Utils/AST.php on line 575
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Type\Definition\EnumType::parseLiteral(): Implicitly marking parameter $variables as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Type/Definition/EnumType.php on line 188
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Type\Definition\FloatType::parseLiteral(): Implicitly marking parameter $variables as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Type/Definition/FloatType.php on line 52
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Executor::setPromiseAdapter(): Implicitly marking parameter $defaultPromiseAdapter as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Executor.php on line 62
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Executor::execute(): Implicitly marking parameter $variableValues as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Executor.php on line 99
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Executor::execute(): Implicitly marking parameter $operationName as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Executor.php on line 99
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Executor::execute(): Implicitly marking parameter $fieldResolver as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Executor.php on line 99
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Executor::promiseToExecute(): Implicitly marking parameter $variableValues as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Executor.php on line 138
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Executor::promiseToExecute(): Implicitly marking parameter $operationName as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Executor.php on line 138
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Executor::promiseToExecute(): Implicitly marking parameter $fieldResolver as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Executor.php on line 138
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Values::getDirectiveValues(): Implicitly marking parameter $variableValues as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Values.php on line 157
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Values::getArgumentValues(): Implicitly marking parameter $variableValues as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Values.php on line 183
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Values::getArgumentValuesForMap(): Implicitly marking parameter $variableValues as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Values.php on line 212
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Values::getArgumentValuesForMap(): Implicitly marking parameter $referenceNode as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Values.php on line 212
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Utils\Value::coerceInputValue(): Implicitly marking parameter $path as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Utils/Value.php on line 39
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Promise\Adapter\SyncPromise::__construct(): Implicitly marking parameter $executor as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Promise/Adapter/SyncPromise.php on line 55
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Promise\Adapter\SyncPromise::then(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Promise/Adapter/SyncPromise.php on line 187
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Promise\Adapter\SyncPromise::then(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Promise/Adapter/SyncPromise.php on line 187
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Promise\Promise::then(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Promise/Promise.php on line 35
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\Promise\Promise::then(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/Promise/Promise.php on line 35
fpm-1 | NOTICE: PHP message: PHP Deprecated: GraphQL\Executor\ExecutionResult::__construct(): Implicitly marking parameter $data as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/site/modules/ProcessGraphQL/vendor/webonyx/graphql-php/src/Executor/ExecutionResult.php on line 85

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions