eliashaeussler/composer-update-check

View on GitHub
Merge pull request #165 from eliashaeussler/task/exclude-pattern #516
Elias Häußler authored 486859c4
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-27T10:30:30.061890 #1]  WARN -- : Skipping src/Command/UpdateCheckCommand.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.061944 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.065613 #1]  WARN -- : Skipping src/Composer/Installer.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.065641 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.075866 #1]  WARN -- : Skipping src/Entity/Security/SecurityAdvisory.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.075894 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.077870 #1]  WARN -- : Skipping src/Entity/Version.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.077895 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.079828 #1]  WARN -- : Skipping src/Entity/Package/InstalledPackage.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.079854 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.089253 #1]  WARN -- : Skipping src/Entity/Package/OutdatedPackage.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.089279 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.092164 #1]  WARN -- : Skipping src/Entity/Result/UpdateCheckResult.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.092188 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.095835 #1]  WARN -- : Skipping src/Entity/Result/ScanResult.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.095865 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.098387 #1]  WARN -- : Skipping src/Entity/Result/ComposerUpdateResult.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.098412 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.105210 #1]  WARN -- : Skipping src/Entity/Report/TeamsReport.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.105236 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.107747 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsFact.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.108573 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.110955 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsTableColumn.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.110980 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.113207 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsTableRow.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.113233 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.116786 #1]  WARN -- : Skipping src/Entity/Report/Dto/SlackBlockElement.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.116810 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.119545 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsContent.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.119570 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.121435 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsAttachment.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.121459 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.123231 #1]  WARN -- : Skipping src/Entity/Report/Dto/MattermostAttachment.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.123255 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.125289 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsAction.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.125313 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.127190 #1]  WARN -- : Skipping src/Entity/Report/Dto/TeamsTableCell.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.127224 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.129223 #1]  WARN -- : Skipping src/Entity/Report/Dto/SlackBlock.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.129247 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.130998 #1]  WARN -- : Skipping src/Entity/Report/Enum/TeamsSpacing.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.131022 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.132707 #1]  WARN -- : Skipping src/Entity/Report/Enum/TeamsFontSize.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.132731 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.134452 #1]  WARN -- : Skipping src/Entity/Report/Enum/TeamsFontWeight.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.134477 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.137940 #1]  WARN -- : Skipping src/Entity/Report/SlackReport.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.137966 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.141356 #1]  WARN -- : Skipping src/Entity/Report/MattermostReport.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.141382 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.149760 #1]  WARN -- : Skipping src/Exception/PackagistResponseHasErrors.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.149785 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.166826 #1]  WARN -- : Skipping src/Exception/ConfigFileHasErrors.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.166852 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.174226 #1]  WARN -- : Skipping src/DependencyInjection/ContainerFactory.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.174252 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.176195 #1]  WARN -- : Skipping src/DependencyInjection/CompilerPass/ContainerBuilderDebugDumpPass.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.176218 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.187729 #1]  WARN -- : Skipping src/Configuration/Adapter/FileBasedConfigAdapter.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.187754 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.211249 #1]  WARN -- : Skipping src/Configuration/Adapter/ChainedConfigAdapter.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.211278 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.214656 #1]  WARN -- : Skipping src/Configuration/Adapter/CommandInputConfigAdapter.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.214682 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.224389 #1]  WARN -- : Skipping src/Configuration/Options/PackageExcludePattern.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.224414 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.226637 #1]  WARN -- : Skipping src/Security/SecurityScanner.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.226660 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.228512 #1]  WARN -- : Skipping src/Event/PostUpdateCheckEvent.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.228536 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.279257 #1]  WARN -- : Skipping src/Reporter/TeamsReporter.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.279287 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.281663 #1]  WARN -- : Skipping src/Reporter/SlackReporter.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.281687 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.284069 #1]  WARN -- : Skipping src/Reporter/MattermostReporter.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.284092 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.288829 #1]  WARN -- : Skipping src/Reporter/ReporterFactory.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.288853 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:30.292407 #1]  WARN -- : Skipping src/UpdateChecker.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:30.292431 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-10-27T10:30:33.701679 #1]  WARN -- : Skipping ./src/Command/UpdateCheckCommand.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.701729 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.704027 #1]  WARN -- : Skipping ./src/Composer/Installer.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.704058 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.713247 #1]  WARN -- : Skipping ./src/Entity/Security/SecurityAdvisory.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.713473 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.715287 #1]  WARN -- : Skipping ./src/Entity/Version.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.715323 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.716376 #1]  WARN -- : Skipping ./src/Entity/Package/InstalledPackage.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.716402 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.719708 #1]  WARN -- : Skipping ./src/Entity/Package/OutdatedPackage.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.719732 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.721050 #1]  WARN -- : Skipping ./src/Entity/Result/UpdateCheckResult.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.721086 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.722224 #1]  WARN -- : Skipping ./src/Entity/Result/ScanResult.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.722247 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.723371 #1]  WARN -- : Skipping ./src/Entity/Result/ComposerUpdateResult.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.723420 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.728622 #1]  WARN -- : Skipping ./src/Entity/Report/TeamsReport.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.728646 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.729783 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsFact.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.729820 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.730821 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsTableColumn.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.730844 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.732067 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsTableRow.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.732102 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.733179 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/SlackBlockElement.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.733207 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.735179 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsContent.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.735220 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.736372 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsAttachment.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.736395 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.737484 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/MattermostAttachment.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.737519 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.738694 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsAction.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.738719 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.739762 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/TeamsTableCell.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.739798 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.741014 #1]  WARN -- : Skipping ./src/Entity/Report/Dto/SlackBlock.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.741039 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.742034 #1]  WARN -- : Skipping ./src/Entity/Report/Enum/TeamsSpacing.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.742068 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.743082 #1]  WARN -- : Skipping ./src/Entity/Report/Enum/TeamsFontSize.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.743106 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.743969 #1]  WARN -- : Skipping ./src/Entity/Report/Enum/TeamsFontWeight.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.743993 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.746705 #1]  WARN -- : Skipping ./src/Entity/Report/SlackReport.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.746734 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.749189 #1]  WARN -- : Skipping ./src/Entity/Report/MattermostReport.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.749213 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.755434 #1]  WARN -- : Skipping ./src/Exception/PackagistResponseHasErrors.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.755459 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.766076 #1]  WARN -- : Skipping ./src/Exception/ConfigFileHasErrors.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.766252 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.770776 #1]  WARN -- : Skipping ./src/DependencyInjection/ContainerFactory.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.770800 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.771928 #1]  WARN -- : Skipping ./src/DependencyInjection/CompilerPass/ContainerBuilderDebugDumpPass.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.771953 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.779150 #1]  WARN -- : Skipping ./src/Configuration/Adapter/FileBasedConfigAdapter.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.779174 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.791298 #1]  WARN -- : Skipping ./src/Configuration/Adapter/ChainedConfigAdapter.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.800188 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.803048 #1]  WARN -- : Skipping ./src/Configuration/Adapter/CommandInputConfigAdapter.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.803087 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.810661 #1]  WARN -- : Skipping ./src/Configuration/Options/PackageExcludePattern.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.810692 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.813534 #1]  WARN -- : Skipping ./src/Security/SecurityScanner.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.813561 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.814628 #1]  WARN -- : Skipping ./src/Event/PostUpdateCheckEvent.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.814652 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.874551 #1]  WARN -- : Skipping ./src/Reporter/TeamsReporter.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.874581 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.876340 #1]  WARN -- : Skipping ./src/Reporter/SlackReporter.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.876380 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.878022 #1]  WARN -- : Skipping ./src/Reporter/MattermostReporter.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.878046 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.881302 #1]  WARN -- : Skipping ./src/Reporter/ReporterFactory.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.881333 #1]  WARN -- : Response status: 422
W, [2024-10-27T10:30:33.884921 #1]  WARN -- : Skipping ./src/UpdateChecker.php due to CC::Parser::Client::HTTPError
W, [2024-10-27T10:30:33.884946 #1]  WARN -- : Response status: 422
I, [2024-10-27T10:30:33.909074 #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