Page MenuHomePhabricator

Add cache support to PHPCode_Sniffer jobs
Open, Stalled, MediumPublic

Description

phpcs has learned to use a cache. We could save it / restoreit
https://github.com/squizlabs/PHP_CodeSniffer/issues/530

Later made an option with https://github.com/squizlabs/PHP_CodeSniffer/issues/1080

Event Timeline

hashar triaged this task as Medium priority.Oct 6 2016, 3:11 PM
Legoktm changed the task status from Open to Stalled.Oct 21 2018, 1:23 PM
Legoktm added a subscriber: Legoktm.

I filed a bug about respecting $XDG_CACHE_HOME when saving the cache file: https://github.com/squizlabs/PHP_CodeSniffer/issues/2200

There's a second (and probably more important) bug where vendor/mediawiki/mediawiki-codesniffer/MediaWiki/ruleset.xml isn't added to the cache key, so changes to it don't invalidate the cache. I haven't had the time to file an upstream bug yet.

1Loading cache...
2 Generating loaded file list for code hash
3 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/AlternativeSyntax/AlternativeSyntaxSniff.php
4 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/AlternativeSyntax/LeadingZeroInFloatSniff.php
5 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/AlternativeSyntax/UnicodeEscapeSniff.php
6 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Classes/UnusedUseStatementSniff.php
7 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Commenting/FunctionAnnotationsSniff.php
8 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Commenting/FunctionCommentSniff.php
9 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Commenting/IllegalSingleLineCommentSniff.php
10 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Commenting/LicenseCommentSniff.php
11 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Commenting/MissingCoversSniff.php
12 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Commenting/PhpunitAnnotationsSniff.php
13 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/ControlStructures/AssignmentInControlStructuresSniff.php
14 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/ControlStructures/IfElseStructureSniff.php
15 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/ExtraCharacters/ParenthesesAroundKeywordSniff.php
16 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Files/ClassMatchesFilenameSniff.php
17 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/NamingConventions/LowerCamelFunctionsNameSniff.php
18 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/NamingConventions/PrefixedGlobalFunctionsSniff.php
19 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/NamingConventions/ValidGlobalNameSniff.php
20 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/PHP70Features/ScalarTypeHintUsageSniff.php
21 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/PHP71Features/NullableTypeSniff.php
22 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/PHP71Features/VoidReturnTypeSniff.php
23 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Usage/AssignmentInReturnSniff.php
24 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Usage/DbrQueryUsageSniff.php
25 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Usage/DeprecatedConstantUsageSniff.php
26 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Usage/DirUsageSniff.php
27 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Usage/ExtendClassUsageSniff.php
28 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Usage/ForbiddenFunctionsSniff.php
29 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Usage/InArrayUsageSniff.php
30 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Usage/NestedFunctionsSniff.php
31 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Usage/NestedInlineTernarySniff.php
32 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Usage/PHPUnitClassUsageSniff.php
33 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Usage/ReferenceThisSniff.php
34 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/Usage/SuperGlobalsUsageSniff.php
35 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/VariableAnalysis/ForbiddenGlobalVariablesSniff.php
36 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/VariableAnalysis/UnusedGlobalVariablesSniff.php
37 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/WhiteSpace/DisallowEmptyLineFunctionsSniff.php
38 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/WhiteSpace/MultipleEmptyLinesSniff.php
39 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/WhiteSpace/OpeningKeywordParenthesisSniff.php
40 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/WhiteSpace/SpaceAfterClosureSniff.php
41 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/WhiteSpace/SpaceAfterControlStructureSniff.php
42 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/WhiteSpace/SpaceBeforeClassBraceSniff.php
43 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/WhiteSpace/SpaceBeforeControlStructureBraceSniff.php
44 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/WhiteSpace/SpaceBeforeSingleLineCommentSniff.php
45 => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/WhiteSpace/SpaceyParenthesisSniff.php
46 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Arrays/DisallowLongArraySyntaxSniff.php
47 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Classes/DuplicateClassNameSniff.php
48 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/ForLoopShouldBeWhileLoopSniff.php
49 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/ForLoopWithTestFunctionCallSniff.php
50 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/JumbledIncrementerSniff.php
51 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/UnconditionalIfStatementSniff.php
52 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/UnnecessaryFinalModifierSniff.php
53 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php
54 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/ByteOrderMarkSniff.php
55 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/LineEndingsSniff.php
56 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/LineLengthSniff.php
57 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/OneObjectStructurePerFileSniff.php
58 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Formatting/DisallowMultipleStatementsSniff.php
59 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Formatting/MultipleStatementAlignmentSniff.php
60 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Formatting/NoSpaceAfterCastSniff.php
61 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Functions/CallTimePassByReferenceSniff.php
62 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Functions/FunctionCallArgumentSpacingSniff.php
63 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php
64 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/NamingConventions/ConstructorNameSniff.php
65 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/NamingConventions/UpperCaseConstantNameSniff.php
66 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/BacktickOperatorSniff.php
67 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/CharacterBeforePHPOpeningTagSniff.php
68 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/DisallowShortOpenTagSniff.php
69 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/DiscourageGotoSniff.php
70 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/ForbiddenFunctionsSniff.php
71 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/LowerCaseConstantSniff.php
72 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/LowerCaseKeywordSniff.php
73 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php
74 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/NoSilencedErrorsSniff.php
75 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/SAPIUsageSniff.php
76 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/WhiteSpace/DisallowSpaceIndentSniff.php
77 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php
78 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Keywords/ShortFormTypeKeywordsSniff.php
79 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php
80 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php
81 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/ControlStructures/ElseIfDeclarationSniff.php
82 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Files/EndFileNewlineSniff.php
83 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Methods/FunctionClosingBraceSniff.php
84 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php
85 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Namespaces/NamespaceDeclarationSniff.php
86 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php
87 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/SemicolonSpacingSniff.php
88 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php
89 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Classes/ValidClassNameSniff.php
90 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php
91 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Functions/FunctionDuplicateArgumentSniff.php
92 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Operators/ValidLogicalOperatorsSniff.php
93 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php
94 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Scope/MemberVarScopeSniff.php
95 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Scope/MethodScopeSniff.php
96 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Scope/StaticThisUsageSniff.php
97 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php
98 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/CastSpacingSniff.php
99 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php
100 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php
101 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/ObjectOperatorSpacingSniff.php
102 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php
103 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php
104 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeKeywordSpacingSniff.php
105 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/SemicolonSpacingSniff.php
106 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/SuperfluousWhitespaceSniff.php
107 => internal sniff: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Sniffs/Files/ClosingTagSniff.php
108 => external ruleset: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/.phpcs.xml
109 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Util/Standards.php
110 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Util/Common.php
111 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Util/Timing.php
112 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Util/Tokens.php
113 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Util/Cache.php
114 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Tokenizers/Tokenizer.php
115 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Tokenizers/CSS.php
116 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Tokenizers/JS.php
117 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Tokenizers/PHP.php
118 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Tokenizers/Comment.php
119 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Filters/ExactMatch.php
120 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Filters/Filter.php
121 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Filters/GitModified.php
122 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Config.php
123 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Ruleset.php
124 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Sniffs/AbstractVariableSniff.php
125 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Sniffs/Sniff.php
126 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Sniffs/AbstractScopeSniff.php
127 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Sniffs/AbstractPatternSniff.php
128 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Sniffs/AbstractArraySniff.php
129 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Runner.php
130 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Reporter.php
131 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Files/LocalFile.php
132 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Files/File.php
133 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Files/FileList.php
134 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Files/DummyFile.php
135 => core file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/squizlabs/php_codesniffer/src/Fixer.php
136 Generating cache key data
137 => phpVersion: 70211
138 => tabWidth: 0
139 => encoding: utf-8
140 => recordErrors: 1
141 => annotations: 1
142 => configData:
143 => codeHash: a77db59da00d05fc498a19b6270714d8
144 => rulesetHash: f6f6eab30adcae433fbfb9d554cc5463
145 => cacheHash: 847486643a7d
146 Checking possible cache file paths
147 => /tmp/phpcs.0cab61806fcc.847486643a7d.cache
148 * based on shared location: /home/km/gerrit/mediawiki/core/skins/MinervaNeue *
149 => /tmp/phpcs.6a1b2c822b9f.847486643a7d.cache
150 * based on shared location: /home/km/gerrit/mediawiki/core/skins *
151 => /tmp/phpcs.b78dca0b8a68.847486643a7d.cache
152 * based on shared location: /home/km/gerrit/mediawiki/core *
153 => /tmp/phpcs.a4707c0334d9.847486643a7d.cache
154 * based on shared location: /home/km/gerrit/mediawiki *
155 => /tmp/phpcs.1e91da4549e5.847486643a7d.cache
156 * based on shared location: /home/km/gerrit *
157 => /tmp/phpcs.084780d2dbb3.847486643a7d.cache
158 * based on shared location: /home/km *
159 => /tmp/phpcs.fb365c1216b5.847486643a7d.cache
160 * based on shared location: /home *
161 => Using cache file: /tmp/phpcs.0cab61806fcc.847486643a7d.cache
162 * cache file does not exist *
163DONE (0 files in cache)

There's a second (and probably more important) bug where vendor/mediawiki/mediawiki-codesniffer/MediaWiki/ruleset.xml isn't added to the cache key, so changes to it don't invalidate the cache. I haven't had the time to file an upstream bug yet.

Maybe fixed with https://github.com/squizlabs/PHP_CodeSniffer/issues/2348 in 3.4.1

eslint also allows caching and it is enabled on all repos, but there is not a task to enable/use the cache on CI for eslint.

It is worth to keep the idea for phpcs?
Checking only changed files is the current default for big repos like mediawiki/core, but that have also bugs (T247209), but I am not sure if the cache would restore the property used on that sniff.