mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-12 03:16:34 +00:00
Clean up
This commit is contained in:
@@ -27,8 +27,10 @@ find_invalid_indentation() {
|
||||
$leading_space_count = strspn($line, ' ');
|
||||
$remainder = $leading_space_count % 4;
|
||||
if ($remainder !== 0) {
|
||||
$trimmed_line = ltrim($line);
|
||||
|
||||
// Allow doc comments.
|
||||
if (substr(ltrim($line), 0, 1) === '*') {
|
||||
if (substr($trimmed_line, 0, 1) === '*') {
|
||||
continue;
|
||||
}
|
||||
$add_count = 4 - $remainder;
|
||||
|
||||
Reference in New Issue
Block a user