[Uim] (sing-box)add geosite-geolocation-!cn #1310
lint.yml
on: pull_request
php-file-changed
7s
lint
48s
Annotations
10 errors
lint:
src/Controllers/Admin/OrderController.php#L57
* [Disallow equal operators] Operator == is disallowed, use === instead.
|
lint:
src/Controllers/Admin/OrderController.php#L50
* [Superfluous whitespace] Whitespace found at end of line
|
lint:
src/Controllers/Admin/OrderController.php#L1
* [Braces] @@ -49,3 +49,3 @@
- public function search(ServerRequest $request, Response $response, array $args): ResponseInterface
+ public function search(ServerRequest $request, Response $response, array $args): ResponseInterface
{
* [No trailing whitespace] @@ -49,3 +49,3 @@
- public function search(ServerRequest $request, Response $response, array $args): ResponseInterface
+ public function search(ServerRequest $request, Response $response, array $args): ResponseInterface
{
|
lint:
src/Services/Gateway/Smogate.php#L141
* [End file newline] Expected 1 newline at end of file; 0 found
|
lint:
src/Services/Gateway/Smogate.php#L93
* [Space after cast] Expected 1 space after cast statement; 0 found
|
lint:
src/Services/Gateway/Smogate.php#L130
* [Space after not] Expected 1 space after NOT operator; 0 found
|
lint:
src/Services/Gateway/Smogate.php#L94
* [Trailing array comma] Multi-line arrays must have a trailing comma after the last element.
|
lint:
src/Services/Gateway/Smogate.php#L8
* [Alphabetically sorted uses] Use statements should be sorted alphabetically. The first wrong one is App\Models\Config.
|
lint:
src/Services/Gateway/Smogate.php#L11
* [Unused uses] Type Exception is not used in this file.
|
lint:
src/Services/Gateway/Smogate.php#L72
* [Superfluous whitespace] Whitespace found at end of line
|