Run using old install:
$ brew bundle dump
Reinstall Homebrew for the M1:
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: |
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: |
| <?php | |
| namespace Osteel\PhpCompatibilityDemo\Tests; | |
| use Money\Money; | |
| use Osteel\PhpCompatibilityDemo\CurrencyHelper; | |
| use PHPUnit\Framework\TestCase; | |
| class CurrencyHelperTest extends TestCase | |
| { |
| <?php | |
| namespace Osteel\PhpCompatibilityDemo; | |
| use Money\Currencies\ISOCurrencies; | |
| use Money\Money; | |
| class CurrencyHelper | |
| { | |
| public function isSame(Money ...$amounts): bool |
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: |
Run using old install:
$ brew bundle dump
Reinstall Homebrew for the M1:
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: |
| <?php | |
| namespace Osteel\PhpCliDemo\Tests\Commands; | |
| use Osteel\PhpCliDemo\Commands\Play; | |
| use PHPUnit\Framework\TestCase; | |
| use Symfony\Component\Console\Tester\CommandTester; | |
| class PlayTest extends TestCase | |
| { |
| #!/usr/bin/env php | |
| <?php | |
| $root = dirname(__DIR__); | |
| if (! is_file(sprintf('%s/vendor/autoload.php', $root))) { | |
| $root = dirname(__DIR__, 4); | |
| } | |
| require sprintf('%s/vendor/autoload.php', $root); |