Author: sb Date: Sun Jan 13 17:36:18 2008 New Revision: 7132 Log: - Fix issues reported by PHP_CodeSniffer.
Modified: trunk/Workflow/src/definition_storage/xml.php trunk/Workflow/src/interfaces/execution.php trunk/Workflow/src/interfaces/node.php trunk/Workflow/src/nodes/variables/input.php trunk/Workflow/src/workflow.php Modified: trunk/Workflow/src/definition_storage/xml.php ============================================================================== --- trunk/Workflow/src/definition_storage/xml.php [iso-8859-1] (original) +++ trunk/Workflow/src/definition_storage/xml.php [iso-8859-1] Sun Jan 13 17:36:18 2008 @@ -513,9 +513,9 @@ { $value = self::xmlToVariable( $element->childNodes->item( 1 ) ); - if ( $element->hasAttribute ( 'key' ) ) - { - $variable[ (string)$element->getAttribute ('key') ] = $value; + if ( $element->hasAttribute( 'key' ) ) + { + $variable[ (string)$element->getAttribute( 'key' ) ] = $value; } else { Modified: trunk/Workflow/src/interfaces/execution.php ============================================================================== --- trunk/Workflow/src/interfaces/execution.php [iso-8859-1] (original) +++ trunk/Workflow/src/interfaces/execution.php [iso-8859-1] Sun Jan 13 17:36:18 2008 @@ -21,7 +21,8 @@ * * @property ezcWorkflowDefinitonStorage $definitionStorage * The definition handler used to fetch subworkflows if needed. - * @property ezcWorkflow $workflow The workflow being executed. + * @property ezcWorkflow $workflow + * The workflow being executed. * * @package Workflow * @version //autogen// @@ -503,7 +504,7 @@ // Check whether the node is ready to be activated // and not yet activated. if ( !$node->isExecutable() || - ezcWorkflowUtil::findObject( $this->activatedNodes, $node ) !== FALSE ) + ezcWorkflowUtil::findObject( $this->activatedNodes, $node ) !== false ) { // @codeCoverageIgnoreStart return false; Modified: trunk/Workflow/src/interfaces/node.php ============================================================================== --- trunk/Workflow/src/interfaces/node.php [iso-8859-1] (original) +++ trunk/Workflow/src/interfaces/node.php [iso-8859-1] Sun Jan 13 17:36:18 2008 @@ -312,6 +312,8 @@ } /** + * Returns the Id of this node. + * * @return integer * @ignore */ Modified: trunk/Workflow/src/nodes/variables/input.php ============================================================================== --- trunk/Workflow/src/nodes/variables/input.php [iso-8859-1] (original) +++ trunk/Workflow/src/nodes/variables/input.php [iso-8859-1] Sun Jan 13 17:36:18 2008 @@ -37,7 +37,7 @@ * $input->addOutNode( $workflow->endNode ); * $workflow->startNode->addOutNode( $input ); * </code> - + * * @package Workflow * @version //autogen// */ @@ -58,6 +58,7 @@ * <li><i>Value:</i> An object of type ezcWorkflowCondition</li> * * </ul> + * * @param mixed $configuration * @throws ezcBaseValueException */ Modified: trunk/Workflow/src/workflow.php ============================================================================== --- trunk/Workflow/src/workflow.php [iso-8859-1] (original) +++ trunk/Workflow/src/workflow.php [iso-8859-1] Sun Jan 13 17:36:18 2008 @@ -15,15 +15,16 @@ * The definition handler used to fetch sub workflows on demand. * This property is set automatically if you load a workflow using * a workflow definition storage. - * @property int $id + * @property int $id * Unique ID set automatically by the definition handler when the * workflow is stored. - * @property string $name A unique name (accross the system) for this workflow. - * @property int $version + * @property string $name + * A unique name (accross the system) for this workflow. + * @property int $version * The version of the workflow. This must be incremented manually * whenever you want a new version. - * @property-read ezcWorkflowNode $startNode The unique start node of the workflow. - * @property-read ezcWorkflowNode $endNode The default end node of the workflow. + * @property-read ezcWorkflowNode $startNode The unique start node of the workflow. + * @property-read ezcWorkflowNode $endNode The default end node of the workflow. * @property-read array(ezcWorkflowNode) $nodes All the nodes of this workflow. * * @package Workflow -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components