Upgrade Cloudinary PHP API from v1 to v2 #76
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/CloudinaryInstanceTest.php#L26
Class Cloudinary 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-tests:
tests/lib/Core/Provider/Cloudinary/Gateway/CloudinaryApiGatewayTest.php#L64
Class Cloudinary not found.
|
phpstan-tests:
tests/lib/Core/Provider/Cloudinary/Gateway/CloudinaryApiGatewayTest.php#L65
Class Cloudinary\Api not found.
|
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/
|