src/CoreBundle/Controller/FileManagerController.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/file-manager')]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class FileManagerController extends AbstractController
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/upload-image', name: 'file_manager_upload_image', methods: ['POST'])]
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function upload(): JsonResponse
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function rename(): JsonResponse
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/delete', name: 'file_manager_delete', methods: ['DELETE'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/upload', name: 'file_manager_upload', methods: ['POST'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/rename', name: 'file_manager_rename', methods: ['POST'])]
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function list(): JsonResponse
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function uploadImage(Request $request): JsonResponse
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function createFolder(): JsonResponse
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/download/{filename}', name: 'file_manager_download', methods: ['GET'])]
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function delete(): JsonResponse
- Exclude checks
Missing function doc comment Open
Open
public function __construct(
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/list', name: 'file_manager_list', methods: ['GET'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/create-folder', name: 'file_manager_create_folder', methods: ['POST'])]
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function download(string $filename): Response
- Exclude checks