Skip to content

Upgrade Cloudinary PHP API from v1 to v2 #68

Upgrade Cloudinary PHP API from v1 to v2

Upgrade Cloudinary PHP API from v1 to v2 #68

Triggered via pull request September 5, 2024 17:22
Status Failure
Total duration 33s
Artifacts

static_analysis.yml

on: pull_request
Matrix: static-analysis
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 2 warnings
phpstan-tests: tests/lib/Core/Provider/Cloudinary/Gateway/CloudinaryApiGatewayTest.php#L50
Property Netgen\RemoteMedia\Tests\Core\Provider\Cloudinary\Gateway\CloudinaryApiGatewayTest::$cloudinaryMock has unknown class Cloudinary as its type.
phpstan-tests: tests/lib/Core/Provider/Cloudinary/Gateway/CloudinaryApiGatewayTest.php#L52
Property Netgen\RemoteMedia\Tests\Core\Provider\Cloudinary\Gateway\CloudinaryApiGatewayTest::$cloudinaryApiMock has unknown class Cloudinary\Api as its type.
phpstan-tests: tests/lib/Core/Provider/Cloudinary/Gateway/CloudinaryApiGatewayTest.php#L54
Property Netgen\RemoteMedia\Tests\Core\Provider\Cloudinary\Gateway\CloudinaryApiGatewayTest::$cloudinarySearchMock has unknown class Cloudinary\Search as its type.
phpstan-tests: tests/lib/Core/Provider/Cloudinary/Gateway/CloudinaryApiGatewayTest.php#L88
Instantiated class Cloudinary\Uploader not found.
phpstan-tests: tests/lib/Core/Provider/Cloudinary/Gateway/CloudinaryApiGatewayTest.php#L139
Instantiated class Cloudinary\Api\Response not found.
phpstan-tests: tests/lib/Core/Provider/Cloudinary/Gateway/CloudinaryApiGatewayTest.php#L141
Trying to mock an undefined method usage() on class Cloudinary\Api.
phpstan: bundle/Controller/Callback/Cloudinary/Notify.php#L200
Call to static method explicit() on an unknown class Cloudinary\Uploader.
phpstan: bundle/Controller/Callback/Cloudinary/Notify.php#L207
Caught class Cloudinary\Api\NotFound not found.
phpstan: bundle/Controller/Callback/Cloudinary/Notify.php#L296
Call to static method explicit() on an unknown class Cloudinary\Uploader.
phpstan: bundle/Controller/Callback/Cloudinary/Notify.php#L305
Caught class Cloudinary\Api\NotFound not found.
phpstan: lib/Core/Provider/Cloudinary/Factory/RemoteResource.php#L16
Used function cloudinary_url_internal not found.
phpstan: lib/Core/Provider/Cloudinary/Factory/RemoteResource.php#L83
Function cloudinary_url_internal not found.
phpstan: lib/Core/Provider/Cloudinary/Gateway/CloudinaryApiGateway.php#L178
Only booleans are allowed in an if condition, mixed given.
phpstan: lib/Core/Provider/Cloudinary/Verifier/Request/Signature.php#L17
Call to static method verifyNotificationSignature() on an unknown class Cloudinary\SignatureVerifier.
phpstan
Process completed with exit code 1.
phpstan-tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
phpstan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/