cakephp2-php8/lib/Cake/Console
Carl Sutton 5ac60288fd Fix closing non resource
I get a load of these errors when running tests in the shell, this check stops the errors from happening

Warning: 2 :: fclose() expects parameter 1 to be resource, integer given on line 298 of CORE\Cake\Console\ConsoleOutput.php
Trace:
fclose - [internal], line ??
ConsoleOutput::__destruct() - CORE\Cake\Console\ConsoleOutput.php, line 298
ToolbarComponent::_saveState() - APP\Plugin\DebugKit\Controller\Component\ToolbarComponent.php, line 307
ToolbarComponent::beforeRedirect() - APP\Plugin\DebugKit\Controller\Component\ToolbarComponent.php, line 307
ObjectCollection::trigger() - CORE\Cake\Utility\ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE\Cake\Event\CakeEventManager.php, line 247
Controller::redirect() - CORE\Cake\Controller\Controller.php, line 765
AuthComponent::_unauthenticated() - CORE\Cake\Controller\Component\AuthComponent.php, line 364
AuthComponent::startup() - CORE\Cake\Controller\Component\AuthComponent.php, line 304
ObjectCollection::trigger() - CORE\Cake\Utility\ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE\Cake\Event\CakeEventManager.php, line 247
Controller::startupProcess() - CORE\Cake\Controller\Controller.php, line 675
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 182
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 160
2014-04-14 14:15:46 +01:00
..
Command Only count _id if it is the last 3 characters in the field name. 2014-04-04 21:26:31 -04:00
Templates Fix failing NoActions comparison test 2014-04-13 23:28:13 -04:00
cake Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
cake.bat Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
cake.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
ConsoleErrorHandler.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
ConsoleInput.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
ConsoleInputArgument.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
ConsoleInputOption.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
ConsoleInputSubcommand.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
ConsoleOptionParser.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
ConsoleOutput.php Fix closing non resource 2014-04-14 14:15:46 +01:00
HelpFormatter.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
Shell.php Fix ApiGen errors 2014-02-07 18:29:54 -02:00
ShellDispatcher.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
TaskCollection.php Merge branch 'master' into 2.4 2013-06-02 18:03:59 +05:30