Skip to content

Upgrade Cloudinary PHP API from v1 to v2 #76

Upgrade Cloudinary PHP API from v1 to v2

Upgrade Cloudinary PHP API from v1 to v2 #76

Triggered via pull request September 11, 2024 18:40
Status Failure
Total duration 35s
Artifacts

static_analysis.yml

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

Annotations

12 errors and 2 warnings
phpstan: lib/Core/Provider/Cloudinary/Gateway/CloudinaryApiGateway.php#L176
Only booleans are allowed in an if condition, mixed given.
phpstan
Process completed with exit code 1.
phpstan-tests: tests/lib/Core/Provider/Cloudinary/Factory/CloudinaryInstanceTest.php#L12
Class Netgen\RemoteMedia\Core\Provider\Cloudinary\Factory\CloudinaryInstance not found.
phpstan-tests: tests/lib/Core/Provider/Cloudinary/Factory/CloudinaryInstanceTest.php#L15
Property Netgen\RemoteMedia\Tests\Core\Provider\Cloudinary\Factory\CloudinaryInstanceTest::$cloudinaryInstanceFactory has unknown class Netgen\RemoteMedia\Core\Provider\Cloudinary\Factory\CloudinaryInstance as its type.
phpstan-tests: tests/lib/Core/Provider/Cloudinary/Factory/CloudinaryInstanceTest.php#L19
Instantiated class Netgen\RemoteMedia\Core\Provider\Cloudinary\Factory\CloudinaryInstance not found.
phpstan-tests: tests/lib/Core/Provider/Cloudinary/Factory/RemoteResourceTest.php#L31
Instantiated class Netgen\RemoteMedia\Core\Provider\Cloudinary\Factory\CloudinaryInstance not found.
phpstan-tests: tests/lib/Core/Provider/Cloudinary/Gateway/CloudinaryApiGatewayTest.php#L52
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#L54
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#L56
Property Netgen\RemoteMedia\Tests\Core\Provider\Cloudinary\Gateway\CloudinaryApiGatewayTest::$cloudinarySearchMock has unknown class Cloudinary\Search as its type.
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/
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/