jawira/case-converter

View on GitHub
Merge pull request #83 from jawira/arrow-function #229
Jawira Portugal authored 2be05b98
complete00:00:22
Your first build completed successfully!

Congratulations

Your first build completed successfully!

See the Results

1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: missing 'version' key. Please add `version: "2"`
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-sonar-php:b23
b23: Pulling from codeclimate/codeclimate-sonar-php
97518928ae5f: Pulling fs layer
043df9f67e9a: Pulling fs layer
a42e650909d2: Pulling fs layer
0dff3d7a1a0e: Pulling fs layer
e109c25d106c: Pulling fs layer
b2fb00c172a9: Pulling fs layer
1519b1438731: Pulling fs layer
cfbd8af1af7a: Pulling fs layer
ea3b98fb78f4: Pulling fs layer
1c654bf89a09: Pulling fs layer
e109c25d106c: Waiting
97518928ae5f: Waiting
1519b1438731: Waiting
cfbd8af1af7a: Waiting
ea3b98fb78f4: Waiting
1c654bf89a09: Waiting
a42e650909d2: Waiting
0dff3d7a1a0e: Waiting
a42e650909d2: Verifying Checksum
a42e650909d2: Download complete
97518928ae5f: Verifying Checksum
97518928ae5f: Download complete
e109c25d106c: Verifying Checksum
e109c25d106c: Download complete
97518928ae5f: Pull complete
b2fb00c172a9: Download complete
043df9f67e9a: Verifying Checksum
043df9f67e9a: Download complete
cfbd8af1af7a: Verifying Checksum
cfbd8af1af7a: Download complete
0dff3d7a1a0e: Verifying Checksum
0dff3d7a1a0e: Download complete
1519b1438731: Verifying Checksum
1519b1438731: Download complete
043df9f67e9a: Pull complete
1c654bf89a09: Download complete
a42e650909d2: Pull complete
ea3b98fb78f4: Verifying Checksum
ea3b98fb78f4: Download complete
0dff3d7a1a0e: Pull complete
e109c25d106c: Pull complete
b2fb00c172a9: Pull complete
1519b1438731: Pull complete
cfbd8af1af7a: Pull complete
ea3b98fb78f4: Pull complete
1c654bf89a09: Pull complete
Digest: sha256:600639355d67f629857951762cd4d8d2bc9eb16a0496c67a3d6049830edcc87b
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-sonar-php:b23
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
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/docs/images/build.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/docs/images/uml-case-converter.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/docs/images/number-problem.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/docs/images/detection-algorithm.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/docs/images/uml-split.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/docs/images/railroad.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/docs/images/uml-glue.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 60 files indexed
INFO: 28 source files to be analyzed
ERROR: Unable to parse file: /code/src/Glue/Gluer.php
ERROR: Parse error at line 31 column 15:

21:     /**
22:      * Encoding to be used by `mb_convert_case()` function.
23:      *
24:      * This value should never change.
25:      */
26:     protected const ENCODING = 'UTF-8';
27: 
28:     /**
29:      * @var string[] Words extracted from input string
30:      */
31:     protected array $words;
                  ^
32: 
33:     /**
34:      * @var int MB_CASE_LOWER or MB_CASE_LOWER_SIMPLE
35:      */
36:     protected int $lowerCase;
37: 
38:     /**
39:      * @var int MB_CASE_UPPER or MB_CASE_UPPER_SIMPLE
40:      */
41:     protected int $upperCase;

ERROR: Unable to parse file: /code/src/Convert.php
ERROR: Parse error at line 84 column 15:

74:  * @method string toTrain() Return string in _Train case_ format
75:  * @method string toUpper() Return string in _Upper case_ format
76:  *
77:  * @see     https://softwareengineering.stackexchange.com/questions/322413/bothered-by-an-unknown-letter-case-name
78:  * @see     http://www.unicode.org/charts/case/
79:  * @author  Jawira Portugal <dev@tugal.be>
80:  */
81: class Convert
82: {
83:     /** @var string Input string to convert */
84:     protected string $source;
                  ^
85: 
86:     /** @var string[] Words extracted from input string */
87:     protected array $words;
88: 
89:     protected bool $forceSimpleCaseMapping;
90: 
91:     /**
92:      * Constructor method
93:      *
94:      * @param string $source String to convert

ERROR: Unable to parse file: /code/src/Split/Splitter.php
ERROR: Parse error at line 19 column 15:

 9:  *
10:  * A Splitter subclass allows to read the words contained in a string
11:  *
12:  * @author  Jawira Portugal <dev@tugal.be>
13:  */
14: abstract class Splitter
15: {
16:     /**
17:      * @var string Words extracted from input string
18:      */
19:     protected string $inputString;
                  ^
20: 
21:     final public function __construct(string $inputString)
22:     {
23:         $this->inputString = $inputString;
24:     }
25: 
26:     /**
27:      * Tells how to split a string into valid words.
28:      *
29:      * @return string[]

INFO: 28/28 source files have been analyzed
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 0.428s
INFO: Final Memory: 9M/95M
INFO: ------------------------------------------------------------------------
8
fixme
fixme engine documentation