Completed
Push — develop ( 316159...00443b )
by Zack
20:22
created
vendor/psr/simple-cache/src/CacheException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,6 +5,5 @@
 block discarded – undo
5 5
 /**
6 6
  * Interface used for all types of exceptions thrown by the implementing library.
7 7
  */
8
-interface CacheException
9
-{
8
+interface CacheException {
10 9
 }
Please login to merge, or discard this patch.
vendor/psr/simple-cache/src/CacheInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Psr\SimpleCache;
4 4
 
5
-interface CacheInterface
6
-{
5
+interface CacheInterface {
7 6
     /**
8 7
      * Fetches a value from the cache.
9 8
      *
Please login to merge, or discard this patch.
vendor/psr/log/Psr/Log/InvalidArgumentException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,6 +2,5 @@
 block discarded – undo
2 2
 
3 3
 namespace Psr\Log;
4 4
 
5
-class InvalidArgumentException extends \InvalidArgumentException
6
-{
5
+class InvalidArgumentException extends \InvalidArgumentException {
7 6
 }
Please login to merge, or discard this patch.
vendor/psr/log/Psr/Log/NullLogger.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,8 +10,7 @@  discard block
 block discarded – undo
10 10
  * is a good way to avoid littering your code with `if ($this->logger) { }`
11 11
  * blocks.
12 12
  */
13
-class NullLogger extends AbstractLogger
14
-{
13
+class NullLogger extends AbstractLogger {
15 14
     /**
16 15
      * Logs with an arbitrary level.
17 16
      *
@@ -23,8 +22,7 @@  discard block
 block discarded – undo
23 22
      *
24 23
      * @throws \Psr\Log\InvalidArgumentException
25 24
      */
26
-    public function log($level, $message, array $context = array())
27
-    {
25
+    public function log($level, $message, array $context = array()) {
28 26
         // noop
29 27
     }
30 28
 }
Please login to merge, or discard this patch.
vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php 1 patch
Braces   +9 added lines, -18 removed lines patch added patch discarded remove patch
@@ -12,8 +12,7 @@  discard block
 block discarded – undo
12 12
  * Implementors can extend the class and implement abstract methods to run this
13 13
  * as part of their test suite.
14 14
  */
15
-abstract class LoggerInterfaceTest extends TestCase
16
-{
15
+abstract class LoggerInterfaceTest extends TestCase {
17 16
     /**
18 17
      * @return LoggerInterface
19 18
      */
@@ -30,16 +29,14 @@  discard block
 block discarded – undo
30 29
      */
31 30
     abstract public function getLogs();
32 31
 
33
-    public function testImplements()
34
-    {
32
+    public function testImplements() {
35 33
         $this->assertInstanceOf('Psr\Log\LoggerInterface', $this->getLogger());
36 34
     }
37 35
 
38 36
     /**
39 37
      * @dataProvider provideLevelsAndMessages
40 38
      */
41
-    public function testLogsAtAllLevels($level, $message)
42
-    {
39
+    public function testLogsAtAllLevels($level, $message) {
43 40
         $logger = $this->getLogger();
44 41
         $logger->{$level}($message, array('user' => 'Bob'));
45 42
         $logger->log($level, $message, array('user' => 'Bob'));
@@ -51,8 +48,7 @@  discard block
 block discarded – undo
51 48
         $this->assertEquals($expected, $this->getLogs());
52 49
     }
53 50
 
54
-    public function provideLevelsAndMessages()
55
-    {
51
+    public function provideLevelsAndMessages() {
56 52
         return array(
57 53
             LogLevel::EMERGENCY => array(LogLevel::EMERGENCY, 'message of level emergency with context: {user}'),
58 54
             LogLevel::ALERT => array(LogLevel::ALERT, 'message of level alert with context: {user}'),
@@ -68,14 +64,12 @@  discard block
 block discarded – undo
68 64
     /**
69 65
      * @expectedException \Psr\Log\InvalidArgumentException
70 66
      */
71
-    public function testThrowsOnInvalidLevel()
72
-    {
67
+    public function testThrowsOnInvalidLevel() {
73 68
         $logger = $this->getLogger();
74 69
         $logger->log('invalid level', 'Foo');
75 70
     }
76 71
 
77
-    public function testContextReplacement()
78
-    {
72
+    public function testContextReplacement() {
79 73
         $logger = $this->getLogger();
80 74
         $logger->info('{Message {nothing} {user} {foo.bar} a}', array('user' => 'Bob', 'foo.bar' => 'Bar'));
81 75
 
@@ -83,8 +77,7 @@  discard block
 block discarded – undo
83 77
         $this->assertEquals($expected, $this->getLogs());
84 78
     }
85 79
 
86
-    public function testObjectCastToString()
87
-    {
80
+    public function testObjectCastToString() {
88 81
         if (method_exists($this, 'createPartialMock')) {
89 82
             $dummy = $this->createPartialMock('Psr\Log\Test\DummyTest', array('__toString'));
90 83
         } else {
@@ -100,8 +93,7 @@  discard block
 block discarded – undo
100 93
         $this->assertEquals($expected, $this->getLogs());
101 94
     }
102 95
 
103
-    public function testContextCanContainAnything()
104
-    {
96
+    public function testContextCanContainAnything() {
105 97
         $closed = fopen('php://memory', 'r');
106 98
         fclose($closed);
107 99
 
@@ -123,8 +115,7 @@  discard block
 block discarded – undo
123 115
         $this->assertEquals($expected, $this->getLogs());
124 116
     }
125 117
 
126
-    public function testContextExceptionKeyCanBeExceptionOrOtherValues()
127
-    {
118
+    public function testContextExceptionKeyCanBeExceptionOrOtherValues() {
128 119
         $logger = $this->getLogger();
129 120
         $logger->warning('Random message', array('exception' => 'oops'));
130 121
         $logger->critical('Uncaught Exception!', array('exception' => new \LogicException('Fail')));
Please login to merge, or discard this patch.
vendor/symfony/polyfill-ctype/Ctype.php 1 patch
Braces   +13 added lines, -26 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@  discard block
 block discarded – undo
18 18
  *
19 19
  * @author Gert de Pagter <[email protected]>
20 20
  */
21
-final class Ctype
22
-{
21
+final class Ctype {
23 22
     /**
24 23
      * Returns TRUE if every character in text is either a letter or a digit, FALSE otherwise.
25 24
      *
@@ -29,8 +28,7 @@  discard block
 block discarded – undo
29 28
      *
30 29
      * @return bool
31 30
      */
32
-    public static function ctype_alnum($text)
33
-    {
31
+    public static function ctype_alnum($text) {
34 32
         $text = self::convert_int_to_char_for_ctype($text);
35 33
 
36 34
         return \is_string($text) && '' !== $text && !preg_match('/[^A-Za-z0-9]/', $text);
@@ -45,8 +43,7 @@  discard block
 block discarded – undo
45 43
      *
46 44
      * @return bool
47 45
      */
48
-    public static function ctype_alpha($text)
49
-    {
46
+    public static function ctype_alpha($text) {
50 47
         $text = self::convert_int_to_char_for_ctype($text);
51 48
 
52 49
         return \is_string($text) && '' !== $text && !preg_match('/[^A-Za-z]/', $text);
@@ -61,8 +58,7 @@  discard block
 block discarded – undo
61 58
      *
62 59
      * @return bool
63 60
      */
64
-    public static function ctype_cntrl($text)
65
-    {
61
+    public static function ctype_cntrl($text) {
66 62
         $text = self::convert_int_to_char_for_ctype($text);
67 63
 
68 64
         return \is_string($text) && '' !== $text && !preg_match('/[^\x00-\x1f\x7f]/', $text);
@@ -77,8 +73,7 @@  discard block
 block discarded – undo
77 73
      *
78 74
      * @return bool
79 75
      */
80
-    public static function ctype_digit($text)
81
-    {
76
+    public static function ctype_digit($text) {
82 77
         $text = self::convert_int_to_char_for_ctype($text);
83 78
 
84 79
         return \is_string($text) && '' !== $text && !preg_match('/[^0-9]/', $text);
@@ -93,8 +88,7 @@  discard block
 block discarded – undo
93 88
      *
94 89
      * @return bool
95 90
      */
96
-    public static function ctype_graph($text)
97
-    {
91
+    public static function ctype_graph($text) {
98 92
         $text = self::convert_int_to_char_for_ctype($text);
99 93
 
100 94
         return \is_string($text) && '' !== $text && !preg_match('/[^!-~]/', $text);
@@ -109,8 +103,7 @@  discard block
 block discarded – undo
109 103
      *
110 104
      * @return bool
111 105
      */
112
-    public static function ctype_lower($text)
113
-    {
106
+    public static function ctype_lower($text) {
114 107
         $text = self::convert_int_to_char_for_ctype($text);
115 108
 
116 109
         return \is_string($text) && '' !== $text && !preg_match('/[^a-z]/', $text);
@@ -125,8 +118,7 @@  discard block
 block discarded – undo
125 118
      *
126 119
      * @return bool
127 120
      */
128
-    public static function ctype_print($text)
129
-    {
121
+    public static function ctype_print($text) {
130 122
         $text = self::convert_int_to_char_for_ctype($text);
131 123
 
132 124
         return \is_string($text) && '' !== $text && !preg_match('/[^ -~]/', $text);
@@ -141,8 +133,7 @@  discard block
 block discarded – undo
141 133
      *
142 134
      * @return bool
143 135
      */
144
-    public static function ctype_punct($text)
145
-    {
136
+    public static function ctype_punct($text) {
146 137
         $text = self::convert_int_to_char_for_ctype($text);
147 138
 
148 139
         return \is_string($text) && '' !== $text && !preg_match('/[^!-\/\:-@\[-`\{-~]/', $text);
@@ -157,8 +148,7 @@  discard block
 block discarded – undo
157 148
      *
158 149
      * @return bool
159 150
      */
160
-    public static function ctype_space($text)
161
-    {
151
+    public static function ctype_space($text) {
162 152
         $text = self::convert_int_to_char_for_ctype($text);
163 153
 
164 154
         return \is_string($text) && '' !== $text && !preg_match('/[^\s]/', $text);
@@ -173,8 +163,7 @@  discard block
 block discarded – undo
173 163
      *
174 164
      * @return bool
175 165
      */
176
-    public static function ctype_upper($text)
177
-    {
166
+    public static function ctype_upper($text) {
178 167
         $text = self::convert_int_to_char_for_ctype($text);
179 168
 
180 169
         return \is_string($text) && '' !== $text && !preg_match('/[^A-Z]/', $text);
@@ -189,8 +178,7 @@  discard block
 block discarded – undo
189 178
      *
190 179
      * @return bool
191 180
      */
192
-    public static function ctype_xdigit($text)
193
-    {
181
+    public static function ctype_xdigit($text) {
194 182
         $text = self::convert_int_to_char_for_ctype($text);
195 183
 
196 184
         return \is_string($text) && '' !== $text && !preg_match('/[^A-Fa-f0-9]/', $text);
@@ -208,8 +196,7 @@  discard block
 block discarded – undo
208 196
      *
209 197
      * @return mixed
210 198
      */
211
-    private static function convert_int_to_char_for_ctype($int)
212
-    {
199
+    private static function convert_int_to_char_for_ctype($int) {
213 200
         if (!\is_int($int)) {
214 201
             return $int;
215 202
         }
Please login to merge, or discard this patch.
vendor/symfony/process/Exception/ProcessTimedOutException.php 1 patch
Braces   +6 added lines, -12 removed lines patch added patch discarded remove patch
@@ -18,16 +18,14 @@  discard block
 block discarded – undo
18 18
  *
19 19
  * @author Johannes M. Schmitt <[email protected]>
20 20
  */
21
-class ProcessTimedOutException extends RuntimeException
22
-{
21
+class ProcessTimedOutException extends RuntimeException {
23 22
     public const TYPE_GENERAL = 1;
24 23
     public const TYPE_IDLE = 2;
25 24
 
26 25
     private $process;
27 26
     private $timeoutType;
28 27
 
29
-    public function __construct(Process $process, int $timeoutType)
30
-    {
28
+    public function __construct(Process $process, int $timeoutType) {
31 29
         $this->process = $process;
32 30
         $this->timeoutType = $timeoutType;
33 31
 
@@ -38,23 +36,19 @@  discard block
 block discarded – undo
38 36
         ));
39 37
     }
40 38
 
41
-    public function getProcess()
42
-    {
39
+    public function getProcess() {
43 40
         return $this->process;
44 41
     }
45 42
 
46
-    public function isGeneralTimeout()
47
-    {
43
+    public function isGeneralTimeout() {
48 44
         return self::TYPE_GENERAL === $this->timeoutType;
49 45
     }
50 46
 
51
-    public function isIdleTimeout()
52
-    {
47
+    public function isIdleTimeout() {
53 48
         return self::TYPE_IDLE === $this->timeoutType;
54 49
     }
55 50
 
56
-    public function getExceededTimeout()
57
-    {
51
+    public function getExceededTimeout() {
58 52
         switch ($this->timeoutType) {
59 53
             case self::TYPE_GENERAL:
60 54
                 return $this->process->getTimeout();
Please login to merge, or discard this patch.
vendor/symfony/process/Exception/InvalidArgumentException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,6 +16,5 @@
 block discarded – undo
16 16
  *
17 17
  * @author Romain Neutron <[email protected]>
18 18
  */
19
-class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
20
-{
19
+class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface {
21 20
 }
Please login to merge, or discard this patch.
vendor/symfony/process/Exception/ExceptionInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,6 +16,5 @@
 block discarded – undo
16 16
  *
17 17
  * @author Johannes M. Schmitt <[email protected]>
18 18
  */
19
-interface ExceptionInterface extends \Throwable
20
-{
19
+interface ExceptionInterface extends \Throwable {
21 20
 }
Please login to merge, or discard this patch.