Fix tests #2
Annotations
10 errors and 3 warnings
phpstan:
src/ContextProviders/LaravelLivewireRequestContextProvider.php#L1
Ignored error pattern #^Method Spatie\\LaravelIgnition\\ContextProviders\\LaravelLivewireRequestContextProvider\:\:resolveUpdates\(\) has parameter \$updates with no value type specified in iterable type array\.$# in path /home/runner/work/laravel-flare/laravel-flare/src/ContextProviders/LaravelLivewireRequestContextProvider.php was not matched in reported errors.
|
phpstan:
src/ContextProviders/LaravelLivewireRequestContextProvider.php#L118
Method Spatie\LaravelFlare\ContextProviders\LaravelLivewireRequestContextProvider::resolveUpdates() has parameter $updates with no value type specified in iterable type array.
|
phpstan:
src/ContextProviders/LaravelRequestContextProvider.php#L1
Ignored error pattern #^Method Spatie\\LaravelIgnition\\ContextProviders\\LaravelRequestContextProvider\:\:toArray\(\) should return array\<int, mixed\> but returns array\<string, mixed\>\.$# in path /home/runner/work/laravel-flare/laravel-flare/src/ContextProviders/LaravelRequestContextProvider.php was not matched in reported errors.
|
phpstan:
src/ContextProviders/LaravelRequestContextProvider.php#L1
Ignored error pattern #^Return type \(array\<int, mixed\>\) of method Spatie\\LaravelIgnition\\ContextProviders\\LaravelRequestContextProvider\:\:toArray\(\) should be compatible with return type \(array\<string, mixed\>\) of method Spatie\\FlareClient\\Context\\RequestContextProvider\:\:toArray\(\)$# in path /home/runner/work/laravel-flare/laravel-flare/src/ContextProviders/LaravelRequestContextProvider.php was not matched in reported errors.
|
phpstan:
src/ContextProviders/LaravelRequestContextProvider.php#L88
Return type (array<int, mixed>) of method Spatie\LaravelFlare\ContextProviders\LaravelRequestContextProvider::toArray() should be compatible with return type (array<string, mixed>) of method Spatie\FlareClient\Context\RequestContextProvider::toArray()
|
phpstan:
src/ContextProviders/LaravelRequestContextProvider.php#L100
Method Spatie\LaravelFlare\ContextProviders\LaravelRequestContextProvider::toArray() should return array<int, mixed> but returns array<string, mixed>.
|
phpstan:
src/FlareServiceProvider.php#L52
Method Spatie\LaravelFlare\FlareServiceProvider::boot() has no return type specified.
|
phpstan:
src/FlareServiceProvider.php#L73
Cannot access offset 'config' on Illuminate\Contracts\Foundation\Application.
|
phpstan:
src/FlareServiceProvider.php#L181
Cannot call method map() on class-string|object.
|
phpstan:
src/FlareServiceProvider.php#L242
Parameter #1 $name of static method Monolog\Level::fromName() expects 'ALERT'|'Alert'|'alert'|'CRITICAL'|'Critical'|'critical'|'DEBUG'|'Debug'|'debug'|'EMERGENCY'|'Emergency'|'emergency'|'ERROR'|'Error'|'error'|'INFO'|'Info'|'info'|'NOTICE'|'Notice'|'notice'|'WARNING'|'Warning'|'warning', string given.
|
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
phpstan
The following actions uses node12 which is deprecated and will be forced to run on node16: ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
phpstan
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|