diff --git a/lib/Zend/Feed/Entry/Atom.php b/lib/Zend/Feed/Entry/Atom.php index 42de70eb22c..64f56cbb613 100644 --- a/lib/Zend/Feed/Entry/Atom.php +++ b/lib/Zend/Feed/Entry/Atom.php @@ -103,7 +103,7 @@ public function delete() // Redirect case 3: $deleteUri = $response->getHeader('Location'); - continue; + break; // Error default: /** diff --git a/lib/Zend/Form.php b/lib/Zend/Form.php index 47d4464d334..b2fc8994c90 100644 --- a/lib/Zend/Form.php +++ b/lib/Zend/Form.php @@ -1170,7 +1170,7 @@ public function addElements(array $elements) } else { switch ($argc) { case 0: - continue; + break; case (1 <= $argc): $type = array_shift($spec); case (2 <= $argc): @@ -1675,7 +1675,7 @@ public function addSubForm(Zend_Form $form, $name, $order = null) */ public function addSubForms(array $subForms) { - foreach ($subForms as $key => $spec) { + foreach ($subForms as $key => $spec) { $name = (string) $key; if ($spec instanceof Zend_Form) { $this->addSubForm($spec, $name); @@ -1687,7 +1687,7 @@ public function addSubForms(array $subForms) $order = null; switch ($argc) { case 0: - continue; + break; case (1 <= $argc): $subForm = array_shift($spec); diff --git a/lib/Zend/Pdf/FileParser/Font/OpenType.php b/lib/Zend/Pdf/FileParser/Font/OpenType.php index 05834a9786f..2747f862dfb 100644 --- a/lib/Zend/Pdf/FileParser/Font/OpenType.php +++ b/lib/Zend/Pdf/FileParser/Font/OpenType.php @@ -898,7 +898,7 @@ protected function _parseCmapTable() if ($language != 0) { $this->_debugLog('Type 0 cmap tables must be language-independent;' . ' language: %d; skipping', $language); - continue; + break; } break; @@ -917,7 +917,7 @@ protected function _parseCmapTable() case 0xa: // break intentionally omitted case 0xc: $this->_debugLog('Format: 0x%x currently unsupported; skipping', $format); - continue; + break; //$this->skipBytes(2); //$cmapLength = $this->readUInt(4); //$language = $this->readUInt(4); @@ -929,7 +929,7 @@ protected function _parseCmapTable() default: $this->_debugLog('Unknown subtable format: 0x%x; skipping', $format); - continue; + break; } $cmapType = $format; break; diff --git a/lib/Zend/Reflection/File.php b/lib/Zend/Reflection/File.php index 980eb3ee4b0..ea3fcfb3c66 100644 --- a/lib/Zend/Reflection/File.php +++ b/lib/Zend/Reflection/File.php @@ -86,7 +86,7 @@ class Zend_Reflection_File implements Reflector public function __construct($file) { $fileName = $file; - + $fileRealpath = realpath($fileName); if ($fileRealpath) { // realpath() doesn't return false if Suhosin is included @@ -95,7 +95,7 @@ public function __construct($file) $fileRealpath = false; } } - + if ($fileRealpath === false) { $fileRealpath = self::findRealpathInIncludePath($file); } @@ -355,7 +355,7 @@ protected function _reflect() case T_DOLLAR_OPEN_CURLY_BRACES: case T_CURLY_OPEN: $embeddedVariableTrapped = true; - continue; + break; // Name of something case T_STRING: @@ -366,7 +366,7 @@ protected function _reflect() $this->_classes[] = $value; $classTrapped = false; } - continue; + break; // Required file names are T_CONSTANT_ENCAPSED_STRING case T_CONSTANT_ENCAPSED_STRING: @@ -374,7 +374,7 @@ protected function _reflect() $this->_requiredFiles[] = $value ."\n"; $requireTrapped = false; } - continue; + break; // Functions case T_FUNCTION: