Skip to content

Feature/netim provider #69

Feature/netim provider

Feature/netim provider #69

Triggered via pull request January 31, 2025 09:22
Status Failure
Total duration 46s
Artifacts

static-analysis.yml

on: pull_request
Matrix: PHP Stan
Fit to window
Zoom out
Zoom in

Annotations

27 errors
PHP Stan (8.1): src/Netim/Helper/APIRest.php#L119
Variable $secret in isset() always exists and is not nullable.
PHP Stan (8.1): src/Netim/Helper/APIRest.php#L119
Variable $url in isset() always exists and is not nullable.
PHP Stan (8.1): src/Netim/Helper/APIRest.php#L119
Variable $userId in isset() always exists and is not nullable.
PHP Stan (8.1): src/Netim/Helper/APIRest.php#L730
PHPDoc tag @return with type object is not subtype of native type stdClass.
PHP Stan (8.1): src/Netim/Helper/Normalization.php#L233
PHPDoc tag @param references unknown parameter: $wanabeRegex
PHP Stan (8.1): src/Netim/Provider.php#L142
Variable $data on left side of ?? is never defined.
PHP Stan (8.1): src/Netim/Provider.php#L668
Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
PHP Stan (8.1): src/OpenSRS/Helper/OpenSrsApi.php#L263
Loose comparison using == between 'array'|'boolean'|'double'|'integer'|'NULL'|'object'|'resource (closed)'|'string'|'unknown type' and 'user function' will always evaluate to false.
PHP Stan (8.1)
Process completed with exit code 1.
PHP Stan (8.2): src/Netim/Helper/APIRest.php#L119
Variable $secret in isset() always exists and is not nullable.
PHP Stan (8.2): src/Netim/Helper/APIRest.php#L119
Variable $url in isset() always exists and is not nullable.
PHP Stan (8.2): src/Netim/Helper/APIRest.php#L119
Variable $userId in isset() always exists and is not nullable.
PHP Stan (8.2): src/Netim/Helper/APIRest.php#L730
PHPDoc tag @return with type object is not subtype of native type stdClass.
PHP Stan (8.2): src/Netim/Helper/Normalization.php#L233
PHPDoc tag @param references unknown parameter: $wanabeRegex
PHP Stan (8.2): src/Netim/Provider.php#L142
Variable $data on left side of ?? is never defined.
PHP Stan (8.2): src/Netim/Provider.php#L668
Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
PHP Stan (8.2): src/OpenSRS/Helper/OpenSrsApi.php#L263
Loose comparison using == between 'array'|'boolean'|'double'|'integer'|'NULL'|'object'|'resource (closed)'|'string'|'unknown type' and 'user function' will always evaluate to false.
PHP Stan (8.2)
Process completed with exit code 1.
PHP Stan (8.3): src/Netim/Helper/APIRest.php#L119
Variable $secret in isset() always exists and is not nullable.
PHP Stan (8.3): src/Netim/Helper/APIRest.php#L119
Variable $url in isset() always exists and is not nullable.
PHP Stan (8.3): src/Netim/Helper/APIRest.php#L119
Variable $userId in isset() always exists and is not nullable.
PHP Stan (8.3): src/Netim/Helper/APIRest.php#L730
PHPDoc tag @return with type object is not subtype of native type stdClass.
PHP Stan (8.3): src/Netim/Helper/Normalization.php#L233
PHPDoc tag @param references unknown parameter: $wanabeRegex
PHP Stan (8.3): src/Netim/Provider.php#L142
Variable $data on left side of ?? is never defined.
PHP Stan (8.3): src/Netim/Provider.php#L668
Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
PHP Stan (8.3): src/OpenSRS/Helper/OpenSrsApi.php#L263
Loose comparison using == between 'array'|'boolean'|'double'|'integer'|'NULL'|'object'|'resource (closed)'|'string'|'unknown type' and 'user function' will always evaluate to false.
PHP Stan (8.3)
Process completed with exit code 1.