Skip to content

Commit

Permalink
gh-620: Explicitly include InstalledVersions.php and `installed.php…
Browse files Browse the repository at this point in the history
…` in PHAR

The autoloadmap includes a mapping `Composer\InstalledVersions` but as
of explicitly including `src` this file is no longer included.

This commit explicitly adds both `vendor/composer/InstalledVersions.php`
and `vendor/composer/installed.php` to ensure that the previous behavior
is preserved and WARNINGS are not issued when other packages use
`InstalledVersions::getVersion(// ...)`.
  • Loading branch information
dantleech committed Oct 25, 2024
1 parent b943ab7 commit 0686fa2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion box.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"src/"
],
"files": [
"manifest.xml"
"manifest.xml",
"vendor/composer/InstalledVersions.php",
"vendor/composer/installed.php"
],
"git": "git",
"main": "phar/phpunit-slow-test-detector.php",
Expand Down

0 comments on commit 0686fa2

Please sign in to comment.