Upgrade Laravel 10/11 #90
Annotations
10 errors and 1 warning
PHPStan:
src/Log/Channels/ConsoleOutputChannel.php#L1
Ignored error pattern #^Method LaraStrict\\Log\\Channels\\ConsoleOutputChannel\:\:getLevel\(\) should return 100\|200\|250\|300\|400\|500\|550\|600\|'ALERT'\|'alert'\|'CRITICAL'\|'critical'\|'DEBUG'\|'debug'\|'EMERGENCY'\|'emergency'\|'ERROR'\|'error'\|'INFO'\|'info'\|'NOTICE'\|'notice'\|'WARNING'\|'warning' but returns int\|string\.$# in path /home/runner/work/larastrict/larastrict/src/Log/Channels/ConsoleOutputChannel.php was not matched in reported errors.
|
PHPStan:
src/Log/Channels/ConsoleOutputChannel.php#L18
Cannot import type alias Level: type alias does not exist in Monolog\Logger.
|
PHPStan:
src/Log/Channels/ConsoleOutputChannel.php#L18
Cannot import type alias LevelName: type alias does not exist in Monolog\Logger.
|
PHPStan:
src/Log/Channels/ConsoleOutputChannel.php#L43
Method LaraStrict\Log\Channels\ConsoleOutputChannel::getLevel() has invalid return type LaraStrict\Log\Channels\Level.
|
PHPStan:
src/Log/Channels/ConsoleOutputChannel.php#L43
Method LaraStrict\Log\Channels\ConsoleOutputChannel::getLevel() has invalid return type LaraStrict\Log\Channels\LevelName.
|
PHPStan:
src/Log/Channels/ConsoleOutputChannel.php#L43
PHPDoc tag @return with type LaraStrict\Log\Channels\Level|LaraStrict\Log\Channels\LevelName|string is not subtype of native type int|string.
|
PHPStan:
src/Log/Channels/ConsoleOutputChannel.php#L53
Fetching deprecated class constant DEBUG of class Monolog\Logger:
Use \Monolog\Level::Debug
|
PHPStan:
src/Log/Handlers/ConsoleOutputHandler.php#L20
Cannot import type alias Level: type alias does not exist in Monolog\Logger.
|
PHPStan:
src/Log/Handlers/ConsoleOutputHandler.php#L20
Cannot import type alias LevelName: type alias does not exist in Monolog\Logger.
|
PHPStan:
src/Log/Handlers/ConsoleOutputHandler.php#L25
PHPDoc tag @param for parameter $level with type LaraStrict\Log\Handlers\Level|LaraStrict\Log\Handlers\LevelName|string is not subtype of native type int|string.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading