Completed
Push — master ( fd5d59...208625 )
by Thijs
02:37
created
src/SAML2/XML/md/ContactPerson.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     {
116 116
         assert(is_string($name));
117 117
 
118
-        $e = Utils::xpQuery($parent, './saml_metadata:' . $name);
118
+        $e = Utils::xpQuery($parent, './saml_metadata:'.$name);
119 119
 
120 120
         $ret = array();
121 121
         foreach ($e as $i) {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
             return null;
143 143
         }
144 144
         if (count($e) > 1) {
145
-            throw new \Exception('More than one ' . $name . ' in ' . $parent->tagName);
145
+            throw new \Exception('More than one '.$name.' in '.$parent->tagName);
146 146
         }
147 147
 
148 148
         return $e[0];
Please login to merge, or discard this patch.
src/SAML2/Compat/Ssp/Logger.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      */
17 17
     public function emergency($message, array $context = array())
18 18
     {
19
-        \SimpleSAML\Logger::emergency($message . ($context ? " " . var_export($context, true) : ""));
19
+        \SimpleSAML\Logger::emergency($message.($context ? " ".var_export($context, true) : ""));
20 20
     }
21 21
 
22 22
     /**
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public function alert($message, array $context = array())
33 33
     {
34
-        \SimpleSAML\Logger::alert($message . ($context ? " " . var_export($context, true) : ""));
34
+        \SimpleSAML\Logger::alert($message.($context ? " ".var_export($context, true) : ""));
35 35
     }
36 36
 
37 37
     /**
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public function critical($message, array $context = array())
47 47
     {
48
-        \SimpleSAML\Logger::critical($message . ($context ? " " . var_export($context, true) : ""));
48
+        \SimpleSAML\Logger::critical($message.($context ? " ".var_export($context, true) : ""));
49 49
     }
50 50
 
51 51
     /**
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function error($message, array $context = array())
60 60
     {
61
-        \SimpleSAML\Logger::error($message . ($context ? " " . var_export($context, true) : ""));
61
+        \SimpleSAML\Logger::error($message.($context ? " ".var_export($context, true) : ""));
62 62
     }
63 63
 
64 64
     /**
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     public function warning($message, array $context = array())
75 75
     {
76
-        \SimpleSAML\Logger::warning($message . ($context ? " " . var_export($context, true) : ""));
76
+        \SimpleSAML\Logger::warning($message.($context ? " ".var_export($context, true) : ""));
77 77
     }
78 78
 
79 79
     /**
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      */
86 86
     public function notice($message, array $context = array())
87 87
     {
88
-        \SimpleSAML\Logger::notice($message . ($context ? " " . var_export($context, true) : ""));
88
+        \SimpleSAML\Logger::notice($message.($context ? " ".var_export($context, true) : ""));
89 89
     }
90 90
 
91 91
     /**
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      */
100 100
     public function info($message, array $context = array())
101 101
     {
102
-        \SimpleSAML\Logger::info($message . ($context ? " " . var_export($context, true) : ""));
102
+        \SimpleSAML\Logger::info($message.($context ? " ".var_export($context, true) : ""));
103 103
     }
104 104
 
105 105
     /**
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      */
112 112
     public function debug($message, array $context = array())
113 113
     {
114
-        \SimpleSAML\Logger::debug($message . ($context ? " " . var_export($context, true) : ""));
114
+        \SimpleSAML\Logger::debug($message.($context ? " ".var_export($context, true) : ""));
115 115
     }
116 116
 
117 117
     /**
Please login to merge, or discard this patch.