@@ -10,6 +10,9 @@ |
||
10 | 10 | { |
11 | 11 | private $configFilename; |
12 | 12 | |
13 | + /** |
|
14 | + * @param string $env |
|
15 | + */ |
|
13 | 16 | public function __construct($env, $debug, $configFilename) |
14 | 17 | { |
15 | 18 | parent::__construct($env, $debug); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | $this->cacheDir = $cacheDir = tempnam(sys_get_temp_dir(), 'raven-bundle-test'); |
20 | 20 | unlink($cacheDir); |
21 | 21 | |
22 | - register_shutdown_function(function () use ($cacheDir) { |
|
22 | + register_shutdown_function(function() use ($cacheDir) { |
|
23 | 23 | $fs = new Filesystem(); |
24 | 24 | $fs->remove($cacheDir); |
25 | 25 | }); |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | { |
44 | 44 | return call_user_func_array(array($this->client, __FUNCTION__), func_get_args()); |
45 | 45 | } |
46 | - public function message($message, $params=array(), $level=self::INFO, $stack=false, $vars = null) |
|
46 | + public function message($message, $params = array(), $level = self::INFO, $stack = false, $vars = null) |
|
47 | 47 | { |
48 | 48 | return call_user_func_array(array($this->client, __FUNCTION__), func_get_args()); |
49 | 49 | } |
@@ -52,11 +52,11 @@ discard block |
||
52 | 52 | // this one is deprecated, so we don't decorate it |
53 | 53 | return call_user_func_array(array($this->client, __FUNCTION__), func_get_args()); |
54 | 54 | } |
55 | - public function captureMessage($message, $params=array(), $level_or_options=array(), $stack=false, $vars = null) |
|
55 | + public function captureMessage($message, $params = array(), $level_or_options = array(), $stack = false, $vars = null) |
|
56 | 56 | { |
57 | 57 | return call_user_func_array(array($this->client, __FUNCTION__), func_get_args()); |
58 | 58 | } |
59 | - public function captureQuery($query, $level=self::INFO, $engine = '') |
|
59 | + public function captureQuery($query, $level = self::INFO, $engine = '') |
|
60 | 60 | { |
61 | 61 | return call_user_func_array(array($this->client, __FUNCTION__), func_get_args()); |
62 | 62 | } |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | { |
93 | 93 | return call_user_func_array(array($this->client, __FUNCTION__), func_get_args()); |
94 | 94 | } |
95 | - public function set_user_data($id, $email=null, $data=array()) |
|
95 | + public function set_user_data($id, $email = null, $data = array()) |
|
96 | 96 | { |
97 | 97 | return call_user_func_array(array($this->client, __FUNCTION__), func_get_args()); |
98 | 98 | } |
@@ -21,6 +21,6 @@ |
||
21 | 21 | */ |
22 | 22 | public function getFixturesDir() |
23 | 23 | { |
24 | - return __DIR__ . '/TwigFixtures'; |
|
24 | + return __DIR__.'/TwigFixtures'; |
|
25 | 25 | } |
26 | 26 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | { |
29 | 29 | $configurations = array(); |
30 | 30 | |
31 | - foreach (glob(__DIR__ . '/configs/test*.yml') as $configFilename) { |
|
31 | + foreach (glob(__DIR__.'/configs/test*.yml') as $configFilename) { |
|
32 | 32 | $configurations[] = array($configFilename, $debug = true); |
33 | 33 | $configurations[] = array($configFilename, $debug = false); |
34 | 34 | } |