Skip to content

Merge pull request #278 from trovster/patch-1 #61

Merge pull request #278 from trovster/patch-1

Merge pull request #278 from trovster/patch-1 #61

Triggered via push December 27, 2024 16:51
Status Failure
Total duration 29s
Artifacts
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 7 warnings
PHPStan (8.0): lib/Tmdb/Event/Listener/Request/SessionTokenRequestListener.php#L28
Property Tmdb\Event\Listener\Request\SessionTokenRequestListener::$token (string|Tmdb\Token\Session\GuestSessionToken|Tmdb\Token\Session\SessionBearerToken) is never assigned string so it can be removed from the property type.
PHPStan (8.0): lib/Tmdb/Factory/PeopleFactory.php#L69
Return type (Tmdb\Model\Collection\People) of method Tmdb\Factory\PeopleFactory::createCollection() should be compatible with return type (Tmdb\Model\Common\GenericCollection<Tmdb\Model\AbstractModel>) of method Tmdb\Factory\AbstractFactory<Tmdb\Model\AbstractModel>::createCollection()
PHPStan (8.0): lib/Tmdb/Model/Collection/Images.php#L212
PHPDoc tag @var has invalid value ($image Image): Unexpected token "$image", expected type at offset 24 on line 2
PHPStan (8.0): lib/Tmdb/Repository/MovieRepository.php#L1
Ignored error pattern #^Call to deprecated method getReleases\(\) of class Tmdb\\Model\\Movie\: Use the getReleaseDates instead$# in path /home/runner/work/api/api/lib/Tmdb/Repository/MovieRepository.php was not matched in reported errors.
PHPStan (8.0)
Process completed with exit code 1.
PHPStan (7.4)
The job was canceled because "_8_0" failed.
PHPStan (7.4): lib/Tmdb/Event/Listener/Request/SessionTokenRequestListener.php#L28
Property Tmdb\Event\Listener\Request\SessionTokenRequestListener::$token (string|Tmdb\Token\Session\GuestSessionToken|Tmdb\Token\Session\SessionBearerToken) is never assigned string so it can be removed from the property type.
PHPStan (7.4): lib/Tmdb/Factory/PeopleFactory.php#L69
Return type (Tmdb\Model\Collection\People) of method Tmdb\Factory\PeopleFactory::createCollection() should be compatible with return type (Tmdb\Model\Common\GenericCollection<Tmdb\Model\AbstractModel>) of method Tmdb\Factory\AbstractFactory<Tmdb\Model\AbstractModel>::createCollection()
PHPStan (7.4): lib/Tmdb/Model/Collection/Images.php#L212
PHPDoc tag @var has invalid value ($image Image): Unexpected token "$image", expected type at offset 24 on line 2
PHPStan (7.4): lib/Tmdb/Repository/MovieRepository.php#L1
Ignored error pattern #^Call to deprecated method getReleases\(\) of class Tmdb\\Model\\Movie\: Use the getReleaseDates instead$# in path /home/runner/work/api/api/lib/Tmdb/Repository/MovieRepository.php was not matched in reported errors.
PHPStan (7.4)
The operation was canceled.
PHPStan (8.1)
The job was canceled because "_8_0" failed.
PHPStan (8.1): lib/Tmdb/Event/Listener/Request/SessionTokenRequestListener.php#L28
Property Tmdb\Event\Listener\Request\SessionTokenRequestListener::$token (string|Tmdb\Token\Session\GuestSessionToken|Tmdb\Token\Session\SessionBearerToken) is never assigned string so it can be removed from the property type.
PHPStan (8.1): lib/Tmdb/Factory/PeopleFactory.php#L69
Return type (Tmdb\Model\Collection\People) of method Tmdb\Factory\PeopleFactory::createCollection() should be compatible with return type (Tmdb\Model\Common\GenericCollection<Tmdb\Model\AbstractModel>) of method Tmdb\Factory\AbstractFactory<Tmdb\Model\AbstractModel>::createCollection()
PHPStan (8.1): lib/Tmdb/Model/Collection/Images.php#L212
PHPDoc tag @var has invalid value ($image Image): Unexpected token "$image", expected type at offset 24 on line 2
PHPStan (8.1): lib/Tmdb/Repository/MovieRepository.php#L1
Ignored error pattern #^Call to deprecated method getReleases\(\) of class Tmdb\\Model\\Movie\: Use the getReleaseDates instead$# in path /home/runner/work/api/api/lib/Tmdb/Repository/MovieRepository.php was not matched in reported errors.
PHPStan (8.1)
The operation was canceled.
PHPStan (8.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.0)
Unexpected input(s) 'php_version', valid inputs are ['dependency-versions', 'composer-options', 'working-directory', 'ignore-cache', 'custom-cache-key', 'custom-cache-suffix', 'require-lock-file']
PHPStan (8.0)
Unexpected input(s) 'php_version', valid inputs are ['dependency-versions', 'composer-options', 'working-directory', 'ignore-cache', 'custom-cache-key', 'custom-cache-suffix', 'require-lock-file']
PHPStan (7.4)
Unexpected input(s) 'php_version', valid inputs are ['dependency-versions', 'composer-options', 'working-directory', 'ignore-cache', 'custom-cache-key', 'custom-cache-suffix', 'require-lock-file']
PHPStan (7.4)
Unexpected input(s) 'php_version', valid inputs are ['dependency-versions', 'composer-options', 'working-directory', 'ignore-cache', 'custom-cache-key', 'custom-cache-suffix', 'require-lock-file']
PHPStan (8.1)
Unexpected input(s) 'php_version', valid inputs are ['dependency-versions', 'composer-options', 'working-directory', 'ignore-cache', 'custom-cache-key', 'custom-cache-suffix', 'require-lock-file']
PHPStan (8.1)
Unexpected input(s) 'php_version', valid inputs are ['dependency-versions', 'composer-options', 'working-directory', 'ignore-cache', 'custom-cache-key', 'custom-cache-suffix', 'require-lock-file']