diff options
Diffstat (limited to 'crates/shirabe-php-rpc/php/guards/Composer/DependencyResolver/LocalRepoTransaction.php')
| -rw-r--r-- | crates/shirabe-php-rpc/php/guards/Composer/DependencyResolver/LocalRepoTransaction.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/crates/shirabe-php-rpc/php/guards/Composer/DependencyResolver/LocalRepoTransaction.php b/crates/shirabe-php-rpc/php/guards/Composer/DependencyResolver/LocalRepoTransaction.php new file mode 100644 index 00000000..8c702b28 --- /dev/null +++ b/crates/shirabe-php-rpc/php/guards/Composer/DependencyResolver/LocalRepoTransaction.php @@ -0,0 +1,20 @@ +<?php + +// Generated by scripts/plugin-stub-generator; do not edit by hand. +// Guard for Composer\DependencyResolver\LocalRepoTransaction. +// The Rust side owns this class and the worker has no proxy for it, so this +// declaration shadows the real one: the constants and the hierarchy stay, while +// constructing it or calling anything on it raises an explicit error. + +namespace Composer\DependencyResolver; + +use Composer\Repository\InstalledRepositoryInterface; +use Composer\Repository\RepositoryInterface; + +class LocalRepoTransaction extends Transaction +{ + public function __construct(RepositoryInterface $lockedRepository, InstalledRepositoryInterface $localRepository) + { + \ShirabeUnsupportedClass::fail(self::class, '__construct'); + } +} |
