aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/plugin-class-classifier/lists/overrides.list1
-rw-r--r--scripts/plugin-stub-generator/guard-exemptions.list4
2 files changed, 5 insertions, 0 deletions
diff --git a/scripts/plugin-class-classifier/lists/overrides.list b/scripts/plugin-class-classifier/lists/overrides.list
index 099578e0..69084d44 100644
--- a/scripts/plugin-class-classifier/lists/overrides.list
+++ b/scripts/plugin-class-classifier/lists/overrides.list
@@ -5,3 +5,4 @@ Composer\Autoload\ClassLoader php-native the child bootstraps via the real vendo
Composer\InstalledVersions php-native same bootstrap constraint as ClassLoader (real file in vendor/composer is always loaded); its static $installed is genuinely shared state — Rust must push a reload after each install dump (see static-state.list needs-sync)
Composer\Platform\HhvmDetector php-native stateless environment probe; only reachable as a consumed ctor param of PlatformRepository, no Rust-owned instance is ever provided to plugins. Plugin-custom detectors passed into a proxied PlatformRepository become an explicit error.
Composer\Package\Version\VersionGuesser php-native stateless computation over VCS output; only reachable as a consumed ctor param of RootPackageLoader, no Rust-owned instance is ever provided to plugins. Plugin-custom guessers passed into proxied ctors become an explicit error.
+Composer\Util\Http\Response rust-snapshot built for one request and never retained by the graph, so there is no entity to point at; the value-object rule rejects it only because collect() assigns to $this, and freeing the copy each world holds is exactly what that method is for
diff --git a/scripts/plugin-stub-generator/guard-exemptions.list b/scripts/plugin-stub-generator/guard-exemptions.list
index 90adcb20..7ca14fd9 100644
--- a/scripts/plugin-stub-generator/guard-exemptions.list
+++ b/scripts/plugin-stub-generator/guard-exemptions.list
@@ -12,3 +12,7 @@ Composer\Package\Link
# the dual-mode Composer\EventDispatcher\Event (php/runtime/) carries a natively constructed event
# to the Rust side as a P-table entity.
Composer\Plugin\PreCommandRunEvent
+
+# The wire codec revives values of this class from the object record serialize() writes for them
+# (php/runtime/Shirabe/MaterializedValue.php), so the real declaration has to stay loadable.
+Composer\Util\Http\Response