Skip to content

Conversation

@christianbeeznest
Copy link
Contributor

No description provided.

@@ -0,0 +1,119 @@
<?php

declare(strict_types=1);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a single space around assignment operators

use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Core\Security;

#[Route('/validate')]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

use Symfony\Component\Security\Core\Security;

#[Route('/validate')]
class ValidationTokenController extends AbstractController

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

#[Route('/validate')]
class ValidationTokenController extends AbstractController
{
public function __construct(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing function doc comment

class ValidationTokenController extends AbstractController
{
public function __construct(
private readonly ValidationTokenHelper $validationTokenHelper,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line indented incorrectly; expected 4 spaces, found 8

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit b915da8 and detected 74 issues on this pull request.

Here's the issue category breakdown:

Category Count
Style 67
Clarity 6
Bug Risk 1

View more on Code Climate.

@christianbeeznest christianbeeznest merged commit e717c78 into chamilo:master Dec 18, 2024
2 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant