Run PHPStan on 5.1 branch #173
Annotations
22 errors
PHPStan - 8.0
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php ^8.1 but your php version (8.0.30) does not satisfy that requirement.
Problem 2
- Root composer.json requires illuminate/cache ^10.0 -> satisfiable by illuminate/cache[v10.0.0, ..., 10.x-dev].
- illuminate/cache[v10.0.0, ..., 10.x-dev] require php ^8.1 -> your php version (8.0.30) does not satisfy that requirement.
Problem 3
- Root composer.json requires illuminate/database ^10.0 -> satisfiable by illuminate/database[v10.0.0, ..., 10.x-dev].
- illuminate/database[v10.0.0, ..., 10.x-dev] require php ^8.1 -> your php version (8.0.30) does not satisfy that requirement.
Problem 4
- Root composer.json requires illuminate/events ^10.0 -> satisfiable by illuminate/events[v10.0.0, ..., 10.x-dev].
- illuminate/events[v10.0.0, ..., 10.x-dev] require php ^8.1 -> your php version (8.0.30) does not satisfy that requirement.
Problem 5
- Root composer.json requires illuminate/filesystem ^10.0 -> satisfiable by illuminate/filesystem[v10.0.0, ..., 10.x-dev].
- illuminate/filesystem[v10.0.0, ..., 10.x-dev] require php ^8.1 -> your php version (8.0.30) does not satisfy that requirement.
Problem 6
- Root composer.json requires monolog/monolog ^3.5 -> satisfiable by monolog/monolog[3.5.0, 3.x-dev].
- monolog/monolog[3.5.0, ..., 3.x-dev] require php >=8.1 -> your php version (8.0.30) does not satisfy that requirement.
Problem 7
- Root composer.json requires userfrosting/framework ^5.1@dev -> satisfiable by userfrosting/framework[5.1.x-dev].
- userfrosting/framework 5.1.x-dev requires php ^8.1 -> your php version (8.0.30) does not satisfy that requirement.
Problem 8
- Root composer.json requires phpunit/phpunit ^10.5 -> satisfiable by phpunit/phpunit[10.5.0, ..., 10.5.x-dev].
- phpunit/phpunit[10.5.0, ..., 10.5.x-dev] require php >=8.1 -> your php version (8.0.30) does not satisfy that requirement.
|
PHPStan - 8.0
Process completed with exit code 2.
|
PHPStan - 8.1:
app/src/Log/DebugLogger.php#L20
Class UserFrosting\Sprinkle\Core\Log\DebugLogger extends @Final class Monolog\Logger.
|
PHPStan - 8.1:
app/src/Log/ErrorLogger.php#L20
Class UserFrosting\Sprinkle\Core\Log\ErrorLogger extends @Final class Monolog\Logger.
|
PHPStan - 8.1:
app/src/Log/MailLogger.php#L20
Class UserFrosting\Sprinkle\Core\Log\MailLogger extends @Final class Monolog\Logger.
|
PHPStan - 8.1:
app/src/Log/QueryLogger.php#L20
Class UserFrosting\Sprinkle\Core\Log\QueryLogger extends @Final class Monolog\Logger.
|
PHPStan - 8.1:
app/src/Sprunje/Sprunje.php#L265
Call to an undefined method Illuminate\Database\Eloquent\Builder|Illuminate\Database\Eloquent\Relations\Relation|Illuminate\Database\Query\Builder::select().
|
PHPStan - 8.1:
app/src/Sprunje/Sprunje.php#L272
Call to an undefined method Illuminate\Database\Eloquent\Builder|Illuminate\Database\Eloquent\Relations\Relation|Illuminate\Database\Query\Builder::chunk().
|
PHPStan - 8.1:
app/src/Sprunje/Sprunje.php#L318
Method UserFrosting\Sprinkle\Core\Sprunje\Sprunje::getModels() return type with generic class Illuminate\Support\Collection does not specify its types: TKey, TValue
|
PHPStan - 8.1:
app/src/Sprunje/Sprunje.php#L416
Call to an undefined method Illuminate\Database\Eloquent\Builder|Illuminate\Database\Eloquent\Relations\Relation|Illuminate\Database\Query\Builder::where().
|
PHPStan - 8.1:
app/src/Sprunje/Sprunje.php#L450
Call to an undefined method Illuminate\Database\Eloquent\Builder|Illuminate\Database\Eloquent\Relations\Relation|Illuminate\Database\Query\Builder::orderBy().
|
PHPStan - 8.1:
app/src/Sprunje/Sprunje.php#L471
Call to an undefined method Illuminate\Database\Eloquent\Builder|Illuminate\Database\Eloquent\Relations\Relation|Illuminate\Database\Query\Builder::skip().
|
PHPStan - 8.2:
app/src/Log/DebugLogger.php#L20
Class UserFrosting\Sprinkle\Core\Log\DebugLogger extends @Final class Monolog\Logger.
|
PHPStan - 8.2:
app/src/Log/ErrorLogger.php#L20
Class UserFrosting\Sprinkle\Core\Log\ErrorLogger extends @Final class Monolog\Logger.
|
PHPStan - 8.2:
app/src/Log/MailLogger.php#L20
Class UserFrosting\Sprinkle\Core\Log\MailLogger extends @Final class Monolog\Logger.
|
PHPStan - 8.2:
app/src/Log/QueryLogger.php#L20
Class UserFrosting\Sprinkle\Core\Log\QueryLogger extends @Final class Monolog\Logger.
|
PHPStan - 8.2:
app/src/Sprunje/Sprunje.php#L265
Call to an undefined method Illuminate\Database\Eloquent\Builder|Illuminate\Database\Eloquent\Relations\Relation|Illuminate\Database\Query\Builder::select().
|
PHPStan - 8.2:
app/src/Sprunje/Sprunje.php#L272
Call to an undefined method Illuminate\Database\Eloquent\Builder|Illuminate\Database\Eloquent\Relations\Relation|Illuminate\Database\Query\Builder::chunk().
|
PHPStan - 8.2:
app/src/Sprunje/Sprunje.php#L318
Method UserFrosting\Sprinkle\Core\Sprunje\Sprunje::getModels() return type with generic class Illuminate\Support\Collection does not specify its types: TKey, TValue
|
PHPStan - 8.2:
app/src/Sprunje/Sprunje.php#L416
Call to an undefined method Illuminate\Database\Eloquent\Builder|Illuminate\Database\Eloquent\Relations\Relation|Illuminate\Database\Query\Builder::where().
|
PHPStan - 8.2:
app/src/Sprunje/Sprunje.php#L450
Call to an undefined method Illuminate\Database\Eloquent\Builder|Illuminate\Database\Eloquent\Relations\Relation|Illuminate\Database\Query\Builder::orderBy().
|
PHPStan - 8.2:
app/src/Sprunje/Sprunje.php#L471
Call to an undefined method Illuminate\Database\Eloquent\Builder|Illuminate\Database\Eloquent\Relations\Relation|Illuminate\Database\Query\Builder::skip().
|