| @@ 953-958 (lines=6) @@ | ||
| 950 | return true; |
|
| 951 | } |
|
| 952 | ||
| 953 | if (PHP_CodeSniffer_CBF === true |
|
| 954 | && isset($element['phpcbf-only']) === true |
|
| 955 | && (string) $element['phpcbf-only'] === 'true' |
|
| 956 | ) { |
|
| 957 | return true; |
|
| 958 | } |
|
| 959 | ||
| 960 | if (PHP_CodeSniffer_CBF === false |
|
| 961 | && isset($element['phpcs-only']) === true |
|
| @@ 960-965 (lines=6) @@ | ||
| 957 | return true; |
|
| 958 | } |
|
| 959 | ||
| 960 | if (PHP_CodeSniffer_CBF === false |
|
| 961 | && isset($element['phpcs-only']) === true |
|
| 962 | && (string) $element['phpcs-only'] === 'true' |
|
| 963 | ) { |
|
| 964 | return true; |
|
| 965 | } |
|
| 966 | ||
| 967 | return false; |
|
| 968 | ||