bkdotcom/PHPDebugConsole

View on GitHub
coding standards #431
Brad Kent authored 37a64c3a
complete00:00:58
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: unknown engine or channel <codescan:stable>
WARNING: unknown engine or channel <cody:stable>
WARNING: unknown engine or channel <isort:stable>
WARNING: unknown engine or channel <proselint:stable>
WARNING: unknown engine or channel <protobuf:stable>
WARNING: unknown engine or channel <rustfmt:stable>
WARNING: unknown engine or channel <tfsec:stable>
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-standard:b1014
b1014: Pulling from codeclimate/codeclimate-standard
df20fa9351a1: Already exists
b79bab524d4c: Already exists
8f5dd72031b5: Already exists
bea36b8d88de: Pulling fs layer
3396c77940f8: Pulling fs layer
829628b17035: Pulling fs layer
2eee1528bf95: Pulling fs layer
8cdb73c9d65d: Pulling fs layer
5ad2029184d4: Pulling fs layer
f7287a81074b: Pulling fs layer
d8313b68eb98: Pulling fs layer
233957f25f4d: Pulling fs layer
8cdb73c9d65d: Waiting
d8313b68eb98: Waiting
233957f25f4d: Waiting
f7287a81074b: Waiting
2eee1528bf95: Waiting
829628b17035: Verifying Checksum
829628b17035: Download complete
3396c77940f8: Verifying Checksum
3396c77940f8: Download complete
2eee1528bf95: Verifying Checksum
2eee1528bf95: Download complete
8cdb73c9d65d: Verifying Checksum
8cdb73c9d65d: Download complete
f7287a81074b: Verifying Checksum
f7287a81074b: Download complete
bea36b8d88de: Verifying Checksum
bea36b8d88de: Download complete
5ad2029184d4: Verifying Checksum
5ad2029184d4: Download complete
233957f25f4d: Verifying Checksum
233957f25f4d: Download complete
d8313b68eb98: Verifying Checksum
d8313b68eb98: Download complete
bea36b8d88de: Pull complete
3396c77940f8: Pull complete
829628b17035: Pull complete
2eee1528bf95: Pull complete
8cdb73c9d65d: Pull complete
5ad2029184d4: Pull complete
f7287a81074b: Pull complete
d8313b68eb98: Pull complete
233957f25f4d: Pull complete
Digest: sha256:ba4ffc8a451881d168174ac75fd918ac3149cfec17c5a3490a01a736b882b4c3
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-standard:b1014
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
7
editorconfig
editorconfig engine documentation
8
sonar-php
sonar-php engine documentation
View output
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: Invalid character encountered in file '/code/src/Debug/Dump/charData.php' at line 3188 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 364 files indexed
INFO: 306 source files to be analyzed
ERROR: Unable to parse file: /code/src/Debug/Collector/MySqli/ExecuteQueryTrait_php8.2.php
ERROR: Parse error at line 28 column 87:

18:  * Define HP 8.2's mysqli::execute_query method
19:  *
20:  * @phpcs:disable Generic.Classes.DuplicateClassName.Found
21:  * @phpcs:disable PSR1.Methods.CamelCapsMethodName.NotCamelCaps
22:  */
23: trait ExecuteQueryTrait
24: {
25:     /**
26:      * {@inheritDoc}
27:      */
28:     public function execute_query(string $query, ?array $params = null): mysqli_result|bool // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter
                                                                                          ^
29:     {
30:         return $this->profileCall('execute_query', $query, \func_get_args());
31:     }
32: }
33: 

ERROR: Unable to parse file: /code/src/Debug/Collector/SimpleCache/CompatTrait_2.php
ERROR: Parse error at line 36 column 60:

26:          * {@inheritDoc}
27:          */
28:         public function get(string $key, mixed $default = null)
29:         {
30:             return $this->profileCall('get', \func_get_args(), false, $key);
31:         }
32: 
33:         /**
34:          * {@inheritDoc}
35:          */
36:         public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null)
                                                               ^
37:         {
38:             return $this->profileCall('set', \func_get_args(), true, $key);
39:         }
40: 
41:         /**
42:          * {@inheritDoc}
43:          */
44:         public function delete(string $key)
45:         {
46:             return $this->profileCall('delete', \func_get_args(), false, $key);

ERROR: Unable to parse file: /code/src/Debug/Collector/SimpleCache/CompatTrait_3.php
ERROR: Parse error at line 36 column 60:

26:          * {@inheritDoc}
27:          */
28:         public function get(string $key, mixed $default = null): mixed
29:         {
30:             return $this->profileCall('get', \func_get_args(), false, $key);
31:         }
32: 
33:         /**
34:          * {@inheritDoc}
35:          */
36:         public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool
                                                               ^
37:         {
38:             return $this->profileCall('set', \func_get_args(), true, $key);
39:         }
40: 
41:         /**
42:          * {@inheritDoc}
43:          */
44:         public function delete(string $key): bool
45:         {
46:             return $this->profileCall('delete', \func_get_args(), false, $key);

ERROR: Unable to parse file: /code/src/Debug/Psr3/CompatTrait_2.php
ERROR: Parse error at line 28 column 43:

18:          * Logs with an arbitrary level.
19:          *
20:          * @param mixed              $level   debug, info, notice, warning, error, critical, alert, emergency
21:          * @param string|\Stringable $message message
22:          * @param mixed[]            $context array
23:          *
24:          * @return void
25:          *
26:          * @throws \Psr\Log\InvalidArgumentException
27:          */
28:         public function log($level, string|\Stringable $message, array $context = array())
                                              ^
29:         {
30:             $this->doLog($level, $message, $context);
31:         }
32:     }
33: }
34: 

ERROR: Unable to parse file: /code/src/Debug/Psr3/CompatTrait_3.php
ERROR: Parse error at line 28 column 43:

18:          * Logs with an arbitrary level.
19:          *
20:          * @param mixed              $level   debug, info, notice, warning, error, critical, alert, emergency
21:          * @param string|\Stringable $message message
22:          * @param mixed[]            $context array
23:          *
24:          * @return void
25:          *
26:          * @throws \Psr\Log\InvalidArgumentException
27:          */
28:         public function log($level, string|\Stringable $message, array $context = array()): void
                                              ^
29:         {
30:             $this->doLog($level, $message, $context);
31:         }
32:     }
33: }
34: 

INFO: 306/306 source files have been analyzed
File location was not provided, defaulting to line 1.
[rule=php:S105, severity=MINOR, file=/code/dev/UpdateCharData.php]
File location was not provided, defaulting to line 1.
[rule=php:S105, severity=MINOR, file=/code/src/Debug/Framework/Yii1_1/UserInfo.php]
File location was not provided, defaulting to line 1.
[rule=php:S105, severity=MINOR, file=/code/src/Debug/Framework/Yii1_1/LogRouteMeta.php]
File location was not provided, defaulting to line 1.
[rule=php:S105, severity=MINOR, file=/code/src/Debug/Framework/Yii1_1/EventSubscribers.php]
File location was not provided, defaulting to line 1.
[rule=php:S105, severity=MINOR, file=/code/src/Debug/Framework/Yii1_1/PdoCollector.php]
File location was not provided, defaulting to line 1.
[rule=php:S105, severity=MINOR, file=/code/src/Debug/Framework/Yii2/EventSubscribers.php]
File location was not provided, defaulting to line 1.
[rule=php:S105, severity=MINOR, file=/code/src/Debug/Framework/Yii2/CollectEvents.php]
File location was not provided, defaulting to line 1.
[rule=php:S105, severity=MINOR, file=/code/src/Debug/Framework/Laravel/LogViews.php]
File location was not provided, defaulting to line 1.
[rule=php:S105, severity=MINOR, file=/code/src/Debug/Dump/Html/Group.php]
File location was not provided, defaulting to line 1.
[rule=php:S105, severity=MINOR, file=/code/src/Debug/Utility/HtmlParse.php]
File location was not provided, defaulting to line 1.
[rule=php:S105, severity=MINOR, file=/code/src/CurlHttpMessage/Exception/RequestException.php]
File location was not provided, defaulting to line 1.
[rule=php:S105, severity=MINOR, file=/code/src/PubSub/InterfaceManager.php]
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 10.438s
INFO: Final Memory: 6M/264M
INFO: ------------------------------------------------------------------------
9
scss-lint
scss-lint engine documentation
10
standard
standard engine documentation