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.
1 parent dfc62cc commit 839fef8Copy full SHA for 839fef8
TwigCS/Config/Config.php
@@ -59,7 +59,7 @@ public function findFiles()
59
// Include all matching paths.
60
foreach ($paths as $path) {
61
// Trim absolute path
62
- if (substr($path, 0, strlen($workingDir)) == $workingDir) {
+ if (substr($path, 0, strlen($workingDir)) === $workingDir) {
63
$path = ltrim(substr($path, strlen($workingDir)), '/');
64
}
65
0 commit comments