Completed
Pull Request — develop (#1760)
by
unknown
18:24
created
trustedlogin/psr/log/Psr/Log/Test/DummyTest.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,10 +15,8 @@
 block discarded – undo
15 15
  *
16 16
  * @internal
17 17
  */
18
-class DummyTest
19
-{
20
-    public function __toString()
21
-    {
18
+class DummyTest {
19
+    public function __toString() {
22 20
         return 'DummyTest';
23 21
     }
24 22
 }
Please login to merge, or discard this patch.
trustedlogin/psr/log/Psr/Log/LoggerInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,7 @@
 block discarded – undo
23 23
  * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
24 24
  * for the full interface specification.
25 25
  */
26
-interface LoggerInterface
27
-{
26
+interface LoggerInterface {
28 27
     /**
29 28
      * System is unusable.
30 29
      *
Please login to merge, or discard this patch.
vendor/paragonie/random_compat/lib/random_bytes_dev_urandom.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,7 @@
 block discarded – undo
45 45
      *
46 46
      * @return string
47 47
      */
48
-    function random_bytes($bytes)
49
-    {
48
+    function random_bytes($bytes) {
50 49
         /** @var resource $fp */
51 50
         static $fp = null;
52 51
 
Please login to merge, or discard this patch.
vendor/paragonie/random_compat/lib/random_int.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,7 @@
 block discarded – undo
38 38
      *
39 39
      * @return int
40 40
      */
41
-    function random_int($min, $max)
42
-    {
41
+    function random_int($min, $max) {
43 42
         /**
44 43
          * Type and input logic checks
45 44
          *
Please login to merge, or discard this patch.
vendor/paragonie/random_compat/lib/random_bytes_libsodium_legacy.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
      *
41 41
      * @return string
42 42
      */
43
-    function random_bytes($bytes)
44
-    {
43
+    function random_bytes($bytes) {
45 44
         try {
46 45
             /** @var int $bytes */
47 46
             $bytes = RandomCompat_intval($bytes);
Please login to merge, or discard this patch.
vendor/paragonie/random_compat/lib/cast_to_int.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,7 @@
 block discarded – undo
45 45
      *
46 46
      * @throws TypeError
47 47
      */
48
-    function RandomCompat_intval($number, $fail_open = false)
49
-    {
48
+    function RandomCompat_intval($number, $fail_open = false) {
50 49
         if (is_int($number) || is_float($number)) {
51 50
             $number += 0;
52 51
         } elseif (is_numeric($number)) {
Please login to merge, or discard this patch.
vendor/paragonie/random_compat/lib/random.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,8 +208,7 @@
 block discarded – undo
208 208
          * @throws Exception
209 209
          * @return string
210 210
          */
211
-        function random_bytes($length)
212
-        {
211
+        function random_bytes($length) {
213 212
             unset($length); // Suppress "variable not used" warnings.
214 213
             throw new Exception(
215 214
                 'There is no suitable CSPRNG installed on your system'
Please login to merge, or discard this patch.
vendor/paragonie/random_compat/lib/error_polyfill.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -28,21 +28,18 @@
 block discarded – undo
28 28
 
29 29
 if (!class_exists('Error', false)) {
30 30
     // We can't really avoid making this extend Exception in PHP 5.
31
-    class Error extends Exception
32
-    {
31
+    class Error extends Exception {
33 32
 
34 33
     }
35 34
 }
36 35
 
37 36
 if (!class_exists('TypeError', false)) {
38 37
     if (is_subclass_of('Error', 'Exception')) {
39
-        class TypeError extends Error
40
-        {
38
+        class TypeError extends Error {
41 39
 
42 40
         }
43 41
     } else {
44
-        class TypeError extends Exception
45
-        {
42
+        class TypeError extends Exception {
46 43
 
47 44
         }
48 45
     }
Please login to merge, or discard this patch.
vendor/paragonie/random_compat/lib/byte_safe_strings.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -44,8 +44,7 @@  discard block
 block discarded – undo
44 44
          *
45 45
          * @return int
46 46
          */
47
-        function RandomCompat_strlen($binary_string)
48
-        {
47
+        function RandomCompat_strlen($binary_string) {
49 48
             if (!is_string($binary_string)) {
50 49
                 throw new TypeError(
51 50
                     'RandomCompat_strlen() expects a string'
@@ -67,8 +66,7 @@  discard block
 block discarded – undo
67 66
          *
68 67
          * @return int
69 68
          */
70
-        function RandomCompat_strlen($binary_string)
71
-        {
69
+        function RandomCompat_strlen($binary_string) {
72 70
             if (!is_string($binary_string)) {
73 71
                 throw new TypeError(
74 72
                     'RandomCompat_strlen() expects a string'
@@ -100,8 +98,7 @@  discard block
 block discarded – undo
100 98
          *
101 99
          * @return string
102 100
          */
103
-        function RandomCompat_substr($binary_string, $start, $length = null)
104
-        {
101
+        function RandomCompat_substr($binary_string, $start, $length = null) {
105 102
             if (!is_string($binary_string)) {
106 103
                 throw new TypeError(
107 104
                     'RandomCompat_substr(): First argument should be a string'
@@ -158,8 +155,7 @@  discard block
 block discarded – undo
158 155
          *
159 156
          * @return string
160 157
          */
161
-        function RandomCompat_substr($binary_string, $start, $length = null)
162
-        {
158
+        function RandomCompat_substr($binary_string, $start, $length = null) {
163 159
             if (!is_string($binary_string)) {
164 160
                 throw new TypeError(
165 161
                     'RandomCompat_substr(): First argument should be a string'
Please login to merge, or discard this patch.