Skip to content

обработка именованных аргументов #4

обработка именованных аргументов

обработка именованных аргументов #4

Re-run triggered July 3, 2024 08:18
Status Failure
Total duration 1m 3s
Artifacts

main.yml

on: pull_request
Matrix: Tests
Lint code  /  lint
21s
Lint code / lint
Composer Audit  /  composer-audit
31s
Composer Audit / composer-audit
Matrix: Analyze code
coverage  /  coverage
coverage / coverage
Fit to window
Zoom out
Zoom in

Annotations

37 errors and 8 warnings
Lint code / lint
Process completed with exit code 1.
Tests (8.2) / tests: src/Exceptions/ResponseException.php#L21
Declaration of Tochka\JsonRpcClient\Exceptions\ResponseException::getData() must be compatible with Tochka\JsonRpcClient\Exceptions\JsonRpcClientException::getData(): ?object
Tests (8.2) / tests
Process completed with exit code 255.
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L11
src/ClientGenerator/AbstractClass.php:11:12: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$aliasName does not have a declared type (see https://psalm.dev/045)
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L12
src/ClientGenerator/AbstractClass.php:12:12: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$className does not have a declared type - consider string (see https://psalm.dev/045)
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L13
src/ClientGenerator/AbstractClass.php:13:12: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$classNamespace does not have a declared type - consider string (see https://psalm.dev/045)
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L14
src/ClientGenerator/AbstractClass.php:14:12: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$extendedStubs does not have a declared type - consider false|mixed (see https://psalm.dev/045)
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L15
src/ClientGenerator/AbstractClass.php:15:15: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$uses does not have a declared type - consider array<string, array{aliasName?: mixed, className: string}>|mixed (see https://psalm.dev/045)
PossiblyNullPropertyAssignmentValue: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PossiblyNullPropertyAssignmentValue: $this->parentClass with non-nullable declared type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass' cannot be assigned nullable type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' (see https://psalm.dev/148)
PropertyTypeCoercion: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PropertyTypeCoercion: $this->parentClass expects 'Tochka\JsonRpcClient\ClientGenerator\ClientClass', parent type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PropertyTypeCoercion: $this->parentClass expects 'Tochka\JsonRpcClient\ClientGenerator\EnumClass', parent type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PropertyTypeCoercion: $this->parentClass expects 'Tochka\JsonRpcClient\ClientGenerator\ServiceClass', parent type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PropertyTypeCoercion: $this->parentClass expects 'Tochka\JsonRpcClient\ClientGenerator\SubClass', parent type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' provided (see https://psalm.dev/198)
Tests (8.1) / tests: src/Exceptions/ResponseException.php#L21
Declaration of Tochka\JsonRpcClient\Exceptions\ResponseException::getData() must be compatible with Tochka\JsonRpcClient\Exceptions\JsonRpcClientException::getData(): ?object
Tests (8.1) / tests
Process completed with exit code 255.
Tests (8.0) / tests: src/Exceptions/ResponseException.php#L21
Declaration of Tochka\JsonRpcClient\Exceptions\ResponseException::getData() must be compatible with Tochka\JsonRpcClient\Exceptions\JsonRpcClientException::getData(): ?object
Tests (8.0) / tests
Process completed with exit code 255.
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L11
src/ClientGenerator/AbstractClass.php:11:12: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$aliasName does not have a declared type (see https://psalm.dev/045)
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L12
src/ClientGenerator/AbstractClass.php:12:12: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$className does not have a declared type - consider string (see https://psalm.dev/045)
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L13
src/ClientGenerator/AbstractClass.php:13:12: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$classNamespace does not have a declared type - consider string (see https://psalm.dev/045)
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L14
src/ClientGenerator/AbstractClass.php:14:12: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$extendedStubs does not have a declared type - consider false|mixed (see https://psalm.dev/045)
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L15
src/ClientGenerator/AbstractClass.php:15:15: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$uses does not have a declared type - consider array<string, array{aliasName?: mixed, className: string}>|mixed (see https://psalm.dev/045)
PossiblyNullPropertyAssignmentValue: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PossiblyNullPropertyAssignmentValue: $this->parentClass with non-nullable declared type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass' cannot be assigned nullable type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' (see https://psalm.dev/148)
PropertyTypeCoercion: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PropertyTypeCoercion: $this->parentClass expects 'Tochka\JsonRpcClient\ClientGenerator\ClientClass', parent type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PropertyTypeCoercion: $this->parentClass expects 'Tochka\JsonRpcClient\ClientGenerator\EnumClass', parent type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PropertyTypeCoercion: $this->parentClass expects 'Tochka\JsonRpcClient\ClientGenerator\ServiceClass', parent type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PropertyTypeCoercion: $this->parentClass expects 'Tochka\JsonRpcClient\ClientGenerator\SubClass', parent type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' provided (see https://psalm.dev/198)
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L11
src/ClientGenerator/AbstractClass.php:11:12: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$aliasName does not have a declared type (see https://psalm.dev/045)
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L12
src/ClientGenerator/AbstractClass.php:12:12: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$className does not have a declared type - consider string (see https://psalm.dev/045)
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L13
src/ClientGenerator/AbstractClass.php:13:12: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$classNamespace does not have a declared type - consider string (see https://psalm.dev/045)
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L14
src/ClientGenerator/AbstractClass.php:14:12: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$extendedStubs does not have a declared type - consider false|mixed (see https://psalm.dev/045)
MissingPropertyType: src/ClientGenerator/AbstractClass.php#L15
src/ClientGenerator/AbstractClass.php:15:15: MissingPropertyType: Property Tochka\JsonRpcClient\ClientGenerator\AbstractClass::$uses does not have a declared type - consider array<string, array{aliasName?: mixed, className: string}>|mixed (see https://psalm.dev/045)
PossiblyNullPropertyAssignmentValue: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PossiblyNullPropertyAssignmentValue: $this->parentClass with non-nullable declared type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass' cannot be assigned nullable type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' (see https://psalm.dev/148)
PropertyTypeCoercion: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PropertyTypeCoercion: $this->parentClass expects 'Tochka\JsonRpcClient\ClientGenerator\ClientClass', parent type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PropertyTypeCoercion: $this->parentClass expects 'Tochka\JsonRpcClient\ClientGenerator\EnumClass', parent type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PropertyTypeCoercion: $this->parentClass expects 'Tochka\JsonRpcClient\ClientGenerator\ServiceClass', parent type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/ClientGenerator/AbstractClass.php#L24
src/ClientGenerator/AbstractClass.php:24:30: PropertyTypeCoercion: $this->parentClass expects 'Tochka\JsonRpcClient\ClientGenerator\SubClass', parent type 'Tochka\JsonRpcClient\ClientGenerator\AbstractClass|null' provided (see https://psalm.dev/198)
Lint code / lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (8.2) / tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Analyze code (8.1) / analyze
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Composer Audit / composer-audit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (8.1) / tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (8.0) / tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Analyze code (8.0) / analyze
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Analyze code (8.2) / analyze
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.