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
2 changes: 1 addition & 1 deletion .github/workflows/code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

-
name: 'Jack: Outdated Breakpoint'
run: ./bin/jack breakpoint --ansi --limit 2
run: ./bin/jack breakpoint --ansi --limit 3

-
name: 'Jack: Open Versions'
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/ComposerOutdatedResponseProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function provide(): string
}

$composerOutdatedProcess = Process::fromShellCommandline(
'composer outdated --direct --major-only --format json',
'composer outdated --direct --major-only --format json --ignore-platform-req=php',
timeout: 120
);

Expand Down
2 changes: 1 addition & 1 deletion src/ValueObject/OutdatedComposer.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function getPackagesShuffled(bool $onlyDev, ?string $packagePrefix): arra

// filter only package starting with specific prefix
if ($packagePrefix !== null) {
$outdatedPackages = array_filter(
return array_filter(
$outdatedPackages,
fn (OutdatedPackage $outdatedPackage): bool => str_starts_with(
$outdatedPackage->getName(),
Expand Down