psalm-baseline.xml 114 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <files psalm-version="4.30.0@d0bc6e25d89f649e4f36a534f330f8bb4643dd69">
  3. <file src="3rdparty/sabre/dav/lib/CalDAV/Calendar.php">
  4. <MoreSpecificImplementedParamType occurrences="1">
  5. <code>$calendarData</code>
  6. </MoreSpecificImplementedParamType>
  7. </file>
  8. <file src="3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php">
  9. <MoreSpecificImplementedParamType occurrences="1">
  10. <code>$data</code>
  11. </MoreSpecificImplementedParamType>
  12. </file>
  13. <file src="3rdparty/sabre/dav/lib/CalDAV/Principal/User.php">
  14. <MoreSpecificImplementedParamType occurrences="1">
  15. <code>$data</code>
  16. </MoreSpecificImplementedParamType>
  17. </file>
  18. <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBook.php">
  19. <LessSpecificImplementedReturnType occurrences="1">
  20. <code>array</code>
  21. </LessSpecificImplementedReturnType>
  22. <MoreSpecificImplementedParamType occurrences="1">
  23. <code>$vcardData</code>
  24. </MoreSpecificImplementedParamType>
  25. </file>
  26. <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBookHome.php">
  27. <InvalidPropertyAssignmentValue occurrences="1">
  28. <code>$principalUri</code>
  29. </InvalidPropertyAssignmentValue>
  30. <MoreSpecificImplementedParamType occurrences="1">
  31. <code>$data</code>
  32. </MoreSpecificImplementedParamType>
  33. </file>
  34. <file src="3rdparty/sabre/dav/lib/DAVACL/AbstractPrincipalCollection.php">
  35. <LessSpecificImplementedReturnType occurrences="1">
  36. <code>array</code>
  37. </LessSpecificImplementedReturnType>
  38. </file>
  39. <file src="apps/cloud_federation_api/lib/Controller/RequestHandlerController.php">
  40. <TypeDoesNotContainType occurrences="1">
  41. <code>!is_array($notification)</code>
  42. </TypeDoesNotContainType>
  43. </file>
  44. <file src="apps/comments/lib/Search/Result.php">
  45. <InvalidScalarArgument occurrences="1">
  46. <code>(int) $comment-&gt;getId()</code>
  47. </InvalidScalarArgument>
  48. </file>
  49. <file src="apps/dav/appinfo/v1/caldav.php">
  50. <UndefinedGlobalVariable occurrences="1">
  51. <code>$baseuri</code>
  52. </UndefinedGlobalVariable>
  53. </file>
  54. <file src="apps/dav/appinfo/v1/carddav.php">
  55. <UndefinedGlobalVariable occurrences="1">
  56. <code>$baseuri</code>
  57. </UndefinedGlobalVariable>
  58. </file>
  59. <file src="apps/dav/appinfo/v1/publicwebdav.php">
  60. <InternalMethod occurrences="2">
  61. <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog)</code>
  62. <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code>
  63. </InternalMethod>
  64. <UndefinedGlobalVariable occurrences="1">
  65. <code>$baseuri</code>
  66. </UndefinedGlobalVariable>
  67. </file>
  68. <file src="apps/dav/appinfo/v1/webdav.php">
  69. <InvalidArgument occurrences="1">
  70. <code>'OCA\DAV\Connector\Sabre::addPlugin'</code>
  71. </InvalidArgument>
  72. <TooManyArguments occurrences="1">
  73. <code>dispatch</code>
  74. </TooManyArguments>
  75. <UndefinedGlobalVariable occurrences="1">
  76. <code>$baseuri</code>
  77. </UndefinedGlobalVariable>
  78. </file>
  79. <file src="apps/dav/appinfo/v2/direct.php">
  80. <UndefinedGlobalVariable occurrences="1">
  81. <code>$baseuri</code>
  82. </UndefinedGlobalVariable>
  83. </file>
  84. <file src="apps/dav/appinfo/v2/remote.php">
  85. <UndefinedGlobalVariable occurrences="1">
  86. <code>$baseuri</code>
  87. </UndefinedGlobalVariable>
  88. </file>
  89. <file src="apps/dav/lib/AppInfo/Application.php">
  90. <InvalidArgument occurrences="1">
  91. <code>CalendarDeletionDefaultUpdaterListener::class</code>
  92. </InvalidArgument>
  93. <UndefinedInterfaceMethod occurrences="1">
  94. <code>getAppDataDir</code>
  95. </UndefinedInterfaceMethod>
  96. </file>
  97. <file src="apps/dav/lib/CalDAV/BirthdayService.php">
  98. <UndefinedMethod occurrences="2">
  99. <code>setDateTime</code>
  100. <code>setDateTime</code>
  101. </UndefinedMethod>
  102. <UndefinedPropertyFetch occurrences="4">
  103. <code>$existingBirthday-&gt;VEVENT-&gt;DTSTART</code>
  104. <code>$existingBirthday-&gt;VEVENT-&gt;SUMMARY</code>
  105. <code>$newCalendarData-&gt;VEVENT-&gt;DTSTART</code>
  106. <code>$newCalendarData-&gt;VEVENT-&gt;SUMMARY</code>
  107. </UndefinedPropertyFetch>
  108. </file>
  109. <file src="apps/dav/lib/CalDAV/CachedSubscription.php">
  110. <ParamNameMismatch occurrences="1">
  111. <code>$calendarData</code>
  112. </ParamNameMismatch>
  113. </file>
  114. <file src="apps/dav/lib/CalDAV/CachedSubscriptionObject.php">
  115. <NullableReturnStatement occurrences="1">
  116. <code>$this-&gt;objectData['calendardata']</code>
  117. </NullableReturnStatement>
  118. <ParamNameMismatch occurrences="1">
  119. <code>$calendarData</code>
  120. </ParamNameMismatch>
  121. </file>
  122. <file src="apps/dav/lib/CalDAV/CalDavBackend.php">
  123. <InvalidNullableReturnType occurrences="2">
  124. <code>array</code>
  125. <code>array</code>
  126. </InvalidNullableReturnType>
  127. <MoreSpecificImplementedParamType occurrences="2">
  128. <code>$objectData</code>
  129. <code>$uris</code>
  130. </MoreSpecificImplementedParamType>
  131. <NullableReturnStatement occurrences="2">
  132. <code>null</code>
  133. <code>null</code>
  134. </NullableReturnStatement>
  135. </file>
  136. <file src="apps/dav/lib/CalDAV/CalendarHome.php">
  137. <InvalidNullableReturnType occurrences="1">
  138. <code>INode</code>
  139. </InvalidNullableReturnType>
  140. <LessSpecificImplementedReturnType occurrences="1">
  141. <code>INode</code>
  142. </LessSpecificImplementedReturnType>
  143. <NullableReturnStatement occurrences="1">
  144. <code>$calendarPlugin-&gt;getCalendarInCalendarHome($this-&gt;principalInfo['uri'], $calendarUri)</code>
  145. </NullableReturnStatement>
  146. <UndefinedInterfaceMethod occurrences="1">
  147. <code>calendarSearch</code>
  148. </UndefinedInterfaceMethod>
  149. </file>
  150. <file src="apps/dav/lib/CalDAV/CalendarRoot.php">
  151. <ParamNameMismatch occurrences="1">
  152. <code>$principal</code>
  153. </ParamNameMismatch>
  154. </file>
  155. <file src="apps/dav/lib/CalDAV/Plugin.php">
  156. <ImplementedReturnTypeMismatch occurrences="1">
  157. <code>string|null</code>
  158. </ImplementedReturnTypeMismatch>
  159. </file>
  160. <file src="apps/dav/lib/CalDAV/Principal/Collection.php">
  161. <ParamNameMismatch occurrences="1">
  162. <code>$principalInfo</code>
  163. </ParamNameMismatch>
  164. </file>
  165. <file src="apps/dav/lib/CalDAV/PublicCalendar.php">
  166. <MoreSpecificImplementedParamType occurrences="1">
  167. <code>$paths</code>
  168. </MoreSpecificImplementedParamType>
  169. </file>
  170. <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php">
  171. <UndefinedMethod occurrences="3">
  172. <code>hasTime</code>
  173. <code>isFloating</code>
  174. <code>isFloating</code>
  175. </UndefinedMethod>
  176. </file>
  177. <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php">
  178. <UndefinedMethod occurrences="3">
  179. <code>getDateTime</code>
  180. <code>getDateTime</code>
  181. <code>isFloating</code>
  182. </UndefinedMethod>
  183. </file>
  184. <file src="apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php">
  185. <UndefinedConstant occurrences="1">
  186. <code>$provider::NOTIFICATION_TYPE</code>
  187. </UndefinedConstant>
  188. </file>
  189. <file src="apps/dav/lib/CalDAV/Reminder/ReminderService.php">
  190. <UndefinedMethod occurrences="3">
  191. <code>getDateInterval</code>
  192. <code>getDateTime</code>
  193. <code>getDateTime</code>
  194. </UndefinedMethod>
  195. <UndefinedPropertyFetch occurrences="1">
  196. <code>$valarm-&gt;parent-&gt;UID</code>
  197. </UndefinedPropertyFetch>
  198. </file>
  199. <file src="apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php">
  200. <InvalidNullableReturnType occurrences="1">
  201. <code>array</code>
  202. </InvalidNullableReturnType>
  203. <InvalidReturnStatement occurrences="1">
  204. <code>$principals</code>
  205. </InvalidReturnStatement>
  206. <InvalidReturnType occurrences="1">
  207. <code>string[]</code>
  208. </InvalidReturnType>
  209. <NullableReturnStatement occurrences="2">
  210. <code>null</code>
  211. <code>null</code>
  212. </NullableReturnStatement>
  213. </file>
  214. <file src="apps/dav/lib/CalDAV/Schedule/Plugin.php">
  215. <InvalidArgument occurrences="2">
  216. <code>[$aclPlugin, 'propFind']</code>
  217. <code>[$aclPlugin, 'propFind']</code>
  218. </InvalidArgument>
  219. <UndefinedInterfaceMethod occurrences="2">
  220. <code>get</code>
  221. <code>getChildren</code>
  222. </UndefinedInterfaceMethod>
  223. <UndefinedMethod occurrences="5">
  224. <code>getDateTime</code>
  225. <code>hasTime</code>
  226. <code>isFloating</code>
  227. <code>isFloating</code>
  228. <code>principalSearch</code>
  229. </UndefinedMethod>
  230. </file>
  231. <file src="apps/dav/lib/CalDAV/Search/SearchPlugin.php">
  232. <InvalidNullableReturnType occurrences="1">
  233. <code>bool</code>
  234. </InvalidNullableReturnType>
  235. </file>
  236. <file src="apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php">
  237. <InvalidReturnStatement occurrences="1"/>
  238. <InvalidReturnType occurrences="1">
  239. <code>string</code>
  240. </InvalidReturnType>
  241. </file>
  242. <file src="apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php">
  243. <TypeDoesNotContainType occurrences="3">
  244. <code>!is_array($newProps['filters']['comps'])</code>
  245. <code>!is_array($newProps['filters']['params'])</code>
  246. <code>!is_array($newProps['filters']['props'])</code>
  247. </TypeDoesNotContainType>
  248. </file>
  249. <file src="apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php">
  250. <InvalidArgument occurrences="1">
  251. <code>$webcalData</code>
  252. </InvalidArgument>
  253. </file>
  254. <file src="apps/dav/lib/CardDAV/AddressBookImpl.php">
  255. <InvalidScalarArgument occurrences="2">
  256. <code>$this-&gt;getKey()</code>
  257. <code>$this-&gt;getKey()</code>
  258. </InvalidScalarArgument>
  259. </file>
  260. <file src="apps/dav/lib/CardDAV/AddressBookRoot.php">
  261. <ParamNameMismatch occurrences="1">
  262. <code>$principal</code>
  263. </ParamNameMismatch>
  264. </file>
  265. <file src="apps/dav/lib/CardDAV/CardDavBackend.php">
  266. <FalsableReturnStatement occurrences="1">
  267. <code>false</code>
  268. </FalsableReturnStatement>
  269. <TypeDoesNotContainType occurrences="1">
  270. <code>$addressBooks[$row['id']][$readOnlyPropertyName] === 0</code>
  271. </TypeDoesNotContainType>
  272. </file>
  273. <file src="apps/dav/lib/CardDAV/MultiGetExportPlugin.php">
  274. <InvalidNullableReturnType occurrences="1">
  275. <code>bool</code>
  276. </InvalidNullableReturnType>
  277. </file>
  278. <file src="apps/dav/lib/CardDAV/PhotoCache.php">
  279. <InvalidNullableReturnType occurrences="1">
  280. <code>string</code>
  281. </InvalidNullableReturnType>
  282. <NullableReturnStatement occurrences="1">
  283. <code>$type</code>
  284. </NullableReturnStatement>
  285. </file>
  286. <file src="apps/dav/lib/CardDAV/Plugin.php">
  287. <ImplementedReturnTypeMismatch occurrences="1">
  288. <code>string|null</code>
  289. </ImplementedReturnTypeMismatch>
  290. </file>
  291. <file src="apps/dav/lib/CardDAV/UserAddressBooks.php">
  292. <InvalidArgument occurrences="2">
  293. <code>$this-&gt;principalUri</code>
  294. <code>$this-&gt;principalUri</code>
  295. </InvalidArgument>
  296. </file>
  297. <file src="apps/dav/lib/CardDAV/Xml/Groups.php">
  298. <InvalidPropertyAssignmentValue occurrences="1">
  299. <code>$groups</code>
  300. </InvalidPropertyAssignmentValue>
  301. </file>
  302. <file src="apps/dav/lib/Comments/CommentNode.php">
  303. <InvalidNullableReturnType occurrences="1">
  304. <code>int</code>
  305. </InvalidNullableReturnType>
  306. <NullableReturnStatement occurrences="1">
  307. <code>null</code>
  308. </NullableReturnStatement>
  309. </file>
  310. <file src="apps/dav/lib/Comments/CommentsPlugin.php">
  311. <InvalidScalarArgument occurrences="2">
  312. <code>$args['datetime']</code>
  313. <code>200</code>
  314. </InvalidScalarArgument>
  315. <UndefinedFunction occurrences="1">
  316. <code>\Sabre\HTTP\toDate($value)</code>
  317. </UndefinedFunction>
  318. </file>
  319. <file src="apps/dav/lib/Comments/RootCollection.php">
  320. <InvalidArgument occurrences="1">
  321. <code>CommentsEntityEvent::EVENT_ENTITY</code>
  322. </InvalidArgument>
  323. <InvalidNullableReturnType occurrences="2">
  324. <code>\Sabre\DAV\INode[]</code>
  325. <code>int</code>
  326. </InvalidNullableReturnType>
  327. <NullableReturnStatement occurrences="2">
  328. <code>$this-&gt;entityTypeCollections</code>
  329. <code>null</code>
  330. </NullableReturnStatement>
  331. <TooManyArguments occurrences="1">
  332. <code>dispatch</code>
  333. </TooManyArguments>
  334. </file>
  335. <file src="apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php">
  336. <InvalidNullableReturnType occurrences="1">
  337. <code>bool</code>
  338. </InvalidNullableReturnType>
  339. </file>
  340. <file src="apps/dav/lib/Connector/Sabre/BearerAuth.php">
  341. <UndefinedInterfaceMethod occurrences="1">
  342. <code>tryTokenLogin</code>
  343. </UndefinedInterfaceMethod>
  344. </file>
  345. <file src="apps/dav/lib/Connector/Sabre/Directory.php">
  346. <InvalidPropertyAssignmentValue occurrences="1">
  347. <code>$nodes</code>
  348. </InvalidPropertyAssignmentValue>
  349. <InvalidReturnStatement occurrences="1">
  350. <code>$this-&gt;dirContent</code>
  351. </InvalidReturnStatement>
  352. <InvalidReturnType occurrences="1">
  353. <code>\Sabre\DAV\INode[]</code>
  354. </InvalidReturnType>
  355. <NullArgument occurrences="3">
  356. <code>null</code>
  357. <code>null</code>
  358. <code>null</code>
  359. </NullArgument>
  360. <ParamNameMismatch occurrences="1">
  361. <code>$fullSourcePath</code>
  362. </ParamNameMismatch>
  363. </file>
  364. <file src="apps/dav/lib/Connector/Sabre/File.php">
  365. <MoreSpecificImplementedParamType occurrences="1">
  366. <code>$data</code>
  367. </MoreSpecificImplementedParamType>
  368. </file>
  369. <file src="apps/dav/lib/Connector/Sabre/FilesReportPlugin.php">
  370. <InvalidNullableReturnType occurrences="1">
  371. <code>bool</code>
  372. </InvalidNullableReturnType>
  373. <InvalidScalarArgument occurrences="2">
  374. <code>0</code>
  375. <code>200</code>
  376. </InvalidScalarArgument>
  377. <TooManyArguments occurrences="1">
  378. <code>new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)</code>
  379. </TooManyArguments>
  380. <UndefinedClass occurrences="1">
  381. <code>\OCA\Circles\Api\v1\Circles</code>
  382. </UndefinedClass>
  383. <UndefinedInterfaceMethod occurrences="2">
  384. <code>getById</code>
  385. <code>getPath</code>
  386. </UndefinedInterfaceMethod>
  387. </file>
  388. <file src="apps/dav/lib/Connector/Sabre/Node.php">
  389. <InvalidNullableReturnType occurrences="2">
  390. <code>int</code>
  391. <code>integer</code>
  392. </InvalidNullableReturnType>
  393. <NullableReturnStatement occurrences="2">
  394. <code>$this-&gt;info-&gt;getId()</code>
  395. <code>$this-&gt;info-&gt;getId()</code>
  396. </NullableReturnStatement>
  397. </file>
  398. <file src="apps/dav/lib/Connector/Sabre/Principal.php">
  399. <InvalidNullableReturnType occurrences="1">
  400. <code>array</code>
  401. </InvalidNullableReturnType>
  402. <InvalidReturnStatement occurrences="1">
  403. <code>$principals</code>
  404. </InvalidReturnStatement>
  405. <InvalidReturnType occurrences="1">
  406. <code>string[]</code>
  407. </InvalidReturnType>
  408. <NullableReturnStatement occurrences="8">
  409. <code>null</code>
  410. <code>null</code>
  411. <code>null</code>
  412. <code>null</code>
  413. <code>null</code>
  414. <code>null</code>
  415. <code>null</code>
  416. </NullableReturnStatement>
  417. <UndefinedClass occurrences="2">
  418. <code>\OCA\Circles\Api\v1\Circles</code>
  419. <code>\OCA\Circles\Api\v1\Circles</code>
  420. </UndefinedClass>
  421. </file>
  422. <file src="apps/dav/lib/Connector/Sabre/QuotaPlugin.php">
  423. <UndefinedInterfaceMethod occurrences="2">
  424. <code>getPath</code>
  425. <code>getPath</code>
  426. </UndefinedInterfaceMethod>
  427. </file>
  428. <file src="apps/dav/lib/Connector/Sabre/ServerFactory.php">
  429. <TooManyArguments occurrences="1">
  430. <code>new \OCA\DAV\Connector\Sabre\QuotaPlugin($view, true)</code>
  431. </TooManyArguments>
  432. </file>
  433. <file src="apps/dav/lib/Connector/Sabre/ShareTypeList.php">
  434. <InvalidScalarArgument occurrences="1">
  435. <code>$shareType</code>
  436. </InvalidScalarArgument>
  437. </file>
  438. <file src="apps/dav/lib/Connector/Sabre/ShareeList.php">
  439. <InvalidScalarArgument occurrences="1">
  440. <code>$share-&gt;getShareType()</code>
  441. </InvalidScalarArgument>
  442. </file>
  443. <file src="apps/dav/lib/Connector/Sabre/TagsPlugin.php">
  444. <NullableReturnStatement occurrences="1">
  445. <code>null</code>
  446. </NullableReturnStatement>
  447. <UndefinedInterfaceMethod occurrences="1">
  448. <code>getId</code>
  449. </UndefinedInterfaceMethod>
  450. </file>
  451. <file src="apps/dav/lib/Controller/InvitationResponseController.php">
  452. <UndefinedPropertyAssignment occurrences="1">
  453. <code>$vEvent-&gt;DTSTAMP</code>
  454. </UndefinedPropertyAssignment>
  455. </file>
  456. <file src="apps/dav/lib/DAV/CustomPropertiesBackend.php">
  457. <InvalidArgument occurrences="1">
  458. <code>$whereValues</code>
  459. </InvalidArgument>
  460. </file>
  461. <file src="apps/dav/lib/DAV/GroupPrincipalBackend.php">
  462. <InvalidNullableReturnType occurrences="2">
  463. <code>array</code>
  464. <code>string</code>
  465. </InvalidNullableReturnType>
  466. <InvalidReturnStatement occurrences="1">
  467. <code>$principals</code>
  468. </InvalidReturnStatement>
  469. <InvalidReturnType occurrences="1">
  470. <code>string[]</code>
  471. </InvalidReturnType>
  472. <MoreSpecificImplementedParamType occurrences="1">
  473. <code>$members</code>
  474. </MoreSpecificImplementedParamType>
  475. <NullableReturnStatement occurrences="7">
  476. <code>null</code>
  477. <code>null</code>
  478. <code>null</code>
  479. <code>null</code>
  480. <code>null</code>
  481. <code>null</code>
  482. <code>null</code>
  483. </NullableReturnStatement>
  484. </file>
  485. <file src="apps/dav/lib/DAV/SystemPrincipalBackend.php">
  486. <InvalidNullableReturnType occurrences="1">
  487. <code>array</code>
  488. </InvalidNullableReturnType>
  489. <NullableReturnStatement occurrences="1">
  490. <code>null</code>
  491. </NullableReturnStatement>
  492. </file>
  493. <file src="apps/dav/lib/Direct/Server.php">
  494. <UndefinedThisPropertyAssignment occurrences="1">
  495. <code>$this-&gt;enablePropfindDepthInfinityf</code>
  496. </UndefinedThisPropertyAssignment>
  497. </file>
  498. <file src="apps/dav/lib/Files/BrowserErrorPagePlugin.php">
  499. <InvalidScalarArgument occurrences="1">
  500. <code>$body</code>
  501. </InvalidScalarArgument>
  502. </file>
  503. <file src="apps/dav/lib/Files/FileSearchBackend.php">
  504. <InvalidReturnStatement occurrences="1">
  505. <code>$value</code>
  506. </InvalidReturnStatement>
  507. <InvalidReturnType occurrences="1">
  508. <code>?string</code>
  509. </InvalidReturnType>
  510. <ParamNameMismatch occurrences="1">
  511. <code>$search</code>
  512. </ParamNameMismatch>
  513. <UndefinedPropertyFetch occurrences="1">
  514. <code>$operator-&gt;arguments[0]-&gt;name</code>
  515. </UndefinedPropertyFetch>
  516. </file>
  517. <file src="apps/dav/lib/Files/LazySearchBackend.php">
  518. <InvalidReturnStatement occurrences="1">
  519. <code>$this-&gt;backend-&gt;getArbiterPath()</code>
  520. </InvalidReturnStatement>
  521. <InvalidReturnType occurrences="1">
  522. <code>bool</code>
  523. </InvalidReturnType>
  524. </file>
  525. <file src="apps/dav/lib/HookManager.php">
  526. <InvalidPropertyAssignmentValue occurrences="2">
  527. <code>$this-&gt;usersToDelete</code>
  528. <code>$this-&gt;usersToDelete</code>
  529. </InvalidPropertyAssignmentValue>
  530. </file>
  531. <file src="apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php">
  532. <ParamNameMismatch occurrences="1">
  533. <code>$arguments</code>
  534. </ParamNameMismatch>
  535. </file>
  536. <file src="apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php">
  537. <ParamNameMismatch occurrences="1">
  538. <code>$arguments</code>
  539. </ParamNameMismatch>
  540. </file>
  541. <file src="apps/dav/lib/Search/EventsSearchProvider.php">
  542. <FalsableReturnStatement occurrences="1">
  543. <code>$this-&gt;l10n-&gt;l('date', $startDateTime, ['width' =&gt; 'medium'])</code>
  544. </FalsableReturnStatement>
  545. <InvalidPropertyAssignmentValue occurrences="1"/>
  546. <InvalidReturnStatement occurrences="1">
  547. <code>$this-&gt;l10n-&gt;l('date', $startDateTime, ['width' =&gt; 'medium'])</code>
  548. </InvalidReturnStatement>
  549. <InvalidReturnType occurrences="1">
  550. <code>string</code>
  551. </InvalidReturnType>
  552. <UndefinedMethod occurrences="5">
  553. <code>getDateTime</code>
  554. <code>getDateTime</code>
  555. <code>hasTime</code>
  556. <code>isFloating</code>
  557. <code>isFloating</code>
  558. </UndefinedMethod>
  559. </file>
  560. <file src="apps/dav/lib/Search/TasksSearchProvider.php">
  561. <UndefinedMethod occurrences="3">
  562. <code>getDateTime</code>
  563. <code>getDateTime</code>
  564. <code>hasTime</code>
  565. </UndefinedMethod>
  566. </file>
  567. <file src="apps/dav/lib/Server.php">
  568. <InvalidArgument occurrences="2">
  569. <code>'OCA\DAV\Connector\Sabre::addPlugin'</code>
  570. <code>'OCA\DAV\Connector\Sabre::authInit'</code>
  571. </InvalidArgument>
  572. <TooManyArguments occurrences="2">
  573. <code>dispatch</code>
  574. <code>dispatch</code>
  575. </TooManyArguments>
  576. </file>
  577. <file src="apps/dav/lib/SystemTag/SystemTagsByIdCollection.php">
  578. <InvalidNullableReturnType occurrences="1">
  579. <code>int</code>
  580. </InvalidNullableReturnType>
  581. <NullableReturnStatement occurrences="1">
  582. <code>null</code>
  583. </NullableReturnStatement>
  584. </file>
  585. <file src="apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php">
  586. <InvalidNullableReturnType occurrences="1">
  587. <code>int</code>
  588. </InvalidNullableReturnType>
  589. <NullableReturnStatement occurrences="1">
  590. <code>null</code>
  591. </NullableReturnStatement>
  592. <ParamNameMismatch occurrences="2">
  593. <code>$tagId</code>
  594. <code>$tagName</code>
  595. </ParamNameMismatch>
  596. </file>
  597. <file src="apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php">
  598. <InvalidNullableReturnType occurrences="1">
  599. <code>int</code>
  600. </InvalidNullableReturnType>
  601. <NullableReturnStatement occurrences="1">
  602. <code>null</code>
  603. </NullableReturnStatement>
  604. <ParamNameMismatch occurrences="1">
  605. <code>$objectName</code>
  606. </ParamNameMismatch>
  607. </file>
  608. <file src="apps/dav/lib/SystemTag/SystemTagsRelationsCollection.php">
  609. <InvalidArgument occurrences="1">
  610. <code>SystemTagsEntityEvent::EVENT_ENTITY</code>
  611. </InvalidArgument>
  612. <TooManyArguments occurrences="1">
  613. <code>dispatch</code>
  614. </TooManyArguments>
  615. </file>
  616. <file src="apps/dav/lib/Traits/PrincipalProxyTrait.php">
  617. <MoreSpecificImplementedParamType occurrences="1">
  618. <code>$members</code>
  619. </MoreSpecificImplementedParamType>
  620. </file>
  621. <file src="apps/dav/lib/Upload/AssemblyStream.php">
  622. <FalsableReturnStatement occurrences="1">
  623. <code>false</code>
  624. </FalsableReturnStatement>
  625. <InvalidPropertyAssignmentValue occurrences="1">
  626. <code>$this-&gt;currentStream</code>
  627. </InvalidPropertyAssignmentValue>
  628. <InvalidReturnStatement occurrences="1">
  629. <code>$context</code>
  630. </InvalidReturnStatement>
  631. <InvalidReturnType occurrences="1">
  632. <code>array</code>
  633. </InvalidReturnType>
  634. <RedundantFunctionCall occurrences="1">
  635. <code>array_values</code>
  636. </RedundantFunctionCall>
  637. </file>
  638. <file src="apps/encryption/lib/Command/ScanLegacyFormat.php">
  639. <InvalidOperand occurrences="1">
  640. <code>$this-&gt;scanFolder($output, '/' . $user)</code>
  641. </InvalidOperand>
  642. </file>
  643. <file src="apps/encryption/lib/Crypto/Crypt.php">
  644. <RedundantCondition occurrences="2">
  645. <code>$userSession</code>
  646. <code>$userSession</code>
  647. </RedundantCondition>
  648. <TypeDoesNotContainType occurrences="1">
  649. <code>get_class($res) === 'OpenSSLAsymmetricKey'</code>
  650. </TypeDoesNotContainType>
  651. </file>
  652. <file src="apps/encryption/lib/Crypto/Encryption.php">
  653. <FalsableReturnStatement occurrences="1">
  654. <code>$result</code>
  655. </FalsableReturnStatement>
  656. <ImplementedParamTypeMismatch occurrences="2">
  657. <code>$position</code>
  658. <code>$position</code>
  659. </ImplementedParamTypeMismatch>
  660. <InvalidNullableReturnType occurrences="1">
  661. <code>boolean</code>
  662. </InvalidNullableReturnType>
  663. </file>
  664. <file src="apps/encryption/lib/KeyManager.php">
  665. <InvalidScalarArgument occurrences="3">
  666. <code>time()</code>
  667. <code>time()</code>
  668. <code>time()</code>
  669. </InvalidScalarArgument>
  670. <InvalidThrow occurrences="1">
  671. <code>throw $exception;</code>
  672. </InvalidThrow>
  673. </file>
  674. <file src="apps/encryption/lib/Recovery.php">
  675. <InvalidScalarArgument occurrences="3">
  676. <code>0</code>
  677. <code>0</code>
  678. <code>1</code>
  679. </InvalidScalarArgument>
  680. </file>
  681. <file src="apps/encryption/lib/Session.php">
  682. <TooManyArguments occurrences="1">
  683. <code>new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0)</code>
  684. </TooManyArguments>
  685. </file>
  686. <file src="apps/encryption/lib/Util.php">
  687. <RedundantCondition occurrences="2">
  688. <code>$userSession</code>
  689. <code>$userSession</code>
  690. </RedundantCondition>
  691. </file>
  692. <file src="apps/federatedfilesharing/lib/Controller/RequestHandlerController.php">
  693. <InvalidScalarArgument occurrences="7">
  694. <code>$id</code>
  695. <code>$id</code>
  696. <code>$id</code>
  697. <code>$id</code>
  698. <code>$id</code>
  699. <code>$id</code>
  700. <code>$remoteId</code>
  701. </InvalidScalarArgument>
  702. <TypeDoesNotContainNull occurrences="3">
  703. <code>$permission === null</code>
  704. <code>$remoteId === null</code>
  705. </TypeDoesNotContainNull>
  706. </file>
  707. <file src="apps/federatedfilesharing/lib/FederatedShareProvider.php">
  708. <InvalidScalarArgument occurrences="5">
  709. <code>$shareId</code>
  710. <code>$shareId</code>
  711. <code>$shareId</code>
  712. <code>$shareId</code>
  713. <code>(int)$data['id']</code>
  714. </InvalidScalarArgument>
  715. </file>
  716. <file src="apps/federatedfilesharing/lib/Notifications.php">
  717. <InvalidReturnType occurrences="3">
  718. <code>bool</code>
  719. <code>bool</code>
  720. <code>bool</code>
  721. </InvalidReturnType>
  722. </file>
  723. <file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php">
  724. <InvalidReturnStatement occurrences="1">
  725. <code>$shareId</code>
  726. </InvalidReturnStatement>
  727. <InvalidReturnType occurrences="1">
  728. <code>string</code>
  729. </InvalidReturnType>
  730. <InvalidScalarArgument occurrences="5">
  731. <code>$id</code>
  732. <code>$id</code>
  733. <code>$id</code>
  734. <code>$id</code>
  735. <code>(int)$share['id']</code>
  736. </InvalidScalarArgument>
  737. </file>
  738. <file src="apps/files/ajax/download.php">
  739. <InvalidArgument occurrences="1">
  740. <code>$files_list</code>
  741. </InvalidArgument>
  742. </file>
  743. <file src="apps/files/lib/Activity/Provider.php">
  744. <FalsableReturnStatement occurrences="1">
  745. <code>$this-&gt;fileEncrypted[$fileId]</code>
  746. </FalsableReturnStatement>
  747. <InvalidScalarArgument occurrences="1">
  748. <code>$id</code>
  749. </InvalidScalarArgument>
  750. <TypeDoesNotContainType occurrences="7">
  751. <code>$this-&gt;fileIsEncrypted</code>
  752. <code>$this-&gt;fileIsEncrypted</code>
  753. <code>$this-&gt;fileIsEncrypted</code>
  754. <code>$this-&gt;fileIsEncrypted</code>
  755. <code>$this-&gt;fileIsEncrypted</code>
  756. <code>$this-&gt;fileIsEncrypted</code>
  757. <code>$this-&gt;fileIsEncrypted</code>
  758. </TypeDoesNotContainType>
  759. </file>
  760. <file src="apps/files/lib/Command/ScanAppData.php">
  761. <NullArgument occurrences="2">
  762. <code>null</code>
  763. <code>null</code>
  764. </NullArgument>
  765. </file>
  766. <file src="apps/files/lib/Controller/DirectEditingController.php">
  767. <InvalidArgument occurrences="1">
  768. <code>$templateId</code>
  769. </InvalidArgument>
  770. <UndefinedInterfaceMethod occurrences="2">
  771. <code>getTemplates</code>
  772. <code>open</code>
  773. </UndefinedInterfaceMethod>
  774. </file>
  775. <file src="apps/files/lib/Controller/ViewController.php">
  776. <InvalidScalarArgument occurrences="1">
  777. <code>$fileId</code>
  778. </InvalidScalarArgument>
  779. <UndefinedInterfaceMethod occurrences="3">
  780. <code>getById</code>
  781. <code>getRelativePath</code>
  782. <code>getRelativePath</code>
  783. </UndefinedInterfaceMethod>
  784. </file>
  785. <file src="apps/files/lib/Helper.php">
  786. <UndefinedInterfaceMethod occurrences="13">
  787. <code>$file</code>
  788. <code>$i</code>
  789. <code>$i</code>
  790. <code>$i</code>
  791. <code>$i</code>
  792. <code>$i</code>
  793. <code>$i</code>
  794. <code>$i</code>
  795. <code>$i</code>
  796. <code>$i</code>
  797. <code>$i</code>
  798. <code>$i</code>
  799. <code>$i</code>
  800. </UndefinedInterfaceMethod>
  801. </file>
  802. <file src="apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php">
  803. <InvalidArgument occurrences="1">
  804. <code>$legacyEvent</code>
  805. </InvalidArgument>
  806. </file>
  807. <file src="apps/files/lib/Service/OwnershipTransferService.php">
  808. <InvalidIterator occurrences="1">
  809. <code>$encryptedFiles</code>
  810. </InvalidIterator>
  811. <TypeDoesNotContainType occurrences="1">
  812. <code>empty($encryptedFiles)</code>
  813. </TypeDoesNotContainType>
  814. <UndefinedInterfaceMethod occurrences="1">
  815. <code>isReadyForUser</code>
  816. </UndefinedInterfaceMethod>
  817. </file>
  818. <file src="apps/files/lib/Service/TagService.php">
  819. <InvalidArgument occurrences="1">
  820. <code>self::class . '::' . $eventName</code>
  821. </InvalidArgument>
  822. <TooManyArguments occurrences="1">
  823. <code>dispatch</code>
  824. </TooManyArguments>
  825. </file>
  826. <file src="apps/files_external/appinfo/routes.php">
  827. <InvalidScope occurrences="1">
  828. <code>$this</code>
  829. </InvalidScope>
  830. </file>
  831. <file src="apps/files_external/lib/Config/ConfigAdapter.php">
  832. <UndefinedClass occurrences="1">
  833. <code>new $objectClass($objectStore)</code>
  834. </UndefinedClass>
  835. </file>
  836. <file src="apps/files_external/lib/Controller/UserGlobalStoragesController.php">
  837. <UndefinedMethod occurrences="1">
  838. <code>getUniqueStorages</code>
  839. </UndefinedMethod>
  840. </file>
  841. <file src="apps/files_external/lib/Lib/Auth/Password/LoginCredentials.php">
  842. <InvalidArgument occurrences="2">
  843. <code>addServiceListener</code>
  844. <code>addServiceListener</code>
  845. </InvalidArgument>
  846. </file>
  847. <file src="apps/files_external/lib/Lib/Storage/SFTP.php">
  848. <InternalMethod occurrences="1">
  849. <code>put</code>
  850. </InternalMethod>
  851. </file>
  852. <file src="apps/files_external/lib/Lib/Storage/Swift.php">
  853. <InvalidArgument occurrences="1">
  854. <code>$object-&gt;lastModified</code>
  855. </InvalidArgument>
  856. <InvalidNullableReturnType occurrences="2">
  857. <code>filetype</code>
  858. <code>fopen</code>
  859. </InvalidNullableReturnType>
  860. </file>
  861. <file src="apps/files_external/lib/Migration/DummyUserSession.php">
  862. <InvalidReturnType occurrences="1">
  863. <code>login</code>
  864. </InvalidReturnType>
  865. </file>
  866. <file src="apps/files_external/lib/MountConfig.php">
  867. <InternalMethod occurrences="4">
  868. <code>decrypt</code>
  869. <code>encrypt</code>
  870. <code>setIV</code>
  871. <code>setIV</code>
  872. </InternalMethod>
  873. <TooManyArguments occurrences="1">
  874. <code>test</code>
  875. </TooManyArguments>
  876. </file>
  877. <file src="apps/files_external/lib/Service/BackendService.php">
  878. <InvalidArgument occurrences="1">
  879. <code>'OCA\\Files_External::loadAdditionalBackends'</code>
  880. </InvalidArgument>
  881. <TooManyArguments occurrences="1">
  882. <code>dispatch</code>
  883. </TooManyArguments>
  884. </file>
  885. <file src="apps/files_sharing/lib/AppInfo/Application.php">
  886. <InvalidArgument occurrences="6">
  887. <code>addServiceListener</code>
  888. <code>addServiceListener</code>
  889. <code>addServiceListener</code>
  890. <code>addServiceListener</code>
  891. <code>addServiceListener</code>
  892. <code>addServiceListener</code>
  893. </InvalidArgument>
  894. </file>
  895. <file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
  896. <UndefinedClass occurrences="2">
  897. <code>\OCA\Circles\Api\v1\Circles</code>
  898. <code>\OCA\Circles\Api\v1\Circles</code>
  899. </UndefinedClass>
  900. <UndefinedDocblockClass occurrences="4">
  901. <code>$this-&gt;getRoomShareHelper()</code>
  902. <code>$this-&gt;getRoomShareHelper()</code>
  903. <code>$this-&gt;getRoomShareHelper()</code>
  904. <code>\OCA\Talk\Share\Helper\ShareAPIController</code>
  905. </UndefinedDocblockClass>
  906. </file>
  907. <file src="apps/files_sharing/lib/Controller/ShareController.php">
  908. <InvalidArgument occurrences="1">
  909. <code>$files_list</code>
  910. </InvalidArgument>
  911. </file>
  912. <file src="apps/files_sharing/lib/External/Scanner.php">
  913. <MoreSpecificImplementedParamType occurrences="1">
  914. <code>$cacheData</code>
  915. </MoreSpecificImplementedParamType>
  916. </file>
  917. <file src="apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php">
  918. <InvalidArgument occurrences="1">
  919. <code>$legacyEvent</code>
  920. </InvalidArgument>
  921. </file>
  922. <file src="apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php">
  923. <InvalidArgument occurrences="1">
  924. <code>$exception-&gt;getMessage()</code>
  925. </InvalidArgument>
  926. </file>
  927. <file src="apps/files_sharing/lib/MountProvider.php">
  928. <RedundantFunctionCall occurrences="1">
  929. <code>array_values</code>
  930. </RedundantFunctionCall>
  931. </file>
  932. <file src="apps/files_sharing/lib/ShareBackend/File.php">
  933. <InvalidScalarArgument occurrences="2">
  934. <code>$itemSource</code>
  935. <code>$itemSource</code>
  936. </InvalidScalarArgument>
  937. <MoreSpecificImplementedParamType occurrences="1">
  938. <code>$shareWith</code>
  939. </MoreSpecificImplementedParamType>
  940. </file>
  941. <file src="apps/files_sharing/lib/ShareBackend/Folder.php">
  942. <UndefinedInterfaceMethod occurrences="1">
  943. <code>fetchRow</code>
  944. </UndefinedInterfaceMethod>
  945. </file>
  946. <file src="apps/files_sharing/lib/SharedMount.php">
  947. <InvalidReturnType occurrences="1">
  948. <code>bool</code>
  949. </InvalidReturnType>
  950. </file>
  951. <file src="apps/files_sharing/lib/SharedStorage.php">
  952. <FalsableReturnStatement occurrences="1">
  953. <code>$this-&gt;sourceRootInfo</code>
  954. </FalsableReturnStatement>
  955. <InvalidNullableReturnType occurrences="1">
  956. <code>ICacheEntry</code>
  957. </InvalidNullableReturnType>
  958. <InvalidReturnStatement occurrences="1">
  959. <code>new FailedCache()</code>
  960. </InvalidReturnStatement>
  961. <NullableReturnStatement occurrences="1">
  962. <code>$this-&gt;sourceRootInfo</code>
  963. </NullableReturnStatement>
  964. <ParamNameMismatch occurrences="2">
  965. <code>$available</code>
  966. <code>$target</code>
  967. </ParamNameMismatch>
  968. </file>
  969. <file src="apps/files_sharing/lib/Updater.php">
  970. <UndefinedMethod occurrences="1">
  971. <code>moveMount</code>
  972. </UndefinedMethod>
  973. </file>
  974. <file src="apps/files_trashbin/lib/Sabre/AbstractTrash.php">
  975. <InvalidNullableReturnType occurrences="1">
  976. <code>int</code>
  977. </InvalidNullableReturnType>
  978. <NullableReturnStatement occurrences="1">
  979. <code>$this-&gt;data-&gt;getId()</code>
  980. </NullableReturnStatement>
  981. </file>
  982. <file src="apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php">
  983. <InvalidReturnStatement occurrences="1">
  984. <code>$entry</code>
  985. </InvalidReturnStatement>
  986. <InvalidReturnType occurrences="1">
  987. <code>ITrash</code>
  988. </InvalidReturnType>
  989. </file>
  990. <file src="apps/files_trashbin/lib/Sabre/RestoreFolder.php">
  991. <InvalidNullableReturnType occurrences="1">
  992. <code>getChild</code>
  993. </InvalidNullableReturnType>
  994. <NullableReturnStatement occurrences="1">
  995. <code>null</code>
  996. </NullableReturnStatement>
  997. </file>
  998. <file src="apps/files_trashbin/lib/Sabre/RootCollection.php">
  999. <MismatchingDocblockReturnType occurrences="1">
  1000. <code>INode</code>
  1001. </MismatchingDocblockReturnType>
  1002. </file>
  1003. <file src="apps/files_trashbin/lib/Sabre/TrashRoot.php">
  1004. <InvalidReturnStatement occurrences="1">
  1005. <code>$entry</code>
  1006. </InvalidReturnStatement>
  1007. <InvalidReturnType occurrences="1">
  1008. <code>ITrash</code>
  1009. </InvalidReturnType>
  1010. </file>
  1011. <file src="apps/files_trashbin/lib/Storage.php">
  1012. <InvalidArgument occurrences="1">
  1013. <code>'OCA\Files_Trashbin::moveToTrash'</code>
  1014. </InvalidArgument>
  1015. <InvalidOperand occurrences="1">
  1016. <code>$this-&gt;mountPoint</code>
  1017. </InvalidOperand>
  1018. <TooManyArguments occurrences="1">
  1019. <code>dispatch</code>
  1020. </TooManyArguments>
  1021. </file>
  1022. <file src="apps/files_trashbin/lib/Trash/LegacyTrashBackend.php">
  1023. <RedundantCondition occurrences="2">
  1024. <code>$trashFiles</code>
  1025. <code>$trashFiles</code>
  1026. </RedundantCondition>
  1027. <TypeDoesNotContainType occurrences="1">
  1028. <code>null</code>
  1029. </TypeDoesNotContainType>
  1030. <UndefinedInterfaceMethod occurrences="2">
  1031. <code>$file</code>
  1032. <code>getById</code>
  1033. </UndefinedInterfaceMethod>
  1034. </file>
  1035. <file src="apps/files_trashbin/lib/Trashbin.php">
  1036. <FalsableReturnStatement occurrences="1">
  1037. <code>false</code>
  1038. </FalsableReturnStatement>
  1039. <InvalidScalarArgument occurrences="2">
  1040. <code>$timestamp</code>
  1041. <code>$timestamp</code>
  1042. </InvalidScalarArgument>
  1043. </file>
  1044. <file src="apps/files_versions/appinfo/routes.php">
  1045. <InvalidScope occurrences="2">
  1046. <code>$this</code>
  1047. <code>$this</code>
  1048. </InvalidScope>
  1049. </file>
  1050. <file src="apps/files_versions/lib/Sabre/RestoreFolder.php">
  1051. <InvalidNullableReturnType occurrences="1">
  1052. <code>getChild</code>
  1053. </InvalidNullableReturnType>
  1054. <NullableReturnStatement occurrences="1">
  1055. <code>null</code>
  1056. </NullableReturnStatement>
  1057. </file>
  1058. <file src="apps/files_versions/lib/Sabre/VersionHome.php">
  1059. <InvalidNullableReturnType occurrences="1">
  1060. <code>getChild</code>
  1061. </InvalidNullableReturnType>
  1062. </file>
  1063. <file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php">
  1064. <InvalidScalarArgument occurrences="1">
  1065. <code>$this-&gt;retries + 1</code>
  1066. </InvalidScalarArgument>
  1067. </file>
  1068. <file src="apps/oauth2/lib/Controller/OauthApiController.php">
  1069. <NoInterfaceProperties occurrences="1">
  1070. <code>$this-&gt;request-&gt;server</code>
  1071. </NoInterfaceProperties>
  1072. </file>
  1073. <file src="apps/oauth2/lib/Db/AccessTokenMapper.php">
  1074. <InvalidCatch occurrences="1"/>
  1075. </file>
  1076. <file src="apps/oauth2/lib/Db/ClientMapper.php">
  1077. <InvalidCatch occurrences="2"/>
  1078. </file>
  1079. <file src="apps/provisioning_api/lib/Controller/UsersController.php">
  1080. <TypeDoesNotContainNull occurrences="2">
  1081. <code>$groupid === null</code>
  1082. <code>$groupid === null</code>
  1083. </TypeDoesNotContainNull>
  1084. </file>
  1085. <file src="apps/settings/lib/AppInfo/Application.php">
  1086. <InvalidArgument occurrences="1">
  1087. <code>AppPasswordCreatedActivityListener::class</code>
  1088. </InvalidArgument>
  1089. <UndefinedInterfaceMethod occurrences="1">
  1090. <code>getSettingsManager</code>
  1091. </UndefinedInterfaceMethod>
  1092. </file>
  1093. <file src="apps/settings/lib/Controller/AppSettingsController.php">
  1094. <UndefinedInterfaceMethod occurrences="1">
  1095. <code>ignoreNextcloudRequirementForApp</code>
  1096. </UndefinedInterfaceMethod>
  1097. </file>
  1098. <file src="apps/settings/lib/Controller/CheckSetupController.php">
  1099. <InvalidArgument occurrences="3">
  1100. <code>IDBConnection::CHECK_MISSING_COLUMNS_EVENT</code>
  1101. <code>IDBConnection::CHECK_MISSING_INDEXES_EVENT</code>
  1102. <code>IDBConnection::CHECK_MISSING_PRIMARY_KEYS_EVENT</code>
  1103. </InvalidArgument>
  1104. <InvalidOperand occurrences="1">
  1105. <code>$lastCronRun</code>
  1106. </InvalidOperand>
  1107. <InvalidScalarArgument occurrences="2">
  1108. <code>$lastCronRun</code>
  1109. <code>0</code>
  1110. </InvalidScalarArgument>
  1111. <TooManyArguments occurrences="3">
  1112. <code>dispatch</code>
  1113. <code>dispatch</code>
  1114. <code>dispatch</code>
  1115. </TooManyArguments>
  1116. </file>
  1117. <file src="apps/settings/lib/Hooks.php">
  1118. <InvalidArrayOffset occurrences="1">
  1119. <code>[$user-&gt;getEMailAddress() =&gt; $user-&gt;getDisplayName()]</code>
  1120. </InvalidArrayOffset>
  1121. </file>
  1122. <file src="apps/settings/lib/Settings/Admin/Security.php">
  1123. <UndefinedInterfaceMethod occurrences="1">
  1124. <code>isReady</code>
  1125. </UndefinedInterfaceMethod>
  1126. </file>
  1127. <file src="apps/settings/lib/Settings/Admin/Sharing.php">
  1128. <InvalidScalarArgument occurrences="1">
  1129. <code>Constants::PERMISSION_ALL</code>
  1130. </InvalidScalarArgument>
  1131. <NullArgument occurrences="1">
  1132. <code>null</code>
  1133. </NullArgument>
  1134. </file>
  1135. <file src="apps/sharebymail/lib/ShareByMailProvider.php">
  1136. <InvalidScalarArgument occurrences="2">
  1137. <code>$share-&gt;getId()</code>
  1138. <code>(int)$data['id']</code>
  1139. </InvalidScalarArgument>
  1140. </file>
  1141. <file src="apps/systemtags/lib/Activity/Listener.php">
  1142. <InvalidScalarArgument occurrences="2">
  1143. <code>$event-&gt;getObjectId()</code>
  1144. <code>$event-&gt;getObjectId()</code>
  1145. </InvalidScalarArgument>
  1146. </file>
  1147. <file src="apps/updatenotification/lib/Controller/AdminController.php">
  1148. <InvalidScalarArgument occurrences="2">
  1149. <code>$this-&gt;timeFactory-&gt;getTime()</code>
  1150. <code>0</code>
  1151. </InvalidScalarArgument>
  1152. </file>
  1153. <file src="apps/updatenotification/lib/Notification/BackgroundJob.php">
  1154. <InvalidArgument occurrences="1">
  1155. <code>false</code>
  1156. </InvalidArgument>
  1157. <InvalidPropertyAssignmentValue occurrences="1">
  1158. <code>$this-&gt;users</code>
  1159. </InvalidPropertyAssignmentValue>
  1160. <InvalidScalarArgument occurrences="1">
  1161. <code>0</code>
  1162. </InvalidScalarArgument>
  1163. </file>
  1164. <file src="apps/updatenotification/lib/Notification/Notifier.php">
  1165. <InvalidScalarArgument occurrences="1">
  1166. <code>0</code>
  1167. </InvalidScalarArgument>
  1168. </file>
  1169. <file src="apps/updatenotification/lib/Settings/Admin.php">
  1170. <InvalidScalarArgument occurrences="1">
  1171. <code>$lastUpdateCheckTimestamp</code>
  1172. </InvalidScalarArgument>
  1173. </file>
  1174. <file src="apps/user_ldap/ajax/getNewServerConfigPrefix.php">
  1175. <InvalidScalarArgument occurrences="1">
  1176. <code>$ln + 1</code>
  1177. </InvalidScalarArgument>
  1178. </file>
  1179. <file src="apps/user_ldap/appinfo/routes.php">
  1180. <InvalidScope occurrences="1">
  1181. <code>$this</code>
  1182. </InvalidScope>
  1183. </file>
  1184. <file src="apps/user_ldap/lib/Access.php">
  1185. <InvalidReturnStatement occurrences="2">
  1186. <code>$uuid</code>
  1187. <code>$values</code>
  1188. </InvalidReturnStatement>
  1189. <InvalidReturnType occurrences="1">
  1190. <code>string[]</code>
  1191. </InvalidReturnType>
  1192. </file>
  1193. <file src="apps/user_ldap/lib/AppInfo/Application.php">
  1194. <InvalidArgument occurrences="1">
  1195. <code>'OCA\\User_LDAP\\User\\User::postLDAPBackendAdded'</code>
  1196. </InvalidArgument>
  1197. <TooManyArguments occurrences="1">
  1198. <code>dispatch</code>
  1199. </TooManyArguments>
  1200. </file>
  1201. <file src="apps/user_ldap/lib/Connection.php">
  1202. <ParadoxicalCondition occurrences="1"/>
  1203. </file>
  1204. <file src="apps/user_ldap/lib/Group_LDAP.php">
  1205. <InvalidScalarArgument occurrences="1">
  1206. <code>$groupID</code>
  1207. </InvalidScalarArgument>
  1208. </file>
  1209. <file src="apps/user_ldap/lib/Group_Proxy.php">
  1210. <ParamNameMismatch occurrences="1">
  1211. <code>$gid</code>
  1212. </ParamNameMismatch>
  1213. </file>
  1214. <file src="apps/user_ldap/lib/Jobs/Sync.php">
  1215. <InvalidOperand occurrences="2">
  1216. <code>$i</code>
  1217. <code>$lastChange</code>
  1218. </InvalidOperand>
  1219. <InvalidScalarArgument occurrences="5">
  1220. <code>$interval</code>
  1221. <code>0</code>
  1222. <code>0</code>
  1223. <code>self::MIN_INTERVAL</code>
  1224. </InvalidScalarArgument>
  1225. <NullArgument occurrences="1">
  1226. <code>null</code>
  1227. </NullArgument>
  1228. </file>
  1229. <file src="apps/user_ldap/lib/Mapping/AbstractMapping.php">
  1230. <RedundantCondition occurrences="1">
  1231. <code>isset($qb)</code>
  1232. </RedundantCondition>
  1233. <TypeDoesNotContainNull occurrences="1">
  1234. <code>isset($qb)</code>
  1235. </TypeDoesNotContainNull>
  1236. </file>
  1237. <file src="apps/user_ldap/lib/Proxy.php">
  1238. <InvalidDocblock occurrences="1">
  1239. <code>protected function handleRequest($id, $method, $parameters, $passOnWhen = false) {</code>
  1240. </InvalidDocblock>
  1241. </file>
  1242. <file src="apps/user_ldap/lib/User/Manager.php">
  1243. <InvalidDocblock occurrences="1">
  1244. <code>public function setLdapAccess(Access $access) {</code>
  1245. </InvalidDocblock>
  1246. </file>
  1247. <file src="apps/user_ldap/lib/User/User.php">
  1248. <FalsableReturnStatement occurrences="1">
  1249. <code>$this-&gt;avatarImage</code>
  1250. </FalsableReturnStatement>
  1251. <InvalidPropertyAssignmentValue occurrences="1">
  1252. <code>$this-&gt;refreshedFeatures</code>
  1253. </InvalidPropertyAssignmentValue>
  1254. <InvalidReturnType occurrences="1">
  1255. <code>null</code>
  1256. </InvalidReturnType>
  1257. <InvalidScalarArgument occurrences="2">
  1258. <code>1</code>
  1259. <code>true</code>
  1260. </InvalidScalarArgument>
  1261. </file>
  1262. <file src="apps/user_ldap/lib/User_LDAP.php">
  1263. <ImplementedReturnTypeMismatch occurrences="1">
  1264. <code>string|false</code>
  1265. </ImplementedReturnTypeMismatch>
  1266. <MoreSpecificImplementedParamType occurrences="2">
  1267. <code>$limit</code>
  1268. <code>$offset</code>
  1269. </MoreSpecificImplementedParamType>
  1270. <NullableReturnStatement occurrences="1">
  1271. <code>null</code>
  1272. </NullableReturnStatement>
  1273. </file>
  1274. <file src="apps/user_ldap/lib/User_Proxy.php">
  1275. <ParamNameMismatch occurrences="1">
  1276. <code>$uid</code>
  1277. </ParamNameMismatch>
  1278. </file>
  1279. <file src="apps/user_status/lib/AppInfo/Application.php">
  1280. <UndefinedInterfaceMethod occurrences="1">
  1281. <code>registerProvider</code>
  1282. </UndefinedInterfaceMethod>
  1283. </file>
  1284. <file src="apps/workflowengine/lib/Check/AbstractStringCheck.php">
  1285. <NullArgument occurrences="1">
  1286. <code>null</code>
  1287. </NullArgument>
  1288. </file>
  1289. <file src="apps/workflowengine/lib/Check/FileMimeType.php">
  1290. <InvalidScalarArgument occurrences="1">
  1291. <code>$path</code>
  1292. </InvalidScalarArgument>
  1293. </file>
  1294. <file src="apps/workflowengine/lib/Check/FileSize.php">
  1295. <FalsableReturnStatement occurrences="1">
  1296. <code>$this-&gt;size</code>
  1297. </FalsableReturnStatement>
  1298. <InvalidPropertyAssignmentValue occurrences="1">
  1299. <code>$size</code>
  1300. </InvalidPropertyAssignmentValue>
  1301. <InvalidReturnStatement occurrences="1">
  1302. <code>$this-&gt;size</code>
  1303. </InvalidReturnStatement>
  1304. <InvalidReturnType occurrences="1">
  1305. <code>string</code>
  1306. </InvalidReturnType>
  1307. </file>
  1308. <file src="apps/workflowengine/lib/Check/RequestRemoteAddress.php">
  1309. <InvalidScalarArgument occurrences="4">
  1310. <code>$decodedValue[1]</code>
  1311. <code>$decodedValue[1]</code>
  1312. <code>$decodedValue[1]</code>
  1313. <code>$decodedValue[1]</code>
  1314. </InvalidScalarArgument>
  1315. </file>
  1316. <file src="apps/workflowengine/lib/Check/RequestTime.php">
  1317. <InvalidScalarArgument occurrences="2">
  1318. <code>$hour1</code>
  1319. <code>$minute1</code>
  1320. </InvalidScalarArgument>
  1321. </file>
  1322. <file src="apps/workflowengine/lib/Check/TFileCheck.php">
  1323. <InvalidArgument occurrences="1">
  1324. <code>['app' =&gt; Application::APP_ID, 'class' =&gt; get_class($subject)]</code>
  1325. </InvalidArgument>
  1326. </file>
  1327. <file src="apps/workflowengine/lib/Entity/File.php">
  1328. <InvalidReturnType occurrences="1">
  1329. <code>string</code>
  1330. </InvalidReturnType>
  1331. </file>
  1332. <file src="apps/workflowengine/lib/Manager.php">
  1333. <InvalidArgument occurrences="3">
  1334. <code>IManager::EVENT_NAME_REG_CHECK</code>
  1335. <code>IManager::EVENT_NAME_REG_ENTITY</code>
  1336. <code>IManager::EVENT_NAME_REG_OPERATION</code>
  1337. </InvalidArgument>
  1338. <InvalidOperand occurrences="1">
  1339. <code>$result</code>
  1340. </InvalidOperand>
  1341. <InvalidReturnStatement occurrences="1">
  1342. <code>$result</code>
  1343. </InvalidReturnStatement>
  1344. <InvalidReturnType occurrences="1">
  1345. <code>bool</code>
  1346. </InvalidReturnType>
  1347. <InvalidScalarArgument occurrences="1">
  1348. <code>$missingCheck</code>
  1349. </InvalidScalarArgument>
  1350. <TooManyArguments occurrences="3">
  1351. <code>dispatch</code>
  1352. <code>dispatch</code>
  1353. <code>dispatch</code>
  1354. </TooManyArguments>
  1355. </file>
  1356. <file src="apps/workflowengine/lib/Service/RuleMatcher.php">
  1357. <UndefinedInterfaceMethod occurrences="5">
  1358. <code>getAllConfiguredScopesForOperation</code>
  1359. <code>getChecks</code>
  1360. <code>getOperations</code>
  1361. <code>getOperations</code>
  1362. <code>isUserScopeEnabled</code>
  1363. </UndefinedInterfaceMethod>
  1364. </file>
  1365. <file src="core/Application.php">
  1366. <InvalidArgument occurrences="10">
  1367. <code>addServiceListener</code>
  1368. <code>addServiceListener</code>
  1369. <code>addServiceListener</code>
  1370. <code>addServiceListener</code>
  1371. <code>addServiceListener</code>
  1372. <code>addServiceListener</code>
  1373. <code>addServiceListener</code>
  1374. <code>addServiceListener</code>
  1375. <code>addServiceListener</code>
  1376. <code>addServiceListener</code>
  1377. </InvalidArgument>
  1378. </file>
  1379. <file src="core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php">
  1380. <ParamNameMismatch occurrences="1">
  1381. <code>$arguments</code>
  1382. </ParamNameMismatch>
  1383. </file>
  1384. <file src="core/BackgroundJobs/CheckForUserCertificates.php">
  1385. <ParamNameMismatch occurrences="1">
  1386. <code>$arguments</code>
  1387. </ParamNameMismatch>
  1388. </file>
  1389. <file src="core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php">
  1390. <ParamNameMismatch occurrences="1">
  1391. <code>$arguments</code>
  1392. </ParamNameMismatch>
  1393. </file>
  1394. <file src="core/Command/App/Install.php">
  1395. <TypeDoesNotContainType occurrences="1">
  1396. <code>$result === false</code>
  1397. </TypeDoesNotContainType>
  1398. </file>
  1399. <file src="core/Command/App/ListApps.php">
  1400. <LessSpecificImplementedReturnType occurrences="1">
  1401. <code>array</code>
  1402. </LessSpecificImplementedReturnType>
  1403. </file>
  1404. <file src="core/Command/Config/Import.php">
  1405. <InvalidScalarArgument occurrences="2">
  1406. <code>0</code>
  1407. <code>1</code>
  1408. </InvalidScalarArgument>
  1409. </file>
  1410. <file src="core/Command/Config/ListConfigs.php">
  1411. <FalsableReturnStatement occurrences="1">
  1412. <code>$this-&gt;appConfig-&gt;getValues($app, false)</code>
  1413. </FalsableReturnStatement>
  1414. <TooManyArguments occurrences="1">
  1415. <code>getFilteredValues</code>
  1416. </TooManyArguments>
  1417. </file>
  1418. <file src="core/Command/Db/AddMissingColumns.php">
  1419. <InvalidArgument occurrences="1">
  1420. <code>IDBConnection::ADD_MISSING_COLUMNS_EVENT</code>
  1421. </InvalidArgument>
  1422. <TooManyArguments occurrences="1">
  1423. <code>dispatch</code>
  1424. </TooManyArguments>
  1425. </file>
  1426. <file src="core/Command/Db/AddMissingIndices.php">
  1427. <InvalidArgument occurrences="1">
  1428. <code>IDBConnection::ADD_MISSING_INDEXES_EVENT</code>
  1429. </InvalidArgument>
  1430. <TooManyArguments occurrences="1">
  1431. <code>dispatch</code>
  1432. </TooManyArguments>
  1433. </file>
  1434. <file src="core/Command/Db/AddMissingPrimaryKeys.php">
  1435. <InvalidArgument occurrences="1">
  1436. <code>IDBConnection::ADD_MISSING_PRIMARY_KEYS_EVENT</code>
  1437. </InvalidArgument>
  1438. <TooManyArguments occurrences="1">
  1439. <code>dispatch</code>
  1440. </TooManyArguments>
  1441. </file>
  1442. <file src="core/Command/Db/ConvertType.php">
  1443. <InvalidScalarArgument occurrences="2">
  1444. <code>0</code>
  1445. <code>1</code>
  1446. </InvalidScalarArgument>
  1447. </file>
  1448. <file src="core/Command/Encryption/Enable.php">
  1449. <NullArgument occurrences="1">
  1450. <code>null</code>
  1451. </NullArgument>
  1452. </file>
  1453. <file src="core/Command/Log/File.php">
  1454. <InvalidReturnStatement occurrences="1">
  1455. <code>[0]</code>
  1456. </InvalidReturnStatement>
  1457. <InvalidReturnType occurrences="1">
  1458. <code>string[]</code>
  1459. </InvalidReturnType>
  1460. </file>
  1461. <file src="core/Command/Log/Manage.php">
  1462. <InvalidScalarArgument occurrences="1">
  1463. <code>$levelNum</code>
  1464. </InvalidScalarArgument>
  1465. </file>
  1466. <file src="core/Command/Maintenance/DataFingerprint.php">
  1467. <InvalidScalarArgument occurrences="1">
  1468. <code>$this-&gt;timeFactory-&gt;getTime()</code>
  1469. </InvalidScalarArgument>
  1470. </file>
  1471. <file src="core/Command/Maintenance/Mimetype/UpdateDB.php">
  1472. <UndefinedInterfaceMethod occurrences="2">
  1473. <code>getAllMappings</code>
  1474. <code>updateFilecache</code>
  1475. </UndefinedInterfaceMethod>
  1476. </file>
  1477. <file src="core/Command/Maintenance/Mimetype/UpdateJS.php">
  1478. <UndefinedInterfaceMethod occurrences="1">
  1479. <code>getAllAliases</code>
  1480. </UndefinedInterfaceMethod>
  1481. </file>
  1482. <file src="core/Command/Preview/Repair.php">
  1483. <UndefinedInterfaceMethod occurrences="2">
  1484. <code>section</code>
  1485. <code>section</code>
  1486. </UndefinedInterfaceMethod>
  1487. </file>
  1488. <file src="core/Command/Preview/ResetRenderedTexts.php">
  1489. <InvalidReturnStatement occurrences="1">
  1490. <code>[]</code>
  1491. </InvalidReturnStatement>
  1492. </file>
  1493. <file src="core/Controller/ClientFlowLoginV2Controller.php">
  1494. <TypeDoesNotContainType occurrences="1">
  1495. <code>!is_string($stateToken)</code>
  1496. </TypeDoesNotContainType>
  1497. </file>
  1498. <file src="core/Controller/CollaborationResourcesController.php">
  1499. <UndefinedInterfaceMethod occurrences="1">
  1500. <code>searchCollections</code>
  1501. </UndefinedInterfaceMethod>
  1502. </file>
  1503. <file src="core/Controller/UnifiedSearchController.php">
  1504. <NullArgument occurrences="1">
  1505. <code>null</code>
  1506. </NullArgument>
  1507. <UndefinedInterfaceMethod occurrences="1">
  1508. <code>findMatchingRoute</code>
  1509. </UndefinedInterfaceMethod>
  1510. </file>
  1511. <file src="core/Middleware/TwoFactorMiddleware.php">
  1512. <NoInterfaceProperties occurrences="1">
  1513. <code>$this-&gt;request-&gt;server</code>
  1514. </NoInterfaceProperties>
  1515. </file>
  1516. <file src="core/routes.php">
  1517. <InvalidScope occurrences="2">
  1518. <code>$this</code>
  1519. </InvalidScope>
  1520. </file>
  1521. <file src="core/templates/layout.public.php">
  1522. <UndefinedInterfaceMethod occurrences="1">
  1523. <code>getIcon</code>
  1524. </UndefinedInterfaceMethod>
  1525. </file>
  1526. <file src="lib/autoloader.php">
  1527. <RedundantCondition occurrences="2">
  1528. <code>$this-&gt;memoryCache</code>
  1529. <code>$this-&gt;memoryCache</code>
  1530. </RedundantCondition>
  1531. </file>
  1532. <file src="lib/base.php">
  1533. <InvalidArgument occurrences="1">
  1534. <code>$restrictions</code>
  1535. </InvalidArgument>
  1536. </file>
  1537. <file src="lib/private/Accounts/AccountManager.php">
  1538. <InvalidArgument occurrences="1">
  1539. <code>'OC\AccountManager::userUpdated'</code>
  1540. </InvalidArgument>
  1541. <TooManyArguments occurrences="1">
  1542. <code>dispatch</code>
  1543. </TooManyArguments>
  1544. </file>
  1545. <file src="lib/private/Activity/Event.php">
  1546. <ParamNameMismatch occurrences="1">
  1547. <code>$affectedUser</code>
  1548. </ParamNameMismatch>
  1549. </file>
  1550. <file src="lib/private/Activity/Manager.php">
  1551. <InvalidPropertyAssignmentValue occurrences="3">
  1552. <code>$this-&gt;filterClasses</code>
  1553. <code>$this-&gt;providerClasses</code>
  1554. <code>$this-&gt;settingsClasses</code>
  1555. </InvalidPropertyAssignmentValue>
  1556. <TypeDoesNotContainType occurrences="1">
  1557. <code>!is_string($currentUserId) &amp;&amp; $currentUserId !== null</code>
  1558. </TypeDoesNotContainType>
  1559. </file>
  1560. <file src="lib/private/AllConfig.php">
  1561. <MoreSpecificImplementedParamType occurrences="1">
  1562. <code>$key</code>
  1563. </MoreSpecificImplementedParamType>
  1564. </file>
  1565. <file src="lib/private/App/AppManager.php">
  1566. <InvalidArgument occurrences="3">
  1567. <code>ManagerEvent::EVENT_APP_DISABLE</code>
  1568. <code>ManagerEvent::EVENT_APP_ENABLE</code>
  1569. <code>ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS</code>
  1570. </InvalidArgument>
  1571. <LessSpecificImplementedReturnType occurrences="2">
  1572. <code>array</code>
  1573. <code>array</code>
  1574. </LessSpecificImplementedReturnType>
  1575. <TooManyArguments occurrences="3">
  1576. <code>dispatch</code>
  1577. <code>dispatch</code>
  1578. <code>dispatch</code>
  1579. </TooManyArguments>
  1580. <TypeDoesNotContainNull occurrences="1">
  1581. <code>$group === null</code>
  1582. </TypeDoesNotContainNull>
  1583. </file>
  1584. <file src="lib/private/App/AppStore/Fetcher/Fetcher.php">
  1585. <TooManyArguments occurrences="1">
  1586. <code>fetch</code>
  1587. </TooManyArguments>
  1588. </file>
  1589. <file src="lib/private/App/DependencyAnalyzer.php">
  1590. <InvalidNullableReturnType occurrences="1">
  1591. <code>bool</code>
  1592. </InvalidNullableReturnType>
  1593. <NullableReturnStatement occurrences="1">
  1594. <code>version_compare($first, $second, $operator)</code>
  1595. </NullableReturnStatement>
  1596. </file>
  1597. <file src="lib/private/App/InfoParser.php">
  1598. <InvalidArrayOffset occurrences="2">
  1599. <code>$array[$element][]</code>
  1600. <code>$array[$element][]</code>
  1601. </InvalidArrayOffset>
  1602. <InvalidReturnStatement occurrences="1">
  1603. <code>(string)$xml</code>
  1604. </InvalidReturnStatement>
  1605. <InvalidReturnType occurrences="1">
  1606. <code>array</code>
  1607. </InvalidReturnType>
  1608. </file>
  1609. <file src="lib/private/AppConfig.php">
  1610. <FalsableReturnStatement occurrences="1">
  1611. <code>$values</code>
  1612. </FalsableReturnStatement>
  1613. <NullableReturnStatement occurrences="1">
  1614. <code>$default</code>
  1615. </NullableReturnStatement>
  1616. </file>
  1617. <file src="lib/private/AppFramework/Bootstrap/Coordinator.php">
  1618. <InvalidPropertyAssignmentValue occurrences="1">
  1619. <code>$this-&gt;bootedApps</code>
  1620. </InvalidPropertyAssignmentValue>
  1621. </file>
  1622. <file src="lib/private/AppFramework/Bootstrap/FunctionInjector.php">
  1623. <UndefinedMethod occurrences="1">
  1624. <code>getName</code>
  1625. </UndefinedMethod>
  1626. </file>
  1627. <file src="lib/private/AppFramework/DependencyInjection/DIContainer.php">
  1628. <ImplementedReturnTypeMismatch occurrences="1">
  1629. <code>boolean|null</code>
  1630. </ImplementedReturnTypeMismatch>
  1631. <InvalidReturnStatement occurrences="1">
  1632. <code>$this-&gt;server</code>
  1633. </InvalidReturnStatement>
  1634. <InvalidReturnType occurrences="2">
  1635. <code>\OCP\IServerContainer</code>
  1636. <code>mixed</code>
  1637. </InvalidReturnType>
  1638. <UndefinedInterfaceMethod occurrences="1">
  1639. <code>getAppDataDir</code>
  1640. </UndefinedInterfaceMethod>
  1641. </file>
  1642. <file src="lib/private/AppFramework/Http/Dispatcher.php">
  1643. <InvalidScalarArgument occurrences="1">
  1644. <code>$throwable-&gt;getCode()</code>
  1645. </InvalidScalarArgument>
  1646. <NoInterfaceProperties occurrences="1">
  1647. <code>$this-&gt;request-&gt;method</code>
  1648. </NoInterfaceProperties>
  1649. <NullArgument occurrences="1">
  1650. <code>null</code>
  1651. </NullArgument>
  1652. </file>
  1653. <file src="lib/private/AppFramework/Http/Output.php">
  1654. <InvalidReturnStatement occurrences="2">
  1655. <code>@readfile($path)</code>
  1656. <code>http_response_code()</code>
  1657. </InvalidReturnStatement>
  1658. <InvalidReturnType occurrences="2">
  1659. <code>bool</code>
  1660. <code>int</code>
  1661. </InvalidReturnType>
  1662. </file>
  1663. <file src="lib/private/AppFramework/Http/Request.php">
  1664. <NullableReturnStatement occurrences="9">
  1665. <code>$host</code>
  1666. <code>$name</code>
  1667. <code>$remoteAddress</code>
  1668. <code>$this-&gt;getOverwriteHost()</code>
  1669. <code>$this-&gt;method</code>
  1670. <code>$uri</code>
  1671. <code>isset($this-&gt;cookies[$key]) ? $this-&gt;cookies[$key] : null</code>
  1672. <code>isset($this-&gt;env[$key]) ? $this-&gt;env[$key] : null</code>
  1673. <code>isset($this-&gt;files[$key]) ? $this-&gt;files[$key] : null</code>
  1674. </NullableReturnStatement>
  1675. <RedundantCondition occurrences="1">
  1676. <code>\is_array($params)</code>
  1677. </RedundantCondition>
  1678. <UndefinedFunction occurrences="1">
  1679. <code>\Sabre\HTTP\decodePath($pathInfo)</code>
  1680. </UndefinedFunction>
  1681. </file>
  1682. <file src="lib/private/AppFramework/Logger.php">
  1683. <InvalidReturnType occurrences="1">
  1684. <code>log</code>
  1685. </InvalidReturnType>
  1686. </file>
  1687. <file src="lib/private/AppFramework/Middleware/AdditionalScriptsMiddleware.php">
  1688. <InvalidArgument occurrences="2">
  1689. <code>TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS</code>
  1690. <code>TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS_LOGGEDIN</code>
  1691. </InvalidArgument>
  1692. <TooManyArguments occurrences="2">
  1693. <code>dispatch</code>
  1694. <code>dispatch</code>
  1695. </TooManyArguments>
  1696. </file>
  1697. <file src="lib/private/AppFramework/Middleware/OCSMiddleware.php">
  1698. <InternalMethod occurrences="1">
  1699. <code>setOCSVersion</code>
  1700. </InternalMethod>
  1701. </file>
  1702. <file src="lib/private/AppFramework/Middleware/Security/CORSMiddleware.php">
  1703. <NoInterfaceProperties occurrences="2">
  1704. <code>$this-&gt;request-&gt;server</code>
  1705. <code>$this-&gt;request-&gt;server</code>
  1706. </NoInterfaceProperties>
  1707. </file>
  1708. <file src="lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php">
  1709. <InvalidScalarArgument occurrences="4">
  1710. <code>$anonLimit</code>
  1711. <code>$anonPeriod</code>
  1712. <code>$userLimit</code>
  1713. <code>$userPeriod</code>
  1714. </InvalidScalarArgument>
  1715. </file>
  1716. <file src="lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php">
  1717. <NoInterfaceProperties occurrences="1">
  1718. <code>$this-&gt;request-&gt;server</code>
  1719. </NoInterfaceProperties>
  1720. <UndefinedClass occurrences="1">
  1721. <code>\OCA\Talk\Controller\PageController</code>
  1722. </UndefinedClass>
  1723. </file>
  1724. <file src="lib/private/AppFramework/Routing/RouteConfig.php">
  1725. <InvalidArrayOffset occurrences="1">
  1726. <code>$action['url-postfix']</code>
  1727. </InvalidArrayOffset>
  1728. </file>
  1729. <file src="lib/private/AppFramework/Services/AppConfig.php">
  1730. <MoreSpecificImplementedParamType occurrences="1">
  1731. <code>$default</code>
  1732. </MoreSpecificImplementedParamType>
  1733. </file>
  1734. <file src="lib/private/Archive/TAR.php">
  1735. <UndefinedDocblockClass occurrences="1">
  1736. <code>$this-&gt;tar-&gt;extractInString($path)</code>
  1737. </UndefinedDocblockClass>
  1738. </file>
  1739. <file src="lib/private/Authentication/LoginCredentials/Store.php">
  1740. <RedundantCondition occurrences="1">
  1741. <code>$trySession</code>
  1742. </RedundantCondition>
  1743. </file>
  1744. <file src="lib/private/Authentication/Token/PublicKeyToken.php">
  1745. <UndefinedMagicMethod occurrences="16"/>
  1746. </file>
  1747. <file src="lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php">
  1748. <InvalidReturnStatement occurrences="1"/>
  1749. <InvalidReturnType occurrences="1">
  1750. <code>int[]</code>
  1751. </InvalidReturnType>
  1752. </file>
  1753. <file src="lib/private/Authentication/TwoFactorAuth/Manager.php">
  1754. <InvalidArgument occurrences="2">
  1755. <code>IProvider::EVENT_FAILED</code>
  1756. <code>IProvider::EVENT_SUCCESS</code>
  1757. </InvalidArgument>
  1758. <InvalidScalarArgument occurrences="2">
  1759. <code>$this-&gt;timeFactory-&gt;getTime()</code>
  1760. <code>$tokenId</code>
  1761. </InvalidScalarArgument>
  1762. <TooManyArguments occurrences="2">
  1763. <code>dispatch</code>
  1764. <code>dispatch</code>
  1765. </TooManyArguments>
  1766. </file>
  1767. <file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php">
  1768. <InvalidArgument occurrences="1">
  1769. <code>$this-&gt;providers</code>
  1770. </InvalidArgument>
  1771. <InvalidPropertyAssignmentValue occurrences="2">
  1772. <code>$this-&gt;providers</code>
  1773. <code>[]</code>
  1774. </InvalidPropertyAssignmentValue>
  1775. <InvalidReturnStatement occurrences="1">
  1776. <code>$this-&gt;providers</code>
  1777. </InvalidReturnStatement>
  1778. <InvalidReturnType occurrences="1">
  1779. <code>IProvider[]</code>
  1780. </InvalidReturnType>
  1781. <UndefinedInterfaceMethod occurrences="1">
  1782. <code>$this-&gt;providers</code>
  1783. </UndefinedInterfaceMethod>
  1784. </file>
  1785. <file src="lib/private/Authentication/TwoFactorAuth/Registry.php">
  1786. <InvalidArrayAccess occurrences="1">
  1787. <code>$provider['provider_id']</code>
  1788. </InvalidArrayAccess>
  1789. </file>
  1790. <file src="lib/private/Authentication/WebAuthn/CredentialRepository.php">
  1791. <InvalidCatch occurrences="2"/>
  1792. </file>
  1793. <file src="lib/private/BackgroundJob/QueuedJob.php">
  1794. <MoreSpecificImplementedParamType occurrences="1">
  1795. <code>$jobList</code>
  1796. </MoreSpecificImplementedParamType>
  1797. </file>
  1798. <file src="lib/private/Cache/File.php">
  1799. <LessSpecificImplementedReturnType occurrences="2">
  1800. <code>bool|mixed</code>
  1801. <code>bool|mixed</code>
  1802. </LessSpecificImplementedReturnType>
  1803. </file>
  1804. <file src="lib/private/Collaboration/Reference/File/FileReferenceEventListener.php">
  1805. <InvalidArgument occurrences="3">
  1806. <code>addServiceListener</code>
  1807. <code>addServiceListener</code>
  1808. <code>addServiceListener</code>
  1809. </InvalidArgument>
  1810. </file>
  1811. <file src="lib/private/Collaboration/Reference/RenderReferenceEventListener.php">
  1812. <InvalidArgument occurrences="1">
  1813. <code>addServiceListener</code>
  1814. </InvalidArgument>
  1815. </file>
  1816. <file src="lib/private/Command/CallableJob.php">
  1817. <ParamNameMismatch occurrences="1">
  1818. <code>$serializedCallable</code>
  1819. </ParamNameMismatch>
  1820. </file>
  1821. <file src="lib/private/Command/ClosureJob.php">
  1822. <ParamNameMismatch occurrences="1">
  1823. <code>$serializedCallable</code>
  1824. </ParamNameMismatch>
  1825. </file>
  1826. <file src="lib/private/Command/CommandJob.php">
  1827. <ParamNameMismatch occurrences="1">
  1828. <code>$serializedCommand</code>
  1829. </ParamNameMismatch>
  1830. </file>
  1831. <file src="lib/private/Comments/Comment.php">
  1832. <ImplementedReturnTypeMismatch occurrences="1">
  1833. <code>\DateTime|null</code>
  1834. </ImplementedReturnTypeMismatch>
  1835. <ParamNameMismatch occurrences="1">
  1836. <code>$timestamp</code>
  1837. </ParamNameMismatch>
  1838. <TypeDoesNotContainType occurrences="1">
  1839. <code>!is_array($mentions[0])</code>
  1840. </TypeDoesNotContainType>
  1841. </file>
  1842. <file src="lib/private/Comments/Manager.php">
  1843. <InvalidDocblock occurrences="1">
  1844. <code>public function getForObjectSince(</code>
  1845. </InvalidDocblock>
  1846. </file>
  1847. <file src="lib/private/Config.php">
  1848. <InvalidOperand occurrences="2">
  1849. <code>$this-&gt;delete($key)</code>
  1850. <code>$this-&gt;set($key, $value)</code>
  1851. </InvalidOperand>
  1852. <UndefinedVariable occurrences="2">
  1853. <code>$CONFIG</code>
  1854. <code>$CONFIG</code>
  1855. </UndefinedVariable>
  1856. </file>
  1857. <file src="lib/private/Console/Application.php">
  1858. <InvalidArgument occurrences="1">
  1859. <code>ConsoleEvent::EVENT_RUN</code>
  1860. </InvalidArgument>
  1861. <NoInterfaceProperties occurrences="1">
  1862. <code>$this-&gt;request-&gt;server</code>
  1863. </NoInterfaceProperties>
  1864. <TooManyArguments occurrences="1">
  1865. <code>dispatch</code>
  1866. </TooManyArguments>
  1867. </file>
  1868. <file src="lib/private/ContactsManager.php">
  1869. <InvalidNullableReturnType occurrences="3">
  1870. <code>IAddressBook</code>
  1871. <code>array</code>
  1872. <code>bool</code>
  1873. </InvalidNullableReturnType>
  1874. <NullableReturnStatement occurrences="5">
  1875. <code>null</code>
  1876. <code>null</code>
  1877. <code>null</code>
  1878. <code>null</code>
  1879. <code>null</code>
  1880. </NullableReturnStatement>
  1881. <ParamNameMismatch occurrences="2">
  1882. <code>$addressBook</code>
  1883. <code>$addressBook</code>
  1884. </ParamNameMismatch>
  1885. </file>
  1886. <file src="lib/private/DB/Adapter.php">
  1887. <InvalidReturnStatement occurrences="1">
  1888. <code>$builder-&gt;execute()</code>
  1889. </InvalidReturnStatement>
  1890. <InvalidReturnType occurrences="1">
  1891. <code>int</code>
  1892. </InvalidReturnType>
  1893. </file>
  1894. <file src="lib/private/DB/AdapterMySQL.php">
  1895. <InternalMethod occurrences="1">
  1896. <code>getParams</code>
  1897. </InternalMethod>
  1898. </file>
  1899. <file src="lib/private/DB/Connection.php">
  1900. <InternalMethod occurrences="1">
  1901. <code>getParams</code>
  1902. </InternalMethod>
  1903. <InvalidReturnStatement occurrences="1">
  1904. <code>$this-&gt;adapter-&gt;lastInsertId($seqName)</code>
  1905. </InvalidReturnStatement>
  1906. <InvalidReturnType occurrences="1">
  1907. <code>string</code>
  1908. </InvalidReturnType>
  1909. <ParamNameMismatch occurrences="2">
  1910. <code>$seqName</code>
  1911. <code>$statement</code>
  1912. </ParamNameMismatch>
  1913. </file>
  1914. <file src="lib/private/DB/MigrationService.php">
  1915. <InvalidOperand occurrences="2">
  1916. <code>$offset</code>
  1917. <code>$offset</code>
  1918. </InvalidOperand>
  1919. </file>
  1920. <file src="lib/private/DB/OracleConnection.php">
  1921. <InvalidArrayAccess occurrences="1">
  1922. <code>$key[0]</code>
  1923. </InvalidArrayAccess>
  1924. </file>
  1925. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php">
  1926. <ImplicitToStringCast occurrences="1">
  1927. <code>$this-&gt;functionBuilder-&gt;lower($x)</code>
  1928. </ImplicitToStringCast>
  1929. <InvalidScalarArgument occurrences="2">
  1930. <code>$y</code>
  1931. <code>$y</code>
  1932. </InvalidScalarArgument>
  1933. </file>
  1934. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php">
  1935. <InternalMethod occurrences="1">
  1936. <code>getParams</code>
  1937. </InternalMethod>
  1938. </file>
  1939. <file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
  1940. <InvalidNullableReturnType occurrences="1">
  1941. <code>string</code>
  1942. </InvalidNullableReturnType>
  1943. <NullableReturnStatement occurrences="1">
  1944. <code>$alias</code>
  1945. </NullableReturnStatement>
  1946. <ParamNameMismatch occurrences="2">
  1947. <code>$groupBys</code>
  1948. <code>$selects</code>
  1949. </ParamNameMismatch>
  1950. </file>
  1951. <file src="lib/private/DB/QueryBuilder/QuoteHelper.php">
  1952. <InvalidNullableReturnType occurrences="1">
  1953. <code>string</code>
  1954. </InvalidNullableReturnType>
  1955. <NullableReturnStatement occurrences="1">
  1956. <code>$string</code>
  1957. </NullableReturnStatement>
  1958. </file>
  1959. <file src="lib/private/DateTimeFormatter.php">
  1960. <FalsableReturnStatement occurrences="1"/>
  1961. <InvalidDocblock occurrences="2">
  1962. <code>public function formatDateSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
  1963. <code>public function formatTimeSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
  1964. </InvalidDocblock>
  1965. <InvalidReturnStatement occurrences="1"/>
  1966. <InvalidReturnType occurrences="1">
  1967. <code>string</code>
  1968. </InvalidReturnType>
  1969. </file>
  1970. <file src="lib/private/DateTimeZone.php">
  1971. <InvalidScalarArgument occurrences="1">
  1972. <code>$timestamp</code>
  1973. </InvalidScalarArgument>
  1974. </file>
  1975. <file src="lib/private/Diagnostics/Query.php">
  1976. <ImplementedReturnTypeMismatch occurrences="1">
  1977. <code>float</code>
  1978. </ImplementedReturnTypeMismatch>
  1979. </file>
  1980. <file src="lib/private/Diagnostics/QueryLogger.php">
  1981. <InvalidReturnType occurrences="1">
  1982. <code>stopQuery</code>
  1983. </InvalidReturnType>
  1984. <InvalidScalarArgument occurrences="1">
  1985. <code>microtime(true)</code>
  1986. </InvalidScalarArgument>
  1987. </file>
  1988. <file src="lib/private/DirectEditing/Manager.php">
  1989. <InvalidReturnStatement occurrences="1">
  1990. <code>$query-&gt;execute()</code>
  1991. </InvalidReturnStatement>
  1992. <InvalidReturnType occurrences="2">
  1993. <code>TemplateResponse</code>
  1994. <code>int</code>
  1995. </InvalidReturnType>
  1996. <UndefinedMethod occurrences="2">
  1997. <code>$template</code>
  1998. <code>$template</code>
  1999. </UndefinedMethod>
  2000. </file>
  2001. <file src="lib/private/DirectEditing/Token.php">
  2002. <UndefinedMethod occurrences="1">
  2003. <code>getShareForToken</code>
  2004. </UndefinedMethod>
  2005. </file>
  2006. <file src="lib/private/Encryption/Keys/Storage.php">
  2007. <InvalidNullableReturnType occurrences="1">
  2008. <code>deleteUserKey</code>
  2009. </InvalidNullableReturnType>
  2010. <NullArgument occurrences="3">
  2011. <code>null</code>
  2012. <code>null</code>
  2013. <code>null</code>
  2014. </NullArgument>
  2015. </file>
  2016. <file src="lib/private/Encryption/Manager.php">
  2017. <ImplementedReturnTypeMismatch occurrences="1">
  2018. <code>bool</code>
  2019. </ImplementedReturnTypeMismatch>
  2020. </file>
  2021. <file src="lib/private/EventDispatcher/EventDispatcher.php">
  2022. <TooManyArguments occurrences="1">
  2023. <code>dispatch</code>
  2024. </TooManyArguments>
  2025. </file>
  2026. <file src="lib/private/EventDispatcher/SymfonyAdapter.php">
  2027. <ImplementedParamTypeMismatch occurrences="1">
  2028. <code>$eventName</code>
  2029. </ImplementedParamTypeMismatch>
  2030. <ParamNameMismatch occurrences="1">
  2031. <code>$eventName</code>
  2032. </ParamNameMismatch>
  2033. <TooManyArguments occurrences="1">
  2034. <code>dispatch</code>
  2035. </TooManyArguments>
  2036. </file>
  2037. <file src="lib/private/Federation/CloudFederationProviderManager.php">
  2038. <ParamNameMismatch occurrences="1">
  2039. <code>$providerId</code>
  2040. </ParamNameMismatch>
  2041. </file>
  2042. <file src="lib/private/Files/Cache/Cache.php">
  2043. <InvalidArgument occurrences="1">
  2044. <code>$parentData</code>
  2045. </InvalidArgument>
  2046. <InvalidNullableReturnType occurrences="1">
  2047. <code>array</code>
  2048. </InvalidNullableReturnType>
  2049. <InvalidScalarArgument occurrences="3">
  2050. <code>$path</code>
  2051. <code>$path</code>
  2052. <code>\OC_Util::normalizeUnicode($path)</code>
  2053. </InvalidScalarArgument>
  2054. <NullableReturnStatement occurrences="2">
  2055. <code>null</code>
  2056. <code>null</code>
  2057. </NullableReturnStatement>
  2058. <ParamNameMismatch occurrences="1">
  2059. <code>$searchQuery</code>
  2060. </ParamNameMismatch>
  2061. </file>
  2062. <file src="lib/private/Files/Cache/FailedCache.php">
  2063. <InvalidReturnStatement occurrences="1">
  2064. <code>[]</code>
  2065. </InvalidReturnStatement>
  2066. <InvalidReturnType occurrences="3">
  2067. <code>getIncomplete</code>
  2068. <code>insert</code>
  2069. <code>put</code>
  2070. </InvalidReturnType>
  2071. </file>
  2072. <file src="lib/private/Files/Cache/HomeCache.php">
  2073. <FalsableReturnStatement occurrences="1">
  2074. <code>$data</code>
  2075. </FalsableReturnStatement>
  2076. <MoreSpecificImplementedParamType occurrences="1">
  2077. <code>$path</code>
  2078. </MoreSpecificImplementedParamType>
  2079. <ParamNameMismatch occurrences="1">
  2080. <code>$path</code>
  2081. </ParamNameMismatch>
  2082. </file>
  2083. <file src="lib/private/Files/Cache/Scanner.php">
  2084. <InvalidReturnStatement occurrences="1">
  2085. <code>$existingChildren</code>
  2086. </InvalidReturnStatement>
  2087. <InvalidReturnType occurrences="1">
  2088. <code>array[]</code>
  2089. </InvalidReturnType>
  2090. <InvalidScalarArgument occurrences="1">
  2091. <code>self::SCAN_RECURSIVE_INCOMPLETE</code>
  2092. </InvalidScalarArgument>
  2093. </file>
  2094. <file src="lib/private/Files/Cache/Storage.php">
  2095. <InvalidNullableReturnType occurrences="1">
  2096. <code>array</code>
  2097. </InvalidNullableReturnType>
  2098. <NullableReturnStatement occurrences="1">
  2099. <code>self::getGlobalCache()-&gt;getStorageInfo($storageId)</code>
  2100. </NullableReturnStatement>
  2101. </file>
  2102. <file src="lib/private/Files/Cache/Updater.php">
  2103. <RedundantCondition occurrences="1">
  2104. <code>$this-&gt;cache instanceof Cache</code>
  2105. </RedundantCondition>
  2106. </file>
  2107. <file src="lib/private/Files/Cache/Wrapper/CacheWrapper.php">
  2108. <LessSpecificImplementedReturnType occurrences="1">
  2109. <code>array</code>
  2110. </LessSpecificImplementedReturnType>
  2111. <ParamNameMismatch occurrences="1">
  2112. <code>$searchQuery</code>
  2113. </ParamNameMismatch>
  2114. </file>
  2115. <file src="lib/private/Files/Config/MountProviderCollection.php">
  2116. <InvalidOperand occurrences="1">
  2117. <code>$user</code>
  2118. </InvalidOperand>
  2119. <RedundantCondition occurrences="1">
  2120. <code>get_class($provider) !== 'OCA\Files_Sharing\MountProvider'</code>
  2121. </RedundantCondition>
  2122. <TypeDoesNotContainType occurrences="1">
  2123. <code>get_class($provider) === 'OCA\Files_Sharing\MountProvider'</code>
  2124. </TypeDoesNotContainType>
  2125. </file>
  2126. <file src="lib/private/Files/Config/UserMountCache.php">
  2127. <InvalidReturnType occurrences="2">
  2128. <code>remoteStorageMounts</code>
  2129. <code>removeUserStorageMount</code>
  2130. </InvalidReturnType>
  2131. <LessSpecificImplementedReturnType occurrences="1">
  2132. <code>array</code>
  2133. </LessSpecificImplementedReturnType>
  2134. </file>
  2135. <file src="lib/private/Files/Filesystem.php">
  2136. <InvalidNullableReturnType occurrences="1">
  2137. <code>string</code>
  2138. </InvalidNullableReturnType>
  2139. <InvalidReturnStatement occurrences="1">
  2140. <code>self::$defaultInstance-&gt;toTmpFile($path)</code>
  2141. </InvalidReturnStatement>
  2142. <InvalidReturnType occurrences="1">
  2143. <code>string</code>
  2144. </InvalidReturnType>
  2145. <NullableReturnStatement occurrences="1">
  2146. <code>null</code>
  2147. </NullableReturnStatement>
  2148. <TooManyArguments occurrences="1">
  2149. <code>addStorageWrapper</code>
  2150. </TooManyArguments>
  2151. </file>
  2152. <file src="lib/private/Files/Mount/MountPoint.php">
  2153. <InvalidScalarArgument occurrences="1">
  2154. <code>$exception-&gt;getCode()</code>
  2155. </InvalidScalarArgument>
  2156. <UndefinedInterfaceMethod occurrences="1">
  2157. <code>wrap</code>
  2158. </UndefinedInterfaceMethod>
  2159. </file>
  2160. <file src="lib/private/Files/Mount/ObjectHomeMountProvider.php">
  2161. <InvalidNullableReturnType occurrences="1">
  2162. <code>\OCP\Files\Mount\IMountPoint</code>
  2163. </InvalidNullableReturnType>
  2164. <NullableReturnStatement occurrences="1">
  2165. <code>null</code>
  2166. </NullableReturnStatement>
  2167. </file>
  2168. <file src="lib/private/Files/Node/File.php">
  2169. <InvalidReturnStatement occurrences="1">
  2170. <code>$this-&gt;view-&gt;hash($type, $this-&gt;path, $raw)</code>
  2171. </InvalidReturnStatement>
  2172. <InvalidReturnType occurrences="1">
  2173. <code>string</code>
  2174. </InvalidReturnType>
  2175. </file>
  2176. <file src="lib/private/Files/Node/Folder.php">
  2177. <MoreSpecificImplementedParamType occurrences="1">
  2178. <code>$node</code>
  2179. </MoreSpecificImplementedParamType>
  2180. </file>
  2181. <file src="lib/private/Files/Node/HookConnector.php">
  2182. <InvalidArgument occurrences="13">
  2183. <code>'\OCP\Files::postCopy'</code>
  2184. <code>'\OCP\Files::postCreate'</code>
  2185. <code>'\OCP\Files::postDelete'</code>
  2186. <code>'\OCP\Files::postRename'</code>
  2187. <code>'\OCP\Files::postTouch'</code>
  2188. <code>'\OCP\Files::postWrite'</code>
  2189. <code>'\OCP\Files::preCopy'</code>
  2190. <code>'\OCP\Files::preCreate'</code>
  2191. <code>'\OCP\Files::preDelete'</code>
  2192. <code>'\OCP\Files::preRename'</code>
  2193. <code>'\OCP\Files::preTouch'</code>
  2194. <code>'\OCP\Files::preWrite'</code>
  2195. <code>'\OCP\Files::read'</code>
  2196. </InvalidArgument>
  2197. <TooManyArguments occurrences="13">
  2198. <code>dispatch</code>
  2199. <code>dispatch</code>
  2200. <code>dispatch</code>
  2201. <code>dispatch</code>
  2202. <code>dispatch</code>
  2203. <code>dispatch</code>
  2204. <code>dispatch</code>
  2205. <code>dispatch</code>
  2206. <code>dispatch</code>
  2207. <code>dispatch</code>
  2208. <code>dispatch</code>
  2209. <code>dispatch</code>
  2210. <code>dispatch</code>
  2211. </TooManyArguments>
  2212. <UndefinedInterfaceMethod occurrences="13">
  2213. <code>emit</code>
  2214. <code>emit</code>
  2215. <code>emit</code>
  2216. <code>emit</code>
  2217. <code>emit</code>
  2218. <code>emit</code>
  2219. <code>emit</code>
  2220. <code>emit</code>
  2221. <code>emit</code>
  2222. <code>emit</code>
  2223. <code>emit</code>
  2224. <code>emit</code>
  2225. <code>emit</code>
  2226. </UndefinedInterfaceMethod>
  2227. </file>
  2228. <file src="lib/private/Files/Node/LazyFolder.php">
  2229. <InvalidReturnStatement occurrences="1">
  2230. <code>$this-&gt;__call(__FUNCTION__, func_get_args())</code>
  2231. </InvalidReturnStatement>
  2232. </file>
  2233. <file src="lib/private/Files/Node/Node.php">
  2234. <InvalidArgument occurrences="1">
  2235. <code>'\OCP\Files::' . $hook</code>
  2236. </InvalidArgument>
  2237. <InvalidNullableReturnType occurrences="1"/>
  2238. <InvalidReturnType occurrences="1">
  2239. <code>getChecksum</code>
  2240. </InvalidReturnType>
  2241. <NullableReturnStatement occurrences="1"/>
  2242. <ParamNameMismatch occurrences="1">
  2243. <code>$type</code>
  2244. </ParamNameMismatch>
  2245. <TooManyArguments occurrences="1">
  2246. <code>dispatch</code>
  2247. </TooManyArguments>
  2248. <UndefinedInterfaceMethod occurrences="1">
  2249. <code>$this-&gt;fileInfo</code>
  2250. </UndefinedInterfaceMethod>
  2251. </file>
  2252. <file src="lib/private/Files/Node/NonExistingFile.php">
  2253. <ParamNameMismatch occurrences="1">
  2254. <code>$newPath</code>
  2255. </ParamNameMismatch>
  2256. </file>
  2257. <file src="lib/private/Files/Node/NonExistingFolder.php">
  2258. <ParamNameMismatch occurrences="3">
  2259. <code>$mime</code>
  2260. <code>$newPath</code>
  2261. <code>$pattern</code>
  2262. </ParamNameMismatch>
  2263. </file>
  2264. <file src="lib/private/Files/Node/Root.php">
  2265. <InvalidNullableReturnType occurrences="1">
  2266. <code>\OC\User\User</code>
  2267. </InvalidNullableReturnType>
  2268. <NullableReturnStatement occurrences="1">
  2269. <code>$this-&gt;user</code>
  2270. </NullableReturnStatement>
  2271. <UndefinedMethod occurrences="1">
  2272. <code>remove</code>
  2273. </UndefinedMethod>
  2274. </file>
  2275. <file src="lib/private/Files/ObjectStore/HomeObjectStoreStorage.php">
  2276. <ImplementedReturnTypeMismatch occurrences="1">
  2277. <code>false|string</code>
  2278. </ImplementedReturnTypeMismatch>
  2279. </file>
  2280. <file src="lib/private/Files/ObjectStore/NoopScanner.php">
  2281. <MoreSpecificImplementedParamType occurrences="1">
  2282. <code>$cacheData</code>
  2283. </MoreSpecificImplementedParamType>
  2284. </file>
  2285. <file src="lib/private/Files/ObjectStore/ObjectStoreStorage.php">
  2286. <InvalidScalarArgument occurrences="1">
  2287. <code>$source</code>
  2288. </InvalidScalarArgument>
  2289. </file>
  2290. <file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php">
  2291. <InternalClass occurrences="1">
  2292. <code>ClientResolver::_default_signature_provider()</code>
  2293. </InternalClass>
  2294. <InternalMethod occurrences="1">
  2295. <code>ClientResolver::_default_signature_provider()</code>
  2296. </InternalMethod>
  2297. <UndefinedFunction occurrences="2">
  2298. <code>\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())</code>
  2299. </UndefinedFunction>
  2300. </file>
  2301. <file src="lib/private/Files/ObjectStore/S3ObjectTrait.php">
  2302. <InternalMethod occurrences="1">
  2303. <code>upload</code>
  2304. </InternalMethod>
  2305. <UndefinedFunction occurrences="1">
  2306. <code>\Aws\serialize($command)</code>
  2307. </UndefinedFunction>
  2308. </file>
  2309. <file src="lib/private/Files/ObjectStore/S3Signature.php">
  2310. <NullArgument occurrences="1">
  2311. <code>null</code>
  2312. </NullArgument>
  2313. </file>
  2314. <file src="lib/private/Files/ObjectStore/StorageObjectStore.php">
  2315. <InvalidReturnType occurrences="1">
  2316. <code>string</code>
  2317. </InvalidReturnType>
  2318. </file>
  2319. <file src="lib/private/Files/Storage/Common.php">
  2320. <ImplementedReturnTypeMismatch occurrences="1">
  2321. <code>string|false</code>
  2322. </ImplementedReturnTypeMismatch>
  2323. <InvalidOperand occurrences="2">
  2324. <code>!$permissions</code>
  2325. <code>$this-&gt;copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file)</code>
  2326. </InvalidOperand>
  2327. <NoInterfaceProperties occurrences="8">
  2328. <code>$storage-&gt;cache</code>
  2329. <code>$storage-&gt;cache</code>
  2330. <code>$storage-&gt;propagator</code>
  2331. <code>$storage-&gt;propagator</code>
  2332. <code>$storage-&gt;scanner</code>
  2333. <code>$storage-&gt;scanner</code>
  2334. <code>$storage-&gt;updater</code>
  2335. <code>$storage-&gt;updater</code>
  2336. </NoInterfaceProperties>
  2337. </file>
  2338. <file src="lib/private/Files/Storage/DAV.php">
  2339. <InvalidClass occurrences="2">
  2340. <code>ArrayCache</code>
  2341. <code>ArrayCache</code>
  2342. </InvalidClass>
  2343. <InvalidNullableReturnType occurrences="1">
  2344. <code>getETag</code>
  2345. </InvalidNullableReturnType>
  2346. <InvalidReturnStatement occurrences="1">
  2347. <code>$response-&gt;getBody()</code>
  2348. </InvalidReturnStatement>
  2349. <InvalidReturnType occurrences="1">
  2350. <code>fopen</code>
  2351. </InvalidReturnType>
  2352. <NullableReturnStatement occurrences="1">
  2353. <code>null</code>
  2354. </NullableReturnStatement>
  2355. </file>
  2356. <file src="lib/private/Files/Storage/FailedStorage.php">
  2357. <InvalidReturnStatement occurrences="2">
  2358. <code>new FailedCache()</code>
  2359. <code>true</code>
  2360. </InvalidReturnStatement>
  2361. <InvalidReturnType occurrences="2">
  2362. <code>getCache</code>
  2363. <code>verifyPath</code>
  2364. </InvalidReturnType>
  2365. <InvalidScalarArgument occurrences="39">
  2366. <code>$this-&gt;e-&gt;getCode()</code>
  2367. <code>$this-&gt;e-&gt;getCode()</code>
  2368. <code>$this-&gt;e-&gt;getCode()</code>
  2369. <code>$this-&gt;e-&gt;getCode()</code>
  2370. <code>$this-&gt;e-&gt;getCode()</code>
  2371. <code>$this-&gt;e-&gt;getCode()</code>
  2372. <code>$this-&gt;e-&gt;getCode()</code>
  2373. <code>$this-&gt;e-&gt;getCode()</code>
  2374. <code>$this-&gt;e-&gt;getCode()</code>
  2375. <code>$this-&gt;e-&gt;getCode()</code>
  2376. <code>$this-&gt;e-&gt;getCode()</code>
  2377. <code>$this-&gt;e-&gt;getCode()</code>
  2378. <code>$this-&gt;e-&gt;getCode()</code>
  2379. <code>$this-&gt;e-&gt;getCode()</code>
  2380. <code>$this-&gt;e-&gt;getCode()</code>
  2381. <code>$this-&gt;e-&gt;getCode()</code>
  2382. <code>$this-&gt;e-&gt;getCode()</code>
  2383. <code>$this-&gt;e-&gt;getCode()</code>
  2384. <code>$this-&gt;e-&gt;getCode()</code>
  2385. <code>$this-&gt;e-&gt;getCode()</code>
  2386. <code>$this-&gt;e-&gt;getCode()</code>
  2387. <code>$this-&gt;e-&gt;getCode()</code>
  2388. <code>$this-&gt;e-&gt;getCode()</code>
  2389. <code>$this-&gt;e-&gt;getCode()</code>
  2390. <code>$this-&gt;e-&gt;getCode()</code>
  2391. <code>$this-&gt;e-&gt;getCode()</code>
  2392. <code>$this-&gt;e-&gt;getCode()</code>
  2393. <code>$this-&gt;e-&gt;getCode()</code>
  2394. <code>$this-&gt;e-&gt;getCode()</code>
  2395. <code>$this-&gt;e-&gt;getCode()</code>
  2396. <code>$this-&gt;e-&gt;getCode()</code>
  2397. <code>$this-&gt;e-&gt;getCode()</code>
  2398. <code>$this-&gt;e-&gt;getCode()</code>
  2399. <code>$this-&gt;e-&gt;getCode()</code>
  2400. <code>$this-&gt;e-&gt;getCode()</code>
  2401. <code>$this-&gt;e-&gt;getCode()</code>
  2402. <code>$this-&gt;e-&gt;getCode()</code>
  2403. <code>$this-&gt;e-&gt;getCode()</code>
  2404. <code>$this-&gt;e-&gt;getCode()</code>
  2405. </InvalidScalarArgument>
  2406. </file>
  2407. <file src="lib/private/Files/Storage/Local.php">
  2408. <ImplicitToStringCast occurrences="1">
  2409. <code>$file</code>
  2410. </ImplicitToStringCast>
  2411. <InvalidOperand occurrences="1">
  2412. <code>$result</code>
  2413. </InvalidOperand>
  2414. <InvalidReturnStatement occurrences="1">
  2415. <code>$result</code>
  2416. </InvalidReturnStatement>
  2417. <InvalidReturnType occurrences="1">
  2418. <code>rename</code>
  2419. </InvalidReturnType>
  2420. <TypeDoesNotContainNull occurrences="2">
  2421. <code>$space === false || is_null($space)</code>
  2422. <code>is_null($space)</code>
  2423. </TypeDoesNotContainNull>
  2424. <TypeDoesNotContainType occurrences="1">
  2425. <code>$stat === false</code>
  2426. </TypeDoesNotContainType>
  2427. </file>
  2428. <file src="lib/private/Files/Storage/LocalRootStorage.php">
  2429. <NoInterfaceProperties occurrences="2">
  2430. <code>$storage-&gt;scanner</code>
  2431. <code>$storage-&gt;scanner</code>
  2432. </NoInterfaceProperties>
  2433. </file>
  2434. <file src="lib/private/Files/Storage/Wrapper/Encoding.php">
  2435. <InvalidScalarArgument occurrences="3">
  2436. <code>\Normalizer::FORM_C</code>
  2437. <code>\Normalizer::FORM_C</code>
  2438. <code>\Normalizer::FORM_D</code>
  2439. </InvalidScalarArgument>
  2440. <UndefinedInterfaceMethod occurrences="13">
  2441. <code>$this-&gt;namesCache</code>
  2442. <code>$this-&gt;namesCache</code>
  2443. <code>$this-&gt;namesCache</code>
  2444. <code>$this-&gt;namesCache</code>
  2445. <code>$this-&gt;namesCache</code>
  2446. <code>$this-&gt;namesCache</code>
  2447. <code>$this-&gt;namesCache</code>
  2448. <code>$this-&gt;namesCache</code>
  2449. <code>$this-&gt;namesCache</code>
  2450. <code>$this-&gt;namesCache</code>
  2451. <code>$this-&gt;namesCache</code>
  2452. <code>$this-&gt;namesCache</code>
  2453. <code>$this-&gt;namesCache</code>
  2454. </UndefinedInterfaceMethod>
  2455. </file>
  2456. <file src="lib/private/Files/Storage/Wrapper/Encryption.php">
  2457. <FalsableReturnStatement occurrences="1">
  2458. <code>false</code>
  2459. </FalsableReturnStatement>
  2460. <InvalidOperand occurrences="3">
  2461. <code>$result</code>
  2462. <code>$result</code>
  2463. <code>$this-&gt;copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename)</code>
  2464. </InvalidOperand>
  2465. <InvalidReturnStatement occurrences="3">
  2466. <code>$newUnencryptedSize</code>
  2467. <code>$result</code>
  2468. <code>$this-&gt;storage-&gt;file_get_contents($path)</code>
  2469. </InvalidReturnStatement>
  2470. <InvalidReturnType occurrences="3">
  2471. <code>bool</code>
  2472. <code>int</code>
  2473. <code>string</code>
  2474. </InvalidReturnType>
  2475. <InvalidScalarArgument occurrences="4">
  2476. <code>$lastChunkPos</code>
  2477. <code>$newUnencryptedSize</code>
  2478. <code>$size</code>
  2479. <code>$sourceStorage-&gt;filemtime($sourceInternalPath)</code>
  2480. </InvalidScalarArgument>
  2481. </file>
  2482. <file src="lib/private/Files/Storage/Wrapper/Jail.php">
  2483. <InvalidReturnStatement occurrences="1">
  2484. <code>$this-&gt;getWrapperStorage()-&gt;filetype($this-&gt;getUnjailedPath($path))</code>
  2485. </InvalidReturnStatement>
  2486. <InvalidReturnType occurrences="1">
  2487. <code>bool</code>
  2488. </InvalidReturnType>
  2489. </file>
  2490. <file src="lib/private/Files/Storage/Wrapper/Quota.php">
  2491. <InvalidScalarArgument occurrences="1">
  2492. <code>$free</code>
  2493. </InvalidScalarArgument>
  2494. </file>
  2495. <file src="lib/private/Files/Storage/Wrapper/Wrapper.php">
  2496. <InvalidReturnStatement occurrences="1">
  2497. <code>$this-&gt;getWrapperStorage()-&gt;test()</code>
  2498. </InvalidReturnStatement>
  2499. <InvalidReturnType occurrences="1">
  2500. <code>true</code>
  2501. </InvalidReturnType>
  2502. </file>
  2503. <file src="lib/private/Files/Stream/SeekableHttpStream.php">
  2504. <InvalidReturnType occurrences="2">
  2505. <code>stream_close</code>
  2506. <code>stream_flush</code>
  2507. </InvalidReturnType>
  2508. </file>
  2509. <file src="lib/private/Files/Template/TemplateManager.php">
  2510. <RedundantCondition occurrences="1">
  2511. <code>!$isDefaultTemplates</code>
  2512. </RedundantCondition>
  2513. </file>
  2514. <file src="lib/private/Files/Type/Detection.php">
  2515. <ParamNameMismatch occurrences="1">
  2516. <code>$mimetype</code>
  2517. </ParamNameMismatch>
  2518. </file>
  2519. <file src="lib/private/Files/Type/Loader.php">
  2520. <InvalidReturnStatement occurrences="1">
  2521. <code>$update-&gt;execute()</code>
  2522. </InvalidReturnStatement>
  2523. <InvalidReturnType occurrences="1">
  2524. <code>int</code>
  2525. </InvalidReturnType>
  2526. </file>
  2527. <file src="lib/private/Files/View.php">
  2528. <InvalidScalarArgument occurrences="2">
  2529. <code>$fileId</code>
  2530. <code>$mtime</code>
  2531. </InvalidScalarArgument>
  2532. <NullableReturnStatement occurrences="3">
  2533. <code>null</code>
  2534. <code>null</code>
  2535. <code>null</code>
  2536. </NullableReturnStatement>
  2537. <RedundantCondition occurrences="1">
  2538. <code>is_resource($source)</code>
  2539. </RedundantCondition>
  2540. <UndefinedDocblockClass occurrences="2">
  2541. <code>$storage</code>
  2542. <code>[$storage, $internalPath]</code>
  2543. </UndefinedDocblockClass>
  2544. </file>
  2545. <file src="lib/private/FullTextSearch/Model/IndexDocument.php">
  2546. <TypeDoesNotContainNull occurrences="1">
  2547. <code>is_null($this-&gt;getContent())</code>
  2548. </TypeDoesNotContainNull>
  2549. </file>
  2550. <file src="lib/private/Group/Database.php">
  2551. <InvalidArrayOffset occurrences="1">
  2552. <code>$this-&gt;groupCache[$gid]['displayname']</code>
  2553. </InvalidArrayOffset>
  2554. <InvalidPropertyAssignmentValue occurrences="3">
  2555. <code>$this-&gt;groupCache</code>
  2556. <code>$this-&gt;groupCache</code>
  2557. <code>$this-&gt;groupCache</code>
  2558. </InvalidPropertyAssignmentValue>
  2559. </file>
  2560. <file src="lib/private/Group/Group.php">
  2561. <InvalidArgument occurrences="7">
  2562. <code>IGroup::class . '::postAddUser'</code>
  2563. <code>IGroup::class . '::postDelete'</code>
  2564. <code>IGroup::class . '::postRemoveUser'</code>
  2565. <code>IGroup::class . '::preAddUser'</code>
  2566. <code>IGroup::class . '::preDelete'</code>
  2567. <code>IGroup::class . '::preRemoveUser'</code>
  2568. <code>bool</code>
  2569. </InvalidArgument>
  2570. <InvalidOperand occurrences="1">
  2571. <code>$hide</code>
  2572. </InvalidOperand>
  2573. <MoreSpecificImplementedParamType occurrences="1">
  2574. <code>$user</code>
  2575. </MoreSpecificImplementedParamType>
  2576. <RedundantCondition occurrences="6">
  2577. <code>$this-&gt;emitter</code>
  2578. <code>$this-&gt;emitter</code>
  2579. <code>$this-&gt;emitter</code>
  2580. <code>$this-&gt;emitter</code>
  2581. <code>$this-&gt;emitter</code>
  2582. <code>$this-&gt;emitter</code>
  2583. </RedundantCondition>
  2584. <TooManyArguments occurrences="6">
  2585. <code>dispatch</code>
  2586. <code>dispatch</code>
  2587. <code>dispatch</code>
  2588. <code>dispatch</code>
  2589. <code>dispatch</code>
  2590. <code>dispatch</code>
  2591. </TooManyArguments>
  2592. <UndefinedMethod occurrences="4">
  2593. <code>addToGroup</code>
  2594. <code>countUsersInGroup</code>
  2595. <code>deleteGroup</code>
  2596. <code>removeFromGroup</code>
  2597. </UndefinedMethod>
  2598. </file>
  2599. <file src="lib/private/Group/Manager.php">
  2600. <UndefinedInterfaceMethod occurrences="3">
  2601. <code>createGroup</code>
  2602. <code>getGroupDetails</code>
  2603. <code>isAdmin</code>
  2604. </UndefinedInterfaceMethod>
  2605. </file>
  2606. <file src="lib/private/Http/Client/Response.php">
  2607. <InvalidNullableReturnType occurrences="1">
  2608. <code>string|resource</code>
  2609. </InvalidNullableReturnType>
  2610. <NullableReturnStatement occurrences="1"/>
  2611. </file>
  2612. <file src="lib/private/Installer.php">
  2613. <FalsableReturnStatement occurrences="1">
  2614. <code>false</code>
  2615. </FalsableReturnStatement>
  2616. <InvalidArgument occurrences="2">
  2617. <code>false</code>
  2618. <code>false</code>
  2619. </InvalidArgument>
  2620. <InvalidArrayOffset occurrences="2">
  2621. <code>$app['path']</code>
  2622. <code>$app['path']</code>
  2623. </InvalidArrayOffset>
  2624. <NullArgument occurrences="1">
  2625. <code>null</code>
  2626. </NullArgument>
  2627. </file>
  2628. <file src="lib/private/IntegrityCheck/Checker.php">
  2629. <InvalidArrayAccess occurrences="3">
  2630. <code>$x509-&gt;getDN(X509::DN_OPENSSL)['CN']</code>
  2631. <code>$x509-&gt;getDN(X509::DN_OPENSSL)['CN']</code>
  2632. <code>$x509-&gt;getDN(true)['CN']</code>
  2633. </InvalidArrayAccess>
  2634. <UndefinedInterfaceMethod occurrences="2">
  2635. <code>getAllAliases</code>
  2636. <code>getOnlyDefaultAliases</code>
  2637. </UndefinedInterfaceMethod>
  2638. </file>
  2639. <file src="lib/private/L10N/Factory.php">
  2640. <ImplementedReturnTypeMismatch occurrences="1">
  2641. <code>null|string</code>
  2642. </ImplementedReturnTypeMismatch>
  2643. <LessSpecificImplementedReturnType occurrences="1">
  2644. <code>array|mixed</code>
  2645. </LessSpecificImplementedReturnType>
  2646. </file>
  2647. <file src="lib/private/LargeFileHelper.php">
  2648. <InvalidOperand occurrences="1">
  2649. <code>$matches[1]</code>
  2650. </InvalidOperand>
  2651. <InvalidScalarArgument occurrences="1">
  2652. <code>$data</code>
  2653. </InvalidScalarArgument>
  2654. </file>
  2655. <file src="lib/private/Lockdown/Filesystem/NullCache.php">
  2656. <InvalidNullableReturnType occurrences="1">
  2657. <code>get</code>
  2658. </InvalidNullableReturnType>
  2659. <InvalidReturnStatement occurrences="1">
  2660. <code>[]</code>
  2661. </InvalidReturnStatement>
  2662. <InvalidReturnType occurrences="1">
  2663. <code>getIncomplete</code>
  2664. </InvalidReturnType>
  2665. <NullableReturnStatement occurrences="1"/>
  2666. </file>
  2667. <file src="lib/private/Lockdown/Filesystem/NullStorage.php">
  2668. <InvalidNullableReturnType occurrences="2">
  2669. <code>getOwner</code>
  2670. <code>getPermissions</code>
  2671. </InvalidNullableReturnType>
  2672. <InvalidReturnStatement occurrences="2">
  2673. <code>new IteratorDirectory([])</code>
  2674. <code>new NullCache()</code>
  2675. </InvalidReturnStatement>
  2676. <InvalidReturnType occurrences="2">
  2677. <code>getCache</code>
  2678. <code>opendir</code>
  2679. </InvalidReturnType>
  2680. <NullableReturnStatement occurrences="2">
  2681. <code>null</code>
  2682. <code>null</code>
  2683. </NullableReturnStatement>
  2684. <TooManyArguments occurrences="1">
  2685. <code>new IteratorDirectory([])</code>
  2686. </TooManyArguments>
  2687. </file>
  2688. <file src="lib/private/Lockdown/LockdownManager.php">
  2689. <InvalidFunctionCall occurrences="1">
  2690. <code>$callback()</code>
  2691. </InvalidFunctionCall>
  2692. <InvalidPropertyAssignmentValue occurrences="1">
  2693. <code>$sessionCallback</code>
  2694. </InvalidPropertyAssignmentValue>
  2695. </file>
  2696. <file src="lib/private/Log.php">
  2697. <RedundantCondition occurrences="2">
  2698. <code>$request</code>
  2699. <code>$request</code>
  2700. </RedundantCondition>
  2701. </file>
  2702. <file src="lib/private/Log/File.php">
  2703. <TypeDoesNotContainNull occurrences="1">
  2704. <code>$limit === null</code>
  2705. </TypeDoesNotContainNull>
  2706. </file>
  2707. <file src="lib/private/Log/LogDetails.php">
  2708. <RedundantCondition occurrences="1">
  2709. <code>is_string($request-&gt;getMethod())</code>
  2710. </RedundantCondition>
  2711. </file>
  2712. <file src="lib/private/Log/Rotate.php">
  2713. <ParamNameMismatch occurrences="1">
  2714. <code>$dummy</code>
  2715. </ParamNameMismatch>
  2716. </file>
  2717. <file src="lib/private/Log/Systemdlog.php">
  2718. <UndefinedFunction occurrences="1"/>
  2719. </file>
  2720. <file src="lib/private/Memcache/APCu.php">
  2721. <InvalidReturnStatement occurrences="1">
  2722. <code>apcu_add($this-&gt;getPrefix() . $key, $value, $ttl)</code>
  2723. </InvalidReturnStatement>
  2724. <InvalidReturnType occurrences="1">
  2725. <code>bool</code>
  2726. </InvalidReturnType>
  2727. </file>
  2728. <file src="lib/private/Memcache/Cache.php">
  2729. <LessSpecificImplementedReturnType occurrences="4">
  2730. <code>mixed</code>
  2731. <code>mixed</code>
  2732. <code>mixed</code>
  2733. <code>mixed</code>
  2734. </LessSpecificImplementedReturnType>
  2735. </file>
  2736. <file src="lib/private/NavigationManager.php">
  2737. <ParamNameMismatch occurrences="1">
  2738. <code>$id</code>
  2739. </ParamNameMismatch>
  2740. </file>
  2741. <file src="lib/private/Preview/BackgroundCleanupJob.php">
  2742. <InvalidReturnStatement occurrences="1">
  2743. <code>[]</code>
  2744. </InvalidReturnStatement>
  2745. </file>
  2746. <file src="lib/private/Preview/Generator.php">
  2747. <InvalidArgument occurrences="3">
  2748. <code>$maxPreviewImage</code>
  2749. <code>$semId</code>
  2750. <code>IPreview::EVENT</code>
  2751. </InvalidArgument>
  2752. <InvalidReturnStatement occurrences="1">
  2753. <code>$sem</code>
  2754. </InvalidReturnStatement>
  2755. <InvalidReturnType occurrences="1">
  2756. <code>false|\SysvSemaphore</code>
  2757. </InvalidReturnType>
  2758. <MismatchingDocblockParamType occurrences="1">
  2759. <code>ISimpleFile</code>
  2760. </MismatchingDocblockParamType>
  2761. <TooManyArguments occurrences="1">
  2762. <code>dispatch</code>
  2763. </TooManyArguments>
  2764. <UndefinedInterfaceMethod occurrences="7">
  2765. <code>height</code>
  2766. <code>height</code>
  2767. <code>preciseResizeCopy</code>
  2768. <code>resizeCopy</code>
  2769. <code>valid</code>
  2770. <code>width</code>
  2771. <code>width</code>
  2772. </UndefinedInterfaceMethod>
  2773. </file>
  2774. <file src="lib/private/Preview/ProviderV1Adapter.php">
  2775. <InvalidReturnStatement occurrences="1">
  2776. <code>$thumbnail === false ? null: $thumbnail</code>
  2777. </InvalidReturnStatement>
  2778. <InvalidReturnType occurrences="1">
  2779. <code>?IImage</code>
  2780. </InvalidReturnType>
  2781. </file>
  2782. <file src="lib/private/RedisFactory.php">
  2783. <InvalidScalarArgument occurrences="1">
  2784. <code>\RedisCluster::OPT_SLAVE_FAILOVER</code>
  2785. </InvalidScalarArgument>
  2786. </file>
  2787. <file src="lib/private/Remote/Api/OCS.php">
  2788. <ImplementedReturnTypeMismatch occurrences="1">
  2789. <code>array</code>
  2790. </ImplementedReturnTypeMismatch>
  2791. </file>
  2792. <file src="lib/private/Remote/Instance.php">
  2793. <InvalidReturnStatement occurrences="1">
  2794. <code>$request-&gt;getBody()</code>
  2795. </InvalidReturnStatement>
  2796. <InvalidReturnType occurrences="1">
  2797. <code>bool|string</code>
  2798. </InvalidReturnType>
  2799. <InvalidScalarArgument occurrences="1">
  2800. <code>$response</code>
  2801. </InvalidScalarArgument>
  2802. </file>
  2803. <file src="lib/private/Repair/Owncloud/CleanPreviews.php">
  2804. <InvalidArgument occurrences="1">
  2805. <code>false</code>
  2806. </InvalidArgument>
  2807. </file>
  2808. <file src="lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php">
  2809. <ParamNameMismatch occurrences="1">
  2810. <code>$arguments</code>
  2811. </ParamNameMismatch>
  2812. </file>
  2813. <file src="lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php">
  2814. <ParamNameMismatch occurrences="1">
  2815. <code>$arguments</code>
  2816. </ParamNameMismatch>
  2817. <TypeDoesNotContainType occurrences="1">
  2818. <code>$counter % 100 === 0</code>
  2819. </TypeDoesNotContainType>
  2820. </file>
  2821. <file src="lib/private/Repair/RemoveLinkShares.php">
  2822. <InvalidPropertyAssignmentValue occurrences="1">
  2823. <code>$this-&gt;userToNotify</code>
  2824. </InvalidPropertyAssignmentValue>
  2825. </file>
  2826. <file src="lib/private/Repair/RepairInvalidShares.php">
  2827. <ParamNameMismatch occurrences="1">
  2828. <code>$out</code>
  2829. </ParamNameMismatch>
  2830. </file>
  2831. <file src="lib/private/Repair/RepairMimeTypes.php">
  2832. <ParamNameMismatch occurrences="1">
  2833. <code>$out</code>
  2834. </ParamNameMismatch>
  2835. </file>
  2836. <file src="lib/private/Repair/SqliteAutoincrement.php">
  2837. <ParamNameMismatch occurrences="1">
  2838. <code>$out</code>
  2839. </ParamNameMismatch>
  2840. </file>
  2841. <file src="lib/private/Route/Router.php">
  2842. <InvalidClass occurrences="1">
  2843. <code>\OC_APP</code>
  2844. </InvalidClass>
  2845. <InvalidNullableReturnType occurrences="1">
  2846. <code>string</code>
  2847. </InvalidNullableReturnType>
  2848. <NullableReturnStatement occurrences="1">
  2849. <code>$this-&gt;collectionName</code>
  2850. </NullableReturnStatement>
  2851. </file>
  2852. <file src="lib/private/Search.php">
  2853. <RedundantCondition occurrences="1">
  2854. <code>$provider instanceof Provider</code>
  2855. </RedundantCondition>
  2856. </file>
  2857. <file src="lib/private/Search/Result/File.php">
  2858. <InvalidPropertyAssignmentValue occurrences="4">
  2859. <code>$data-&gt;getId()</code>
  2860. <code>$data-&gt;getMtime()</code>
  2861. <code>$data-&gt;getPermissions()</code>
  2862. <code>$this-&gt;hasPreview($data)</code>
  2863. </InvalidPropertyAssignmentValue>
  2864. </file>
  2865. <file src="lib/private/Security/Bruteforce/Throttler.php">
  2866. <NullArgument occurrences="1">
  2867. <code>null</code>
  2868. </NullArgument>
  2869. </file>
  2870. <file src="lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php">
  2871. <NoInterfaceProperties occurrences="1">
  2872. <code>$this-&gt;request-&gt;server</code>
  2873. </NoInterfaceProperties>
  2874. </file>
  2875. <file src="lib/private/Security/CredentialsManager.php">
  2876. <InvalidReturnStatement occurrences="2">
  2877. <code>$qb-&gt;execute()</code>
  2878. <code>$qb-&gt;execute()</code>
  2879. </InvalidReturnStatement>
  2880. <InvalidReturnType occurrences="2">
  2881. <code>int</code>
  2882. <code>int</code>
  2883. </InvalidReturnType>
  2884. </file>
  2885. <file src="lib/private/Security/Crypto.php">
  2886. <InternalMethod occurrences="6">
  2887. <code>decrypt</code>
  2888. <code>encrypt</code>
  2889. <code>setIV</code>
  2890. <code>setIV</code>
  2891. <code>setPassword</code>
  2892. <code>setPassword</code>
  2893. </InternalMethod>
  2894. </file>
  2895. <file src="lib/private/Server.php">
  2896. <ImplementedReturnTypeMismatch occurrences="3">
  2897. <code>\OCP\Calendar\Resource\IManager</code>
  2898. <code>\OCP\Calendar\Room\IManager</code>
  2899. <code>\OCP\Files\Folder|null</code>
  2900. </ImplementedReturnTypeMismatch>
  2901. <InvalidArgument occurrences="1">
  2902. <code>new GenericEvent($user)</code>
  2903. </InvalidArgument>
  2904. <UndefinedDocblockClass occurrences="1">
  2905. <code>\OC\OCSClient</code>
  2906. </UndefinedDocblockClass>
  2907. </file>
  2908. <file src="lib/private/ServerContainer.php">
  2909. <InvalidPropertyAssignmentValue occurrences="1">
  2910. <code>$this-&gt;hasNoAppContainer</code>
  2911. </InvalidPropertyAssignmentValue>
  2912. </file>
  2913. <file src="lib/private/Session/Internal.php">
  2914. <MoreSpecificImplementedParamType occurrences="1">
  2915. <code>$value</code>
  2916. </MoreSpecificImplementedParamType>
  2917. </file>
  2918. <file src="lib/private/Session/Memory.php">
  2919. <MoreSpecificImplementedParamType occurrences="1">
  2920. <code>$value</code>
  2921. </MoreSpecificImplementedParamType>
  2922. </file>
  2923. <file src="lib/private/Setup.php">
  2924. <InvalidScalarArgument occurrences="2">
  2925. <code>microtime(true)</code>
  2926. <code>microtime(true)</code>
  2927. </InvalidScalarArgument>
  2928. <RedundantCondition occurrences="2">
  2929. <code>$content !== ''</code>
  2930. <code>$type === 'pdo'</code>
  2931. </RedundantCondition>
  2932. <UndefinedVariable occurrences="1">
  2933. <code>$vendor</code>
  2934. </UndefinedVariable>
  2935. </file>
  2936. <file src="lib/private/Setup/AbstractDatabase.php">
  2937. <UndefinedThisPropertyFetch occurrences="4">
  2938. <code>$this-&gt;dbprettyname</code>
  2939. <code>$this-&gt;dbprettyname</code>
  2940. <code>$this-&gt;dbprettyname</code>
  2941. <code>$this-&gt;dbprettyname</code>
  2942. </UndefinedThisPropertyFetch>
  2943. </file>
  2944. <file src="lib/private/Share/Share.php">
  2945. <InvalidOperand occurrences="1">
  2946. <code>!self::isResharingAllowed()</code>
  2947. </InvalidOperand>
  2948. <UndefinedInterfaceMethod occurrences="2">
  2949. <code>getParents</code>
  2950. <code>getParents</code>
  2951. </UndefinedInterfaceMethod>
  2952. </file>
  2953. <file src="lib/private/Share20/DefaultShareProvider.php">
  2954. <InvalidScalarArgument occurrences="3">
  2955. <code>$share-&gt;getId()</code>
  2956. <code>$share-&gt;getId()</code>
  2957. <code>(int)$data['id']</code>
  2958. </InvalidScalarArgument>
  2959. <TooManyArguments occurrences="1">
  2960. <code>set</code>
  2961. </TooManyArguments>
  2962. <UndefinedInterfaceMethod occurrences="1">
  2963. <code>getParent</code>
  2964. </UndefinedInterfaceMethod>
  2965. </file>
  2966. <file src="lib/private/Share20/Manager.php">
  2967. <InvalidArgument occurrences="6">
  2968. <code>'OCP\Share::postAcceptShare'</code>
  2969. <code>'OCP\Share::postShare'</code>
  2970. <code>'OCP\Share::postUnshare'</code>
  2971. <code>'OCP\Share::postUnshareFromSelf'</code>
  2972. <code>'OCP\Share::preShare'</code>
  2973. <code>'OCP\Share::preUnshare'</code>
  2974. </InvalidArgument>
  2975. <InvalidScalarArgument occurrences="2">
  2976. <code>$id</code>
  2977. <code>$this-&gt;shareApiLinkDefaultExpireDays()</code>
  2978. </InvalidScalarArgument>
  2979. <TooManyArguments occurrences="7">
  2980. <code>dispatch</code>
  2981. <code>dispatch</code>
  2982. <code>dispatch</code>
  2983. <code>dispatch</code>
  2984. <code>dispatch</code>
  2985. <code>dispatch</code>
  2986. <code>update</code>
  2987. </TooManyArguments>
  2988. <UndefinedClass occurrences="1">
  2989. <code>\OCA\Circles\Api\v1\Circles</code>
  2990. </UndefinedClass>
  2991. <UndefinedInterfaceMethod occurrences="1">
  2992. <code>getChildren</code>
  2993. </UndefinedInterfaceMethod>
  2994. </file>
  2995. <file src="lib/private/Share20/ProviderFactory.php">
  2996. <InvalidNullableReturnType occurrences="2">
  2997. <code>FederatedShareProvider</code>
  2998. <code>ShareByMailProvider</code>
  2999. </InvalidNullableReturnType>
  3000. <InvalidReturnStatement occurrences="3">
  3001. <code>$provider</code>
  3002. <code>$provider</code>
  3003. <code>$this-&gt;shareByCircleProvider</code>
  3004. </InvalidReturnStatement>
  3005. <InvalidReturnType occurrences="1">
  3006. <code>getProviderForType</code>
  3007. </InvalidReturnType>
  3008. <NullableReturnStatement occurrences="6">
  3009. <code>null</code>
  3010. <code>null</code>
  3011. <code>null</code>
  3012. <code>null</code>
  3013. <code>null</code>
  3014. <code>null</code>
  3015. </NullableReturnStatement>
  3016. <ParamNameMismatch occurrences="1">
  3017. <code>$shareProviderClass</code>
  3018. </ParamNameMismatch>
  3019. <UndefinedClass occurrences="1">
  3020. <code>\OCA\Circles\ShareByCircleProvider</code>
  3021. </UndefinedClass>
  3022. <UndefinedDocblockClass occurrences="5">
  3023. <code>RoomShareProvider</code>
  3024. <code>\OCA\Circles\ShareByCircleProvider</code>
  3025. <code>\OCA\Talk\Share\RoomShareProvider</code>
  3026. <code>private $roomShareProvider = null;</code>
  3027. <code>private $shareByCircleProvider = null;</code>
  3028. </UndefinedDocblockClass>
  3029. <UndefinedInterfaceMethod occurrences="4">
  3030. <code>getLazyRootFolder</code>
  3031. <code>getLazyRootFolder</code>
  3032. <code>getLazyRootFolder</code>
  3033. <code>getLazyRootFolder</code>
  3034. </UndefinedInterfaceMethod>
  3035. </file>
  3036. <file src="lib/private/Streamer.php">
  3037. <InvalidArgument occurrences="1">
  3038. <code>$stream</code>
  3039. </InvalidArgument>
  3040. <UndefinedInterfaceMethod occurrences="1">
  3041. <code>get</code>
  3042. </UndefinedInterfaceMethod>
  3043. </file>
  3044. <file src="lib/private/SubAdmin.php">
  3045. <UndefinedInterfaceMethod occurrences="2">
  3046. <code>listen</code>
  3047. <code>listen</code>
  3048. </UndefinedInterfaceMethod>
  3049. </file>
  3050. <file src="lib/private/Support/Subscription/Registry.php">
  3051. <UndefinedInterfaceMethod occurrences="1">
  3052. <code>getSupportedApps</code>
  3053. </UndefinedInterfaceMethod>
  3054. </file>
  3055. <file src="lib/private/SystemTag/SystemTagManager.php">
  3056. <FalsableReturnStatement occurrences="3">
  3057. <code>false</code>
  3058. <code>false</code>
  3059. <code>false</code>
  3060. </FalsableReturnStatement>
  3061. <InvalidArgument occurrences="3">
  3062. <code>ManagerEvent::EVENT_CREATE</code>
  3063. <code>ManagerEvent::EVENT_DELETE</code>
  3064. <code>ManagerEvent::EVENT_UPDATE</code>
  3065. </InvalidArgument>
  3066. <InvalidReturnType occurrences="2">
  3067. <code>bool</code>
  3068. <code>bool</code>
  3069. </InvalidReturnType>
  3070. <TooManyArguments occurrences="3">
  3071. <code>dispatch</code>
  3072. <code>dispatch</code>
  3073. <code>dispatch</code>
  3074. </TooManyArguments>
  3075. </file>
  3076. <file src="lib/private/SystemTag/SystemTagObjectMapper.php">
  3077. <InvalidArgument occurrences="2">
  3078. <code>MapperEvent::EVENT_ASSIGN</code>
  3079. <code>MapperEvent::EVENT_UNASSIGN</code>
  3080. </InvalidArgument>
  3081. <TooManyArguments occurrences="2">
  3082. <code>dispatch</code>
  3083. <code>dispatch</code>
  3084. </TooManyArguments>
  3085. </file>
  3086. <file src="lib/private/TagManager.php">
  3087. <InvalidNullableReturnType occurrences="1">
  3088. <code>\OCP\ITags</code>
  3089. </InvalidNullableReturnType>
  3090. <NullableReturnStatement occurrences="1">
  3091. <code>null</code>
  3092. </NullableReturnStatement>
  3093. </file>
  3094. <file src="lib/private/Tags.php">
  3095. <InvalidScalarArgument occurrences="2">
  3096. <code>$from</code>
  3097. <code>$names</code>
  3098. </InvalidScalarArgument>
  3099. <MoreSpecificImplementedParamType occurrences="1">
  3100. <code>$tag</code>
  3101. </MoreSpecificImplementedParamType>
  3102. </file>
  3103. <file src="lib/private/TempManager.php">
  3104. <FalsableReturnStatement occurrences="2">
  3105. <code>false</code>
  3106. <code>false</code>
  3107. </FalsableReturnStatement>
  3108. </file>
  3109. <file src="lib/private/Template/CSSResourceLocator.php">
  3110. <ParamNameMismatch occurrences="2">
  3111. <code>$style</code>
  3112. <code>$style</code>
  3113. </ParamNameMismatch>
  3114. </file>
  3115. <file src="lib/private/Template/JSConfigHelper.php">
  3116. <NullArgument occurrences="2">
  3117. <code>null</code>
  3118. <code>null</code>
  3119. </NullArgument>
  3120. </file>
  3121. <file src="lib/private/Template/JSResourceLocator.php">
  3122. <InvalidArgument occurrences="1">
  3123. <code>false</code>
  3124. </InvalidArgument>
  3125. <InvalidOperand occurrences="6">
  3126. <code>$this-&gt;appendIfExist($this-&gt;serverroot, $script.'.js')</code>
  3127. <code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.$script.'.js')</code>
  3128. <code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.'apps/'.$script.'.js')</code>
  3129. <code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.'core/'.$script.'.js')</code>
  3130. <code>$this-&gt;appendIfExist($this-&gt;serverroot, 'apps/'.$script.'.js')</code>
  3131. <code>$this-&gt;appendIfExist($this-&gt;serverroot, 'core/'.$script.'.js')</code>
  3132. </InvalidOperand>
  3133. <ParamNameMismatch occurrences="2">
  3134. <code>$script</code>
  3135. <code>$script</code>
  3136. </ParamNameMismatch>
  3137. </file>
  3138. <file src="lib/private/TemplateLayout.php">
  3139. <InvalidParamDefault occurrences="2">
  3140. <code>string</code>
  3141. <code>string</code>
  3142. </InvalidParamDefault>
  3143. <InvalidScalarArgument occurrences="2">
  3144. <code>$appName</code>
  3145. <code>$appName</code>
  3146. </InvalidScalarArgument>
  3147. <UndefinedInterfaceMethod occurrences="1">
  3148. <code>getInitialStates</code>
  3149. </UndefinedInterfaceMethod>
  3150. </file>
  3151. <file src="lib/private/URLGenerator.php">
  3152. <InvalidReturnStatement occurrences="1">
  3153. <code>$path</code>
  3154. </InvalidReturnStatement>
  3155. </file>
  3156. <file src="lib/private/Updater/VersionCheck.php">
  3157. <InvalidScalarArgument occurrences="2">
  3158. <code>microtime(true)</code>
  3159. <code>time()</code>
  3160. </InvalidScalarArgument>
  3161. </file>
  3162. <file src="lib/private/User/Database.php">
  3163. <FalsableReturnStatement occurrences="1">
  3164. <code>false</code>
  3165. </FalsableReturnStatement>
  3166. </file>
  3167. <file src="lib/private/User/Manager.php">
  3168. <ImplementedReturnTypeMismatch occurrences="1">
  3169. <code>IUser|false</code>
  3170. </ImplementedReturnTypeMismatch>
  3171. <InvalidArgument occurrences="1">
  3172. <code>$backend</code>
  3173. </InvalidArgument>
  3174. <UndefinedInterfaceMethod occurrences="2">
  3175. <code>createUser</code>
  3176. <code>getUsersForUserValueCaseInsensitive</code>
  3177. </UndefinedInterfaceMethod>
  3178. </file>
  3179. <file src="lib/private/User/Session.php">
  3180. <ImplementedReturnTypeMismatch occurrences="1">
  3181. <code>boolean|null</code>
  3182. </ImplementedReturnTypeMismatch>
  3183. <InvalidArgument occurrences="1">
  3184. <code>IUser::class . '::firstLogin'</code>
  3185. </InvalidArgument>
  3186. <NoInterfaceProperties occurrences="2">
  3187. <code>$request-&gt;server</code>
  3188. <code>$request-&gt;server</code>
  3189. </NoInterfaceProperties>
  3190. <TooManyArguments occurrences="1">
  3191. <code>dispatch</code>
  3192. </TooManyArguments>
  3193. </file>
  3194. <file src="lib/private/User/User.php">
  3195. <InvalidArgument occurrences="5">
  3196. <code>IUser::class . '::changeUser'</code>
  3197. <code>IUser::class . '::postDelete'</code>
  3198. <code>IUser::class . '::postSetPassword'</code>
  3199. <code>IUser::class . '::preDelete'</code>
  3200. <code>IUser::class . '::preSetPassword'</code>
  3201. </InvalidArgument>
  3202. <TooManyArguments occurrences="5">
  3203. <code>dispatch</code>
  3204. <code>dispatch</code>
  3205. <code>dispatch</code>
  3206. <code>dispatch</code>
  3207. <code>dispatch</code>
  3208. </TooManyArguments>
  3209. </file>
  3210. <file src="lib/private/legacy/OC_API.php">
  3211. <InvalidNullableReturnType occurrences="1">
  3212. <code>int</code>
  3213. </InvalidNullableReturnType>
  3214. <NullableReturnStatement occurrences="1">
  3215. <code>null</code>
  3216. </NullableReturnStatement>
  3217. </file>
  3218. <file src="lib/private/legacy/OC_App.php">
  3219. <InvalidArgument occurrences="2">
  3220. <code>$groupsList</code>
  3221. <code>ManagerEvent::EVENT_APP_UPDATE</code>
  3222. </InvalidArgument>
  3223. <InvalidArrayOffset occurrences="2">
  3224. <code>$dir['path']</code>
  3225. <code>$dir['url']</code>
  3226. </InvalidArrayOffset>
  3227. <NullArgument occurrences="1">
  3228. <code>null</code>
  3229. </NullArgument>
  3230. <NullableReturnStatement occurrences="1">
  3231. <code>null</code>
  3232. </NullableReturnStatement>
  3233. <TooManyArguments occurrences="1">
  3234. <code>dispatch</code>
  3235. </TooManyArguments>
  3236. <TypeDoesNotContainNull occurrences="2">
  3237. <code>$appId === null</code>
  3238. <code>$appId === null</code>
  3239. </TypeDoesNotContainNull>
  3240. </file>
  3241. <file src="lib/private/legacy/OC_FileChunking.php">
  3242. <UndefinedDocblockClass occurrences="1">
  3243. <code>\OC\InsufficientStorageException</code>
  3244. </UndefinedDocblockClass>
  3245. </file>
  3246. <file src="lib/private/legacy/OC_Files.php">
  3247. <RedundantCondition occurrences="2">
  3248. <code>$getType === self::ZIP_DIR</code>
  3249. <code>$getType === self::ZIP_DIR</code>
  3250. </RedundantCondition>
  3251. <UndefinedInterfaceMethod occurrences="2">
  3252. <code>get</code>
  3253. <code>get</code>
  3254. </UndefinedInterfaceMethod>
  3255. </file>
  3256. <file src="lib/private/legacy/OC_Helper.php">
  3257. <InvalidOperand occurrences="1">
  3258. <code>$matches[1][$last_match][0]</code>
  3259. </InvalidOperand>
  3260. <InvalidScalarArgument occurrences="1">
  3261. <code>$path</code>
  3262. </InvalidScalarArgument>
  3263. <RedundantCondition occurrences="1">
  3264. <code>count($obd_values) &gt; 0</code>
  3265. </RedundantCondition>
  3266. </file>
  3267. <file src="lib/private/legacy/OC_User.php">
  3268. <UndefinedClass occurrences="1">
  3269. <code>\Test\Util\User\Dummy</code>
  3270. </UndefinedClass>
  3271. </file>
  3272. <file src="lib/public/AppFramework/ApiController.php">
  3273. <NoInterfaceProperties occurrences="1">
  3274. <code>$this-&gt;request-&gt;server</code>
  3275. </NoInterfaceProperties>
  3276. </file>
  3277. <file src="lib/public/AppFramework/App.php">
  3278. <InternalMethod occurrences="1">
  3279. <code>new RouteConfig($this-&gt;container, $router, $routes)</code>
  3280. </InternalMethod>
  3281. </file>
  3282. <file src="lib/public/AppFramework/Db/Entity.php">
  3283. <InvalidNullableReturnType occurrences="1">
  3284. <code>string</code>
  3285. </InvalidNullableReturnType>
  3286. <NullableReturnStatement occurrences="1">
  3287. <code>$column</code>
  3288. </NullableReturnStatement>
  3289. </file>
  3290. <file src="lib/public/AppFramework/Http/JSONResponse.php">
  3291. <InvalidReturnStatement occurrences="1">
  3292. <code>$this-&gt;data</code>
  3293. </InvalidReturnStatement>
  3294. <InvalidReturnType occurrences="1">
  3295. <code>array</code>
  3296. </InvalidReturnType>
  3297. </file>
  3298. <file src="lib/public/BackgroundJob/TimedJob.php">
  3299. <MoreSpecificImplementedParamType occurrences="1">
  3300. <code>$jobList</code>
  3301. </MoreSpecificImplementedParamType>
  3302. </file>
  3303. <file src="lib/public/Diagnostics/IQueryLogger.php">
  3304. <LessSpecificImplementedReturnType occurrences="1">
  3305. <code>mixed</code>
  3306. </LessSpecificImplementedReturnType>
  3307. </file>
  3308. <file src="lib/public/Files.php">
  3309. <FalsableReturnStatement occurrences="1">
  3310. <code>\OC_App::getStorage($app)</code>
  3311. </FalsableReturnStatement>
  3312. </file>
  3313. <file src="lib/public/Files/Storage.php">
  3314. <InvalidParamDefault occurrences="1">
  3315. <code>array</code>
  3316. </InvalidParamDefault>
  3317. </file>
  3318. </files>