Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Synchronize with ergebnis/php-package-template #628

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

localheinz
Copy link
Member

This pull request

Copy link

codecov bot commented Nov 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.10%. Comparing base (64fede1) to head (2f91fc5).

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.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@localheinz localheinz force-pushed the feature/synchronize branch 9 times, most recently from 834b06e to 299002e Compare November 24, 2024 21:45
@@ -22,7 +22,7 @@ help: ## Displays this list of targets with descriptions
.PHONY: phar
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
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@localheinz localheinz force-pushed the feature/synchronize branch 2 times, most recently from c026813 to 37dc68a Compare November 24, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants