diff --git a/composer-dependency-analyser.php b/composer-dependency-analyser.php index 9ed8064..7edf9df 100644 --- a/composer-dependency-analyser.php +++ b/composer-dependency-analyser.php @@ -1,9 +1,10 @@ ignoreErrorsOnPackage('phpstan/phpdoc-parser', [ErrorType::SHADOW_DEPENDENCY]); // it gets autoloaded from within the PHPStan.phar when running PHPStan +require_once('phar://phpstan.phar/preload.php'); // prepends PHPStan's PharAutolaoder to composer's autoloader + +return new Configuration(); diff --git a/composer.json b/composer.json index 19db04b..e8f7986 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "phpstan/phpstan-phpunit": "^1.1.1", "phpstan/phpstan-strict-rules": "^1.2.3", "phpunit/phpunit": "^9.5.20", - "shipmonk/composer-dependency-analyser": "^1.2.0", + "shipmonk/composer-dependency-analyser": "dev-support-more-loaders", "shipmonk/name-collision-detector": "^2.0.0", "slevomat/coding-standard": "^8.0.1" }, diff --git a/composer.lock b/composer.lock index 340e575..e3db15b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7ea06564ca86ef5cace89c6fb3109ead", + "content-hash": "e7c30a9b798e3a30306de46298e43e15", "packages": [ { "name": "nikic/php-parser", @@ -2787,16 +2787,16 @@ }, { "name": "shipmonk/composer-dependency-analyser", - "version": "1.2.1", + "version": "dev-support-more-loaders", "source": { "type": "git", "url": "https://github.com/shipmonk-rnd/composer-dependency-analyser.git", - "reference": "d44a0ec7d3b66fd73d5c32981c81569c9b85bddc" + "reference": "0ae84077b0145a8c0a0fa1ac80cedef568801157" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/shipmonk-rnd/composer-dependency-analyser/zipball/d44a0ec7d3b66fd73d5c32981c81569c9b85bddc", - "reference": "d44a0ec7d3b66fd73d5c32981c81569c9b85bddc", + "url": "https://api.github.com/repos/shipmonk-rnd/composer-dependency-analyser/zipball/0ae84077b0145a8c0a0fa1ac80cedef568801157", + "reference": "0ae84077b0145a8c0a0fa1ac80cedef568801157", "shasum": "" }, "require": { @@ -2843,9 +2843,9 @@ ], "support": { "issues": "https://github.com/shipmonk-rnd/composer-dependency-analyser/issues", - "source": "https://github.com/shipmonk-rnd/composer-dependency-analyser/tree/1.2.1" + "source": "https://github.com/shipmonk-rnd/composer-dependency-analyser/tree/support-more-loaders" }, - "time": "2024-02-16T10:44:07+00:00" + "time": "2024-03-04T11:55:20+00:00" }, { "name": "shipmonk/name-collision-detector", @@ -3092,7 +3092,9 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": { + "shipmonk/composer-dependency-analyser": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": {