INFO: Java 1.8.0_322 Amazon.com Inc. (64-bit)
INFO: Linux 4.4.0-1128-aws amd64
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-core-2.17.0.899.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-cli-2.1.0.566.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
INFO: Index files
INFO: 11 files indexed
INFO: 3 source files to be analyzed
ERROR: Unable to parse file: /code/.php-cs-fixer.dist.php
ERROR: Parse error at line 157 column 1:
147: 'self_static_accessor' => true,
148: 'simplified_if_return' => true,
149: 'simplified_null_return' => true,
150: 'static_lambda' => true,
151: 'trailing_comma_in_multiline' => ['elements' => ['arguments', 'arrays']],
152: 'yoda_style' => [
153: 'always_move_variable' => true,
154: 'less_and_greater' => true,
155: ],
156: ],
157: )
^
158: ;
159:
ERROR: Unable to parse file: /code/src/TimedLoop.php
ERROR: Parse error at line 13 column 13:
3: declare(strict_types=1);
4:
5: namespace Rikta\TimedLoop;
6:
7: class TimedLoop
8: {
9: /** function that shall be looped */
10: private $callable;
11:
12: /** value that must be returned by the looped method to keep the loop going */
13: private bool $continueReturn = false;
^
14:
15: /** maximum amount of seconds to run until an exception shall be thrown */
16: private float $maxSeconds = 10.0;
17:
18: /** microseconds between end of a call and a new try */
19: private int $retryAfterMicroseconds = 5_0000;
20:
21: /** shall an exception be thrown when the timeout is reached? */
22: private bool $throwsException = true;
23:
ERROR: Unable to parse file: /code/src/LoopTimeoutException.php
ERROR: Parse error at line 21 column 9:
11: */
12: final class LoopTimeoutException extends RuntimeException
13: {
14: public function __construct(float $secondsPassed, float $secondsLimit, $continueValue)
15: {
16: parent::__construct(sprintf(
17: 'Loop timed out after %01.3f seconds (limit: %01.3f seconds) not returning %s',
18: $secondsPassed,
19: $secondsLimit,
20: var_export($continueValue, true),
21: ));
^
22: }
23: }
24:
INFO: 3/3 source files have been analyzed
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 0.251s
INFO: Final Memory: 10M/56M
INFO: ------------------------------------------------------------------------
|