diff --git a/src/DeprecationAnalyzer.php b/src/DeprecationAnalyzer.php index abdf5f4..12e2679 100644 --- a/src/DeprecationAnalyzer.php +++ b/src/DeprecationAnalyzer.php @@ -217,7 +217,7 @@ final class DeprecationAnalyzer { $composer_name = trim(getenv('COMPOSER')) ?: 'composer.json'; $composer_json_path = $this->finder->getComposerRoot() . '/' . $composer_name; if ($composer_json_path && file_exists($composer_json_path)) { - $json = json_decode(file_get_contents($composer_json_pat), TRUE); + $json = json_decode(file_get_contents($composer_json_path), TRUE); if (is_null($json) || !is_array($json)) { throw new \Exception('Unable to decode composer information from ' . $composer_json_path . '.'); }