Skip to content

Commit

Permalink
Add jangregor/phpstan-prophecy as dev dependency
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Kingdutch committed Jan 2, 2025
1 parent efc9f1d commit cff90b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit cff90b0

Please sign in to comment.