@@ -55,14 +55,14 @@ |
||
55 | 55 | /** |
56 | 56 | * @test |
57 | 57 | */ |
58 | - public function testAbstractModuleGetVersion(){ |
|
58 | + public function testAbstractModuleGetVersion() { |
|
59 | 59 | $this->assertEquals($this->version, $this->module->getModuleVersion()); |
60 | 60 | } |
61 | 61 | /** |
62 | 62 | * @test |
63 | 63 | */ |
64 | - public function testAbstractModuleGetAppConfig(){ |
|
65 | - $this->assertEquals(\Tight\Tight::getInstance()->getConfig(),$this->module->getAppConfig()); |
|
64 | + public function testAbstractModuleGetAppConfig() { |
|
65 | + $this->assertEquals(\Tight\Tight::getInstance()->getConfig(), $this->module->getAppConfig()); |
|
66 | 66 | } |
67 | 67 | } |
68 | 68 |
@@ -102,14 +102,14 @@ |
||
102 | 102 | * @test |
103 | 103 | * @depends testModuleLoaderAdd |
104 | 104 | */ |
105 | - public function testModuleLoaderGetModulesInfo(){ |
|
105 | + public function testModuleLoaderGetModulesInfo() { |
|
106 | 106 | $expected[0] = [ |
107 | 107 | "name" => "TestModule", |
108 | 108 | "version"=> "v1.0" |
109 | 109 | ]; |
110 | - $this->assertEquals([],$this->loader->getModulesInfo()); |
|
110 | + $this->assertEquals([], $this->loader->getModulesInfo()); |
|
111 | 111 | $this->loader->add($this->testModule); |
112 | - $this->assertEquals($expected,$this->loader->getModulesInfo()); |
|
112 | + $this->assertEquals($expected, $this->loader->getModulesInfo()); |
|
113 | 113 | } |
114 | 114 | } |
115 | 115 |
@@ -33,7 +33,7 @@ |
||
33 | 33 | */ |
34 | 34 | class CookieConfig extends \Tight\BaseConfig |
35 | 35 | { |
36 | - public $expire = 60*60*24*30; |
|
36 | + public $expire = 60 * 60 * 24 * 30; |
|
37 | 37 | public $path = "/"; |
38 | 38 | public $domain = ""; |
39 | 39 | public $secure = false; |