Completed
Pull Request — master (#174)
by Juliette
26s
created
lib/byte_safe_strings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
                 }
181 181
 
182 182
                 return (string) substr(
183
-                    (string )$binary_string,
183
+                    (string) $binary_string,
184 184
                     (int) $start,
185 185
                     (int) $length
186 186
                 );
Please login to merge, or discard this patch.
lib/random_bytes_dev_urandom.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
             if (DIRECTORY_SEPARATOR === '/') {
68 68
                 if (!is_readable('/dev/urandom')) {
69 69
                     throw new Exception(
70
-                        'Environment misconfiguration: ' .
70
+                        'Environment misconfiguration: '.
71 71
                         '/dev/urandom cannot be read.'
72 72
                     );
73 73
                 }
Please login to merge, or discard this patch.
psalm-autoload.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require_once __DIR__ . '/lib/byte_safe_strings.php';
4
-require_once __DIR__ . '/lib/cast_to_int.php';
5
-require_once __DIR__ . '/lib/error_polyfill.php';
6
-require_once __DIR__ . '/other/ide_stubs/libsodium.php';
7
-require_once __DIR__ . '/lib/random.php';
3
+require_once __DIR__.'/lib/byte_safe_strings.php';
4
+require_once __DIR__.'/lib/cast_to_int.php';
5
+require_once __DIR__.'/lib/error_polyfill.php';
6
+require_once __DIR__.'/other/ide_stubs/libsodium.php';
7
+require_once __DIR__.'/lib/random.php';
8 8
 
9 9
 $int = random_int(0, 65536);
Please login to merge, or discard this patch.
phpunit-autoload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-require_once __DIR__ . '/psalm-autoload.php';
3
+require_once __DIR__.'/psalm-autoload.php';
4 4
 
5 5
 /**
6 6
  * This is necessary for PHPUnit on PHP >= 5.3
@@ -9,6 +9,6 @@  discard block
 block discarded – undo
9 9
  */
10 10
 if (PHP_VERSION_ID >= 50300) {
11 11
     if (!class_exists('PHPUnit_Framework_TestCase')) {
12
-        require_once __DIR__ . '/other/phpunit-shim.php';
12
+        require_once __DIR__.'/other/phpunit-shim.php';
13 13
     }
14 14
 }
Please login to merge, or discard this patch.