All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 28s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m33s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 4m36s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
17 lines
338 B
PHP
17 lines
338 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class ImportRequest extends FormRequest
|
|
{
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'frame' => 'required|string|in:import',
|
|
'file' => 'nullable|extensions:ldif|required_without:text',
|
|
'text'=> 'nullable|prohibits:file|string|min:16',
|
|
];
|
|
}
|
|
} |