Current file: /home/vbrandao/next2u/Dropbox/noiselabs.org/projects/noiselabs-php-toolkit/src/NoiseLabs/ToolKit/ConfigParser/Exception/NoOptionException.php
Legend: executed not executed dead code

  Coverage
  Classes Functions / Methods Lines
Total
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 1 CRAP
0.00%0.00%
0.00% 0 / 3
 
NoOptionException
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 3
 __construct($section, $option)
0.00%0.00%
0.00% 0 / 1 2
0.00%0.00%
0.00% 0 / 2


       1                 : <?php                                                                                       
       2                 : /**                                                                                         
       3                 :  * This file is part of NoiseLabs-PHP-ToolKit                                               
       4                 :  *                                                                                          
       5                 :  * NoiseLabs-PHP-ToolKit is free software; you can redistribute it                          
       6                 :  * and/or modify it under the terms of the GNU Lesser General Public                        
       7                 :  * License as published by the Free Software Foundation; either                             
       8                 :  * version 3 of the License, or (at your option) any later version.                         
       9                 :  *                                                                                          
      10                 :  * NoiseLabs-PHP-ToolKit is distributed in the hope that it will be                         
      11                 :  * useful, but WITHOUT ANY WARRANTY; without even the implied warranty                      
      12                 :  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU                     
      13                 :  * Lesser General Public License for more details.                                          
      14                 :  *                                                                                          
      15                 :  * You should have received a copy of the GNU Lesser General Public                         
      16                 :  * License along with NoiseLabs-PHP-ToolKit; if not, see                                    
      17                 :  * <http://www.gnu.org/licenses/>.                                                          
      18                 :  *                                                                                          
      19                 :  * Copyright (C) 2011 Vítor Brandão <noisebleed@noiselabs.org>                            
      20                 :  *                                                                                          
      21                 :  *                                                                                          
      22                 :  * @category NoiseLabs                                                                      
      23                 :  * @package ConfigParser                                                                    
      24                 :  * @version 0.1.1                                                                           
      25                 :  * @author Vítor Brandão <noisebleed@noiselabs.org>                                       
      26                 :  * @copyright (C) 2011 Vítor Brandão <noisebleed@noiselabs.org>                           
      27                 :  */                                                                                         
      28                 :                                                                                             
      29                 : namespace NoiseLabs\ToolKit\ConfigParser\Exception;                                         
      30                 :                                                                                             
      31                 : class NoOptionException extends \RuntimeException                                           
      32               0 : {                                                                                           
      33                 :     public function __construct($section, $option)                                          
      34                 :     {                                                                                       
      35               0 :         parent::__construct("Option '".$option."' on section '".$section."' doesn't exist");
      36               0 :     }                                                                                       
      37                 : }                                                                                           
      38                 :                                                                                             

Generated by PHP_CodeCoverage 1.0.4 using PHP 5.3.6-pl0-gentoo and PHPUnit 3.5.13 at Wed Jun 1 11:12:17 WEST 2011.