|
55 | 55 | <ArgumentTypeCoercion> |
56 | 56 | <code><![CDATA[$files]]></code> |
57 | 57 | </ArgumentTypeCoercion> |
58 | | - <PossiblyFalseArgument> |
59 | | - <code><![CDATA[$destinationPath]]></code> |
60 | | - <code><![CDATA[$destinationPath]]></code> |
61 | | - </PossiblyFalseArgument> |
62 | | - <PossiblyFalseOperand> |
63 | | - <code><![CDATA[$path]]></code> |
64 | | - </PossiblyFalseOperand> |
| 58 | + <LessSpecificReturnStatement> |
| 59 | + <code><![CDATA[$this->configDestination->path ?? $action->extractPath ?? (string) \getcwd()]]></code> |
| 60 | + </LessSpecificReturnStatement> |
| 61 | + <MoreSpecificReturnType> |
| 62 | + <code><![CDATA[non-empty-string]]></code> |
| 63 | + </MoreSpecificReturnType> |
| 64 | + <PossiblyNullReference> |
| 65 | + <code><![CDATA[getPathname]]></code> |
| 66 | + </PossiblyNullReference> |
65 | 67 | </file> |
66 | 68 | <file src="src/Module/Archive/ArchiveFactory.php"> |
67 | 69 | <MixedPropertyTypeCoercion> |
|
71 | 73 | <code><![CDATA[\array_unique(\array_merge($this->extensions, $extensions))]]></code> |
72 | 74 | </PropertyTypeCoercion> |
73 | 75 | </file> |
| 76 | + <file src="src/Module/Archive/Internal/NullArchive.php"> |
| 77 | + <MoreSpecificReturnType> |
| 78 | + <code><![CDATA[\Generator<non-empty-string, \SplFileInfo, \SplFileInfo|null, void>]]></code> |
| 79 | + </MoreSpecificReturnType> |
| 80 | + </file> |
| 81 | + <file src="src/Module/Archive/Internal/PharArchive.php"> |
| 82 | + <PropertyNotSetInConstructor> |
| 83 | + <code><![CDATA[PharArchive]]></code> |
| 84 | + </PropertyNotSetInConstructor> |
| 85 | + </file> |
74 | 86 | <file src="src/Module/Archive/Internal/PharAwareArchive.php"> |
75 | 87 | <MoreSpecificReturnType> |
76 | 88 | <code><![CDATA[\Generator]]></code> |
77 | 89 | </MoreSpecificReturnType> |
| 90 | + <PropertyNotSetInConstructor> |
| 91 | + <code><![CDATA[$archive]]></code> |
| 92 | + </PropertyNotSetInConstructor> |
| 93 | + </file> |
| 94 | + <file src="src/Module/Archive/Internal/TarPharArchive.php"> |
| 95 | + <PropertyNotSetInConstructor> |
| 96 | + <code><![CDATA[TarPharArchive]]></code> |
| 97 | + </PropertyNotSetInConstructor> |
| 98 | + </file> |
| 99 | + <file src="src/Module/Archive/Internal/ZipPharArchive.php"> |
| 100 | + <PropertyNotSetInConstructor> |
| 101 | + <code><![CDATA[ZipPharArchive]]></code> |
| 102 | + </PropertyNotSetInConstructor> |
78 | 103 | </file> |
79 | 104 | <file src="src/Module/Common/Config/Action/Download.php"> |
80 | 105 | <MissingConstructor> |
81 | 106 | <code><![CDATA[$software]]></code> |
82 | 107 | </MissingConstructor> |
83 | 108 | </file> |
| 109 | + <file src="src/Module/Common/Config/Embed/Binary.php"> |
| 110 | + <MissingConstructor> |
| 111 | + <code><![CDATA[$name]]></code> |
| 112 | + </MissingConstructor> |
| 113 | + </file> |
84 | 114 | <file src="src/Module/Common/Config/Embed/Repository.php"> |
85 | 115 | <MissingConstructor> |
86 | 116 | <code><![CDATA[$uri]]></code> |
|
94 | 124 | <file src="src/Module/Common/Internal/Injection/ConfigLoader.php"> |
95 | 125 | <MixedMethodCall> |
96 | 126 | <code><![CDATA[new $attribute->class()]]></code> |
| 127 | + <code><![CDATA[new $attribute->class()]]></code> |
97 | 128 | </MixedMethodCall> |
98 | 129 | <RedundantCondition> |
99 | 130 | <code><![CDATA[\assert($xml instanceof \SimpleXMLElement)]]></code> |
| 131 | + <code><![CDATA[\assert($xml instanceof \SimpleXMLElement)]]></code> |
100 | 132 | </RedundantCondition> |
101 | 133 | </file> |
102 | 134 | <file src="src/Module/Common/Internal/ObjectContainer.php"> |
|
127 | 159 | </UndefinedMethod> |
128 | 160 | </file> |
129 | 161 | <file src="src/Module/Downloader/Downloader.php"> |
130 | | - <ArgumentTypeCoercion> |
131 | | - <code><![CDATA[$dlNow]]></code> |
132 | | - <code><![CDATA[$dlSize]]></code> |
133 | | - </ArgumentTypeCoercion> |
134 | 162 | <InternalMethod> |
135 | 163 | <code><![CDATA[limit]]></code> |
136 | 164 | <code><![CDATA[limit]]></code> |
137 | 165 | <code><![CDATA[toArray]]></code> |
138 | 166 | <code><![CDATA[toArray]]></code> |
139 | 167 | <code><![CDATA[toArray]]></code> |
| 168 | + <code><![CDATA[toArray]]></code> |
| 169 | + <code><![CDATA[toArray]]></code> |
| 170 | + <code><![CDATA[toArray]]></code> |
| 171 | + <code><![CDATA[toArray]]></code> |
140 | 172 | </InternalMethod> |
141 | 173 | <InvalidNullableReturnType> |
142 | | - <code><![CDATA[AssetInterface]]></code> |
143 | 174 | <code><![CDATA[ReleaseInterface]]></code> |
144 | 175 | </InvalidNullableReturnType> |
| 176 | + <InvalidReturnType> |
| 177 | + <code><![CDATA[AssetInterface]]></code> |
| 178 | + </InvalidReturnType> |
145 | 179 | <LessSpecificReturnStatement> |
146 | 180 | <code><![CDATA[$temp]]></code> |
147 | 181 | <code><![CDATA[\sys_get_temp_dir()]]></code> |
148 | 182 | </LessSpecificReturnStatement> |
149 | | - <MissingClosureReturnType> |
150 | | - <code><![CDATA[static fn(int $dlNow, int $dlSize, array $info) => ($context->onProgress)(]]></code> |
151 | | - </MissingClosureReturnType> |
152 | 183 | <MoreSpecificReturnType> |
153 | 184 | <code><![CDATA[non-empty-string]]></code> |
154 | 185 | </MoreSpecificReturnType> |
155 | | - <TooManyArguments> |
156 | | - <code><![CDATA[download]]></code> |
157 | | - </TooManyArguments> |
158 | 186 | </file> |
159 | 187 | <file src="src/Module/Downloader/Internal/DownloadContext.php"> |
160 | 188 | <PropertyNotSetInConstructor> |
|
0 commit comments