Enhancement: Synchronize with ergebnis/php-package-template#628
Merged
localheinz merged 1 commit intomainfrom Nov 25, 2024
Merged
Enhancement: Synchronize with ergebnis/php-package-template#628localheinz merged 1 commit intomainfrom
ergebnis/php-package-template#628localheinz merged 1 commit intomainfrom
Conversation
6387b02 to
8b38d2d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #628 +/- ##
=========================================
Coverage 56.10% 56.10%
Complexity 116 116
=========================================
Files 28 28
Lines 672 672
=========================================
Hits 377 377
Misses 295 295 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
834b06e to
299002e
Compare
localheinz
commented
Nov 24, 2024
| phar: phive ## Builds a phar with humbug/box | ||
| .phive/box validate box.json | ||
| composer remove ergebnis/php-cs-fixer-config psalm/plugin-phpunit vimeo/psalm --dev --no-interaction --quiet | ||
| composer remove phpstan/extension-installer --dev --no-interaction |
Member
Author
There was a problem hiding this comment.
Building the PHAR otherwise fails with
.phive/box compile --config=box.json
____
/ __ )____ _ __
/ __ / __ \| |/_/
/ /_/ / /_/ /> <
/_____/\____/_/|_|
Box version 3.16.0@adb282a 2022-02-13 23:54:13 UTC
// Loading the configuration file "box.json".
🔨 Building the PHAR "/Users/am/Sites/ergebnis/phpunit-slow-test-detector/.build/phar/phpunit-slow-test-detector.phar"
? Removing the existing PHAR "/Users/am/Sites/ergebnis/phpunit-slow-test-detector/.build/phar/phpunit-slow-test-detector.phar"
? Setting replacement values
+ @git@: 2.16.1@299002e
? Registering compactors
+ KevinGH\Box\Compactor\Json
+ KevinGH\Box\Compactor\Php
? Adding main file: /Users/am/Sites/ergebnis/phpunit-slow-test-detector/phar/phpunit-slow-test-detector.php
? Adding requirements checker
? Adding binary files
> No file found
? Auto-discover files? No
? Exclude dev files? Yes
? Adding files
> 40 file(s)
? Generating new stub
- Using shebang line: #!/usr/bin/env php
- Using banner:
> Generated by Humbug Box 3.16.0@adb282a.
>
> @link https://github.com/humbug/box
? Dumping the Composer autoloader
In ComposerOrchestrator.php line 172:
Could not dump the autoloader.
In ComposerOrchestrator.php line 175:
The command "'/opt/homebrew/bin/composer' 'dump-autoload' '--classmap-authoritative' '--no-dev' '--ansi'" failed.
Exit Code: 1(General error)
Working directory: /private/var/folders/yp/vkqzz3md5q14m_3lrpypf63m0000gn/T/box/Box22081
Output:
================
Error Output:
================
Composer could not detect the root package (ergebnis/phpunit-slow-test-detector) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
Composer could not detect the root package (ergebnis/phpunit-slow-test-detector) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
In AutoloadGenerator.php line 1418:
require(/private/var/folders/yp/vkqzz3md5q14m_3lrpypf63m0000gn/T/box/Box22081/vendor/phpstan/phpstan/bootstrap.php): failed to open stream: No such file or directory
dump-autoload [-o|--optimize] [-a|--classmap-authoritative] [--apcu] [--apcu-prefix APCU-PREFIX] [--dry-run] [--dev] [--no-dev] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--strict-psr] [--strict-ambiguous]
compile [-c|--config CONFIG] [--debug] [--no-parallel] [--no-restart] [--dev] [--no-config] [--with-docker] [-d|--working-dir WORKING-DIR]
make: *** [phar] Error 1
c026813 to
37dc68a
Compare
37dc68a to
2f91fc5
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request
ergebnis/php-package-template