OSDN Git Service

fixed E_DEPRECATED errors and E_STRICT errors
[ethna/ethna.git] / test / Plugin / Validator / Ethna_Plugin_Validator_Strmincompat_Test.php
index 9f651e1..35d58cc 100644 (file)
@@ -16,11 +16,11 @@ class Ethna_Plugin_Validator_Strmincompat_Test extends Ethna_UnitTestBase
 
     function setUp()
     {
-        $ctl =& new Ethna_Controller();
+        $ctl = new Ethna_Controller();
         $ctl->setClientEncoding('EUC-JP');
-        $ctl->action_form =& new Ethna_ActionForm($ctl);
-        $this->local_ctl =& $ctl;
-        $plugin =& $ctl->getPlugin();
+        $ctl->action_form = new Ethna_ActionForm($ctl);
+        $this->local_ctl = $ctl;
+        $plugin = $ctl->getPlugin();
         $this->vld = $plugin->getPlugin('Validator', 'Strmincompat');
     }