|
|
@@ -472,7 +472,6 @@ $greeting = "Hello $name, welcome back!";
|
|
|
$greeting = "Hello {$name}, welcome back!";
|
|
|
]]></programlisting>
|
|
|
|
|
|
-
|
|
|
<para>
|
|
|
Por consistencia, esta forma no está permitida:
|
|
|
|
|
|
@@ -533,7 +532,6 @@ $sql = "SELECT `id`, `name` FROM `people` "
|
|
|
$sampleArray = array(1, 2, 3, 'Zend', 'Studio');
|
|
|
]]></programlisting>
|
|
|
|
|
|
-
|
|
|
<para>
|
|
|
Se permite declarar arrays indexados multilínea usando la
|
|
|
construcción "array".
|
|
|
@@ -697,7 +695,6 @@ class SampleClass
|
|
|
]]></programlisting>
|
|
|
</sect3>
|
|
|
|
|
|
-
|
|
|
<sect3 id="coding-standard.coding-style.classes.member-variables">
|
|
|
<title>Variables de miembros de clase</title>
|
|
|
|
|
|
@@ -769,7 +766,6 @@ class Foo
|
|
|
}
|
|
|
]]></programlisting>
|
|
|
|
|
|
-
|
|
|
<para>
|
|
|
In cases where the argument list exceeds the <link
|
|
|
linkend="coding-standard.php-file-formatting.max-line-length">maximum line
|
|
|
@@ -808,7 +804,6 @@ class Foo
|
|
|
</para>
|
|
|
</note>
|
|
|
|
|
|
-
|
|
|
<programlisting language="php"><![CDATA[
|
|
|
/**
|
|
|
* Bloque de Documentación aquí
|
|
|
@@ -828,7 +823,6 @@ class Foo
|
|
|
La llamada por referencia está estrictamente prohibida.
|
|
|
</para>
|
|
|
|
|
|
-
|
|
|
<para>
|
|
|
El valor de retorno no debe estar indicado entre
|
|
|
paréntesis. Esto podría afectar a la legibilidad, además de
|
|
|
@@ -1162,7 +1156,6 @@ switch ($numPeople) {
|
|
|
*/
|
|
|
]]></programlisting>
|
|
|
|
|
|
-
|
|
|
<para>
|
|
|
The <property>@category</property> annotation must have a value of "Zend".
|
|
|
</para>
|