|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <files psalm-version="6.13.1@1e3b7f0a8ab32b23197b91107adc0a7ed8a05b51"> |
3 | | - <file src="src/Console/Application/CacheWarm/ParallelModuleWarmer.php"> |
4 | | - <ArgumentTypeCoercion> |
5 | | - <code><![CDATA[$classInfo['className']]]></code> |
6 | | - </ArgumentTypeCoercion> |
7 | | - <MixedArrayAccess> |
8 | | - <code><![CDATA[$resolved]]></code> |
9 | | - <code><![CDATA[$skipped]]></code> |
10 | | - </MixedArrayAccess> |
11 | | - <MixedAssignment> |
12 | | - <code><![CDATA[$resolvedCount]]></code> |
13 | | - <code><![CDATA[$skippedCount]]></code> |
14 | | - <code><![CDATA[$skippedCount]]></code> |
15 | | - <code><![CDATA[[$resolved, $skipped]]]></code> |
16 | | - </MixedAssignment> |
17 | | - <MixedOperand> |
18 | | - <code><![CDATA[$resolved]]></code> |
19 | | - <code><![CDATA[$skipped]]></code> |
20 | | - <code><![CDATA[$skippedCount]]></code> |
21 | | - </MixedOperand> |
22 | | - <MixedReturnTypeCoercion> |
23 | | - <code><![CDATA[[$resolvedCount, $skippedCount]]]></code> |
24 | | - <code><![CDATA[array{int, int}]]></code> |
25 | | - </MixedReturnTypeCoercion> |
26 | | - </file> |
27 | | - <file src="src/Console/Domain/DependencyAnalyzer/JsonFormatter.php"> |
28 | | - <RedundantCastGivenDocblockType> |
29 | | - <code><![CDATA[(string)json_encode(['modules' => $data], JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR)]]></code> |
30 | | - </RedundantCastGivenDocblockType> |
31 | | - </file> |
32 | | - <file src="src/Console/Domain/Deprecation/DeprecationScanner.php"> |
33 | | - <ArgumentTypeCoercion> |
34 | | - <code><![CDATA[$pathname]]></code> |
35 | | - </ArgumentTypeCoercion> |
36 | | - <InvalidAttribute> |
37 | | - <code><![CDATA[Deprecated::class]]></code> |
38 | | - </InvalidAttribute> |
39 | | - <UnresolvableInclude> |
40 | | - <code><![CDATA[require_once $filePath]]></code> |
41 | | - </UnresolvableInclude> |
42 | | - </file> |
43 | | - <file src="src/Console/Domain/DocumentationGenerator/DocumentationGenerator.php"> |
44 | | - <ImplicitToStringCast> |
45 | | - <code><![CDATA[$method->getReturnType()]]></code> |
46 | | - <code><![CDATA[$param->getType()]]></code> |
47 | | - </ImplicitToStringCast> |
48 | | - </file> |
49 | | - <file src="src/Console/Domain/FileWatcher/FileWatcher.php"> |
50 | | - <InvalidPropertyAssignmentValue> |
51 | | - <code><![CDATA[$this->fileTimestamps]]></code> |
52 | | - <code><![CDATA[$this->fileTimestamps]]></code> |
53 | | - <code><![CDATA[$this->fileTimestamps]]></code> |
54 | | - </InvalidPropertyAssignmentValue> |
55 | | - </file> |
56 | | - <file src="src/Console/Infrastructure/Command/AnalyzeDependenciesCommand.php"> |
57 | | - <MixedArgument> |
58 | | - <code><![CDATA[$outputFile]]></code> |
59 | | - </MixedArgument> |
60 | | - <MixedAssignment> |
61 | | - <code><![CDATA[$outputFile]]></code> |
62 | | - </MixedAssignment> |
63 | | - </file> |
64 | | - <file src="src/Console/Infrastructure/Command/CacheWarmCommand.php"> |
65 | | - <ArgumentTypeCoercion> |
66 | | - <code><![CDATA[$classInfo['className']]]></code> |
67 | | - </ArgumentTypeCoercion> |
68 | | - </file> |
69 | | - <file src="src/Console/Infrastructure/Command/ExploreCommand.php"> |
70 | | - <ImplicitToStringCast> |
71 | | - <code><![CDATA[$method->getReturnType()]]></code> |
72 | | - <code><![CDATA[$param->getType()]]></code> |
73 | | - </ImplicitToStringCast> |
74 | | - <MixedAssignment> |
75 | | - <code><![CDATA[$selectedName]]></code> |
76 | | - </MixedAssignment> |
77 | | - </file> |
78 | | - <file src="src/Console/Infrastructure/Command/ListDeprecatedCommand.php"> |
79 | | - <ArgumentTypeCoercion> |
80 | | - <code><![CDATA[Gacela::rootDir()]]></code> |
81 | | - </ArgumentTypeCoercion> |
82 | | - <MixedAssignment> |
83 | | - <code><![CDATA[$typeFilter]]></code> |
84 | | - <code><![CDATA[$willRemoveInFilter]]></code> |
85 | | - </MixedAssignment> |
86 | | - </file> |
87 | | - <file src="src/Console/Infrastructure/Command/ProfileReportCommand.php"> |
88 | | - <InvalidOperand> |
89 | | - <code><![CDATA[$entry->duration * 1000]]></code> |
90 | | - <code><![CDATA[$opStats['avg_duration'] * 1000]]></code> |
91 | | - <code><![CDATA[$opStats['total_duration'] * 1000]]></code> |
92 | | - <code><![CDATA[$stats['avg_duration'] * 1000]]></code> |
93 | | - <code><![CDATA[$stats['total_duration'] * 1000]]></code> |
94 | | - </InvalidOperand> |
95 | | - <MixedPropertyFetch> |
96 | | - <code><![CDATA[$a->duration]]></code> |
97 | | - <code><![CDATA[$a->memoryUsage]]></code> |
98 | | - <code><![CDATA[$a->operation]]></code> |
99 | | - <code><![CDATA[$b->duration]]></code> |
100 | | - <code><![CDATA[$b->memoryUsage]]></code> |
101 | | - <code><![CDATA[$b->operation]]></code> |
102 | | - </MixedPropertyFetch> |
103 | | - </file> |
104 | | - <file src="src/Console/Infrastructure/Command/VersionCheckCommand.php"> |
| 3 | + <file src="src/Console/Infrastructure/Command/MakeModuleCommand.php"> |
105 | 4 | <MixedArgument> |
106 | | - <code><![CDATA[$customPath]]></code> |
| 5 | + <code><![CDATA[$file]]></code> |
107 | 6 | </MixedArgument> |
108 | | - </file> |
109 | | - <file src="src/Console/Infrastructure/ModuleVersion/ArrayModuleVersionParser.php"> |
110 | | - <ArgumentTypeCoercion> |
111 | | - <code><![CDATA[$version]]></code> |
112 | | - <code><![CDATA[(string)$moduleName]]></code> |
113 | | - </ArgumentTypeCoercion> |
114 | | - <MixedArgumentTypeCoercion> |
115 | | - <code><![CDATA[$data]]></code> |
116 | | - </MixedArgumentTypeCoercion> |
117 | 7 | <MixedAssignment> |
118 | | - <code><![CDATA[$reqVersion]]></code> |
| 8 | + <code><![CDATA[$file]]></code> |
| 9 | + <code><![CDATA[$templateFiles]]></code> |
119 | 10 | </MixedAssignment> |
120 | | - <RedundantCastGivenDocblockType> |
121 | | - <code><![CDATA[(string)$moduleName]]></code> |
122 | | - <code><![CDATA[(string)$moduleName]]></code> |
123 | | - </RedundantCastGivenDocblockType> |
124 | | - </file> |
125 | | - <file src="src/Console/Infrastructure/ModuleVersion/YamlModuleVersionParser.php"> |
126 | | - <ArgumentTypeCoercion> |
127 | | - <code><![CDATA[$version]]></code> |
128 | | - <code><![CDATA[(string)$moduleName]]></code> |
129 | | - </ArgumentTypeCoercion> |
130 | | - <MixedAssignment> |
131 | | - <code><![CDATA[$reqVersion]]></code> |
132 | | - </MixedAssignment> |
133 | | - <MixedMethodCall> |
134 | | - <code><![CDATA[$yamlClass::parseFile($filePath)]]></code> |
135 | | - </MixedMethodCall> |
136 | | - <RedundantCastGivenDocblockType> |
137 | | - <code><![CDATA[(string)$moduleName]]></code> |
138 | | - <code><![CDATA[(string)$moduleName]]></code> |
139 | | - </RedundantCastGivenDocblockType> |
140 | | - </file> |
141 | | - <file src="src/Framework/AbstractFacade.php"> |
142 | | - <PropertyTypeCoercion> |
143 | | - <code><![CDATA[self::$factories]]></code> |
144 | | - </PropertyTypeCoercion> |
145 | | - </file> |
146 | | - <file src="src/Framework/AbstractFactory.php"> |
147 | | - <MixedReturnStatement> |
148 | | - <code><![CDATA[$this->instances[$key] ??= $creator()]]></code> |
149 | | - </MixedReturnStatement> |
150 | | - </file> |
151 | | - <file src="src/Framework/Profiler/Profiler.php"> |
152 | | - <InvalidOperand> |
153 | | - <code><![CDATA[hrtime(true) / 1e9]]></code> |
154 | | - </InvalidOperand> |
155 | | - </file> |
156 | | - <file src="src/Testing/GacelaTestCase.php"> |
157 | | - <ArgumentTypeCoercion> |
158 | | - <code><![CDATA[$dependencyGraph]]></code> |
159 | | - </ArgumentTypeCoercion> |
| 11 | + <UndefinedMethod> |
| 12 | + <code><![CDATA[generateTemplateFiles]]></code> |
| 13 | + </UndefinedMethod> |
160 | 14 | </file> |
161 | 15 | </files> |
0 commit comments