From cff90b0543ae66b4b26b410335496523bc8b6b02 Mon Sep 17 00:00:00 2001 From: Alexander Varwijk Date: Thu, 2 Jan 2025 14:33:20 +0100 Subject: [PATCH] Add jangregor/phpstan-prophecy as dev dependency The phpspec/prophecy tool was adopted for mocking in PHPUnit classes (though it's not entirely clear why this tool over PHPUnit's built-in tools). To make sure PHPStan understands what the tool does we need an extension that tells PHPStan it's still the underlying mocked class. The added extension is such an extension and was previously added to the distribution only, but is now added to our dev package so we can use it everywhere. --- composer.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/composer.json b/composer.json index 642b78a..f332d44 100644 --- a/composer.json +++ b/composer.json @@ -10,8 +10,13 @@ "drupal/devel": "^5.1.2", "drupal/drupal-extension": "^v5.0.0rc1 || v5.1.0", "friends-of-behat/mink-debug-extension": "^2.1", +<<<<<<< Updated upstream "drush/drush": "^12 | ^13", "drupal/upgrade_status":"^4.3", +======= + "jangregor/phpstan-prophecy": "^1.0", + "drush/drush": "^12", +>>>>>>> Stashed changes "kingdutch/cucumber-linter": "^0.1.0", "mglaman/phpstan-drupal": "1.2.4", "mikey179/vfsstream": "^1.6.11",