File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
src/mantle/framework/console Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## v1.13.2
9+
10+ ### Fixed
11+
12+ - Fixed issue where ` is_dir() ` is called with multiple arguments in the console kernel.
13+
814## v1.13.1
915
1016### Fixed
Original file line number Diff line number Diff line change 121121 CatchExceptionNameMatchingTypeRector::class,
122122 EncapsedStringsToSprintfRector::class,
123123 FlipTypeControlToUseExclusiveTypeRector::class,
124- FunctionLikeToFirstClassCallableRector::class => [
125- __DIR__ . '/src/mantle/database/query/class-database-query-builder.php ' ,
126- __DIR__ . '/src/mantle/testing ' ,
127- ],
124+ FunctionLikeToFirstClassCallableRector::class,
128125 ] );
Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ protected function load( ...$paths ) {
229229
230230 $ this ->commands = collect ( $ paths )
231231 ->unique ()
232- ->filter ( is_dir ( ... ) )
232+ ->filter ( fn ( string $ path ) => is_dir ( $ path ) )
233233 ->map ( fn ( string $ path ) => $ this ->classes_from_path ( $ path , $ namespace . '\Console ' ) )
234234 ->flatten ()
235235 ->filter (
You can’t perform that action at this time.
0 commit comments