Merge pull request #9243 from samsonasik/refactor-apply-code-quality-level-15

refactor: enable rector code quality level 15
This commit is contained in:
Abdul Malik Ikhsan 2024-10-28 22:46:39 +07:00 committed by GitHub
commit 8522a3797f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View File

@ -216,4 +216,4 @@ return RectorConfig::configure()
// keep '\\' prefix string on string '\Foo\Bar'
StringClassNameToClassConstantRector::SHOULD_KEEP_PRE_SLASH => true,
])
->withCodeQualityLevel(14);
->withCodeQualityLevel(15);

View File

@ -95,9 +95,7 @@ class CLIRequest extends Request
*/
public function getPath(): string
{
$path = implode('/', $this->segments);
return ($path === '') ? '' : $path;
return implode('/', $this->segments);
}
/**