Skip to content

Update phpstan/phpstan-strict-rules requirement from ^0.12.1 to ^1.6.0 #43

Update phpstan/phpstan-strict-rules requirement from ^0.12.1 to ^1.6.0

Update phpstan/phpstan-strict-rules requirement from ^0.12.1 to ^1.6.0 #43

Status Failure
Total duration 8m 38s
Artifacts

tests.yaml

on: push
Matrix: php7
Matrix: php8compat
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 6 warnings
Unit Tests (php 7.4): src/DocScan/Exception/SandboxDocScanException.php#L57
Parameter #1 $jsonData of method Yoti\Sandbox\DocScan\Exception\SandboxDocScanException::formatResponse() expects stdClass, mixed given.
Unit Tests (php 7.4): src/Profile/Request/Attribute/SandboxAttribute.php#L49
Parameter #1 $values of static method Yoti\Util\Validation::isArrayOfType() expects array, mixed given.
Unit Tests (php 7.4): src/Profile/Request/Attribute/SandboxAttribute.php#L50
Property Yoti\Sandbox\Profile\Request\Attribute\SandboxAttribute::$anchors (array<Yoti\Sandbox\Profile\Request\Attribute\SandboxAnchor>) does not accept mixed.
Unit Tests (php 7.4): src/Profile/Request/TokenRequest.php#L49
Method Yoti\Sandbox\Profile\Request\TokenRequest::jsonSerialize() should return array<string, mixed> but returns array<int|string, mixed>.
Unit Tests (php 7.4): src/Profile/Response/TokenResponse.php#L28
Property Yoti\Sandbox\Profile\Response\TokenResponse::$token (string) does not accept mixed.
Unit Tests (php 7.4): src/Profile/Response/TokenResponse.php#L53
Cannot access offset 'token' on mixed.
Unit Tests (php 7.4): src/Profile/Response/TokenResponse.php#L57
Method Yoti\Sandbox\Profile\Response\TokenResponse::processData() should return array<string, mixed> but returns mixed.
Unit Tests (php 7.4)
Process completed with exit code 1.
Unit Tests (php 8): src/DocScan/Exception/SandboxDocScanException.php#L57
Parameter #1 $jsonData of method Yoti\Sandbox\DocScan\Exception\SandboxDocScanException::formatResponse() expects stdClass, mixed given.
Unit Tests (php 8): src/Profile/Request/Attribute/SandboxAttribute.php#L49
Parameter #1 $values of static method Yoti\Util\Validation::isArrayOfType() expects array, mixed given.
Unit Tests (php 8): src/Profile/Request/Attribute/SandboxAttribute.php#L50
Property Yoti\Sandbox\Profile\Request\Attribute\SandboxAttribute::$anchors (array<Yoti\Sandbox\Profile\Request\Attribute\SandboxAnchor>) does not accept mixed.
Unit Tests (php 8): src/Profile/Request/TokenRequest.php#L49
Method Yoti\Sandbox\Profile\Request\TokenRequest::jsonSerialize() should return array<string, mixed> but returns array<int|string, mixed>.
Unit Tests (php 8): src/Profile/Response/TokenResponse.php#L28
Property Yoti\Sandbox\Profile\Response\TokenResponse::$token (string) does not accept mixed.
Unit Tests (php 8): src/Profile/Response/TokenResponse.php#L53
Cannot access offset 'token' on mixed.
Unit Tests (php 8): src/Profile/Response/TokenResponse.php#L57
Method Yoti\Sandbox\Profile\Response\TokenResponse::processData() should return array<string, mixed> but returns mixed.
Unit Tests (php 8)
Process completed with exit code 1.
Unit Tests (php 7.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, shivammathur/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit Tests (php 7.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, shivammathur/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Unit Tests PHP8 Compatibility (php 8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, shivammathur/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit Tests PHP8 Compatibility (php 8)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, shivammathur/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Unit Tests (php 8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, shivammathur/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit Tests (php 8)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, shivammathur/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/