Author: dr
Date: Wed Dec  5 16:52:46 2007
New Revision: 6948

Log:
- Fixed (some) CS - still plenty of errors :/

Modified:
    trunk/Webdav/src/backends/file.php
    trunk/Webdav/src/backends/simple.php
    trunk/Webdav/src/exceptions/bad_request.php
    trunk/Webdav/src/exceptions/invalid_header.php
    trunk/Webdav/src/exceptions/invalid_hook.php
    trunk/Webdav/src/exceptions/invalid_request_body.php
    trunk/Webdav/src/exceptions/invalid_request_method.php
    trunk/Webdav/src/exceptions/missing_header.php
    trunk/Webdav/src/exceptions/missing_transport_configuration.php
    trunk/Webdav/src/exceptions/request_not_supported.php
    trunk/Webdav/src/exceptions/unknown_header.php
    trunk/Webdav/src/interfaces/infrastructure_base.php
    trunk/Webdav/src/interfaces/property.php
    trunk/Webdav/src/interfaces/property_storage.php
    trunk/Webdav/src/interfaces/request.php
    trunk/Webdav/src/interfaces/response.php
    trunk/Webdav/src/namespace_registry.php
    trunk/Webdav/src/plugin_configuration.php
    trunk/Webdav/src/plugin_parameters.php
    trunk/Webdav/src/plugin_registry.php
    trunk/Webdav/src/plugins/lock/config.php
    trunk/Webdav/src/plugins/lock/main.php
    trunk/Webdav/src/plugins/lock/property_handler.php
    trunk/Webdav/src/plugins/lock/transport.php
    trunk/Webdav/src/property_storages/basic.php
    trunk/Webdav/src/property_storages/flagged.php
    trunk/Webdav/src/requests/content/lock_info.php
    trunk/Webdav/src/requests/content/property_behaviour.php
    trunk/Webdav/src/requests/copy.php
    trunk/Webdav/src/requests/lock.php
    trunk/Webdav/src/requests/move.php
    trunk/Webdav/src/requests/propfind.php
    trunk/Webdav/src/requests/proppatch.php
    trunk/Webdav/src/requests/unlock.php
    trunk/Webdav/src/responses/copy.php
    trunk/Webdav/src/responses/delete.php
    trunk/Webdav/src/responses/error.php
    trunk/Webdav/src/responses/get_collection.php
    trunk/Webdav/src/responses/get_resource.php
    trunk/Webdav/src/responses/head.php
    trunk/Webdav/src/responses/mkcol.php
    trunk/Webdav/src/responses/move.php
    trunk/Webdav/src/responses/multistatus.php
    trunk/Webdav/src/responses/options.php
    trunk/Webdav/src/responses/propfind.php
    trunk/Webdav/src/responses/proppatch.php
    trunk/Webdav/src/responses/propstat.php
    trunk/Webdav/src/responses/put.php
    trunk/Webdav/src/server_configuration_manager.php
    trunk/Webdav/src/structs/collection.php
    trunk/Webdav/src/structs/display_information.php
    trunk/Webdav/src/structs/display_information_empty.php
    trunk/Webdav/src/structs/display_information_string.php
    trunk/Webdav/src/structs/display_information_xml.php
    trunk/Webdav/src/structs/output_result.php
    trunk/Webdav/src/structs/resource.php
    trunk/Webdav/src/tools/date_time.php
    trunk/Webdav/src/transport.php
    trunk/Webdav/src/transports/microsoft.php
    trunk/Webdav/src/transports/property_handler.php
    trunk/Webdav/src/transports/property_handlers/nautilus.php

Modified: trunk/Webdav/src/backends/file.php
==============================================================================
--- trunk/Webdav/src/backends/file.php [iso-8859-1] (original)
+++ trunk/Webdav/src/backends/file.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -676,7 +676,7 @@
         // Recurse
         $dh = opendir( $source );
         $errors = array();
-        while( $file = readdir( $dh ) )
+        while ( $file = readdir( $dh ) )
         {
             if ( ( $file === '.' ) ||
                  ( $file === '..' ) )
@@ -770,7 +770,7 @@
         // Recurse
         $dh = opendir( $source );
         $errors = array();
-        while( $file = readdir( $dh ) )
+        while ( $file = readdir( $dh ) )
         {
             if ( ( $file === '.' ) ||
                  ( $file === '..' ) )

Modified: trunk/Webdav/src/backends/simple.php
==============================================================================
--- trunk/Webdav/src/backends/simple.php [iso-8859-1] (original)
+++ trunk/Webdav/src/backends/simple.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -449,7 +449,7 @@
 
             // ... and clear and add them to the property name storage.
             $propertyNames = new ezcWebdavBasicPropertyStorage();
-            foreach( $nodeProperties->getAllProperties() as $namespace => 
$properties )
+            foreach ( $nodeProperties->getAllProperties() as $namespace => 
$properties )
             {
                 foreach ( $properties as $name => $property )
                 {
@@ -632,7 +632,7 @@
                     if ( !$this->setProperty( $source, $property ) )
                     {
                         // If update failed, we assume the access has been 
denied.
-                        //
+                        // 
                         // @TODO: This assumptions is not particular correct.
                         // In case of live properties, which were tried to
                         // update a 409 error would be correct.
@@ -858,7 +858,7 @@
         }
 
         // All checks are passed, we can actuall copy now.
-        //
+        // 
         // @TODO: handle keepalive setting somehow - even the RFC is quite
         // vague how to handle them exactly.
         $errors = $this->performCopy( $source, $dest, $request->getHeader( 
'Depth' ) );
@@ -953,15 +953,15 @@
         }
 
         // All checks are passed, we can actuall copy now.
-        //
+        // 
         // MOVEd contents should always be copied using infinity depth.
-        //
+        // 
         // @TODO: handle keepalive setting somehow - even the RFC is quite
         // vague how to handle them exactly.
         $errors = $this->performCopy( $source, $dest, 
ezcWebdavRequest::DEPTH_INFINITY );
 
         // If an error occured we skip deletion of source.
-        //
+        // 
         // @IMPORTANT: This is a definition / assumption made by us, because it
         // is not defined in the RFC how to handle such a case.
         if ( count( $errors ) )
@@ -978,7 +978,7 @@
 
         // If deletion failed, this has again been caused by the automatic
         // error causing facilities of the backend. Send 423 by choice.
-        //
+        // 
         // @TODO: The error generated here should depend on the actual backend
         // implementation and  not be generated guessing what may fit.
         if ( count( $deletion ) > 0 )

Modified: trunk/Webdav/src/exceptions/bad_request.php
==============================================================================
--- trunk/Webdav/src/exceptions/bad_request.php [iso-8859-1] (original)
+++ trunk/Webdav/src/exceptions/bad_request.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -12,8 +12,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 abstract class ezcWebdavBadRequestException extends ezcWebdavException
 {

Modified: trunk/Webdav/src/exceptions/invalid_header.php
==============================================================================
--- trunk/Webdav/src/exceptions/invalid_header.php [iso-8859-1] (original)
+++ trunk/Webdav/src/exceptions/invalid_header.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -16,8 +16,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavInvalidHeaderException extends ezcWebdavBadRequestException
 {

Modified: trunk/Webdav/src/exceptions/invalid_hook.php
==============================================================================
--- trunk/Webdav/src/exceptions/invalid_hook.php [iso-8859-1] (original)
+++ trunk/Webdav/src/exceptions/invalid_hook.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -19,8 +19,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavInvalidHookException extends ezcWebdavException
 {

Modified: trunk/Webdav/src/exceptions/invalid_request_body.php
==============================================================================
--- trunk/Webdav/src/exceptions/invalid_request_body.php [iso-8859-1] (original)
+++ trunk/Webdav/src/exceptions/invalid_request_body.php [iso-8859-1] Wed Dec  
5 16:52:46 2007
@@ -12,8 +12,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavInvalidRequestBodyException extends ezcWebdavBadRequestException
 {

Modified: trunk/Webdav/src/exceptions/invalid_request_method.php
==============================================================================
--- trunk/Webdav/src/exceptions/invalid_request_method.php [iso-8859-1] 
(original)
+++ trunk/Webdav/src/exceptions/invalid_request_method.php [iso-8859-1] Wed Dec 
 5 16:52:46 2007
@@ -12,8 +12,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavInvalidRequestMethodException extends ezcWebdavException
 {

Modified: trunk/Webdav/src/exceptions/missing_header.php
==============================================================================
--- trunk/Webdav/src/exceptions/missing_header.php [iso-8859-1] (original)
+++ trunk/Webdav/src/exceptions/missing_header.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -18,8 +18,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavMissingHeaderException extends ezcWebdavBadRequestException
 {

Modified: trunk/Webdav/src/exceptions/missing_transport_configuration.php
==============================================================================
--- trunk/Webdav/src/exceptions/missing_transport_configuration.php 
[iso-8859-1] (original)
+++ trunk/Webdav/src/exceptions/missing_transport_configuration.php 
[iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -21,8 +21,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavMissingTransportConfigurationException extends 
ezcWebdavException
 {

Modified: trunk/Webdav/src/exceptions/request_not_supported.php
==============================================================================
--- trunk/Webdav/src/exceptions/request_not_supported.php [iso-8859-1] 
(original)
+++ trunk/Webdav/src/exceptions/request_not_supported.php [iso-8859-1] Wed Dec  
5 16:52:46 2007
@@ -13,8 +13,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavRequestNotSupportedException extends ezcWebdavException
 {

Modified: trunk/Webdav/src/exceptions/unknown_header.php
==============================================================================
--- trunk/Webdav/src/exceptions/unknown_header.php [iso-8859-1] (original)
+++ trunk/Webdav/src/exceptions/unknown_header.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -15,8 +15,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavUnknownHeaderException extends ezcWebdavException
 {

Modified: trunk/Webdav/src/interfaces/infrastructure_base.php
==============================================================================
--- trunk/Webdav/src/interfaces/infrastructure_base.php [iso-8859-1] (original)
+++ trunk/Webdav/src/interfaces/infrastructure_base.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -34,8 +34,6 @@
  *
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 abstract class ezcWebdavInfrastructureBase
 {

Modified: trunk/Webdav/src/interfaces/property.php
==============================================================================
--- trunk/Webdav/src/interfaces/property.php [iso-8859-1] (original)
+++ trunk/Webdav/src/interfaces/property.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -21,8 +21,6 @@
  *
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 abstract class ezcWebdavProperty extends ezcWebdavInfrastructureBase
 {

Modified: trunk/Webdav/src/interfaces/property_storage.php
==============================================================================
--- trunk/Webdav/src/interfaces/property_storage.php [iso-8859-1] (original)
+++ trunk/Webdav/src/interfaces/property_storage.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -26,8 +26,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 interface ezcWebdavPropertyStorage extends Countable, Iterator 
 {

Modified: trunk/Webdav/src/interfaces/request.php
==============================================================================
--- trunk/Webdav/src/interfaces/request.php [iso-8859-1] (original)
+++ trunk/Webdav/src/interfaces/request.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -14,8 +14,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 abstract class ezcWebdavRequest
 {

Modified: trunk/Webdav/src/interfaces/response.php
==============================================================================
--- trunk/Webdav/src/interfaces/response.php [iso-8859-1] (original)
+++ trunk/Webdav/src/interfaces/response.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -19,8 +19,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 abstract class ezcWebdavResponse
 {

Modified: trunk/Webdav/src/namespace_registry.php
==============================================================================
--- trunk/Webdav/src/namespace_registry.php [iso-8859-1] (original)
+++ trunk/Webdav/src/namespace_registry.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -15,8 +15,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavNamespaceRegistry implements ArrayAccess
 {

Modified: trunk/Webdav/src/plugin_configuration.php
==============================================================================
--- trunk/Webdav/src/plugin_configuration.php [iso-8859-1] (original)
+++ trunk/Webdav/src/plugin_configuration.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -21,8 +21,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  *
  * @access private
  */

Modified: trunk/Webdav/src/plugin_parameters.php
==============================================================================
--- trunk/Webdav/src/plugin_parameters.php [iso-8859-1] (original)
+++ trunk/Webdav/src/plugin_parameters.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -18,8 +18,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  *
  * @access private
  */

Modified: trunk/Webdav/src/plugin_registry.php
==============================================================================
--- trunk/Webdav/src/plugin_registry.php [iso-8859-1] (original)
+++ trunk/Webdav/src/plugin_registry.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -26,8 +26,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  * @access private
  */
 class ezcWebdavPluginRegistry

Modified: trunk/Webdav/src/plugins/lock/config.php
==============================================================================
--- trunk/Webdav/src/plugins/lock/config.php [iso-8859-1] (original)
+++ trunk/Webdav/src/plugins/lock/config.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -17,8 +17,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  *
  * @access private
  */
@@ -27,7 +25,7 @@
     /**
      * Namespace of the LOCK plugin. 
      */
-    const NAMESPACE = 'ezcWebdavLockPlugin';
+    const NAMESPACE_NAME = 'ezcWebdavLockPlugin';
 
     /**
      * Main object of the lock plugin. 
@@ -105,7 +103,7 @@
      */
     public function getNamespace()
     {
-        return self::NAMESPACE;
+        return self::NAMESPACE_NAME;
     }
 
     /**

Modified: trunk/Webdav/src/plugins/lock/main.php
==============================================================================
--- trunk/Webdav/src/plugins/lock/main.php [iso-8859-1] (original)
+++ trunk/Webdav/src/plugins/lock/main.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -14,8 +14,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  *
  * @access private
  */
@@ -135,7 +133,7 @@
         {
             case ( $params['request'] instanceof ezcWebdavLockRequest ):
                 return $this->handleLockRequest( $params['request'] );
-            case ( $params['request'] instanceof ezcWebdavUnlockRequest )
+            case ( $params['request'] instanceof ezcWebdavUnlockRequest ):
                 return $this->handleUnlockRequest( $params['request'] );
         }
     }
@@ -189,7 +187,7 @@
             {
                 return $res;
             }
-            return $this->accquireLock( $request )
+            return $this->accquireLock( $request );
         }
         // Lock refresh
         else

Modified: trunk/Webdav/src/plugins/lock/property_handler.php
==============================================================================
--- trunk/Webdav/src/plugins/lock/property_handler.php [iso-8859-1] (original)
+++ trunk/Webdav/src/plugins/lock/property_handler.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -14,8 +14,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  *
  * @access private
  */
@@ -206,7 +204,7 @@
         }
         else if ( is_array( $elementValue ) )
         {
-            foreach( $elementValue as $subValue )
+            foreach ( $elementValue as $subValue )
             {
                 $propertyElement->appendChild( $subValue );
             }
@@ -303,7 +301,7 @@
     {
         $lockEntryContentElements = array();
 
-        foreach( $lockEntries as $lockEntry )
+        foreach ( $lockEntries as $lockEntry )
         {
             $lockEntryElement = $xmlTool->createDomElement( $dom, 'lockentry' 
);
             $lockEntryElement->appendChild(

Modified: trunk/Webdav/src/plugins/lock/transport.php
==============================================================================
--- trunk/Webdav/src/plugins/lock/transport.php [iso-8859-1] (original)
+++ trunk/Webdav/src/plugins/lock/transport.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -17,8 +17,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  *
  * @access private
  */

Modified: trunk/Webdav/src/property_storages/basic.php
==============================================================================
--- trunk/Webdav/src/property_storages/basic.php [iso-8859-1] (original)
+++ trunk/Webdav/src/property_storages/basic.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -16,8 +16,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavBasicPropertyStorage implements ezcWebdavPropertyStorage
 {
@@ -198,7 +196,7 @@
         $diffedProperties = new ezcWebdavBasicPropertyStorage();
         foreach ( $this->properties as $namespace => $properties )
         {
-            foreach( $properties as $name => $property )
+            foreach ( $properties as $name => $property )
             {
                 if ( !isset( $foreign[$namespace][$name] ) )
                 {
@@ -231,7 +229,7 @@
         $intersection = new ezcWebdavBasicPropertyStorage();
         foreach ( $this->properties as $namespace => $properties )
         {
-            foreach( $properties as $name => $property )
+            foreach ( $properties as $name => $property )
             {
                 if ( isset( $foreign[$namespace][$name] ) )
                 {

Modified: trunk/Webdav/src/property_storages/flagged.php
==============================================================================
--- trunk/Webdav/src/property_storages/flagged.php [iso-8859-1] (original)
+++ trunk/Webdav/src/property_storages/flagged.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -19,8 +19,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavFlaggedPropertyStorage extends ezcWebdavBasicPropertyStorage
 {

Modified: trunk/Webdav/src/requests/content/lock_info.php
==============================================================================
--- trunk/Webdav/src/requests/content/lock_info.php [iso-8859-1] (original)
+++ trunk/Webdav/src/requests/content/lock_info.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -18,8 +18,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  * @access private
  *
  * @property int $lockScope Represents the <lockscope /> XML element.

Modified: trunk/Webdav/src/requests/content/property_behaviour.php
==============================================================================
--- trunk/Webdav/src/requests/content/property_behaviour.php [iso-8859-1] 
(original)
+++ trunk/Webdav/src/requests/content/property_behaviour.php [iso-8859-1] Wed 
Dec  5 16:52:46 2007
@@ -27,8 +27,6 @@
  * 
  * @package Webdav
  * @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|int $keepAlive
  *           Represents the <keepalive /> XML element.

Modified: trunk/Webdav/src/requests/copy.php
==============================================================================
--- trunk/Webdav/src/requests/copy.php [iso-8859-1] (original)
+++ trunk/Webdav/src/requests/copy.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -26,8 +26,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  *
  * @property ezcWebdavRequestPropertyBehaviourContent $propertyBehaviour
  *           Contains the <propertybehavior /> element, if submitted with the

Modified: trunk/Webdav/src/requests/lock.php
==============================================================================
--- trunk/Webdav/src/requests/lock.php [iso-8859-1] (original)
+++ trunk/Webdav/src/requests/lock.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -28,8 +28,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Lockright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  *
  * @property bool $allProp
  *           Representing the <allprop /> XML element.

Modified: trunk/Webdav/src/requests/move.php
==============================================================================
--- trunk/Webdav/src/requests/move.php [iso-8859-1] (original)
+++ trunk/Webdav/src/requests/move.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -24,8 +24,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Moveright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  *
  * @property ezcWebdavRequestPropertyBehaviourContent $propertyBehaviour
  *           Contains the <propertybehavior /> element, if submitted with the

Modified: trunk/Webdav/src/requests/propfind.php
==============================================================================
--- trunk/Webdav/src/requests/propfind.php [iso-8859-1] (original)
+++ trunk/Webdav/src/requests/propfind.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -29,8 +29,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright PropFindright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  *
  * @property bool $allProp
  *           Representing the <allprop /> XML element.

Modified: trunk/Webdav/src/requests/proppatch.php
==============================================================================
--- trunk/Webdav/src/requests/proppatch.php [iso-8859-1] (original)
+++ trunk/Webdav/src/requests/proppatch.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -19,8 +19,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright PropPatchright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  *
  * @property ezcWebdavPropertyStorage $set
  *           Represents the properties contained in <set /> XML elements.

Modified: trunk/Webdav/src/requests/unlock.php
==============================================================================
--- trunk/Webdav/src/requests/unlock.php [iso-8859-1] (original)
+++ trunk/Webdav/src/requests/unlock.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -15,8 +15,6 @@
  *
  * @package Webdav
  * @version //autogen//
- * @copyright Unlockright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  * @access private
  */
 class ezcWebdavUnlockRequest extends ezcWebdavRequest

Modified: trunk/Webdav/src/responses/copy.php
==============================================================================
--- trunk/Webdav/src/responses/copy.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/copy.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -16,8 +16,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavCopyResponse extends ezcWebdavResponse
 {

Modified: trunk/Webdav/src/responses/delete.php
==============================================================================
--- trunk/Webdav/src/responses/delete.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/delete.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -16,8 +16,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavDeleteResponse extends ezcWebdavResponse
 {

Modified: trunk/Webdav/src/responses/error.php
==============================================================================
--- trunk/Webdav/src/responses/error.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/error.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -21,8 +21,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavErrorResponse extends ezcWebdavResponse
 {

Modified: trunk/Webdav/src/responses/get_collection.php
==============================================================================
--- trunk/Webdav/src/responses/get_collection.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/get_collection.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -18,8 +18,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavGetCollectionResponse extends ezcWebdavResponse
 {

Modified: trunk/Webdav/src/responses/get_resource.php
==============================================================================
--- trunk/Webdav/src/responses/get_resource.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/get_resource.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -21,8 +21,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavGetResourceResponse extends ezcWebdavResponse
 {

Modified: trunk/Webdav/src/responses/head.php
==============================================================================
--- trunk/Webdav/src/responses/head.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/head.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -16,8 +16,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavHeadResponse extends ezcWebdavResponse
 {

Modified: trunk/Webdav/src/responses/mkcol.php
==============================================================================
--- trunk/Webdav/src/responses/mkcol.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/mkcol.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -16,8 +16,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavMakeCollectionResponse extends ezcWebdavResponse
 {

Modified: trunk/Webdav/src/responses/move.php
==============================================================================
--- trunk/Webdav/src/responses/move.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/move.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -16,8 +16,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavMoveResponse extends ezcWebdavCopyResponse
 {

Modified: trunk/Webdav/src/responses/multistatus.php
==============================================================================
--- trunk/Webdav/src/responses/multistatus.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/multistatus.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -16,8 +16,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavMultistatusResponse extends ezcWebdavResponse
 {
@@ -44,7 +42,7 @@
             // Flatten array structure, if given
             if ( is_array( $param ) )
             {
-                foreach( $param as $value )
+                foreach ( $param as $value )
                 {
                     $responses[] = $value;
                 }

Modified: trunk/Webdav/src/responses/options.php
==============================================================================
--- trunk/Webdav/src/responses/options.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/options.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -16,8 +16,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavOptionsResponse extends ezcWebdavResponse
 {

Modified: trunk/Webdav/src/responses/propfind.php
==============================================================================
--- trunk/Webdav/src/responses/propfind.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/propfind.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -21,8 +21,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavPropFindResponse extends ezcWebdavResponse
 {
@@ -50,7 +48,7 @@
             // Flatten array structure, if given
             if ( is_array( $param ) )
             {
-                foreach( $param as $value )
+                foreach ( $param as $value )
                 {
                     if ( $value instanceof ezcWebdavPropStatResponse )
                     {

Modified: trunk/Webdav/src/responses/proppatch.php
==============================================================================
--- trunk/Webdav/src/responses/proppatch.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/proppatch.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -16,8 +16,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavPropPatchResponse extends ezcWebdavPropFindResponse
 {

Modified: trunk/Webdav/src/responses/propstat.php
==============================================================================
--- trunk/Webdav/src/responses/propstat.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/propstat.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -16,8 +16,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavPropStatResponse extends ezcWebdavResponse
 {

Modified: trunk/Webdav/src/responses/put.php
==============================================================================
--- trunk/Webdav/src/responses/put.php [iso-8859-1] (original)
+++ trunk/Webdav/src/responses/put.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -16,8 +16,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavPutResponse extends ezcWebdavResponse
 {

Modified: trunk/Webdav/src/server_configuration_manager.php
==============================================================================
--- trunk/Webdav/src/server_configuration_manager.php [iso-8859-1] (original)
+++ trunk/Webdav/src/server_configuration_manager.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -28,8 +28,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavServerConfigurationManager implements ArrayAccess, Iterator
 {

Modified: trunk/Webdav/src/structs/collection.php
==============================================================================
--- trunk/Webdav/src/structs/collection.php [iso-8859-1] (original)
+++ trunk/Webdav/src/structs/collection.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -15,8 +15,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavCollection extends ezcBaseStruct
 {

Modified: trunk/Webdav/src/structs/display_information.php
==============================================================================
--- trunk/Webdav/src/structs/display_information.php [iso-8859-1] (original)
+++ trunk/Webdav/src/structs/display_information.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -15,8 +15,6 @@
  * 
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 abstract class ezcWebdavDisplayInformation
 {

Modified: trunk/Webdav/src/structs/display_information_empty.php
==============================================================================
--- trunk/Webdav/src/structs/display_information_empty.php [iso-8859-1] 
(original)
+++ trunk/Webdav/src/structs/display_information_empty.php [iso-8859-1] Wed Dec 
 5 16:52:46 2007
@@ -15,8 +15,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavEmptyDisplayInformation extends ezcWebdavDisplayInformation
 {

Modified: trunk/Webdav/src/structs/display_information_string.php
==============================================================================
--- trunk/Webdav/src/structs/display_information_string.php [iso-8859-1] 
(original)
+++ trunk/Webdav/src/structs/display_information_string.php [iso-8859-1] Wed 
Dec  5 16:52:46 2007
@@ -15,8 +15,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavStringDisplayInformation extends ezcWebdavDisplayInformation
 {

Modified: trunk/Webdav/src/structs/display_information_xml.php
==============================================================================
--- trunk/Webdav/src/structs/display_information_xml.php [iso-8859-1] (original)
+++ trunk/Webdav/src/structs/display_information_xml.php [iso-8859-1] Wed Dec  
5 16:52:46 2007
@@ -15,8 +15,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavXmlDisplayInformation extends ezcWebdavDisplayInformation
 {

Modified: trunk/Webdav/src/structs/output_result.php
==============================================================================
--- trunk/Webdav/src/structs/output_result.php [iso-8859-1] (original)
+++ trunk/Webdav/src/structs/output_result.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -13,8 +13,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavOutputResult
 {

Modified: trunk/Webdav/src/structs/resource.php
==============================================================================
--- trunk/Webdav/src/structs/resource.php [iso-8859-1] (original)
+++ trunk/Webdav/src/structs/resource.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -15,8 +15,6 @@
  *
  * @version //autogentag//
  * @package Webdav
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
  */
 class ezcWebdavResource extends ezcBaseStruct
 {

Modified: trunk/Webdav/src/tools/date_time.php
==============================================================================
--- trunk/Webdav/src/tools/date_time.php [iso-8859-1] (original)
+++ trunk/Webdav/src/tools/date_time.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -18,8 +18,6 @@
  * 
  * @package Webdav
  * @version //autogen//
- * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License;
  */
 class ezcWebdavDateTime extends DateTime
 {

Modified: trunk/Webdav/src/transport.php
==============================================================================
--- trunk/Webdav/src/transport.php [iso-8859-1] (original)
+++ trunk/Webdav/src/transport.php [iso-8859-1] Wed Dec  5 16:52:46 2007
@@ -492,7 +492,7 @@
     protected function sendResponse( ezcWebdavOutputResult $output )
     {
         // Sends HTTP headers
-        foreach( $output->headers as $name => $content )
+        foreach ( $output->headers as $name => $content )
         {
             header( "{$name}: {$content}" );
         }
@@ -943,7 +943,7 @@
             // This code destroys the original order of the properties, and 
only
             // preserves the property order in set or remove groups. This 
violates
             // the webdav RFC section "8.2 PROPPATCH". 
-            //
+            // 
             // @See http://tools.ietf.org/html/rfc2518#page-31
             for ( $i = 0; $i < $setElements->length; ++$i )
             {

Modified: trunk/Webdav/src/transports/microsoft.php
==============================================================================
--- trunk/Webdav/src/transports/microsoft.php [iso-8859-1] (original)
+++ trunk/Webdav/src/transports/microsoft.php [iso-8859-1] Wed Dec  5 16:52:46 
2007
@@ -51,7 +51,7 @@
         $output->headers['DAV'] = '1, 2';
 
         // Add date namespace to response elements for MS clients
-        //
+        // 
         // Mimic Apache mod_dav behaviour for DAV: namespace
         $output->body = preg_replace(
             '(<D:response([^>]*)>)',

Modified: trunk/Webdav/src/transports/property_handler.php
==============================================================================
--- trunk/Webdav/src/transports/property_handler.php [iso-8859-1] (original)
+++ trunk/Webdav/src/transports/property_handler.php [iso-8859-1] Wed Dec  5 
16:52:46 2007
@@ -580,7 +580,7 @@
         }
         else if ( is_array( $elementValue ) )
         {
-            foreach( $elementValue as $subValue )
+            foreach ( $elementValue as $subValue )
             {
                 $propertyElement->appendChild( $subValue );
             }
@@ -609,7 +609,7 @@
     {
         $linkContentElements = array();
 
-        foreach( $links as $link )
+        foreach ( $links as $link )
         {
             $linkElement = $this->getXmlTool()->createDomElement( $dom, 'link' 
);
             $linkElement->appendChild(

Modified: trunk/Webdav/src/transports/property_handlers/nautilus.php
==============================================================================
--- trunk/Webdav/src/transports/property_handlers/nautilus.php [iso-8859-1] 
(original)
+++ trunk/Webdav/src/transports/property_handlers/nautilus.php [iso-8859-1] Wed 
Dec  5 16:52:46 2007
@@ -58,7 +58,7 @@
         }
         else if ( is_array( $elementValue ) )
         {
-            foreach( $elementValue as $subValue )
+            foreach ( $elementValue as $subValue )
             {
                 $propertyElement->appendChild( $subValue );
             }


-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to