src/CoreBundle/Controller/ContactCategoryController.php
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/{id}', name: 'chamilo_contact_category_delete', methods: ['POST'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/new', name: 'chamilo_contact_category_new', methods: ['GET', 'POST'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/{id}', name: 'chamilo_contact_category_show', methods: ['GET'])]
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function index(EntityManagerInterface $entityManager): Response
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function new(Request $request, EntityManagerInterface $entityManager): Response
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function edit(Request $request, ContactCategory $contactCategory, EntityManagerInterface $entityManager): Response
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function show(ContactCategory $contactCategory): Response
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/{id}/edit', name: 'chamilo_contact_category_edit', methods: ['GET', 'POST'])]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class ContactCategoryController extends AbstractController
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/', name: 'chamilo_contact_category_index', methods: ['GET'])]
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function delete(Request $request, ContactCategory $contactCategory, EntityManagerInterface $entityManager): Response
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/contact/category')]
- Exclude checks