> I grepped for other occurances:

hm.... interesting. I also think we need to grep for FIXME and TODO
and even for echo, print_r or var_dump. Just to make sure there is
nothing open for the release :-)

Christian


>
> $ egrep -rsn '@[_a-zA-Z0-9]+\(' . |grep -v .svn
> ./main/php/LoggerLoggingEvent.php:167:                                  
> $className = @strtolower($hop['class']);
> ./main/php/LoggerLoggingEvent.php:169:                                        
>  �...@strtolower(get_parent_class($className)) == 'logger' or
> ./main/php/LoggerLoggingEvent.php:170:                                        
>  �...@strtolower(get_parent_class($className)) == 'loggercategory')) {
>
> FIXME: No clue why strtolower() could ever possibly throw a warning.
>       Even with null, false or a resource it works.
>       get_parent_class() seems also not to throw any warnings.
>
> ./main/php/configurators/LoggerConfiguratorIni.php:296:         $properties = 
> @parse_ini_file($url);
>
> Warnings are catched and converted to Exception.
>
> ./main/php/appenders/LoggerAppenderSocket.php:108:                      
> $this->sp = @fsockopen($this->getRemoteHost(), $this->getPort(), $errno, 
> $errstr, $this->getTimeout());
>
> FIXME: the errors are checked but there is no warning to the user. I have a 
> look at that!
>
> ./main/php/appenders/LoggerAppenderMailEvent.php:157:                   
> @mail($to, $this->getSubject(),
>
> FIXME: This, too, looks suspicous. I have a look at that as well.
>
> ./main/php/helpers/LoggerOptionConverter.php:168: $result = 
> @call_user_func(array($clazz, 'toLevel'), $levelName, $defaultValue);
>
> If an error occurs in toLevel() the default is returned. That's at least how 
> its documented.
>
>
> bye,
>
> -christian-
>
>

Reply via email to