Skip to content

Commit 8522a37

Browse files
authored
Merge pull request #9243 from samsonasik/refactor-apply-code-quality-level-15
refactor: enable rector code quality level 15
2 parents 11d9721 + 70816be commit 8522a37

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

rector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,4 +216,4 @@
216216
// keep '\\' prefix string on string '\Foo\Bar'
217217
StringClassNameToClassConstantRector::SHOULD_KEEP_PRE_SLASH => true,
218218
])
219-
->withCodeQualityLevel(14);
219+
->withCodeQualityLevel(15);

system/HTTP/CLIRequest.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ public function __construct(App $config)
9595
*/
9696
public function getPath(): string
9797
{
98-
$path = implode('/', $this->segments);
99-
100-
return ($path === '') ? '' : $path;
98+
return implode('/', $this->segments);
10199
}
102100

103101
/**

0 commit comments

Comments
 (0)