mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 12:14:36 +00:00
Allow method chaining indentation
This commit is contained in:
@@ -37,6 +37,12 @@ find_invalid_indentation() {
|
||||
if (substr($trimmed_line, 0, 1) === '*') {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Allow method chaining.
|
||||
if (substr($trimmed_line, 0, 2) === '->') {
|
||||
continue;
|
||||
}
|
||||
|
||||
$add_count = 4 - $remainder;
|
||||
$remove_count = $remainder;
|
||||
echo 'Invalid indentation found in ' .
|
||||
|
||||
Reference in New Issue
Block a user