Skip to content

Bump dependencies to support php 8.5 syntax #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 31, 2025
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
32 changes: 16 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,31 @@
"php": ">=8.2",
"composer/pcre": "^3.3.2",
"composer/xdebug-handler": "^3.0.5",
"friendsofphp/php-cs-fixer": "^3.75.0",
"illuminate/container": "^12.10",
"nette/utils": "^4.0.5",
"friendsofphp/php-cs-fixer": "^3.85.1",
"illuminate/container": "^12.21",
"nette/utils": "^4.0.7",
"sebastian/diff": "^6.0.2",
"squizlabs/php_codesniffer": "^3.13",
"symfony/console": "^6.4.20",
"symfony/finder": "^7.2.2",
"squizlabs/php_codesniffer": "^3.13.2",
"symfony/console": "^6.4.23",
"symfony/finder": "^7.3.0",
"symplify/coding-standard": "^12.4.3",
"symplify/easy-parallel": "^11.2.2",
"webmozart/assert": "^1.11"
},
"require-dev": {
"phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-phpunit": "^2.0.6",
"phpstan/phpstan": "^2.1.21",
"phpstan/phpstan-phpunit": "^2.0.7",
"phpstan/phpstan-webmozart-assert": "^2.0",
"phpunit/phpunit": "^11.5",
"rector/rector": "^2.0.12",
"rector/type-perfect": "^2.0.2",
"symplify/phpstan-extensions": "^12.0",
"symplify/vendor-patches": "^11.4",
"tomasvotruba/class-leak": "^2.0",
"phpunit/phpunit": "^11.5.27",
"rector/rector": "^2.1.2",
"rector/type-perfect": "^2.1.0",
"symplify/phpstan-extensions": "^12.0.1",
"symplify/vendor-patches": "^11.5",
"tomasvotruba/class-leak": "^2.0.5",
"tomasvotruba/type-coverage": "^2.0.2",
"tomasvotruba/unused-public": "^2.0",
"tracy/tracy": "^2.10.9"
"tomasvotruba/unused-public": "^2.0.1",
"tracy/tracy": "^2.10.10"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
->withEditorConfig()
->withRootFiles()
->withSkip(['*/Source/*', '*/Fixture/*'])
->withPreparedSets(symplify: true, psr12: true, common: true);
->withPreparedSets(psr12: true, common: true, symplify: true);
4 changes: 2 additions & 2 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
return RectorConfig::configure()
->withPhpSets()
->withPreparedSets(
codeQuality: true,
deadCode: true,
codeQuality: true,
codingStyle: true,
typeDeclarations: true,
naming: true,
privatization: true,
naming: true,
earlyReturn: true
)
->withPaths([__DIR__ . '/bin', __DIR__ . '/config', __DIR__ . '/src', __DIR__ . '/config', __DIR__ . '/tests'])
Expand Down
32 changes: 16 additions & 16 deletions tests/Configuration/EditorConfig/EditorConfigFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public function testLoadingFromProjectRoot(): void
$this->assertEquals($editorConfig, new EditorConfig(
indentStyle: IndentStyle::Space,
endOfLine: EndOfLine::Posix,
insertFinalNewline: true,
trimTrailingWhitespace: true,
insertFinalNewline: true,
maxLineLength: null,
quoteType: null
));
Expand Down Expand Up @@ -70,8 +70,8 @@ public function testLoadsExpectedSections(): void
new EditorConfig(
indentStyle: IndentStyle::Tab,
endOfLine: EndOfLine::Posix,
insertFinalNewline: null,
trimTrailingWhitespace: null,
insertFinalNewline: null,
maxLineLength: 100,
quoteType: null
),
Expand All @@ -85,8 +85,8 @@ public function testEmpty(): void
new EditorConfig(
indentStyle: null,
endOfLine: null,
insertFinalNewline: null,
trimTrailingWhitespace: null,
insertFinalNewline: null,
maxLineLength: null,
quoteType: null
)
Expand All @@ -105,8 +105,8 @@ public function testIndentStyleSpaces(): void
new EditorConfig(
indentStyle: IndentStyle::Space,
endOfLine: null,
insertFinalNewline: null,
trimTrailingWhitespace: null,
insertFinalNewline: null,
maxLineLength: null,
quoteType: null
)
Expand All @@ -125,8 +125,8 @@ public function testIndentStyleTabs(): void
new EditorConfig(
indentStyle: IndentStyle::Tab,
endOfLine: null,
insertFinalNewline: null,
trimTrailingWhitespace: null,
insertFinalNewline: null,
maxLineLength: null,
quoteType: null
)
Expand All @@ -145,8 +145,8 @@ public function testEndOfLinePosix(): void
new EditorConfig(
indentStyle: null,
endOfLine: EndOfLine::Posix,
insertFinalNewline: null,
trimTrailingWhitespace: null,
insertFinalNewline: null,
maxLineLength: null,
quoteType: null
)
Expand All @@ -165,8 +165,8 @@ public function testEndOfLineLegacy(): void
new EditorConfig(
indentStyle: null,
endOfLine: EndOfLine::Legacy,
insertFinalNewline: null,
trimTrailingWhitespace: null,
insertFinalNewline: null,
maxLineLength: null,
quoteType: null
)
Expand All @@ -185,8 +185,8 @@ public function testEndOfLineWindows(): void
new EditorConfig(
indentStyle: null,
endOfLine: EndOfLine::Windows,
insertFinalNewline: null,
trimTrailingWhitespace: null,
insertFinalNewline: null,
maxLineLength: null,
quoteType: null
)
Expand All @@ -205,8 +205,8 @@ public function testTrimTrailingWhitespaceEnabled(): void
new EditorConfig(
indentStyle: null,
endOfLine: null,
insertFinalNewline: null,
trimTrailingWhitespace: true,
insertFinalNewline: null,
maxLineLength: null,
quoteType: null
)
Expand All @@ -225,8 +225,8 @@ public function testTrimTrailingWhitespaceDisabled(): void
new EditorConfig(
indentStyle: null,
endOfLine: null,
insertFinalNewline: null,
trimTrailingWhitespace: false,
insertFinalNewline: null,
maxLineLength: null,
quoteType: null
)
Expand All @@ -245,8 +245,8 @@ public function testInsertFinalNewlineEnabled(): void
new EditorConfig(
indentStyle: null,
endOfLine: null,
insertFinalNewline: true,
trimTrailingWhitespace: null,
insertFinalNewline: true,
maxLineLength: null,
quoteType: null
)
Expand All @@ -265,8 +265,8 @@ public function testInsertFinalNewlineDisabled(): void
new EditorConfig(
indentStyle: null,
endOfLine: null,
insertFinalNewline: false,
trimTrailingWhitespace: null,
insertFinalNewline: false,
maxLineLength: null,
quoteType: null
)
Expand All @@ -285,8 +285,8 @@ public function testMaxLineLength(): void
new EditorConfig(
indentStyle: null,
endOfLine: null,
insertFinalNewline: null,
trimTrailingWhitespace: null,
insertFinalNewline: null,
maxLineLength: 63,
quoteType: null
)
Expand All @@ -305,8 +305,8 @@ public function quoteTypeAuto(): void
new EditorConfig(
indentStyle: null,
endOfLine: null,
insertFinalNewline: null,
trimTrailingWhitespace: null,
insertFinalNewline: null,
maxLineLength: null,
quoteType: QuoteType::Auto
)
Expand All @@ -325,8 +325,8 @@ public function quoteTypeSingle(): void
new EditorConfig(
indentStyle: null,
endOfLine: null,
insertFinalNewline: null,
trimTrailingWhitespace: null,
insertFinalNewline: null,
maxLineLength: null,
quoteType: QuoteType::Single
)
Expand All @@ -345,8 +345,8 @@ public function quoteTypeDouble(): void
new EditorConfig(
indentStyle: null,
endOfLine: null,
insertFinalNewline: null,
trimTrailingWhitespace: null,
insertFinalNewline: null,
maxLineLength: null,
quoteType: QuoteType::Double
)
Expand Down