Skip to content

Bump the phpstan group across 1 directory with 2 updates #9527

Bump the phpstan group across 1 directory with 2 updates

Bump the phpstan group across 1 directory with 2 updates #9527

Triggered via push October 7, 2024 10:55
Status Failure
Total duration 1m 57s
Artifacts

main.yml

on: push
Code Style checks
31s
Code Style checks
ShellCheck
3s
ShellCheck
Matrix: all-php-versions
Fit to window
Zoom out
Zoom in

Annotations

30 errors
PHP 8.1 / PHPStan analysis: src/MemoryManager.php#L118
Offset 1 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
PHP 8.1 / PHPStan analysis: src/MemoryManager.php#L122
Offset 2 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
PHP 8.1 / PHPStan analysis: src/command/utils/CommandStringHelper.php#L56
Casting to int something that's already int.
PHP 8.1 / PHPStan analysis: src/player/Player.php#L813
Call to function is_int() with int will always evaluate to true.
PHP 8.1 / PHPStan analysis: src/player/Player.php#L813
Call to function is_int() with int will always evaluate to true.
PHP 8.1 / PHPStan analysis: src/utils/Config.php#L563
Casting to string something that's already string.
PHP 8.1 / PHPStan analysis: src/utils/Git.php#L42
Strict comparison using !== between string and false will always evaluate to true.
PHP 8.1 / PHPStan analysis: src/utils/Internet.php#L89
Offset 1 does not exist on array{0?: string, 1?: string}.
PHP 8.1 / PHPStan analysis: src/utils/Internet.php#L94
Offset 1 does not exist on array{0?: string, 1?: string}.
PHP 8.1 / PHPStan analysis: src/utils/Internet.php#L99
Offset 1 does not exist on array{0?: string, 1?: string}.
PHP 8.3 / PHPStan analysis: src/MemoryManager.php#L118
Offset 1 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
PHP 8.3 / PHPStan analysis: src/MemoryManager.php#L122
Offset 2 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
PHP 8.3 / PHPStan analysis: src/command/utils/CommandStringHelper.php#L56
Casting to int something that's already int.
PHP 8.3 / PHPStan analysis: src/player/Player.php#L813
Call to function is_int() with int will always evaluate to true.
PHP 8.3 / PHPStan analysis: src/player/Player.php#L813
Call to function is_int() with int will always evaluate to true.
PHP 8.3 / PHPStan analysis: src/utils/Config.php#L563
Casting to string something that's already string.
PHP 8.3 / PHPStan analysis: src/utils/Git.php#L42
Strict comparison using !== between string and false will always evaluate to true.
PHP 8.3 / PHPStan analysis: src/utils/Internet.php#L89
Offset 1 does not exist on array{0?: string, 1?: string}.
PHP 8.3 / PHPStan analysis: src/utils/Internet.php#L94
Offset 1 does not exist on array{0?: string, 1?: string}.
PHP 8.3 / PHPStan analysis: src/utils/Internet.php#L99
Offset 1 does not exist on array{0?: string, 1?: string}.
PHP 8.2 / PHPStan analysis: src/MemoryManager.php#L118
Offset 1 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
PHP 8.2 / PHPStan analysis: src/MemoryManager.php#L122
Offset 2 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
PHP 8.2 / PHPStan analysis: src/command/utils/CommandStringHelper.php#L56
Casting to int something that's already int.
PHP 8.2 / PHPStan analysis: src/player/Player.php#L813
Call to function is_int() with int will always evaluate to true.
PHP 8.2 / PHPStan analysis: src/player/Player.php#L813
Call to function is_int() with int will always evaluate to true.
PHP 8.2 / PHPStan analysis: src/utils/Config.php#L563
Casting to string something that's already string.
PHP 8.2 / PHPStan analysis: src/utils/Git.php#L42
Strict comparison using !== between string and false will always evaluate to true.
PHP 8.2 / PHPStan analysis: src/utils/Internet.php#L89
Offset 1 does not exist on array{0?: string, 1?: string}.
PHP 8.2 / PHPStan analysis: src/utils/Internet.php#L94
Offset 1 does not exist on array{0?: string, 1?: string}.
PHP 8.2 / PHPStan analysis: src/utils/Internet.php#L99
Offset 1 does not exist on array{0?: string, 1?: string}.