@@ 158-160 (lines=3) @@ | ||
155 | $inTests = defined('Symplify\PHP7_CodeSniffer_IN_TESTS'); |
|
156 | ||
157 | $checkEncoding = false; |
|
158 | if ($this->config->encoding !== 'iso-8859-1' && function_exists('iconv_strlen') === true) { |
|
159 | $checkEncoding = true; |
|
160 | } |
|
161 | ||
162 | $this->tokensWithTabs = array( |
|
163 | T_WHITESPACE => true, |
|
@@ 269-271 (lines=3) @@ | ||
266 | public function replaceTabsInToken(&$token, $prefix=' ', $padding=' ') |
|
267 | { |
|
268 | $checkEncoding = false; |
|
269 | if ($this->config->encoding !== 'iso-8859-1' && function_exists('iconv_strlen') === true) { |
|
270 | $checkEncoding = true; |
|
271 | } |
|
272 | ||
273 | $currColumn = $token['column']; |
|
274 | $tabWidth = $this->config->tabWidth; |