Skip to content

Commit

Permalink
prepare for 3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Dec 27, 2015
1 parent 880a485 commit d6e8dae
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 8 deletions.
28 changes: 20 additions & 8 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,16 @@
<date>2015-12-12</date>
<time>21:46:00</time>
<version>
<release>3.0.1</release>
<api>3.0.1</api>
<release>3.0.2</release>
<api>3.0.2</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>
- Fixed auto_render bug
- Fixed issue #220 (segfault on read_property)
- Fixed bug of baseuri setting
- Fixed issue #163 (forward from init controller)
- Fixed Bug #70913 (Segfault while new Yaf_Controller)
- Fixed issue #231 (php-fpm worker core dump BUG)
</notes>
<contents>
<dir name="/">
Expand Down Expand Up @@ -201,6 +197,7 @@
<file name="bug70913.phpt" role="test" />
<file name="issue134.phpt" role="test" />
<file name="issue163.phpt" role="test" />
<file name="issue231.phpt" role="test" />
<file name="simple.ini" role="test" />
<file name="system.ini" role="test" />
<file name="multi-section.ini" role="test" />
Expand All @@ -220,6 +217,22 @@
<providesextension>yaf</providesextension>
<extsrcrelease />
<changelog>
<release>
<date>2015-12-12</date>
<version>
<release>3.0.2</release>
<api>3.0.2</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Fixed issue #231 (php-fpm worker core dump BUG)
</notes>
</release>

<release>
<date>2015-12-12</date>
<version>
Expand All @@ -239,7 +252,6 @@
- Fixed Bug #70913 (Segfault while new Yaf_Controller)
</notes>
</release>

<release>
<date>2015-10-27</date>
<version>
Expand Down
54 changes: 54 additions & 0 deletions tests/issue231.phpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
--TEST--
ISSUE #231 (php-fpm worker core dump BUG)
--SKIPIF--
<?php if (!extension_loaded("yaf")) print "skip"; ?>
--INI--
variables_order=EPS
yaf.lowcase_path=0
yaf.throw_exception=0
yaf.catch_exception=1
yaf.use_namespace=0
--POST--
SCRIPT_FILENAME=issue231.php
--FILE--
<?php
$request = new Yaf_Request_Http(dirname(__FILE__));
print_r($request);
$request = new Yaf_Request_Http(dirname(__FILE__), dirname(dirname(__FILE__)));
print_r($request);
?>
--EXPECTF--
Yaf_Request_Http Object
(
[module] =>
[controller] =>
[action] =>
[method] => POST
[params:protected] => Array
(
)

[language:protected] =>
[_exception:protected] =>
[_base_uri:protected] =>
[uri:protected] => %stests
[dispatched:protected] =>
[routed:protected] =>
)
Yaf_Request_Http Object
(
[module] =>
[controller] =>
[action] =>
[method] => POST
[params:protected] => Array
(
)

[language:protected] =>
[_exception:protected] =>
[_base_uri:protected] => %s
[uri:protected] => %stests
[dispatched:protected] =>
[routed:protected] =>
)

0 comments on commit d6e8dae

Please sign in to comment.