logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject svn commit: r1350602 - in /logging/log4php/trunk/src/main/php: LoggerAppender.php LoggerAppenderPool.php LoggerNDC.php LoggerThrowableInformation.php configurators/LoggerConfigurationAdapterXML.php configurators/LoggerConfiguratorDefault.php
Date Fri, 15 Jun 2012 12:55:48 GMT
Author: ihabunek
Date: Fri Jun 15 12:55:48 2012
New Revision: 1350602

URL: http://svn.apache.org/viewvc?rev=1350602&view=rev
Log:
LOG4PHP-182: Keep opening braces on the same line for methods.

Modified:
    logging/log4php/trunk/src/main/php/LoggerAppender.php
    logging/log4php/trunk/src/main/php/LoggerAppenderPool.php
    logging/log4php/trunk/src/main/php/LoggerNDC.php
    logging/log4php/trunk/src/main/php/LoggerThrowableInformation.php
    logging/log4php/trunk/src/main/php/configurators/LoggerConfigurationAdapterXML.php
    logging/log4php/trunk/src/main/php/configurators/LoggerConfiguratorDefault.php

Modified: logging/log4php/trunk/src/main/php/LoggerAppender.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/LoggerAppender.php?rev=1350602&r1=1350601&r2=1350602&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/LoggerAppender.php (original)
+++ logging/log4php/trunk/src/main/php/LoggerAppender.php Fri Jun 15 12:55:48 2012
@@ -91,8 +91,7 @@ abstract class LoggerAppender extends Lo
 	 * 
 	 * @return LoggerLayout
 	 */
-	public function getDefaultLayout()
-	{
+	public function getDefaultLayout() {
 		return new LoggerLayoutSimple();
 	}
 	

Modified: logging/log4php/trunk/src/main/php/LoggerAppenderPool.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/LoggerAppenderPool.php?rev=1350602&r1=1350601&r2=1350602&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/LoggerAppenderPool.php (original)
+++ logging/log4php/trunk/src/main/php/LoggerAppenderPool.php Fri Jun 15 12:55:48 2012
@@ -39,8 +39,7 @@ class LoggerAppenderPool {
 	 * The appender must be named for this operation. 
 	 * @param LoggerAppender $appender
 	 */
-	public static function add(LoggerAppender $appender)
-	{
+	public static function add(LoggerAppender $appender) {
 		$name = $appender->getName();
 		
 		if(empty($name)) {

Modified: logging/log4php/trunk/src/main/php/LoggerNDC.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/LoggerNDC.php?rev=1350602&r1=1350601&r2=1350602&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/LoggerNDC.php (original)
+++ logging/log4php/trunk/src/main/php/LoggerNDC.php Fri Jun 15 12:55:48 2012
@@ -153,14 +153,14 @@ class LoggerNDC {
 	 * context is available, then the empty string "" is returned.</p>
 	 * @return string The innermost diagnostic context.
 	 */
-	public static function peek(){
+	public static function peek() {
 		if(count(self::$stack) > 0) {
 			return end(self::$stack);
 		} else {
 			return '';
 		}
 	}
-  
+	
 	/**
 	 * Push new diagnostic context information for the current thread.
 	 *

Modified: logging/log4php/trunk/src/main/php/LoggerThrowableInformation.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/LoggerThrowableInformation.php?rev=1350602&r1=1350601&r2=1350602&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/LoggerThrowableInformation.php (original)
+++ logging/log4php/trunk/src/main/php/LoggerThrowableInformation.php Fri Jun 15 12:55:48
2012
@@ -38,7 +38,7 @@ class LoggerThrowableInformation {
 	 * @param $throwable - a throwable as a exception
 	 * @param $logger - Logger reference
 	 */
-	public function __construct(Exception $throwable)  {
+	public function __construct(Exception $throwable) {
 		$this->throwable = $throwable;
 	}
 	

Modified: logging/log4php/trunk/src/main/php/configurators/LoggerConfigurationAdapterXML.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/configurators/LoggerConfigurationAdapterXML.php?rev=1350602&r1=1350601&r2=1350602&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/configurators/LoggerConfigurationAdapterXML.php (original)
+++ logging/log4php/trunk/src/main/php/configurators/LoggerConfigurationAdapterXML.php Fri
Jun 15 12:55:48 2012
@@ -38,8 +38,7 @@ class LoggerConfigurationAdapterXML impl
 		'renderers' => array(),
 	);
 	
-	public function convert($url)
-	{
+	public function convert($url) {
 		$xml = $this->loadXML($url);
 		
 		$this->parseConfiguration($xml);

Modified: logging/log4php/trunk/src/main/php/configurators/LoggerConfiguratorDefault.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/configurators/LoggerConfiguratorDefault.php?rev=1350602&r1=1350601&r2=1350602&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/configurators/LoggerConfiguratorDefault.php (original)
+++ logging/log4php/trunk/src/main/php/configurators/LoggerConfiguratorDefault.php Fri Jun
15 12:55:48 2012
@@ -97,8 +97,7 @@ class LoggerConfiguratorDefault implemen
 	 * 		will be used.
 	 * @return array The parsed configuration.
 	 */
-	public function parse($input)
-	{
+	public function parse($input) {
 		// No input - use default configuration
 		if (!isset($input)) {
 			$config = self::$defaultConfiguration;



Mime
View raw message