Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ jobs:
- 8.2
- 8.3
- 8.4
- 8.5
dependencies:
- lowest
- locked
- highest
include:
- php-version: 8.4
- php-version: 8.5
dependencies: highest
steps:
- name: 📦 Check out the codebase
Expand All @@ -51,6 +50,7 @@ jobs:
- name: 📥 Install dependencies with composer
uses: ramsey/composer-install@v3
with:
composer-options: ${{ matrix.php-version == '8.5' && '--ignore-platform-reqs' || '' }}
dependency-versions: ${{ matrix.dependencies }}

- name: 🧪 Run tests
Expand Down
8 changes: 4 additions & 4 deletions bin/trap
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ use Symfony\Component\Console\CommandLoader\FactoryCommandLoader;
$application = new Application();
$application->setCommandLoader(
new FactoryCommandLoader([
Command\Run::getDefaultName() => static fn() => new Command\Run(),
Command\Joke::getDefaultName() => static fn() => new Command\Joke(),
Command\Test::getDefaultName() => static fn() => new Command\Test(),
'run' => static fn(): Command\Run => new Command\Run(),
'joke' => static fn(): Command\Joke => new Command\Joke(),
'test' => static fn(): Command\Test => new Command\Test(),
]),
);
$application->setDefaultCommand(Command\Run::getDefaultName(), false);
$application->setDefaultCommand('run', false);
$application->setName(Info::NAME);
$application->setVersion(Info::version());
$application->run();
Expand Down
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
],
"require": {
"php": ">=8.1",
"php-64bit": "*",
"ext-filter": "*",
"ext-sockets": "*",
"clue/stream-filter": "^1.6",
Expand Down Expand Up @@ -90,9 +91,6 @@
"audit": {
"abandoned": "report"
},
"platform": {
"php": "8.1.27"
},
"sort-packages": true
},
"scripts": {
Expand Down
Loading
Loading