diff --git a/composer.json b/composer.json index 30a00ce..fa6924c 100644 --- a/composer.json +++ b/composer.json @@ -45,7 +45,7 @@ "repositories": [ { "type": "git", - "url": "https://github.com/mousetraps/tolerant-php-parser.git" + "url": "https://github.com/Microsoft/tolerant-php-parser.git" } ], "prefer-stable": true, diff --git a/src/ComposerScripts.php b/src/ComposerScripts.php index 086a010..c8c7a16 100644 --- a/src/ComposerScripts.php +++ b/src/ComposerScripts.php @@ -30,7 +30,7 @@ class ComposerScripts $finder = new FileSystemFilesFinder; $contentRetriever = new FileSystemContentRetriever; $docBlockFactory = DocBlockFactory::createInstance(); - $parser = Tolerant\Parser(); + $parser = new Tolerant\Parser(); $definitionResolver = new TolerantDefinitionResolver($index); $stubsLocation = null;