Skip to content

Commit afd9423

Browse files
committed
misc
1 parent 73619bf commit afd9423

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/code_analysis.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
name: 'Jack: Outdated Breakpoint'
3333
run: ./bin/jack breakpoint --limit 3
3434

35+
-
36+
name: "Commented Code"
37+
run: vendor/bin/swiss-knife check-commented-code src tests --ansi
38+
3539
-
3640
name: 'Jack: Open Versions'
3741
run: ./bin/jack open-versions --dry-run

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@
1414
"webmozart/assert": "^2.0"
1515
},
1616
"require-dev": {
17+
"phpecs/phpecs": "^2.2",
1718
"phpstan/extension-installer": "^1.4",
1819
"phpstan/phpstan": "^2.1",
1920
"phpunit/phpunit": "^12.5",
2021
"rector/rector": "^2.2",
22+
"rector/swiss-knife": "^2.3",
2123
"shipmonk/composer-dependency-analyser": "^1.8",
22-
"phpecs/phpecs": "^2.2",
2324
"symplify/phpstan-extensions": "^12.0",
2425
"tomasvotruba/class-leak": "^2.1",
2526
"tracy/tracy": "^2.11"

src/Command/OpenVersionsCommand.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,7 @@ public function run(int $limit = 5, bool $dryRun = false, bool $dev = false, ?st
8080
$outdatedComposer->getDevPackagesCount() === 1 ? '' : 's'
8181
), 1);
8282

83-
// @todo
84-
// $this->outputPrinter->title('Opening version constraints in "composer.json"');
85-
86-
// $limit = (int) $input->getOption('limit');
87-
// $dryRun = (bool) $input->getOption('dry-run');
88-
// $onlyDev = (bool) $input->getOption('dev');
89-
// $packagePrefix = $input->getOption('package-prefix');
83+
$this->outputPrinter->writeln('Opening version constraints in "composer.json"');
9084

9185
$composerJsonContents = FileSystem::read($composerJsonFilePath);
9286

0 commit comments

Comments
 (0)