mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Merge pull request #9243 from samsonasik/refactor-apply-code-quality-level-15
refactor: enable rector code quality level 15
This commit is contained in:
commit
8522a3797f
@ -216,4 +216,4 @@ return RectorConfig::configure()
|
||||
// keep '\\' prefix string on string '\Foo\Bar'
|
||||
StringClassNameToClassConstantRector::SHOULD_KEEP_PRE_SLASH => true,
|
||||
])
|
||||
->withCodeQualityLevel(14);
|
||||
->withCodeQualityLevel(15);
|
||||
|
@ -95,9 +95,7 @@ class CLIRequest extends Request
|
||||
*/
|
||||
public function getPath(): string
|
||||
{
|
||||
$path = implode('/', $this->segments);
|
||||
|
||||
return ($path === '') ? '' : $path;
|
||||
return implode('/', $this->segments);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user