Coding-standard: ControlStructureSpacingSniff false positive

Created on 21 Sep 2018  路  2Comments  路  Source: slevomat/coding-standard

<?php

declare(strict_types=1);

return;

Expected result: no warnings

Actual result:

Expected 1 lines after "return", found -6.

Slevomat Coding Standard version: 4.8.0
PHP_CodeSniffer version: 3.3.1
PHP version: 7.2.8

Bug

Most helpful comment

All 2 comments

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings