From 23853fec0ffb630fccbf19c0362a52b181886f0e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 19 Apr 2020 09:32:33 +0200 Subject: update to 3.2.0 (beta) open https://github.com/laruence/yaf/pull/474 relax test, don't rely on sources path --- PHPINFO | 14 +- REFLECTION | 759 ++++++++++++++++++++++++++++-------------------------- php-pecl-yaf.spec | 10 +- 3 files changed, 407 insertions(+), 376 deletions(-) diff --git a/PHPINFO b/PHPINFO index 7204614..5a2543c 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,16 +2,16 @@ yaf yaf support => enabled -Version => 3.1.4 +Version => 3.2.0 Supports => http://pecl.php.net/package/yaf Directive => Local Value => Master Value yaf.library => no value => no value -yaf.action_prefer => Off => Off -yaf.lowcase_path => Off => Off -yaf.use_spl_autoload => Off => Off +yaf.environ => product => product yaf.forward_limit => 5 => 5 -yaf.name_suffix => On => On +yaf.use_namespace => 0 => 0 +yaf.action_prefer => 0 => 0 +yaf.lowcase_path => 0 => 0 +yaf.use_spl_autoload => 0 => 0 +yaf.name_suffix => 1 => 1 yaf.name_separator => no value => no value -yaf.environ => product => product -yaf.use_namespace => Off => Off diff --git a/REFLECTION b/REFLECTION index 6452d6a..a99df31 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #113 yaf version 3.1.4 ] { +Extension [ extension #113 yaf version 3.2.0 ] { - Dependencies { Dependency [ spl (Required) ] @@ -10,6 +10,15 @@ Extension [ extension #113 yaf version 3.1.4 ] { Entry [ yaf.library ] Current = '' } + Entry [ yaf.environ ] + Current = 'product' + } + Entry [ yaf.forward_limit ] + Current = '5' + } + Entry [ yaf.use_namespace ] + Current = '0' + } Entry [ yaf.action_prefer ] Current = '0' } @@ -19,25 +28,16 @@ Extension [ extension #113 yaf version 3.1.4 ] { Entry [ yaf.use_spl_autoload ] Current = '0' } - Entry [ yaf.forward_limit ] - Current = '5' - } Entry [ yaf.name_suffix ] Current = '1' } Entry [ yaf.name_separator ] Current = '' } - Entry [ yaf.environ ] - Current = 'product' - } - Entry [ yaf.use_namespace ] - Current = '0' - } } - - Constants [12] { - Constant [ string YAF_VERSION ] { 3.1.4 } + - Constants [13] { + Constant [ string YAF_VERSION ] { 3.2.0 } Constant [ string YAF_ENVIRON ] { product } Constant [ int YAF_ERR_STARTUP_FAILED ] { 512 } Constant [ int YAF_ERR_ROUTE_FAILED ] { 513 } @@ -49,6 +49,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { Constant [ int YAF_ERR_NOTFOUND_VIEW ] { 518 } Constant [ int YAF_ERR_CALL_FAILED ] { 519 } Constant [ int YAF_ERR_TYPE_ERROR ] { 521 } + Constant [ int YAF_ERR_ACCESS_ERROR ] { 522 } } - Classes [38] { @@ -57,8 +58,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Constants [0] { } - - Static properties [1] { - Property [ protected static $_app ] + - Static properties [0] { } - Static methods [1] { @@ -69,17 +69,10 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - - Properties [7] { - Property [ protected $config ] - Property [ protected $dispatcher ] - Property [ protected $_modules ] - Property [ protected $_running ] - Property [ protected $_environ ] - Property [ protected $_err_no ] - Property [ protected $_err_msg ] + - Properties [0] { } - - Methods [17] { + - Methods [14] { Method [ public method __construct ] { - Parameters [2] { @@ -164,16 +157,10 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - Method [ public method __destruct ] { - } - - Method [ private method __clone ] { - } - - Method [ private method __sleep ] { - } + Method [ public method getInstance ] { - Method [ private method __wakeup ] { + - Parameters [0] { + } } } } @@ -201,8 +188,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Constants [0] { } - - Static properties [1] { - Property [ protected static $_instance ] + - Static properties [0] { } - Static methods [1] { @@ -213,32 +199,13 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - - Properties [10] { - Property [ protected $_router ] - Property [ protected $_view ] - Property [ protected $_request ] - Property [ protected $_plugins ] - Property [ protected $_auto_render ] - Property [ protected $_return_response ] - Property [ protected $_instantly_flush ] - Property [ protected $_default_module ] - Property [ protected $_default_controller ] - Property [ protected $_default_action ] + - Properties [0] { } - Methods [23] { Method [ private method __construct ] { } - Method [ private method __clone ] { - } - - Method [ private method __sleep ] { - } - - Method [ private method __wakeup ] { - } - Method [ public method enableView ] { - Parameters [0] { @@ -291,6 +258,24 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } + Method [ public method getDefaultModule ] { + + - Parameters [0] { + } + } + + Method [ public method getDefaultController ] { + + - Parameters [0] { + } + } + + Method [ public method getDefaultAction ] { + + - Parameters [0] { + } + } + Method [ public method setErrorHandler ] { - Parameters [2] { @@ -376,8 +361,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Constants [0] { } - - Static properties [1] { - Property [ protected static $_instance ] + - Static properties [0] { } - Static methods [2] { @@ -397,9 +381,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - - Properties [2] { - Property [ protected $_library ] - Property [ protected $_global_library ] + - Properties [0] { } - Methods [11] { @@ -409,15 +391,6 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - Method [ private method __clone ] { - } - - Method [ private method __sleep ] { - } - - Method [ private method __wakeup ] { - } - Method [ public method autoload ] { - Parameters [1] { @@ -427,8 +400,9 @@ Extension [ extension #113 yaf version 3.1.4 ] { Method [ public method registerLocalNamespace ] { - - Parameters [1] { - Parameter #0 [ $name_prefix ] + - Parameters [2] { + Parameter #0 [ $namespace ] + Parameter #1 [ $path ] } } @@ -451,6 +425,13 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } + Method [ public method getNamespacePath ] { + + - Parameters [1] { + Parameter #0 [ $class_name ] + } + } + Method [ public method setLibraryPath ] { - Parameters [2] { @@ -465,6 +446,20 @@ Extension [ extension #113 yaf version 3.1.4 ] { Parameter #0 [ $is_global ] } } + + Method [ public method registerNamespace ] { + + - Parameters [2] { + Parameter #0 [ $namespace ] + Parameter #1 [ $path ] + } + } + + Method [ public method getNamespaces ] { + + - Parameters [0] { + } + } } } @@ -481,21 +476,10 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [11] { - Property [ public $module ] - Property [ public $controller ] - Property [ public $action ] - Property [ public $method ] - Property [ protected $params ] - Property [ protected $language ] - Property [ protected $_exception ] - Property [ protected $_base_uri ] - Property [ protected $uri ] - Property [ protected $dispatched ] - Property [ protected $routed ] + - Properties [0] { } - - Methods [31] { + - Methods [32] { Method [ public method isGet ] { - Parameters [0] { @@ -588,6 +572,12 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } + Method [ public method clearParams ] { + + - Parameters [0] { + } + } + Method [ public method getException ] { - Parameters [0] { @@ -614,22 +604,25 @@ Extension [ extension #113 yaf version 3.1.4 ] { Method [ public method setModuleName ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $module ] + Parameter #1 [ $format_name ] } } Method [ public method setControllerName ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $controller ] + Parameter #1 [ $format_name ] } } Method [ public method setActionName ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $action ] + Parameter #1 [ $format_name ] } } @@ -699,7 +692,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - Class [ class Yaf_Request_Http extends Yaf_Request_Abstract ] { + Class [ final class Yaf_Request_Http extends Yaf_Request_Abstract ] { - Constants [0] { } @@ -710,18 +703,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [11] { - Property [ public $module ] - Property [ public $controller ] - Property [ public $action ] - Property [ public $method ] - Property [ protected $params ] - Property [ protected $language ] - Property [ protected $_exception ] - Property [ protected $_base_uri ] - Property [ protected $uri ] - Property [ protected $dispatched ] - Property [ protected $routed ] + - Properties [0] { } - Methods [40] { @@ -752,9 +734,6 @@ Extension [ extension #113 yaf version 3.1.4 ] { Method [ public method __construct ] { } - Method [ private method __clone ] { - } - Method [ public method isGet ] { - Parameters [0] { @@ -841,6 +820,12 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } + Method [ public method clearParams ] { + + - Parameters [0] { + } + } + Method [ public method getException ] { - Parameters [0] { @@ -867,22 +852,25 @@ Extension [ extension #113 yaf version 3.1.4 ] { Method [ public method setModuleName ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $module ] + Parameter #1 [ $format_name ] } } Method [ public method setControllerName ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $controller ] + Parameter #1 [ $format_name ] } } Method [ public method setActionName ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $action ] + Parameter #1 [ $format_name ] } } @@ -965,27 +953,13 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [11] { - Property [ public $module ] - Property [ public $controller ] - Property [ public $action ] - Property [ public $method ] - Property [ protected $params ] - Property [ protected $language ] - Property [ protected $_exception ] - Property [ protected $_base_uri ] - Property [ protected $uri ] - Property [ protected $dispatched ] - Property [ protected $routed ] + - Properties [0] { } - Methods [39] { Method [ public method __construct ] { } - Method [ private method __clone ] { - } - Method [ public method getQuery ] { } @@ -1093,6 +1067,12 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } + Method [ public method clearParams ] { + + - Parameters [0] { + } + } + Method [ public method getException ] { - Parameters [0] { @@ -1119,22 +1099,25 @@ Extension [ extension #113 yaf version 3.1.4 ] { Method [ public method setModuleName ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $module ] + Parameter #1 [ $format_name ] } } Method [ public method setControllerName ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $controller ] + Parameter #1 [ $format_name ] } } Method [ public method setActionName ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $action ] + Parameter #1 [ $format_name ] } } @@ -1216,28 +1199,16 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [3] { - Property [ protected $_header ] - Property [ protected $_body ] - Property [ protected $_sendheader ] + - Properties [0] { } - - Methods [10] { + - Methods [8] { Method [ public method __construct ] { - Parameters [0] { } } - Method [ public method __destruct ] { - - - Parameters [0] { - } - } - - Method [ private method __clone ] { - } - Method [ public method __toString ] { } @@ -1287,7 +1258,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - Class [ class Yaf_Response_Http extends Yaf_Response_Abstract ] { + Class [ final class Yaf_Response_Http extends Yaf_Response_Abstract ] { - Constants [1] { Constant [ public string DEFAULT_BODY ] { content } @@ -1299,14 +1270,10 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [4] { - Property [ protected $_header ] - Property [ protected $_body ] - Property [ protected $_sendheader ] - Property [ protected $_response_code ] + - Properties [0] { } - - Methods [14] { + - Methods [13] { Method [ public method setHeader ] { - Parameters [4] { @@ -1356,12 +1323,6 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - Method [ public method __destruct ] { - - - Parameters [0] { - } - } - Method [ public method __toString ] { } @@ -1417,25 +1378,16 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [3] { - Property [ protected $_header ] - Property [ protected $_body ] - Property [ protected $_sendheader ] + - Properties [0] { } - - Methods [9] { + - Methods [8] { Method [ public method __construct ] { - Parameters [0] { } } - Method [ public method __destruct ] { - - - Parameters [0] { - } - } - Method [ public method __toString ] { } @@ -1496,17 +1448,20 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [7] { - Property [ public $actions ] - Property [ protected $_module ] - Property [ protected $_name ] - Property [ protected $_request ] - Property [ protected $_response ] - Property [ protected $_invoke_args ] - Property [ protected $_view ] + - Properties [0] { } - Methods [15] { + Method [ public method __construct ] { + + - Parameters [4] { + Parameter #0 [ $request ] + Parameter #1 [ $response ] + Parameter #2 [ $view ] + Parameter #3 [ array or NULL $args ] + } + } + Method [ protected method render ] { - Parameters [2] { @@ -1535,13 +1490,19 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - Method [ public method getModuleName ] { + Method [ public method getView ] { - Parameters [0] { } } - Method [ public method getView ] { + Method [ public method getName ] { + + - Parameters [0] { + } + } + + Method [ public method getModuleName ] { - Parameters [0] { } @@ -1596,12 +1557,6 @@ Extension [ extension #113 yaf version 3.1.4 ] { Parameter #0 [ $name ] } } - - Method [ final public method __construct ] { - } - - Method [ final private method __clone ] { - } } } @@ -1616,24 +1571,30 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [8] { - Property [ public $actions ] - Property [ protected $_module ] - Property [ protected $_name ] - Property [ protected $_request ] - Property [ protected $_response ] - Property [ protected $_invoke_args ] - Property [ protected $_view ] + - Properties [1] { Property [ protected $_controller ] } - - Methods [16] { + - Methods [18] { Method [ abstract public method execute ] { } Method [ public method getController ] { } + Method [ public method getControllerName ] { + } + + Method [ public method __construct ] { + + - Parameters [4] { + Parameter #0 [ $request ] + Parameter #1 [ $response ] + Parameter #2 [ $view ] + Parameter #3 [ array or NULL $args ] + } + } + Method [ protected method render ] { - Parameters [2] { @@ -1662,13 +1623,19 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - Method [ public method getModuleName ] { + Method [ public method getView ] { - Parameters [0] { } } - Method [ public method getView ] { + Method [ public method getName ] { + + - Parameters [0] { + } + } + + Method [ public method getModuleName ] { - Parameters [0] { } @@ -1723,13 +1690,10 @@ Extension [ extension #113 yaf version 3.1.4 ] { Parameter #0 [ $name ] } } - - Method [ final public method __construct ] { - } } } - Class [ abstract class Yaf_Config_Abstract ] { + Class [ abstract class Yaf_Config_Abstract implements Iterator, Traversable, ArrayAccess, Countable ] { - Constants [0] { } @@ -1740,27 +1704,119 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [2] { - Property [ protected $_config ] - Property [ protected $_readonly ] + - Properties [0] { } - - Methods [4] { - Method [ abstract public method get ] { + - Methods [16] { + Method [ public method get ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method toArray ] { + + - Parameters [0] { + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method rewind ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method __isset ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method __get ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ abstract public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $name ] + Parameter #1 [ $value ] + } } Method [ abstract public method set ] { + + - Parameters [2] { + Parameter #0 [ $name ] + Parameter #1 [ $value ] + } } Method [ abstract public method readonly ] { - } - Method [ abstract public method toArray ] { + - Parameters [0] { + } } } } - Class [ final class Yaf_Config_Ini extends Yaf_Config_Abstract implements Iterator, Traversable, ArrayAccess, Countable ] { + Class [ final class Yaf_Config_Ini extends Yaf_Config_Abstract implements Countable, ArrayAccess, Traversable, Iterator ] { - Constants [0] { } @@ -1771,9 +1827,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [2] { - Property [ protected $_config ] - Property [ protected $_readonly ] + - Properties [0] { } - Methods [18] { @@ -1785,13 +1839,6 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - Method [ public method __isset ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - Method [ public method get ] { - Parameters [1] { @@ -1807,101 +1854,108 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - Method [ public method count ] { + Method [ public method readonly ] { - Parameters [0] { } } - Method [ public method rewind ] { + Method [ public method offsetGet ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $name ] } } - Method [ public method current ] { + Method [ public method offsetSet ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ $name ] + Parameter #1 [ $value ] } } - Method [ public method next ] { + Method [ public method __set ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ $name ] + Parameter #1 [ $value ] } } - Method [ public method valid ] { + Method [ public method count ] { - Parameters [0] { } } - Method [ public method key ] { + Method [ public method toArray ] { - Parameters [0] { } } - Method [ public method toArray ] { + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method rewind ] { - Parameters [0] { } } - Method [ public method readonly ] { + Method [ public method current ] { - Parameters [0] { } } - Method [ public method offsetUnset ] { + Method [ public method key ] { - - Parameters [1] { - Parameter #0 [ $name ] + - Parameters [0] { } } - Method [ public method offsetGet ] { + Method [ public method next ] { - - Parameters [1] { - Parameter #0 [ $name ] + - Parameters [0] { } } - Method [ public method offsetExists ] { + Method [ public method valid ] { - - Parameters [1] { - Parameter #0 [ $name ] + - Parameters [0] { } } - Method [ public method offsetSet ] { + Method [ public method __isset ] { - - Parameters [2] { + - Parameters [1] { Parameter #0 [ $name ] - Parameter #1 [ $value ] } } - Method [ public method __get ] { + Method [ public method __get ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method __set ] { + Method [ public method offsetExists ] { - - Parameters [2] { + - Parameters [1] { Parameter #0 [ $name ] - Parameter #1 [ $value ] } } } } - Class [ final class Yaf_Config_Simple extends Yaf_Config_Abstract implements Iterator, Traversable, ArrayAccess, Countable ] { + Class [ final class Yaf_Config_Simple extends Yaf_Config_Abstract implements Countable, ArrayAccess, Traversable, Iterator ] { - Constants [0] { } @@ -1912,35 +1966,40 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [2] { - Property [ protected $_config ] - Property [ protected $_readonly ] + - Properties [0] { } - Methods [18] { Method [ public method __construct ] { - Parameters [2] { - Parameter #0 [ $config_file ] - Parameter #1 [ $section ] + Parameter #0 [ $config ] + Parameter #1 [ $readonly ] } } - Method [ public method __isset ] { + Method [ public method set ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $name ] + Parameter #1 [ $value ] } } - Method [ public method get ] { + Method [ public method readonly ] { + + - Parameters [0] { + } + } + + Method [ public method offsetUnset ] { - Parameters [1] { - Parameter #0 [ $name ] + Parameter #0 [ $name ] } } - Method [ public method set ] { + Method [ public method __set ] { - Parameters [2] { Parameter #0 [ $name ] @@ -1948,97 +2007,90 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - Method [ public method count ] { + Method [ public method offsetSet ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ $name ] + Parameter #1 [ $value ] } } - Method [ public method offsetUnset ] { + Method [ public method get ] { - Parameters [1] { - Parameter #0 [ $name ] + Parameter #0 [ $name ] } } - Method [ public method rewind ] { + Method [ public method count ] { - Parameters [0] { } } - Method [ public method current ] { + Method [ public method toArray ] { - Parameters [0] { } } - Method [ public method next ] { + Method [ public method rewind ] { - Parameters [0] { } } - Method [ public method valid ] { + Method [ public method current ] { - Parameters [0] { } } - Method [ public method key ] { + Method [ public method key ] { - Parameters [0] { } } - Method [ public method readonly ] { + Method [ public method next ] { - Parameters [0] { } } - Method [ public method toArray ] { + Method [ public method valid ] { - Parameters [0] { } } - Method [ public method __set ] { + Method [ public method __isset ] { - - Parameters [2] { + - Parameters [1] { Parameter #0 [ $name ] - Parameter #1 [ $value ] } } - Method [ public method __get ] { + Method [ public method __get ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method offsetGet ] { + Method [ public method offsetGet ] { - Parameters [1] { - Parameter #0 [ $name ] + Parameter #0 [ $name ] } } - Method [ public method offsetExists ] { + Method [ public method offsetExists ] { - Parameters [1] { Parameter #0 [ $name ] } } - - Method [ public method offsetSet ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } } } @@ -2090,13 +2142,14 @@ Extension [ extension #113 yaf version 3.1.4 ] { Method [ abstract public method getScriptPath ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $request ] } } } } - Class [ class Yaf_View_Simple implements Yaf_View_Interface ] { + Class [ final class Yaf_View_Simple implements Yaf_View_Interface ] { - Constants [0] { } @@ -2107,13 +2160,10 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [3] { - Property [ protected $_tpl_vars ] - Property [ protected $_tpl_dir ] - Property [ protected $_options ] + - Properties [0] { } - - Methods [13] { + - Methods [12] { Method [ final public method __construct ] { - Parameters [2] { @@ -2122,13 +2172,6 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - Method [ public method __isset ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - Method [ public method get ] { - Parameters [1] { @@ -2192,7 +2235,8 @@ Extension [ extension #113 yaf version 3.1.4 ] { Method [ public method getScriptPath ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $request ] } } @@ -2224,13 +2268,14 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [2] { - Property [ protected $_routes ] - Property [ protected $_current ] + - Properties [0] { } - Methods [7] { Method [ public method __construct ] { + + - Parameters [0] { + } } Method [ public method addRoute ] { @@ -2243,12 +2288,22 @@ Extension [ extension #113 yaf version 3.1.4 ] { } Method [ public method getRoute ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } } Method [ public method getRoutes ] { + + - Parameters [0] { + } } Method [ public method getCurrentRoute ] { + + - Parameters [0] { + } } } } @@ -2285,7 +2340,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - Class [ class Yaf_Route_Static implements Yaf_Route_Interface ] { + Class [ final class Yaf_Route_Static implements Yaf_Route_Interface ] { - Constants [0] { } @@ -2335,10 +2390,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [3] { - Property [ protected $controller ] - Property [ protected $module ] - Property [ protected $action ] + - Properties [0] { } - Methods [3] { @@ -2379,8 +2431,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [1] { - Property [ protected $_var_name ] + - Properties [0] { } - Methods [3] { @@ -2419,13 +2470,10 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [3] { - Property [ protected $_route ] - Property [ protected $_default ] - Property [ protected $_verify ] + - Properties [0] { } - - Methods [3] { + - Methods [4] { Method [ public method __construct ] { - Parameters [3] { @@ -2435,6 +2483,13 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } + Method [ public method match ] { + + - Parameters [1] { + Parameter #0 [ $uri ] + } + } + Method [ public method route ] { - Parameters [1] { @@ -2463,15 +2518,10 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [5] { - Property [ protected $_route ] - Property [ protected $_default ] - Property [ protected $_maps ] - Property [ protected $_verify ] - Property [ protected $_reverse ] + - Properties [0] { } - - Methods [3] { + - Methods [4] { Method [ public method __construct ] { - Parameters [5] { @@ -2483,6 +2533,13 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } + Method [ public method match ] { + + - Parameters [1] { + Parameter #0 [ $uri ] + } + } + Method [ public method route ] { - Parameters [1] { @@ -2511,9 +2568,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Static methods [0] { } - - Properties [2] { - Property [ protected $_ctl_router ] - Property [ protected $_delimiter ] + - Properties [0] { } - Methods [3] { @@ -2620,8 +2675,7 @@ Extension [ extension #113 yaf version 3.1.4 ] { - Constants [0] { } - - Static properties [1] { - Property [ protected static $_instance ] + - Static properties [0] { } - Static methods [4] { @@ -2655,26 +2709,21 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - - Properties [1] { - Property [ protected $_entries ] + - Properties [0] { } - - Methods [2] { + - Methods [1] { Method [ private method __construct ] { } - - Method [ private method __clone ] { - } } } - Class [ final class Yaf_Session implements Iterator, Traversable, ArrayAccess, Countable ] { + Class [ abstract final class Yaf_Session implements Iterator, Traversable, ArrayAccess, Countable ] { - Constants [0] { } - - Static properties [1] { - Property [ protected static $_instance ] + - Static properties [0] { } - Static methods [1] { @@ -2685,24 +2734,13 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - - Properties [2] { - Property [ protected $_session ] - Property [ protected $_started ] + - Properties [0] { } - - Methods [24] { + - Methods [21] { Method [ private method __construct ] { } - Method [ private method __clone ] { - } - - Method [ private method __sleep ] { - } - - Method [ private method __wakeup ] { - } - Method [ public method start ] { - Parameters [0] { @@ -2744,36 +2782,6 @@ Extension [ extension #113 yaf version 3.1.4 ] { } } - Method [ public method rewind ] { - - - Parameters [0] { - } - } - - Method [ public method next ] { - - - Parameters [0] { - } - } - - Method [ public method current ] { - - - Parameters [0] { - } - } - - Method [ public method key ] { - - - Parameters [0] { - } - } - - Method [ public method valid ] { - - - Parameters [0] { - } - } - Method [ public method clear ] { - Parameters [0] { @@ -2837,6 +2845,21 @@ Extension [ extension #113 yaf version 3.1.4 ] { Parameter #0 [ $name ] } } + + Method [ abstract public method current ] { + } + + Method [ abstract public method next ] { + } + + Method [ abstract public method key ] { + } + + Method [ abstract public method valid ] { + } + + Method [ abstract public method rewind ] { + } } } diff --git a/php-pecl-yaf.spec b/php-pecl-yaf.spec index 9f27fdd..6177924 100644 --- a/php-pecl-yaf.spec +++ b/php-pecl-yaf.spec @@ -26,7 +26,7 @@ Summary: Yet Another Framework Name: %{?sub_prefix}php-pecl-yaf -Version: 3.1.4 +Version: 3.2.0 %if 0%{?gh_date:1} Release: 0.12.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz @@ -155,6 +155,9 @@ done %check +# fix path +sed -e '/base_uri:protected/s/syaf/s/' -i ?TS/tests/issue231.phpt + cd NTS : Minimal load test for NTS extension %{__php} --no-php-ini \ @@ -220,6 +223,11 @@ fi %changelog +* Sun Apr 19 2020 Remi Collet - 3.2.0-1 +- update to 3.2.0 (beta) +- open https://github.com/laruence/yaf/pull/474 + relax test, don't rely on sources path + * Wed Apr 1 2020 Remi Collet - 3.1.4-1 - update to 3.1.4 -- cgit