Describe the bug
Under certain circumstances, php satis.phar build throws an error:
In PackageRepository.php line 57:
A repository of type "package" contains an invalid package definition: file_get_contents(phar:///***/satis/satis.phar/vendor/composer/spdx-licenses/res/spdx-lice
nses.json): Failed to open stream: phar error: "vendor/composer/spdx-licenses/res/spdx-licenses.json" is not a file in phar "/***/satis/satis.phar"
Invalid package definition:
{"name":"onspli\/composer-test-package","license":"CAUSES_ERROR"}
Describe the bug Under certain circumstances,
php satis.phar build
throws an error:To Reproduce satis.json:
execute:
Expected behavior Successful build.
Proposed fix Add
vendor/composer/spdx-licenses/res/*.json
tobox.json
.