Add phpdoc_separation rule
This commit is contained in:
parent
d21740d458
commit
466f9f7edc
@ -52,7 +52,6 @@ abstract class ApplicationApiController extends Controller
|
||||
* @template T of \App\Transformers\Api\Application\BaseTransformer
|
||||
*
|
||||
* @param class-string<T> $abstract
|
||||
*
|
||||
* @return T
|
||||
*
|
||||
* @noinspection PhpDocSignatureInspection
|
||||
|
@ -42,7 +42,6 @@ abstract class ClientApiController extends ApplicationApiController
|
||||
* @template T of \App\Transformers\Api\Client\BaseClientTransformer
|
||||
*
|
||||
* @param class-string<T> $abstract
|
||||
*
|
||||
* @return T
|
||||
*
|
||||
* @noinspection PhpDocSignatureInspection
|
||||
|
@ -75,7 +75,6 @@ abstract class ApplicationApiRequest extends FormRequest
|
||||
* @template T of \Illuminate\Database\Eloquent\Model
|
||||
*
|
||||
* @param class-string<T> $expect
|
||||
*
|
||||
* @return T
|
||||
*
|
||||
* @noinspection PhpDocSignatureInspection
|
||||
|
@ -71,6 +71,7 @@ use App\Exceptions\Http\Server\ServerStateConflictException;
|
||||
* @property \App\Models\User $user
|
||||
* @property \Illuminate\Database\Eloquent\Collection|\App\Models\EggVariable[] $variables
|
||||
* @property int|null $variables_count
|
||||
*
|
||||
* @method static \Database\Factories\ServerFactory factory(...$parameters)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Server newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Server newQuery()
|
||||
@ -101,6 +102,7 @@ use App\Exceptions\Http\Server\ServerStateConflictException;
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Server whereUpdatedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Server whereUuid($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Server whereuuid_short($value)
|
||||
*
|
||||
* @property array|null $docker_labels
|
||||
* @property string|null $ports
|
||||
* @property-read mixed $condition
|
||||
@ -108,10 +110,12 @@ use App\Exceptions\Http\Server\ServerStateConflictException;
|
||||
* @property-read int|null $egg_variables_count
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ServerVariable> $serverVariables
|
||||
* @property-read int|null $server_variables_count
|
||||
*
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Server whereDockerLabels($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Server whereInstalledAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Server wherePorts($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|Server whereUuidShort($value)
|
||||
*
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class Server extends Model
|
||||
|
@ -19,6 +19,7 @@ class DeleteFilesService
|
||||
|
||||
/**
|
||||
* Deletes the given files.
|
||||
*
|
||||
* @throws DaemonConnectionException
|
||||
*/
|
||||
public function handle(Server $server, array $files): void
|
||||
|
@ -22,6 +22,7 @@ trait EnvironmentWriterTrait
|
||||
|
||||
/**
|
||||
* Update the .env file for the application using the passed in values.
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function writeToEnvironment(array $values = []): void
|
||||
|
@ -90,7 +90,6 @@ abstract class BaseTransformer extends TransformerAbstract
|
||||
* @template T of \App\Transformers\Api\Application\BaseTransformer
|
||||
*
|
||||
* @param class-string<T> $abstract
|
||||
*
|
||||
* @return T
|
||||
*
|
||||
* @throws \App\Exceptions\Transformer\InvalidTransformerLevelException
|
||||
|
@ -2,7 +2,6 @@
|
||||
"preset": "laravel",
|
||||
"rules": {
|
||||
"not_operator_with_successor_space": false,
|
||||
"ordered_imports": false,
|
||||
"phpdoc_separation": false
|
||||
"ordered_imports": false
|
||||
}
|
||||
}
|
||||
|
@ -66,7 +66,6 @@ trait CreatesTestModels
|
||||
* is assumed that the user is actually a subuser of the server.
|
||||
*
|
||||
* @param string[] $permissions
|
||||
*
|
||||
* @return array{\App\Models\User, \App\Models\Server}
|
||||
*/
|
||||
public function generateTestAccount(array $permissions = []): array
|
||||
|
Loading…
x
Reference in New Issue
Block a user