Skip to content

Commit

Permalink
UHF-10713: Add phpstan/extension-installer to composer allow-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Dec 17, 2024
1 parent 244e613 commit 9d57e97
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Update/migrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,3 +272,16 @@ function drupal_tools_update_13() : UpdateResult {
'Removed direct dependency to ' . implode(', ', $remove),
]);
}

/**
* Allow phpstan/extension-installer. This was accidentally removed by drupal_tools_update_13.
*/
function drupal_tools_update_14() : UpdateResult {
// Ensure drupal/core-dev is required.
(new Process(['composer', 'config', 'allow-plugins.phpstan/extension-installer', 'true', '--no-interaction']))
->run();

return new UpdateResult([
'Added phpstan/extension-installer to allow-plugins',
]);
}

0 comments on commit 9d57e97

Please sign in to comment.