Skip to content

Commit 51e67a7

Browse files
authored
Merge pull request #6477 from codeigniter4/dependabot/composer/rector/rector-0.14.1
chore(deps-dev): update rector/rector requirement from 0.14.0 to 0.14.1
2 parents 7b2ad9c + 5d3bd72 commit 51e67a7

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"phpstan/phpstan": "^1.7.1",
2525
"phpunit/phpunit": "^9.1",
2626
"predis/predis": "^1.1 || ^2.0",
27-
"rector/rector": "0.14.0"
27+
"rector/rector": "0.14.1"
2828
},
2929
"suggest": {
3030
"ext-imagick": "If you use Image class ImageMagickHandler",

system/Filters/Filters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private function discoverFilters()
134134
$className = $locator->getClassname($file);
135135

136136
// Don't include our main Filter config again...
137-
if ($className === 'Config\\Filters') {
137+
if ($className === FiltersConfig::class) {
138138
continue;
139139
}
140140

system/Test/bootstrap.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
defined('HOMEPATH') || define('HOMEPATH', realpath(rtrim(getcwd(), '\\/ ')) . DIRECTORY_SEPARATOR);
3030
$source = is_dir(HOMEPATH . 'app')
3131
? HOMEPATH
32-
: (is_dir('vendor/codeigniter4/framework/')
33-
? 'vendor/codeigniter4/framework/'
34-
: 'vendor/codeigniter4/codeigniter4/');
32+
: (is_dir('vendor/codeigniter4/framework/') ? 'vendor/codeigniter4/framework/' : 'vendor/codeigniter4/codeigniter4/');
3533
defined('CONFIGPATH') || define('CONFIGPATH', realpath($source . 'app/Config') . DIRECTORY_SEPARATOR);
3634
defined('PUBLICPATH') || define('PUBLICPATH', realpath($source . 'public') . DIRECTORY_SEPARATOR);
3735
unset($source);

0 commit comments

Comments
 (0)