- Convert class references from strings to static ::class constants built-in to PHP for improved code completion and static analysis.

- Replace Facade references using the global namespace with their FQCN for improved code completion and static analysis.
- delete database\factories\PageFactory.php and app\services\Registrar.php
This commit is contained in:
Arno Kaimbacher 2022-08-05 13:26:42 +02:00
parent c4d74ca631
commit 1b2e77d907
12 changed files with 32 additions and 88 deletions

View file

@ -1,4 +1,5 @@
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
@ -12,11 +13,11 @@ class Kernel extends ConsoleKernel
* @var array
*/
protected $commands = [
'App\Console\Commands\Inspire',
'App\Console\Commands\DatasetState',
'App\Console\Commands\SolrIndexBuilder',
'App\Console\Commands\Log\ClearLogFile',
'App\Console\Commands\UpdateSolrDataset'
\App\Console\Commands\Inspire::class,
\App\Console\Commands\DatasetState::class,
\App\Console\Commands\SolrIndexBuilder::class,
\App\Console\Commands\Log\ClearLogFile::class,
\App\Console\Commands\UpdateSolrDataset::class,
];
/**