-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
277 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
## 4.0.0 - 2024-10-03 | ||
|
||
Read the [first release candidate](https://github.com/llaville/box-manifest/releases/tag/4.0.0-rc.1) notes of this major version | ||
to learn more about changes since 3.5.1 | ||
|
||
### Fixed | ||
|
||
- [GH-13](https://github.com/llaville/box-manifest/issues/13) : v4.0.0-rc.1 does not support correctly the BOX `dump-autoload` setting | ||
|
||
**Full Changelog**: [4.0.0-rc.1...4.0.0](https://github.com/llaville/box-manifest/compare/4.0.0-rc.1...4.0.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,6 @@ sbom.xml | |
sbom.cdx.json | ||
sbom.cdx.xml | ||
custom.bin | ||
stub.php | ||
|
||
###### PHPLint ###### | ||
.phplint-cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
|
||
// default stub template @generated by BOX Manifest 4.x-dev@05f7f1a | ||
|
||
$withManifest = array_search('--manifest', $argv); | ||
$withoutAnsi = array_search('--no-ansi', $argv); | ||
|
||
if ($withManifest !== false) { | ||
$manifestDir = '.box.manifests/'; | ||
$resources = (($argc - 1 > $withManifest) && !str_starts_with($argv[$withManifest + 1], '-')) ? [$argv[$withManifest + 1]] : ['console-table.txt', 'plain.txt', 'sbom.json']; | ||
|
||
foreach ($resources as $resource) { | ||
$res = str_replace($manifestDir, '', $resource); | ||
$filename = "phar://" . __FILE__ . "/$manifestDir$res"; | ||
if (file_exists($filename)) { | ||
$manifest = file_get_contents($filename); | ||
if ($withoutAnsi !== false) { | ||
$manifest = preg_replace('#\\x1b[[][^A-Za-z]*[A-Za-z]#', '', $manifest); | ||
} | ||
echo $manifest, PHP_EOL; | ||
exit(0); | ||
} elseif (count($resources) === 1) { | ||
echo sprintf('Manifest "%s" is not available in this PHP Archive.', $resource), PHP_EOL; | ||
exit(2); | ||
} | ||
} | ||
echo 'No manifest found in this PHP Archive', PHP_EOL; | ||
exit(1); | ||
} | ||
|
||
|
||
|
||
// No PHAR config | ||
|
||
__HALT_COMPILER(); ?> | ||
|