Skip to content

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

Merged
localheinz merged 1 commit intomainfrom
feature/synchronize
Nov 25, 2024
Merged

Enhancement: Synchronize with ergebnis/php-package-template#628
localheinz merged 1 commit intomainfrom
feature/synchronize

Conversation

@localheinz
Copy link
Copy Markdown
Member

This pull request

@codecov
Copy link
Copy Markdown

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).
Report is 2 commits behind head on main.

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
Comment thread Makefile
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
Copy Markdown
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
@localheinz localheinz merged commit 9a8f8fe into main Nov 25, 2024
@localheinz localheinz deleted the feature/synchronize branch November 25, 2024 06:38
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