psalm.baseline.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <files psalm-version="4.17.0@6f4707aa41c9174353a6434bba3fc8840f981d9c">
  3. <file src="src/Faker/Calculator/Luhn.php">
  4. <InvalidReturnStatement occurrences="1">
  5. <code>0</code>
  6. </InvalidReturnStatement>
  7. <InvalidReturnType occurrences="1">
  8. <code>string</code>
  9. </InvalidReturnType>
  10. </file>
  11. <file src="src/Faker/Generator.php">
  12. <InvalidReturnStatement occurrences="3">
  13. <code>$this-&gt;uniqueGenerator</code>
  14. <code>new ChanceGenerator($this, $weight, $default)</code>
  15. <code>new ValidGenerator($this, $validator, $maxRetries)</code>
  16. </InvalidReturnStatement>
  17. <InvalidReturnType occurrences="3">
  18. <code>self</code>
  19. <code>self</code>
  20. <code>self</code>
  21. </InvalidReturnType>
  22. </file>
  23. <file src="src/Faker/ORM/CakePHP/EntityPopulator.php">
  24. <UndefinedClass occurrences="1">
  25. <code>TableRegistry</code>
  26. </UndefinedClass>
  27. </file>
  28. <file src="src/Faker/ORM/Doctrine/EntityPopulator.php">
  29. <UndefinedClass occurrences="6">
  30. <code>$this-&gt;class</code>
  31. <code>\Doctrine\ODM\MongoDB\Mapping\ClassMetadata</code>
  32. <code>\Doctrine\ODM\MongoDB\Mapping\ClassMetadata</code>
  33. <code>\Doctrine\ODM\MongoDB\Mapping\ClassMetadata</code>
  34. <code>\Doctrine\ORM\Mapping\ClassMetadata</code>
  35. <code>\Doctrine\ORM\Mapping\ClassMetadata</code>
  36. </UndefinedClass>
  37. <UndefinedInterfaceMethod occurrences="3">
  38. <code>createQueryBuilder</code>
  39. <code>getAssociationMappings</code>
  40. <code>newInstance</code>
  41. </UndefinedInterfaceMethod>
  42. </file>
  43. <file src="src/Faker/ORM/Mandango/EntityPopulator.php">
  44. <UndefinedClass occurrences="2">
  45. <code>Mandango</code>
  46. <code>Mandango</code>
  47. </UndefinedClass>
  48. </file>
  49. <file src="src/Faker/ORM/Mandango/Populator.php">
  50. <UndefinedClass occurrences="2">
  51. <code>$this-&gt;mandango</code>
  52. <code>Mandango</code>
  53. </UndefinedClass>
  54. </file>
  55. <file src="src/Faker/ORM/Propel/ColumnTypeGuesser.php">
  56. <UndefinedClass occurrences="1">
  57. <code>\ColumnMap</code>
  58. </UndefinedClass>
  59. </file>
  60. <file src="src/Faker/ORM/Propel/EntityPopulator.php">
  61. <UndefinedClass occurrences="9">
  62. <code>$columnMap</code>
  63. <code>$columnMap</code>
  64. <code>$columnMap</code>
  65. <code>$columnMap</code>
  66. <code>$columnMap</code>
  67. <code>$columnMap</code>
  68. <code>$columnMap</code>
  69. <code>$columnMap</code>
  70. <code>\ColumnMap</code>
  71. </UndefinedClass>
  72. </file>
  73. <file src="src/Faker/ORM/Propel/Populator.php">
  74. <UndefinedClass occurrences="1">
  75. <code>\Propel</code>
  76. </UndefinedClass>
  77. <UndefinedDocblockClass occurrences="1">
  78. <code>PropelPDO</code>
  79. </UndefinedDocblockClass>
  80. </file>
  81. <file src="src/Faker/ORM/Propel2/ColumnTypeGuesser.php">
  82. <UndefinedClass occurrences="1">
  83. <code>ColumnMap</code>
  84. </UndefinedClass>
  85. </file>
  86. <file src="src/Faker/ORM/Propel2/EntityPopulator.php">
  87. <UndefinedClass occurrences="9">
  88. <code>$columnMap</code>
  89. <code>$columnMap</code>
  90. <code>$columnMap</code>
  91. <code>$columnMap</code>
  92. <code>$columnMap</code>
  93. <code>$columnMap</code>
  94. <code>$columnMap</code>
  95. <code>$columnMap</code>
  96. <code>ColumnMap</code>
  97. </UndefinedClass>
  98. </file>
  99. <file src="src/Faker/ORM/Propel2/Populator.php">
  100. <UndefinedClass occurrences="1">
  101. <code>Propel</code>
  102. </UndefinedClass>
  103. <UndefinedDocblockClass occurrences="1">
  104. <code>PropelPDO</code>
  105. </UndefinedDocblockClass>
  106. </file>
  107. <file src="src/Faker/ORM/Spot/EntityPopulator.php">
  108. <InvalidReturnStatement occurrences="1">
  109. <code>$this-&gt;mapper</code>
  110. </InvalidReturnStatement>
  111. <InvalidReturnType occurrences="1">
  112. <code>string</code>
  113. </InvalidReturnType>
  114. <UndefinedClass occurrences="5">
  115. <code>$relation</code>
  116. <code>$relation</code>
  117. <code>BelongsTo</code>
  118. <code>Locator</code>
  119. <code>Mapper</code>
  120. </UndefinedClass>
  121. <UndefinedDocblockClass occurrences="8">
  122. <code>$locator</code>
  123. <code>$this-&gt;mapper</code>
  124. <code>$this-&gt;mapper</code>
  125. <code>$this-&gt;mapper</code>
  126. <code>$this-&gt;mapper</code>
  127. <code>$this-&gt;mapper</code>
  128. <code>Locator</code>
  129. <code>Mapper</code>
  130. </UndefinedDocblockClass>
  131. </file>
  132. <file src="src/Faker/ORM/Spot/Populator.php">
  133. <UndefinedClass occurrences="2">
  134. <code>$this-&gt;locator</code>
  135. <code>Locator</code>
  136. </UndefinedClass>
  137. <UndefinedDocblockClass occurrences="1">
  138. <code>Locator</code>
  139. </UndefinedDocblockClass>
  140. </file>
  141. <file src="src/Faker/Provider/Base.php">
  142. <UndefinedDocblockClass occurrences="1">
  143. <code>Closure</code>
  144. </UndefinedDocblockClass>
  145. </file>
  146. <file src="src/Faker/Provider/File.php">
  147. <FalsableReturnStatement occurrences="1">
  148. <code>false</code>
  149. </FalsableReturnStatement>
  150. </file>
  151. <file src="src/Faker/Provider/PhoneNumber.php">
  152. <InvalidReturnStatement occurrences="1">
  153. <code>$imei</code>
  154. </InvalidReturnStatement>
  155. <InvalidReturnType occurrences="1">
  156. <code>int</code>
  157. </InvalidReturnType>
  158. </file>
  159. <file src="src/Faker/Provider/ar_SA/Address.php">
  160. <UndefinedPropertyFetch occurrences="1">
  161. <code>static::$cityPrefix</code>
  162. </UndefinedPropertyFetch>
  163. </file>
  164. <file src="src/Faker/Provider/cs_CZ/Person.php">
  165. <NonStaticSelfCall occurrences="2">
  166. <code>static::birthNumber(static::GENDER_FEMALE)</code>
  167. <code>static::birthNumber(static::GENDER_MALE)</code>
  168. </NonStaticSelfCall>
  169. </file>
  170. <file src="src/Faker/Provider/en_SG/Person.php">
  171. <InvalidArrayOffset occurrences="1">
  172. <code>$checksumArr[$checksum % 11]</code>
  173. </InvalidArrayOffset>
  174. </file>
  175. <file src="src/Faker/Provider/is_IS/Person.php">
  176. <InvalidArrayOffset occurrences="1">
  177. <code>$ref[$i]</code>
  178. </InvalidArrayOffset>
  179. </file>
  180. <file src="src/Faker/Provider/ja_JP/Text.php">
  181. <UndefinedMethod occurrences="1">
  182. <code>static::split($text)</code>
  183. </UndefinedMethod>
  184. </file>
  185. <file src="src/Faker/Provider/pl_PL/Person.php">
  186. <UndefinedDocblockClass occurrences="1">
  187. <code>DateTime</code>
  188. </UndefinedDocblockClass>
  189. </file>
  190. <file src="src/Faker/Provider/sl_SI/Person.php">
  191. <NonStaticSelfCall occurrences="2">
  192. <code>static::lastName()</code>
  193. <code>static::lastName()</code>
  194. </NonStaticSelfCall>
  195. </file>
  196. </files>