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 @@ -52,7 +52,7 @@ jobs:
# see https://github.com/shivammathur/setup-php
- uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4
coverage: none

# composer install cache - https://github.com/ramsey/composer-install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/downgraded_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
-
uses: "shivammathur/setup-php@v2"
with:
php-version: 8.3
php-version: 8.4
coverage: none

# invoke patches
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bin/swiss-knife"
],
"require": {
"php": ">=8.3",
"php": ">=8.4",
"entropy/entropy": "^0.4.0",
"nette/robot-loader": "^4.1",
"nette/utils": "^4.1",
Expand All @@ -25,8 +25,8 @@
"symfony/config": "^6.4",
"symfony/dependency-injection": "^6.4",
"symplify/easy-coding-standard": "^13.1",
"symplify/phpstan-extensions": "^12.0",
"tomasvotruba/class-leak": "^2.1|^3.0",
"symplify/phpstan-rules": "^14.11",
"tomasvotruba/class-leak": "^2.1",
"tomasvotruba/unused-public": "^2.2",
"tracy/tracy": "^2.12"
},
Expand Down
6 changes: 6 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ parameters:
treatPhpDocTypesAsCertain: false
errorFormat: symplify

# see https://github.com/symplify/phpstan-rules
symfonyReturnType: true
laravelReturnType: true
pathStrings: true
ctor: true

excludePaths:
- */Fixture/*
- */Source/*
Expand Down
2 changes: 1 addition & 1 deletion src/Command/FinalizeClassesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function run(
}

$progressClosure = function () use ($noProgress, $progressBar): void {
if ($noProgress || !$progressBar instanceof ProgressBar) {
if ($noProgress || ! $progressBar instanceof ProgressBar) {
return;
}

Expand Down
Loading