We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents caf8060 + e611ee3 commit 3b89b1bCopy full SHA for 3b89b1b
src/Config.php
@@ -1718,11 +1718,6 @@ public static function getAllConfigData()
1718
$configFile = dirname($path).DIRECTORY_SEPARATOR.'CodeSniffer.conf';
1719
} else {
1720
$configFile = dirname(__DIR__).DIRECTORY_SEPARATOR.'CodeSniffer.conf';
1721
- if (is_file($configFile) === false
1722
- && strpos('@data_dir@', '@data_dir') === false
1723
- ) {
1724
- $configFile = '@data_dir@/PHP_CodeSniffer/CodeSniffer.conf';
1725
- }
1726
}
1727
1728
if (is_file($configFile) === false) {
0 commit comments