1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 18:54:03 +00:00

php-cs-fixer

This commit is contained in:
Samuel Štancl 2022-09-29 15:31:44 +02:00
parent 147b2fe3c0
commit abbeae3072
12 changed files with 15 additions and 13 deletions

View file

@ -63,6 +63,7 @@
"docker-m1": "ln -s docker-compose-m1.override.yml docker-compose.override.yml", "docker-m1": "ln -s docker-compose-m1.override.yml docker-compose.override.yml",
"coverage": "open coverage/phpunit/html/index.html", "coverage": "open coverage/phpunit/html/index.html",
"phpstan": "vendor/bin/phpstan", "phpstan": "vendor/bin/phpstan",
"cs": "php-cs-fixer fix --config=.php-cs-fixer.php",
"test": "PHP_VERSION=8.1 ./test --no-coverage", "test": "PHP_VERSION=8.1 ./test --no-coverage",
"test-full": "PHP_VERSION=8.1 ./test" "test-full": "PHP_VERSION=8.1 ./test"
}, },

View file

@ -19,7 +19,7 @@ trait MaintenanceMode
'refresh' => $data['refresh'] ?? null, 'refresh' => $data['refresh'] ?? null,
'secret' => $data['secret'] ?? null, 'secret' => $data['secret'] ?? null,
'status' => $data['status'] ?? 503, 'status' => $data['status'] ?? 503,
] ],
]); ]);
} }

View file

@ -18,7 +18,8 @@ class CreateStorageSymlinks implements ShouldQueue
public function __construct( public function __construct(
public Tenant $tenant, public Tenant $tenant,
) {} ) {
}
public function handle(): void public function handle(): void
{ {