Author: Derick Rethans Date: 2007-05-04 14:43:48 +0200 (Fri, 04 May 2007) New Revision: 5050
Log: - More automated CS fixes. Modified: trunk/ConsoleTools/src/dialog/question_dialog.php trunk/ConsoleTools/src/dialog/validators/menu_dialog_default.php trunk/ConsoleTools/src/dialog/validators/question_dialog_collection.php trunk/ConsoleTools/src/dialog/validators/question_dialog_type.php trunk/ConsoleTools/src/input.php trunk/Mail/src/parts/multiparts/multipart_digest.php trunk/PersistentObject/src/managers/cache_manager.php trunk/SignalSlot/src/signal_collection.php trunk/SignalSlot/src/static_connections.php Modified: trunk/ConsoleTools/src/dialog/question_dialog.php =================================================================== --- trunk/ConsoleTools/src/dialog/question_dialog.php 2007-05-04 12:40:58 UTC (rev 5049) +++ trunk/ConsoleTools/src/dialog/question_dialog.php 2007-05-04 12:43:48 UTC (rev 5050) @@ -14,9 +14,7 @@ * * @package Framework * @version //autogen// - * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved. * @author - * @license http://ez.no/licenses/new_bsd New BSD License * * @property ezcConsoleQuestionDialogOptions $options * Options for the dialog. Modified: trunk/ConsoleTools/src/dialog/validators/menu_dialog_default.php =================================================================== --- trunk/ConsoleTools/src/dialog/validators/menu_dialog_default.php 2007-05-04 12:40:58 UTC (rev 5049) +++ trunk/ConsoleTools/src/dialog/validators/menu_dialog_default.php 2007-05-04 12:43:48 UTC (rev 5050) @@ -14,8 +14,6 @@ * * @package ConsoleTools * @version //autogen// - * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved. - * @license http://ez.no/licenses/new_bsd New BSD License * * @property array $elements The elements of the menu. * @property string $default The default value. Modified: trunk/ConsoleTools/src/dialog/validators/question_dialog_collection.php =================================================================== --- trunk/ConsoleTools/src/dialog/validators/question_dialog_collection.php 2007-05-04 12:40:58 UTC (rev 5049) +++ trunk/ConsoleTools/src/dialog/validators/question_dialog_collection.php 2007-05-04 12:43:48 UTC (rev 5050) @@ -14,8 +14,6 @@ * * @package ConsoleTools * @version //autogen// - * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved. - * @license http://ez.no/licenses/new_bsd New BSD License * * @property array $collection * The collection of valid answers. Modified: trunk/ConsoleTools/src/dialog/validators/question_dialog_type.php =================================================================== --- trunk/ConsoleTools/src/dialog/validators/question_dialog_type.php 2007-05-04 12:40:58 UTC (rev 5049) +++ trunk/ConsoleTools/src/dialog/validators/question_dialog_type.php 2007-05-04 12:43:48 UTC (rev 5050) @@ -14,8 +14,6 @@ * * @package ConsoleTools * @version //autogen// - * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved. - * @license http://ez.no/licenses/new_bsd New BSD License * * @property int $type * One of ezcConsoleQuestionDialogTypeValidator::TYPE_*. The type to Modified: trunk/ConsoleTools/src/input.php =================================================================== --- trunk/ConsoleTools/src/input.php 2007-05-04 12:40:58 UTC (rev 5049) +++ trunk/ConsoleTools/src/input.php 2007-05-04 12:43:48 UTC (rev 5050) @@ -1147,7 +1147,7 @@ if ( count( $depVals ) > 0 ) { $checkVals = is_array( $values[$dep->option->short] ) ? $values[$dep->option->short] : array( $values[$dep->option->short] ); - foreach( $checkVals as $checkVal ) + foreach ( $checkVals as $checkVal ) { if ( !in_array( $checkVal, $depVals ) ) { @@ -1166,7 +1166,7 @@ if ( count( $exc->values ) > 0 ) { $checkVals = is_array( $values[$exc->option->short] ) ? $values[$exc->option->short] : array( $values[$exc->option->short] ); - foreach( $checkVals as $checkVal ) + foreach ( $checkVals as $checkVal ) { if ( in_array( $checkVal, $exc->values ) ) { Modified: trunk/Mail/src/parts/multiparts/multipart_digest.php =================================================================== --- trunk/Mail/src/parts/multiparts/multipart_digest.php 2007-05-04 12:40:58 UTC (rev 5049) +++ trunk/Mail/src/parts/multiparts/multipart_digest.php 2007-05-04 12:43:48 UTC (rev 5050) @@ -44,7 +44,7 @@ { $this->parts[] = new ezcMailRfc822Digest( $part ); } - else if( $part instanceof ezcMailRfc822Digest ) + else if ( $part instanceof ezcMailRfc822Digest ) { $this->parts[] = $part; } Modified: trunk/PersistentObject/src/managers/cache_manager.php =================================================================== --- trunk/PersistentObject/src/managers/cache_manager.php 2007-05-04 12:40:58 UTC (rev 5049) +++ trunk/PersistentObject/src/managers/cache_manager.php 2007-05-04 12:43:48 UTC (rev 5050) @@ -55,7 +55,7 @@ */ public function fetchDefinition( $class ) { - if( isset( $this->cache[$class] ) ) + if ( isset( $this->cache[$class] ) ) { return $this->cache[$class]; } Modified: trunk/SignalSlot/src/signal_collection.php =================================================================== --- trunk/SignalSlot/src/signal_collection.php 2007-05-04 12:40:58 UTC (rev 5049) +++ trunk/SignalSlot/src/signal_collection.php 2007-05-04 12:43:48 UTC (rev 5050) @@ -147,7 +147,7 @@ // static connections if ( self::$staticConnectionsHolder == NULL ) // custom static connections class { - if( count( ezcSignalStaticConnections::getInstance()->getConnections( $this->identifier, $signal ) ) > 0 ) + if ( count( ezcSignalStaticConnections::getInstance()->getConnections( $this->identifier, $signal ) ) > 0 ) { return true; } @@ -157,13 +157,13 @@ return true; } // default connections - if( isset( $this->defaultConnections[$signal] ) && count( $this->defaultConnections[$signal] ) > 0 ) + if ( isset( $this->defaultConnections[$signal] ) && count( $this->defaultConnections[$signal] ) > 0 ) { return true; } // priority connections - if( isset( $this->priorityConnections[$signal] ) && count( $this->priorityConnections[$signal] ) > 0 ) + if ( isset( $this->priorityConnections[$signal] ) && count( $this->priorityConnections[$signal] ) > 0 ) { return true; } @@ -352,7 +352,7 @@ { unset( $this->priorityConnections[$signal][$priority][$key] ); // if the priority is empty now it should be unset - if( count( $this->priorityConnections[$signal][$priority] ) == 0 ) + if ( count( $this->priorityConnections[$signal][$priority] ) == 0 ) { unset( $this->priorityConnections[$signal][$priority] ); } @@ -389,7 +389,7 @@ { unset( $this->priorityConnections[$signal][$priority][$key] ); // if the priority is empty now it should be unset - if( count( $this->priorityConnections[$signal][$priority] ) == 0 ) + if ( count( $this->priorityConnections[$signal][$priority] ) == 0 ) { unset( $this->priorityConnections[$signal][$priority] ); } Modified: trunk/SignalSlot/src/static_connections.php =================================================================== --- trunk/SignalSlot/src/static_connections.php 2007-05-04 12:40:58 UTC (rev 5049) +++ trunk/SignalSlot/src/static_connections.php 2007-05-04 12:43:48 UTC (rev 5050) @@ -191,7 +191,7 @@ { unset( $this->properties['connections'][$identifier][$signal][$priority][$key] ); // if the priority is empty now it should be unset - if( count( $this->properties['connections'][$identifier][$signal][$priority] ) == 0 ) + if ( count( $this->properties['connections'][$identifier][$signal][$priority] ) == 0 ) { unset( $this->properties['connections'][$identifier][$signal][$priority] ); } @@ -211,7 +211,7 @@ { unset( $this->properties['connections'][$identifier][$signal][$priority][$key] ); // if the priority is empty now it should be unset - if( count( $this->properties['connections'][$identifier][$signal][$priority] ) == 0 ) + if ( count( $this->properties['connections'][$identifier][$signal][$priority] ) == 0 ) { unset( $this->properties['connections'][$identifier][$signal][$priority] ); } -- svn-components mailing list [email protected] http://lists.ez.no/mailman/listinfo/svn-components
