eliashaeussler/composer-update-check

View on GitHub
[BUGFIX] Don't trim components of environment variable names #500
Elias Häußler authored c5ecfe68
complete00:00:13
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No checked in config: nothing to validate.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-10-23T10:05:00.542836 #1]  WARN -- : Skipping src/Command/UpdateCheckCommand.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.542904 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.547848 #1]  WARN -- : Skipping src/Composer/Installer.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.547888 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.562562 #1]  WARN -- : Skipping src/Entity/Security/SecurityAdvisory.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.562598 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.565117 #1]  WARN -- : Skipping src/Entity/Version.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.565151 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.567625 #1]  WARN -- : Skipping src/Entity/Package/InstalledPackage.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.567659 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.579673 #1]  WARN -- : Skipping src/Entity/Package/OutdatedPackage.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.579708 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.584842 #1]  WARN -- : Skipping src/Entity/Result/UpdateCheckResult.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.584884 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.588772 #1]  WARN -- : Skipping src/Entity/Result/ScanResult.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.588807 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.592421 #1]  WARN -- : Skipping src/Entity/Result/ComposerUpdateResult.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.592455 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.601645 #1]  WARN -- : Skipping src/Entity/Report/TeamsReport.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.601680 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.606196 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsFact.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.606231 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.609581 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsTableColumn.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.609616 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.612520 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsTableRow.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.612552 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.617475 #1]  WARN -- : Skipping src/Entity/Report/Dto/SlackBlockElement.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.617508 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.621269 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsContent.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.621303 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.623800 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsAttachment.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.623835 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.626113 #1]  WARN -- : Skipping src/Entity/Report/Dto/MattermostAttachment.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.626146 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.628729 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsAction.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.628763 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.631151 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsTableCell.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.631187 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.633811 #1]  WARN -- : Skipping src/Entity/Report/Dto/SlackBlock.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.633846 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.636072 #1]  WARN -- : Skipping src/Entity/Report/Enum/TeamsSpacing.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.636106 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.638301 #1]  WARN -- : Skipping src/Entity/Report/Enum/TeamsFontSize.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.638334 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.640487 #1]  WARN -- : Skipping src/Entity/Report/Enum/TeamsFontWeight.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.640521 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.645370 #1]  WARN -- : Skipping src/Entity/Report/SlackReport.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.645404 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.650211 #1]  WARN -- : Skipping src/Entity/Report/MattermostReport.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.650245 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.662336 #1]  WARN -- : Skipping src/Exception/PackagistResponseHasErrors.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.662371 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.687221 #1]  WARN -- : Skipping src/Exception/ConfigFileHasErrors.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.687255 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.697945 #1]  WARN -- : Skipping src/DependencyInjection/ContainerFactory.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.697979 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.700496 #1]  WARN -- : Skipping src/DependencyInjection/CompilerPass/ContainerBuilderDebugDumpPass.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.700534 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.717252 #1]  WARN -- : Skipping src/Configuration/Adapter/FileBasedConfigAdapter.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.717286 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.749647 #1]  WARN -- : Skipping src/Configuration/Adapter/ChainedConfigAdapter.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.749677 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.752973 #1]  WARN -- : Skipping src/Configuration/Adapter/CommandInputConfigAdapter.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.753001 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.770727 #1]  WARN -- : Skipping src/Security/SecurityScanner.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.770753 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.773028 #1]  WARN -- : Skipping src/Event/PostUpdateCheckEvent.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.773054 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.844260 #1]  WARN -- : Skipping src/Reporter/TeamsReporter.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.844288 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.847467 #1]  WARN -- : Skipping src/Reporter/SlackReporter.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.847493 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.850693 #1]  WARN -- : Skipping src/Reporter/MattermostReporter.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.850720 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.856672 #1]  WARN -- : Skipping src/Reporter/ReporterFactory.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.856699 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:00.861577 #1]  WARN -- : Skipping src/UpdateChecker.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:00.861604 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-10-23T10:05:04.354165 #1]  WARN -- : Skipping ./src/Command/UpdateCheckCommand.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.354213 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.357703 #1]  WARN -- : Skipping ./src/Composer/Installer.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.357734 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.368915 #1]  WARN -- : Skipping ./src/Entity/Security/SecurityAdvisory.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.368959 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.371223 #1]  WARN -- : Skipping ./src/Entity/Version.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.371258 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.372636 #1]  WARN -- : Skipping ./src/Entity/Package/InstalledPackage.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.372671 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.376834 #1]  WARN -- : Skipping ./src/Entity/Package/OutdatedPackage.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.376872 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.378695 #1]  WARN -- : Skipping ./src/Entity/Result/UpdateCheckResult.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.378722 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.380273 #1]  WARN -- : Skipping ./src/Entity/Result/ScanResult.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.380310 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.381735 #1]  WARN -- : Skipping ./src/Entity/Result/ComposerUpdateResult.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.381761 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.388874 #1]  WARN -- : Skipping ./src/Entity/Report/TeamsReport.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.388910 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.390332 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsFact.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.390358 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.391787 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsTableColumn.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.391823 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.393314 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsTableRow.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.393347 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.394793 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/SlackBlockElement.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.394831 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.397636 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsContent.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.397663 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.399201 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsAttachment.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.399243 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.400537 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/MattermostAttachment.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.400563 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.402147 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsAction.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.402183 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.403530 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsTableCell.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.403556 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.405246 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/SlackBlock.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.405282 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.406533 #1]  WARN -- : Skipping ./src/Entity/Report/Enum/TeamsSpacing.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.406559 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.407788 #1]  WARN -- : Skipping ./src/Entity/Report/Enum/TeamsFontSize.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.407824 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.409015 #1]  WARN -- : Skipping ./src/Entity/Report/Enum/TeamsFontWeight.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.409041 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.412867 #1]  WARN -- : Skipping ./src/Entity/Report/SlackReport.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.412903 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.416610 #1]  WARN -- : Skipping ./src/Entity/Report/MattermostReport.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.416636 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.425011 #1]  WARN -- : Skipping ./src/Exception/PackagistResponseHasErrors.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.425038 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.437980 #1]  WARN -- : Skipping ./src/Exception/ConfigFileHasErrors.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.438174 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.444484 #1]  WARN -- : Skipping ./src/DependencyInjection/ContainerFactory.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.444508 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.446092 #1]  WARN -- : Skipping ./src/DependencyInjection/CompilerPass/ContainerBuilderDebugDumpPass.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.446130 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.456180 #1]  WARN -- : Skipping ./src/Configuration/Adapter/FileBasedConfigAdapter.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.456206 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.470234 #1]  WARN -- : Skipping ./src/Configuration/Adapter/ChainedConfigAdapter.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.483824 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.487298 #1]  WARN -- : Skipping ./src/Configuration/Adapter/CommandInputConfigAdapter.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.487324 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.502759 #1]  WARN -- : Skipping ./src/Security/SecurityScanner.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.502958 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.505222 #1]  WARN -- : Skipping ./src/Event/PostUpdateCheckEvent.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.505249 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.588960 #1]  WARN -- : Skipping ./src/Reporter/TeamsReporter.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.588997 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.591367 #1]  WARN -- : Skipping ./src/Reporter/SlackReporter.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.591394 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.593691 #1]  WARN -- : Skipping ./src/Reporter/MattermostReporter.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.593716 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.596869 #1]  WARN -- : Skipping ./src/Reporter/ReporterFactory.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.596896 #1]  WARN -- : Response status: 422
W, [2024-10-23T10:05:04.601606 #1]  WARN -- : Skipping ./src/UpdateChecker.php due to CC::Parser::Client::HTTPError
W, [2024-10-23T10:05:04.601632 #1]  WARN -- : Response status: 422
I, [2024-10-23T10:05:04.632162 #1]  INFO -- : Skipping file ./docs/hooks.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 22
    def apply_copyright_year(config: object):
                                   ^
SyntaxError: invalid syntax