src/CoreBundle/Controller/NewsController.php
You must use "/**" style comments for a class comment Open
Open
class NewsController extends BaseController
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/news')]
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function index(SysAnnouncementRepository $sysAnnouncementRepository): Response
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Missing function doc comment Open
Open
public function __construct(
- Exclude checks
Closing brace must be on a line by itself Open
Open
) {}
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/list', name: 'news_index', methods: ['GET'])]
- Exclude checks
Closing brace must be on a line by itself Open
Open
) {}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
private readonly AccessUrlHelper $accessUrlHelper,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
private readonly UserHelper $userHelper,
- Exclude checks