chamilo/chamilo-lms

View on GitHub
src/CoreBundle/Controller/ContactCategoryController.php

Summary

Maintainability
A
0 mins
Test Coverage

Add a single space around assignment operators
Open

declare(strict_types=1);

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Route('/{id}', name: 'chamilo_contact_category_delete', methods: ['POST'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Route('/new', name: 'chamilo_contact_category_new', methods: ['GET', 'POST'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Route('/{id}', name: 'chamilo_contact_category_show', methods: ['GET'])]

You must use "/**" style comments for a function comment
Open

    public function index(EntityManagerInterface $entityManager): Response

You must use "/**" style comments for a function comment
Open

    public function new(Request $request, EntityManagerInterface $entityManager): Response

You must use "/**" style comments for a function comment
Open

    public function edit(Request $request, ContactCategory $contactCategory, EntityManagerInterface $entityManager): Response

You must use "/**" style comments for a function comment
Open

    public function show(ContactCategory $contactCategory): Response

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Route('/{id}/edit', name: 'chamilo_contact_category_edit', methods: ['GET', 'POST'])]

You must use "/**" style comments for a class comment
Open

class ContactCategoryController extends AbstractController

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Route('/', name: 'chamilo_contact_category_index', methods: ['GET'])]

You must use "/**" style comments for a function comment
Open

    public function delete(Request $request, ContactCategory $contactCategory, EntityManagerInterface $entityManager): Response

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[Route('/contact/category')]

There are no issues that match your filters.

Category
Status