didou           Thu Jan 15 07:43:39 2004 EDT

  Modified files:              
    /phpdoc/en/reference/var/functions  is-callable.xml is-scalar.xml 
                                        unserialize.xml unset.xml 
  Log:
  CS : Function declarations follow the 'one true brace' convention
  
Index: phpdoc/en/reference/var/functions/is-callable.xml
diff -u phpdoc/en/reference/var/functions/is-callable.xml:1.6 
phpdoc/en/reference/var/functions/is-callable.xml:1.7
--- phpdoc/en/reference/var/functions/is-callable.xml:1.6       Mon Dec 15 11:54:11 
2003
+++ phpdoc/en/reference/var/functions/is-callable.xml   Thu Jan 15 07:43:39 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <!-- splitted from ./en/functions/var.xml, last change in rev 1.87 -->
   <refentry id="function.is-callable">
    <refnamediv>
@@ -55,7 +55,8 @@
 //  Simple variable containing a function
 //
 
-function someFunction() {
+function someFunction() 
+{
 }
 
 $functionVariable = 'someFunction';
@@ -70,7 +71,8 @@
 
 class someClass {
 
-  function someMethod() {
+  function someMethod() 
+  {
   }
 
 }
Index: phpdoc/en/reference/var/functions/is-scalar.xml
diff -u phpdoc/en/reference/var/functions/is-scalar.xml:1.4 
phpdoc/en/reference/var/functions/is-scalar.xml:1.5
--- phpdoc/en/reference/var/functions/is-scalar.xml:1.4 Thu Jul 31 12:37:15 2003
+++ phpdoc/en/reference/var/functions/is-scalar.xml     Thu Jan 15 07:43:39 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/var.xml, last change in rev 1.35 -->
   <refentry id="function.is-scalar">
    <refnamediv>
@@ -30,7 +30,8 @@
            programmers.  -->
 <![CDATA[
 <?php
-function show_var($var) {
+function show_var($var) 
+{
     if (is_scalar($var)) {
         echo $var;
     } else {
Index: phpdoc/en/reference/var/functions/unserialize.xml
diff -u phpdoc/en/reference/var/functions/unserialize.xml:1.14 
phpdoc/en/reference/var/functions/unserialize.xml:1.15
--- phpdoc/en/reference/var/functions/unserialize.xml:1.14      Fri Jan  2 11:28:08 
2004
+++ phpdoc/en/reference/var/functions/unserialize.xml   Thu Jan 15 07:43:39 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
 <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 -->
   <refentry id="function.unserialize">
    <refnamediv>
@@ -50,7 +50,8 @@
 // unserialize_callback_func directive available as of PHP 4.2.0
 ini_set('unserialize_callback_func', 'mycallback'); // set your callback_function
 
-function mycallback($classname) {
+function mycallback($classname) 
+{
     // just include a file containing your classdefinition
     // you get $classname to figure out which classdefinition is required
 }
Index: phpdoc/en/reference/var/functions/unset.xml
diff -u phpdoc/en/reference/var/functions/unset.xml:1.8 
phpdoc/en/reference/var/functions/unset.xml:1.9
--- phpdoc/en/reference/var/functions/unset.xml:1.8     Fri Dec 19 10:50:02 2003
+++ phpdoc/en/reference/var/functions/unset.xml Thu Jan 15 07:43:39 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
 <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 -->
   <refentry id="function.unset">
    <refnamediv>
@@ -57,7 +57,8 @@
       <programlisting role="php">
 <![CDATA[
 <?php
-function destroy_foo() {
+function destroy_foo() 
+{
     global $foo;
     unset($foo);
 }
@@ -88,7 +89,8 @@
       <programlisting role="php">
 <![CDATA[
 <?php
-function foo(&$bar) {
+function foo(&$bar) 
+{
     unset($bar);
     $bar = "blah";
 }
@@ -120,7 +122,8 @@
       <programlisting role="php">
 <![CDATA[
 <?php
-function foo() {
+function foo() 
+{
     static $a;
     $a++;
     echo "$a\n";
@@ -153,7 +156,8 @@
       <programlisting role="php">
 <![CDATA[
 <?php
-function foo() {
+function foo() 
+{
     unset($GLOBALS['bar']);
 }
 

Reply via email to