@@ -180,7 +180,7 @@ |
||
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 | ); |
@@ -67,7 +67,7 @@ |
||
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 | } |
@@ -1,9 +1,9 @@ |
||
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); |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 | } |