Skip to content

Commit

Permalink
Merge pull request laruence#111 from zxcvdavid/dev
Browse files Browse the repository at this point in the history
移除无用代码&对有些namespace ini没有指定的测试用例进行修复
  • Loading branch information
laruence committed Jul 18, 2014
2 parents 596dbd6 + 5dc92c5 commit 4d91256
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 2 deletions.
1 change: 0 additions & 1 deletion routes/yaf_route_rewrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,6 @@ YAF_STARTUP_FUNCTION(route_rewrite) {
zend_declare_property_null(yaf_route_rewrite_ce, ZEND_STRL(YAF_ROUTE_PROPETY_NAME_MATCH), ZEND_ACC_PROTECTED TSRMLS_CC);
zend_declare_property_null(yaf_route_rewrite_ce, ZEND_STRL(YAF_ROUTE_PROPETY_NAME_ROUTE), ZEND_ACC_PROTECTED TSRMLS_CC);
zend_declare_property_null(yaf_route_rewrite_ce, ZEND_STRL(YAF_ROUTE_PROPETY_NAME_VERIFY), ZEND_ACC_PROTECTED TSRMLS_CC);
zend_declare_property_null(yaf_route_rewrite_ce, ZEND_STRL(YAF_ROUTE_PROPETY_NAME_REVERSE), ZEND_ACC_PROTECTED TSRMLS_CC);

return SUCCESS;
}
Expand Down
1 change: 0 additions & 1 deletion tests/013.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ Array
[action] => action
)

[_reverse:protected] =>
)

)
1 change: 1 addition & 0 deletions tests/070.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Fixed misleading error message when providing a string in Yaf_Application constr
--SKIPIF--
<?php if (!extension_loaded("yaf")) print "skip"; ?>
--INI--
yaf.use_namespace=0
--FILE--
<?php

Expand Down
1 change: 1 addition & 0 deletions tests/071.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return type in Yaf_Simple_Config::valid() should be boolean
--SKIPIF--
<?php if (!extension_loaded("yaf")) print "skip"; ?>
--INI--
yaf.use_namespace=0
--FILE--
<?php

Expand Down
2 changes: 2 additions & 0 deletions tests/073.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Check for Yaf_Route_Rewrite::assemble
--SKIPIF--
<?php if (!extension_loaded("yaf")) print "skip"; ?>
--INI--
yaf.use_namespace=0
--FILE--
<?php

Expand Down
2 changes: 2 additions & 0 deletions tests/074.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Check for Yaf_Route_Simple::assemble
--SKIPIF--
<?php if (!extension_loaded("yaf")) print "skip"; ?>
--INI--
yaf.use_namespace=0
--FILE--
<?php

Expand Down
2 changes: 2 additions & 0 deletions tests/075.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Check for Yaf_Route_Regex::assemble
--SKIPIF--
<?php if (!extension_loaded("yaf")) print "skip"; ?>
--INI--
yaf.use_namespace=0
--FILE--
<?php

Expand Down
1 change: 1 addition & 0 deletions tests/076.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Check for Yaf_Route_Supervar::assemble
<?php if (!extension_loaded("yaf")) print "skip"; ?>
--INI--
yaf.throw_exception=1
yaf.use_namespace=0
--FILE--
<?php

Expand Down
2 changes: 2 additions & 0 deletions tests/077.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Check for Yaf_Route_Static::assemble
--SKIPIF--
<?php if (!extension_loaded("yaf")) print "skip"; ?>
--INI--
yaf.use_namespace=0
--FILE--
<?php

Expand Down
2 changes: 2 additions & 0 deletions tests/078.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Check for Yaf_Route_Map::assemble
--SKIPIF--
<?php if (!extension_loaded("yaf")) print "skip"; ?>
--INI--
yaf.use_namespace=0
--FILE--
<?php

Expand Down

0 comments on commit 4d91256

Please sign in to comment.