|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<files psalm-version="6.0.0@b8e96bb617bf59382113b1b56cef751f648a7dc9"> |
| 3 | + <file src="src/Archive/Factory.php"> |
| 4 | + <RiskyTruthyFalsyComparison> |
| 5 | + <code><![CDATA[$temp]]></code> |
| 6 | + </RiskyTruthyFalsyComparison> |
| 7 | + </file> |
| 8 | + <file src="src/Command.php"> |
| 9 | + <RiskyTruthyFalsyComparison> |
| 10 | + <code><![CDATA[$token]]></code> |
| 11 | + </RiskyTruthyFalsyComparison> |
| 12 | + </file> |
| 13 | + <file src="src/Command/Option.php"> |
| 14 | + <MixedAssignment> |
| 15 | + <code><![CDATA[$result]]></code> |
| 16 | + </MixedAssignment> |
| 17 | + </file> |
| 18 | + <file src="src/Command/VersionFilterOption.php"> |
| 19 | + <InvalidArgument> |
| 20 | + <code><![CDATA[\array_unique($versions)]]></code> |
| 21 | + </InvalidArgument> |
| 22 | + <PossiblyInvalidMethodCall> |
| 23 | + <code><![CDATA[sortByVersion]]></code> |
| 24 | + </PossiblyInvalidMethodCall> |
| 25 | + </file> |
| 26 | + <file src="src/Configuration/Generator.php"> |
| 27 | + <ArgumentTypeCoercion> |
| 28 | + <code><![CDATA[new $section()]]></code> |
| 29 | + </ArgumentTypeCoercion> |
| 30 | + <InvalidReturnType> |
| 31 | + <code><![CDATA[non-empty-array<SectionInterface>]]></code> |
| 32 | + </InvalidReturnType> |
| 33 | + <MismatchingDocblockReturnType> |
| 34 | + <code><![CDATA[non-empty-array<SectionInterface>]]></code> |
| 35 | + </MismatchingDocblockReturnType> |
| 36 | + <MixedAssignment> |
| 37 | + <code><![CDATA[$section]]></code> |
| 38 | + </MixedAssignment> |
| 39 | + <MixedMethodCall> |
| 40 | + <code><![CDATA[new $section()]]></code> |
| 41 | + </MixedMethodCall> |
| 42 | + </file> |
| 43 | + <file src="src/Configuration/Plugins.php"> |
| 44 | + <MixedPropertyTypeCoercion> |
| 45 | + <code><![CDATA[$plugins]]></code> |
| 46 | + <code><![CDATA[$this->getAvailable()]]></code> |
| 47 | + </MixedPropertyTypeCoercion> |
| 48 | + </file> |
| 49 | + <file src="src/DownloadProtocBinaryCommand.php"> |
| 50 | + <ArgumentTypeCoercion> |
| 51 | + <code><![CDATA[$stabilityOption]]></code> |
| 52 | + </ArgumentTypeCoercion> |
| 53 | + <PossiblyInvalidMethodCall> |
| 54 | + <code><![CDATA[filter]]></code> |
| 55 | + </PossiblyInvalidMethodCall> |
| 56 | + <PossiblyNullArgument> |
| 57 | + <code><![CDATA[$file]]></code> |
| 58 | + </PossiblyNullArgument> |
| 59 | + </file> |
| 60 | + <file src="src/Environment/OperatingSystem.php"> |
| 61 | + <TooManyArguments> |
| 62 | + <code><![CDATA[createFromGlobals]]></code> |
| 63 | + </TooManyArguments> |
| 64 | + </file> |
| 65 | + <file src="src/GetBinaryCommand.php"> |
| 66 | + <ArgumentTypeCoercion> |
| 67 | + <code><![CDATA[$stabilityOption]]></code> |
| 68 | + </ArgumentTypeCoercion> |
| 69 | + <MixedArgument> |
| 70 | + <code><![CDATA[$in->getOption('plugin')]]></code> |
| 71 | + <code><![CDATA[$in->getOption('preset')]]></code> |
| 72 | + </MixedArgument> |
| 73 | + <PossiblyFalseOperand> |
| 74 | + <code><![CDATA[\getcwd()]]></code> |
| 75 | + </PossiblyFalseOperand> |
| 76 | + <PossiblyInvalidMethodCall> |
| 77 | + <code><![CDATA[onlyRoadrunner]]></code> |
| 78 | + </PossiblyInvalidMethodCall> |
| 79 | + <PossiblyNullArgument> |
| 80 | + <code><![CDATA[$file]]></code> |
| 81 | + </PossiblyNullArgument> |
| 82 | + <PossiblyUndefinedVariable> |
| 83 | + <code><![CDATA[$config]]></code> |
| 84 | + </PossiblyUndefinedVariable> |
| 85 | + <UnnecessaryVarAnnotation> |
| 86 | + <code><![CDATA[AssetInterface]]></code> |
| 87 | + <code><![CDATA[ReleaseInterface]]></code> |
| 88 | + </UnnecessaryVarAnnotation> |
| 89 | + </file> |
| 90 | + <file src="src/MakeConfigCommand.php"> |
| 91 | + <MixedArgument> |
| 92 | + <code><![CDATA[$input->getOption('plugin')]]></code> |
| 93 | + <code><![CDATA[$input->getOption('preset')]]></code> |
| 94 | + </MixedArgument> |
| 95 | + <PossiblyFalseOperand> |
| 96 | + <code><![CDATA[\getcwd()]]></code> |
| 97 | + </PossiblyFalseOperand> |
| 98 | + </file> |
| 99 | + <file src="src/Repository/Collection.php"> |
| 100 | + <UnsafeGenericInstantiation> |
| 101 | + <code><![CDATA[new static($items)]]></code> |
| 102 | + <code><![CDATA[new static(\array_filter($this->items, $callback))]]></code> |
| 103 | + <code><![CDATA[new static(\array_filter($this->items, $filter))]]></code> |
| 104 | + <code><![CDATA[new static(\array_map($map, $this->items))]]></code> |
| 105 | + </UnsafeGenericInstantiation> |
| 106 | + </file> |
| 107 | + <file src="src/Repository/GitHub/GitHubRelease.php"> |
| 108 | + <InvalidArgument> |
| 109 | + <code><![CDATA[$release]]></code> |
| 110 | + </InvalidArgument> |
| 111 | + <InvalidArrayOffset> |
| 112 | + <code><![CDATA[$release['tag_name']]]></code> |
| 113 | + </InvalidArrayOffset> |
| 114 | + <MixedArgument> |
| 115 | + <code><![CDATA[$version]]></code> |
| 116 | + </MixedArgument> |
| 117 | + <MixedAssignment> |
| 118 | + <code><![CDATA[$version]]></code> |
| 119 | + </MixedAssignment> |
| 120 | + </file> |
| 121 | + <file src="src/Repository/Release.php"> |
| 122 | + <LessSpecificReturnStatement> |
| 123 | + <code><![CDATA[$this->stability]]></code> |
| 124 | + </LessSpecificReturnStatement> |
| 125 | + <MoreSpecificReturnType> |
| 126 | + <code><![CDATA[string]]></code> |
| 127 | + </MoreSpecificReturnType> |
| 128 | + </file> |
| 129 | + <file src="src/Repository/ReleaseInterface.php"> |
| 130 | + <MismatchingDocblockReturnType> |
| 131 | + <code><![CDATA[AssetsCollection|iterable<AssetInterface>]]></code> |
| 132 | + </MismatchingDocblockReturnType> |
| 133 | + </file> |
| 134 | + <file src="src/Repository/ReleasesCollection.php"> |
| 135 | + <PossiblyInvalidMethodCall> |
| 136 | + <code><![CDATA[empty]]></code> |
| 137 | + </PossiblyInvalidMethodCall> |
| 138 | + </file> |
| 139 | + <file src="src/Repository/RepositoryInterface.php"> |
| 140 | + <MismatchingDocblockReturnType> |
| 141 | + <code><![CDATA[ReleasesCollection|iterable<ReleaseInterface>]]></code> |
| 142 | + </MismatchingDocblockReturnType> |
| 143 | + </file> |
| 144 | + <file src="src/VersionsCommand.php"> |
| 145 | + <ArgumentTypeCoercion> |
| 146 | + <code><![CDATA[$this->stability->get($input, $io)]]></code> |
| 147 | + </ArgumentTypeCoercion> |
| 148 | + <PossiblyInvalidArgument> |
| 149 | + <code><![CDATA[$release->getAssets()]]></code> |
| 150 | + </PossiblyInvalidArgument> |
| 151 | + <PossiblyInvalidMethodCall> |
| 152 | + <code><![CDATA[count]]></code> |
| 153 | + <code><![CDATA[empty]]></code> |
| 154 | + <code><![CDATA[sortByVersion]]></code> |
| 155 | + <code><![CDATA[whereOperatingSystem]]></code> |
| 156 | + </PossiblyInvalidMethodCall> |
| 157 | + </file> |
| 158 | +</files> |
0 commit comments