Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00% covered (danger)
0.00%
0 / 1
50.00% covered (danger)
50.00%
1 / 2
CRAP
57.14% covered (warning)
57.14%
4 / 7
module
0.00% covered (danger)
0.00%
0 / 1
50.00% covered (danger)
50.00%
1 / 2
2.31
57.14% covered (warning)
57.14%
4 / 7
 method
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 3
 phpunitParams
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
4 / 4
<?php
    namespace manager\module;
    use \manager\ManagerError;
    class module{
        public static function method(){
            return array(
                'ModuleError'       => ManagerError::Success,
                'ReceivedArguments' => func_get_args()
            );
        }
        public static function phpunitParams($params){
            extract($params);
            return array(
                'ModuleError' => ManagerError::Success,
                'p1'          => $p1,
                'p2'          => $p2
            );
        }
    }
?>