wol-soft/php-json-schema-model-generator-production

View on GitHub
Add enum filter implementation (#11) #101
Enno Woortmann authored 01dfe21b
complete00:00:27
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-phan:b885
b885: Pulling from codeclimate/codeclimate-phan
8e402f1a9c57: Pulling fs layer
abc2d0fc5668: Pulling fs layer
dc541c3b1e49: Pulling fs layer
9f6ca43a9b11: Pulling fs layer
c7737daaa88e: Pulling fs layer
dacca831c5b2: Pulling fs layer
16fbe636fb42: Pulling fs layer
723d37ca9d09: Pulling fs layer
9eddffd41f08: Pulling fs layer
fb7a0bf324fd: Pulling fs layer
d45ca5424117: Pulling fs layer
723d37ca9d09: Waiting
dacca831c5b2: Waiting
9eddffd41f08: Waiting
16fbe636fb42: Waiting
fb7a0bf324fd: Waiting
d45ca5424117: Waiting
9f6ca43a9b11: Waiting
c7737daaa88e: Waiting
abc2d0fc5668: Verifying Checksum
abc2d0fc5668: Download complete
dc541c3b1e49: Verifying Checksum
dc541c3b1e49: Download complete
c7737daaa88e: Verifying Checksum
c7737daaa88e: Download complete
8e402f1a9c57: Verifying Checksum
8e402f1a9c57: Download complete
9f6ca43a9b11: Download complete
dacca831c5b2: Verifying Checksum
dacca831c5b2: Download complete
8e402f1a9c57: Pull complete
723d37ca9d09: Download complete
16fbe636fb42: Verifying Checksum
16fbe636fb42: Download complete
abc2d0fc5668: Pull complete
9eddffd41f08: Verifying Checksum
9eddffd41f08: Download complete
dc541c3b1e49: Pull complete
d45ca5424117: Verifying Checksum
d45ca5424117: Download complete
fb7a0bf324fd: Verifying Checksum
fb7a0bf324fd: Download complete
9f6ca43a9b11: Pull complete
c7737daaa88e: Pull complete
dacca831c5b2: Pull complete
16fbe636fb42: Pull complete
723d37ca9d09: Pull complete
9eddffd41f08: Pull complete
fb7a0bf324fd: Pull complete
d45ca5424117: Pull complete
Digest: sha256:80f9f90a9dc7ed88b958d04b86493d2a7bff8f1bdf1ba775c0c9ba6e254f6181
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-phan:b885
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
0dff3d7a1a0e: Waiting
e109c25d106c: Waiting
b2fb00c172a9: Waiting
1519b1438731: Waiting
cfbd8af1af7a: Waiting
ea3b98fb78f4: Waiting
1c654bf89a09: Waiting
a42e650909d2: Verifying Checksum
a42e650909d2: Download complete
97518928ae5f: Verifying Checksum
97518928ae5f: Download complete
97518928ae5f: Pull complete
e109c25d106c: Verifying Checksum
e109c25d106c: Download complete
b2fb00c172a9: Verifying Checksum
b2fb00c172a9: Download complete
0dff3d7a1a0e: Verifying Checksum
0dff3d7a1a0e: Download complete
cfbd8af1af7a: Download complete
043df9f67e9a: Verifying Checksum
043df9f67e9a: Download complete
043df9f67e9a: Pull complete
1c654bf89a09: Verifying Checksum
1c654bf89a09: Download complete
a42e650909d2: Pull complete
ea3b98fb78f4: Verifying Checksum
ea3b98fb78f4: Download complete
1519b1438731: Verifying Checksum
1519b1438731: 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
phpmd
phpmd engine documentation
8
phpcodesniffer
phpcodesniffer engine documentation
9
phan
phan engine documentation
10
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: 66 files indexed
INFO: 57 source files to be analyzed
ERROR: Unable to parse file: /code/src/Filter/Enum.php
ERROR: Parse error at line 19 column 55:

 9: 
10: class Enum
11: {
12:     public static function filter($value, $options): ?UnitEnum
13:     {
14:         return $value === null ? null : $options['fqcn']::from($value);
15:     }
16: 
17:     public static function serialize(?UnitEnum $value): mixed
18:     {
19:         return $value instanceof BackedEnum ? $value?->value : $value?->value();
                                                          ^
20:     }
21: }
22: 

INFO: 57/57 source files have been analyzed
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 0.699s
INFO: Final Memory: 12M/95M
INFO: ------------------------------------------------------------------------