Skip to content

Commit

Permalink
chore: adjust php-cs-fixer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
albertcht committed Aug 10, 2023
1 parent 7943610 commit e80927e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
'@Symfony' => true,
'@DoctrineAnnotation' => true,
'@PhpCsFixer' => true,
'phpdoc_no_alias_tag' => false,
'array_syntax' => [
'syntax' => 'short',
],
Expand Down Expand Up @@ -85,6 +86,7 @@
PhpCsFixer\Finder::create()
->exclude('public')
->exclude('runtime')
->exclude('storage')
->exclude('vendor')
->in(__DIR__)
)
Expand Down
9 changes: 1 addition & 8 deletions routes/web.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
<?php

declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://hyperf.wiki
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

use Hyperf\HttpServer\Router\Router;

Router::addRoute(['GET', 'POST', 'HEAD'], '/', [App\Http\Controllers\IndexController::class, 'index'], ['name' => 'home']);
Expand Down

0 comments on commit e80927e

Please sign in to comment.