src/CoreBundle/Controller/ResourceController.php
You must use "/**" style comments for a function comment Open
Open
public function diskSpace(Request $request): Response
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/{tool}/{type}/{id}/view', name: 'chamilo_core_resource_view', methods: ['GET'])]
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class ResourceController extends AbstractResourceController implements CourseControllerInterface
- Exclude checks
Closing brace must be on a line by itself Open
Open
) {}
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function view(Request $request, TrackEDownloadsRepository $trackEDownloadsRepository): Response
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route(path: '/{tool}/{type}/{id}/disk_space', methods: ['GET', 'POST'], name: 'chamilo_core_resource_disk_space')]
- 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('/r')]
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function link(Request $request, RouterInterface $router, CLinkRepository $cLinkRepository): RedirectResponse
- Exclude checks
Missing function doc comment Open
Open
public function changeVisibilityAll(
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/{tool}/{type}/{id}/link', name: 'chamilo_core_resource_link', methods: ['GET'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route(
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/{tool}/{type}/{id}/change_visibility', name: 'chamilo_core_resource_change_visibility', methods: ['POST'])]
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function changeVisibility(
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function download(Request $request, TrackEDownloadsRepository $trackEDownloadsRepository): Response
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/{tool}/{type}/{id}/download', name: 'chamilo_core_resource_download', methods: ['GET'])]
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
private readonly UserHelper $userHelper,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
private readonly ResourceNodeRepository $resourceNodeRepository,
- Exclude checks
Closing brace must be on a line by itself Open
Open
) {}
- Exclude checks