Skip to content

Commit faa98c2

Browse files
authored
regardlress php, to be honest and forward (#4)
* regardlress php, to be honest and forward * increase limit
1 parent b446402 commit faa98c2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/code_analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
-
3232
name: 'Jack: Outdated Breakpoint'
33-
run: ./bin/jack breakpoint --ansi --limit 2
33+
run: ./bin/jack breakpoint --ansi --limit 3
3434

3535
-
3636
name: 'Jack: Open Versions'

src/Composer/ComposerOutdatedResponseProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function provide(): string
2121
}
2222

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

src/ValueObject/OutdatedComposer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function getPackagesShuffled(bool $onlyDev, ?string $packagePrefix): arra
7474

7575
// filter only package starting with specific prefix
7676
if ($packagePrefix !== null) {
77-
$outdatedPackages = array_filter(
77+
return array_filter(
7878
$outdatedPackages,
7979
fn (OutdatedPackage $outdatedPackage): bool => str_starts_with(
8080
$outdatedPackage->getName(),

0 commit comments

Comments
 (0)