"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Console/CommandCollection.php" between
cakephp-4.2.2.tar.gz and cakephp-4.2.3.tar.gz

About: CakePHP is a rapid development framework for PHP applications. Source code.

CommandCollection.php  (cakephp-4.2.2):CommandCollection.php  (cakephp-4.2.3)
skipping to change at line 223 skipping to change at line 223
/** /**
* Automatically discover shell commands in CakePHP, the application and all plugins. * Automatically discover shell commands in CakePHP, the application and all plugins.
* *
* Commands will be located using filesystem conventions. Commands are * Commands will be located using filesystem conventions. Commands are
* discovered in the following order: * discovered in the following order:
* *
* - CakePHP provided commands * - CakePHP provided commands
* - Application commands * - Application commands
* *
* Commands defined in the application will ovewrite commands with * Commands defined in the application will overwrite commands with
* the same name provided by CakePHP. * the same name provided by CakePHP.
* *
* @return string[] An array of command names and their classes. * @return string[] An array of command names and their classes.
*/ */
public function autoDiscover(): array public function autoDiscover(): array
{ {
$scanner = new CommandScanner(); $scanner = new CommandScanner();
$core = $this->resolveNames($scanner->scanCore()); $core = $this->resolveNames($scanner->scanCore());
$app = $this->resolveNames($scanner->scanApp()); $app = $this->resolveNames($scanner->scanApp());
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)