Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
philbates35 committed Feb 14, 2024
1 parent 89048ac commit 2172d6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
// * https://github.com/rectorphp/rector/issues/8006
// * https://github.com/larastan/larastan/issues/1664#issuecomment-1637152828
$rectorConfig->bootstrapFiles([__DIR__ . '/vendor/larastan/larastan/bootstrap.php']);
$rectorConfig->phpstanConfig(__DIR__ . '/phpstan.neon.dist');
// $rectorConfig->phpstanConfig(__DIR__ . '/phpstan.neon.dist');

$rectorConfig->sets([
LevelSetList::UP_TO_PHP_83,
Expand Down
4 changes: 3 additions & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@
|
*/

Route::get('/', static fn() => view('welcome'));
Route::get('/', static function () {
return \App::make(\Illuminate\Contracts\Config\Repository::class)->get('app.url');

Check failure on line 19 in routes/web.php

View workflow job for this annotation

GitHub Actions / phpstan

Cannot call method get() on mixed.
});

0 comments on commit 2172d6f

Please sign in to comment.