psalm-baseline.xml 114 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319
  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="5">
  868. <code>decrypt</code>
  869. <code>encrypt</code>
  870. <code>setIV</code>
  871. <code>setIV</code>
  872. <code>setKey</code>
  873. </InternalMethod>
  874. <TooManyArguments occurrences="1">
  875. <code>test</code>
  876. </TooManyArguments>
  877. </file>
  878. <file src="apps/files_external/lib/Service/BackendService.php">
  879. <InvalidArgument occurrences="1">
  880. <code>'OCA\\Files_External::loadAdditionalBackends'</code>
  881. </InvalidArgument>
  882. <TooManyArguments occurrences="1">
  883. <code>dispatch</code>
  884. </TooManyArguments>
  885. </file>
  886. <file src="apps/files_sharing/lib/AppInfo/Application.php">
  887. <InvalidArgument occurrences="6">
  888. <code>addServiceListener</code>
  889. <code>addServiceListener</code>
  890. <code>addServiceListener</code>
  891. <code>addServiceListener</code>
  892. <code>addServiceListener</code>
  893. <code>addServiceListener</code>
  894. </InvalidArgument>
  895. </file>
  896. <file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
  897. <UndefinedClass occurrences="2">
  898. <code>\OCA\Circles\Api\v1\Circles</code>
  899. <code>\OCA\Circles\Api\v1\Circles</code>
  900. </UndefinedClass>
  901. <UndefinedDocblockClass occurrences="4">
  902. <code>$this-&gt;getRoomShareHelper()</code>
  903. <code>$this-&gt;getRoomShareHelper()</code>
  904. <code>$this-&gt;getRoomShareHelper()</code>
  905. <code>\OCA\Talk\Share\Helper\ShareAPIController</code>
  906. </UndefinedDocblockClass>
  907. </file>
  908. <file src="apps/files_sharing/lib/Controller/ShareController.php">
  909. <InvalidArgument occurrences="1">
  910. <code>$files_list</code>
  911. </InvalidArgument>
  912. </file>
  913. <file src="apps/files_sharing/lib/External/Scanner.php">
  914. <MoreSpecificImplementedParamType occurrences="1">
  915. <code>$cacheData</code>
  916. </MoreSpecificImplementedParamType>
  917. </file>
  918. <file src="apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php">
  919. <InvalidArgument occurrences="1">
  920. <code>$legacyEvent</code>
  921. </InvalidArgument>
  922. </file>
  923. <file src="apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php">
  924. <InvalidArgument occurrences="1">
  925. <code>$exception-&gt;getMessage()</code>
  926. </InvalidArgument>
  927. </file>
  928. <file src="apps/files_sharing/lib/MountProvider.php">
  929. <RedundantFunctionCall occurrences="1">
  930. <code>array_values</code>
  931. </RedundantFunctionCall>
  932. </file>
  933. <file src="apps/files_sharing/lib/ShareBackend/File.php">
  934. <InvalidScalarArgument occurrences="2">
  935. <code>$itemSource</code>
  936. <code>$itemSource</code>
  937. </InvalidScalarArgument>
  938. <MoreSpecificImplementedParamType occurrences="1">
  939. <code>$shareWith</code>
  940. </MoreSpecificImplementedParamType>
  941. </file>
  942. <file src="apps/files_sharing/lib/ShareBackend/Folder.php">
  943. <UndefinedInterfaceMethod occurrences="1">
  944. <code>fetchRow</code>
  945. </UndefinedInterfaceMethod>
  946. </file>
  947. <file src="apps/files_sharing/lib/SharedMount.php">
  948. <InvalidReturnType occurrences="1">
  949. <code>bool</code>
  950. </InvalidReturnType>
  951. </file>
  952. <file src="apps/files_sharing/lib/SharedStorage.php">
  953. <FalsableReturnStatement occurrences="1">
  954. <code>$this-&gt;sourceRootInfo</code>
  955. </FalsableReturnStatement>
  956. <InvalidNullableReturnType occurrences="1">
  957. <code>ICacheEntry</code>
  958. </InvalidNullableReturnType>
  959. <InvalidReturnStatement occurrences="1">
  960. <code>new FailedCache()</code>
  961. </InvalidReturnStatement>
  962. <NullableReturnStatement occurrences="1">
  963. <code>$this-&gt;sourceRootInfo</code>
  964. </NullableReturnStatement>
  965. <ParamNameMismatch occurrences="2">
  966. <code>$available</code>
  967. <code>$target</code>
  968. </ParamNameMismatch>
  969. </file>
  970. <file src="apps/files_sharing/lib/Updater.php">
  971. <UndefinedMethod occurrences="1">
  972. <code>moveMount</code>
  973. </UndefinedMethod>
  974. </file>
  975. <file src="apps/files_trashbin/lib/Sabre/AbstractTrash.php">
  976. <InvalidNullableReturnType occurrences="1">
  977. <code>int</code>
  978. </InvalidNullableReturnType>
  979. <NullableReturnStatement occurrences="1">
  980. <code>$this-&gt;data-&gt;getId()</code>
  981. </NullableReturnStatement>
  982. </file>
  983. <file src="apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php">
  984. <InvalidReturnStatement occurrences="1">
  985. <code>$entry</code>
  986. </InvalidReturnStatement>
  987. <InvalidReturnType occurrences="1">
  988. <code>ITrash</code>
  989. </InvalidReturnType>
  990. </file>
  991. <file src="apps/files_trashbin/lib/Sabre/RestoreFolder.php">
  992. <InvalidNullableReturnType occurrences="1">
  993. <code>getChild</code>
  994. </InvalidNullableReturnType>
  995. <NullableReturnStatement occurrences="1">
  996. <code>null</code>
  997. </NullableReturnStatement>
  998. </file>
  999. <file src="apps/files_trashbin/lib/Sabre/RootCollection.php">
  1000. <MismatchingDocblockReturnType occurrences="1">
  1001. <code>INode</code>
  1002. </MismatchingDocblockReturnType>
  1003. </file>
  1004. <file src="apps/files_trashbin/lib/Sabre/TrashRoot.php">
  1005. <InvalidReturnStatement occurrences="1">
  1006. <code>$entry</code>
  1007. </InvalidReturnStatement>
  1008. <InvalidReturnType occurrences="1">
  1009. <code>ITrash</code>
  1010. </InvalidReturnType>
  1011. </file>
  1012. <file src="apps/files_trashbin/lib/Storage.php">
  1013. <InvalidArgument occurrences="1">
  1014. <code>'OCA\Files_Trashbin::moveToTrash'</code>
  1015. </InvalidArgument>
  1016. <InvalidOperand occurrences="1">
  1017. <code>$this-&gt;mountPoint</code>
  1018. </InvalidOperand>
  1019. <TooManyArguments occurrences="1">
  1020. <code>dispatch</code>
  1021. </TooManyArguments>
  1022. </file>
  1023. <file src="apps/files_trashbin/lib/Trash/LegacyTrashBackend.php">
  1024. <RedundantCondition occurrences="2">
  1025. <code>$trashFiles</code>
  1026. <code>$trashFiles</code>
  1027. </RedundantCondition>
  1028. <TypeDoesNotContainType occurrences="1">
  1029. <code>null</code>
  1030. </TypeDoesNotContainType>
  1031. <UndefinedInterfaceMethod occurrences="2">
  1032. <code>$file</code>
  1033. <code>getById</code>
  1034. </UndefinedInterfaceMethod>
  1035. </file>
  1036. <file src="apps/files_trashbin/lib/Trashbin.php">
  1037. <FalsableReturnStatement occurrences="1">
  1038. <code>false</code>
  1039. </FalsableReturnStatement>
  1040. <InvalidScalarArgument occurrences="2">
  1041. <code>$timestamp</code>
  1042. <code>$timestamp</code>
  1043. </InvalidScalarArgument>
  1044. </file>
  1045. <file src="apps/files_versions/appinfo/routes.php">
  1046. <InvalidScope occurrences="2">
  1047. <code>$this</code>
  1048. <code>$this</code>
  1049. </InvalidScope>
  1050. </file>
  1051. <file src="apps/files_versions/lib/Sabre/RestoreFolder.php">
  1052. <InvalidNullableReturnType occurrences="1">
  1053. <code>getChild</code>
  1054. </InvalidNullableReturnType>
  1055. <NullableReturnStatement occurrences="1">
  1056. <code>null</code>
  1057. </NullableReturnStatement>
  1058. </file>
  1059. <file src="apps/files_versions/lib/Sabre/VersionHome.php">
  1060. <InvalidNullableReturnType occurrences="1">
  1061. <code>getChild</code>
  1062. </InvalidNullableReturnType>
  1063. </file>
  1064. <file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php">
  1065. <InvalidScalarArgument occurrences="1">
  1066. <code>$this-&gt;retries + 1</code>
  1067. </InvalidScalarArgument>
  1068. </file>
  1069. <file src="apps/oauth2/lib/Controller/OauthApiController.php">
  1070. <NoInterfaceProperties occurrences="1">
  1071. <code>$this-&gt;request-&gt;server</code>
  1072. </NoInterfaceProperties>
  1073. </file>
  1074. <file src="apps/oauth2/lib/Db/AccessTokenMapper.php">
  1075. <InvalidCatch occurrences="1"/>
  1076. </file>
  1077. <file src="apps/oauth2/lib/Db/ClientMapper.php">
  1078. <InvalidCatch occurrences="2"/>
  1079. </file>
  1080. <file src="apps/provisioning_api/lib/Controller/UsersController.php">
  1081. <TypeDoesNotContainNull occurrences="2">
  1082. <code>$groupid === null</code>
  1083. <code>$groupid === null</code>
  1084. </TypeDoesNotContainNull>
  1085. </file>
  1086. <file src="apps/settings/lib/AppInfo/Application.php">
  1087. <InvalidArgument occurrences="1">
  1088. <code>AppPasswordCreatedActivityListener::class</code>
  1089. </InvalidArgument>
  1090. <UndefinedInterfaceMethod occurrences="1">
  1091. <code>getSettingsManager</code>
  1092. </UndefinedInterfaceMethod>
  1093. </file>
  1094. <file src="apps/settings/lib/Controller/AppSettingsController.php">
  1095. <UndefinedInterfaceMethod occurrences="1">
  1096. <code>ignoreNextcloudRequirementForApp</code>
  1097. </UndefinedInterfaceMethod>
  1098. </file>
  1099. <file src="apps/settings/lib/Controller/CheckSetupController.php">
  1100. <InvalidArgument occurrences="3">
  1101. <code>IDBConnection::CHECK_MISSING_COLUMNS_EVENT</code>
  1102. <code>IDBConnection::CHECK_MISSING_INDEXES_EVENT</code>
  1103. <code>IDBConnection::CHECK_MISSING_PRIMARY_KEYS_EVENT</code>
  1104. </InvalidArgument>
  1105. <InvalidOperand occurrences="1">
  1106. <code>$lastCronRun</code>
  1107. </InvalidOperand>
  1108. <InvalidScalarArgument occurrences="2">
  1109. <code>$lastCronRun</code>
  1110. <code>0</code>
  1111. </InvalidScalarArgument>
  1112. <TooManyArguments occurrences="3">
  1113. <code>dispatch</code>
  1114. <code>dispatch</code>
  1115. <code>dispatch</code>
  1116. </TooManyArguments>
  1117. </file>
  1118. <file src="apps/settings/lib/Hooks.php">
  1119. <InvalidArrayOffset occurrences="1">
  1120. <code>[$user-&gt;getEMailAddress() =&gt; $user-&gt;getDisplayName()]</code>
  1121. </InvalidArrayOffset>
  1122. </file>
  1123. <file src="apps/settings/lib/Settings/Admin/Security.php">
  1124. <UndefinedInterfaceMethod occurrences="1">
  1125. <code>isReady</code>
  1126. </UndefinedInterfaceMethod>
  1127. </file>
  1128. <file src="apps/settings/lib/Settings/Admin/Sharing.php">
  1129. <InvalidScalarArgument occurrences="1">
  1130. <code>Constants::PERMISSION_ALL</code>
  1131. </InvalidScalarArgument>
  1132. <NullArgument occurrences="1">
  1133. <code>null</code>
  1134. </NullArgument>
  1135. </file>
  1136. <file src="apps/sharebymail/lib/ShareByMailProvider.php">
  1137. <InvalidScalarArgument occurrences="2">
  1138. <code>$share-&gt;getId()</code>
  1139. <code>(int)$data['id']</code>
  1140. </InvalidScalarArgument>
  1141. </file>
  1142. <file src="apps/systemtags/lib/Activity/Listener.php">
  1143. <InvalidScalarArgument occurrences="2">
  1144. <code>$event-&gt;getObjectId()</code>
  1145. <code>$event-&gt;getObjectId()</code>
  1146. </InvalidScalarArgument>
  1147. </file>
  1148. <file src="apps/updatenotification/lib/Controller/AdminController.php">
  1149. <InvalidScalarArgument occurrences="2">
  1150. <code>$this-&gt;timeFactory-&gt;getTime()</code>
  1151. <code>0</code>
  1152. </InvalidScalarArgument>
  1153. </file>
  1154. <file src="apps/updatenotification/lib/Notification/BackgroundJob.php">
  1155. <InvalidArgument occurrences="1">
  1156. <code>false</code>
  1157. </InvalidArgument>
  1158. <InvalidPropertyAssignmentValue occurrences="1">
  1159. <code>$this-&gt;users</code>
  1160. </InvalidPropertyAssignmentValue>
  1161. <InvalidScalarArgument occurrences="1">
  1162. <code>0</code>
  1163. </InvalidScalarArgument>
  1164. </file>
  1165. <file src="apps/updatenotification/lib/Notification/Notifier.php">
  1166. <InvalidScalarArgument occurrences="1">
  1167. <code>0</code>
  1168. </InvalidScalarArgument>
  1169. </file>
  1170. <file src="apps/updatenotification/lib/Settings/Admin.php">
  1171. <InvalidScalarArgument occurrences="1">
  1172. <code>$lastUpdateCheckTimestamp</code>
  1173. </InvalidScalarArgument>
  1174. </file>
  1175. <file src="apps/user_ldap/ajax/getNewServerConfigPrefix.php">
  1176. <InvalidScalarArgument occurrences="1">
  1177. <code>$ln + 1</code>
  1178. </InvalidScalarArgument>
  1179. </file>
  1180. <file src="apps/user_ldap/appinfo/routes.php">
  1181. <InvalidScope occurrences="1">
  1182. <code>$this</code>
  1183. </InvalidScope>
  1184. </file>
  1185. <file src="apps/user_ldap/lib/Access.php">
  1186. <InvalidReturnStatement occurrences="2">
  1187. <code>$uuid</code>
  1188. <code>$values</code>
  1189. </InvalidReturnStatement>
  1190. <InvalidReturnType occurrences="1">
  1191. <code>string[]</code>
  1192. </InvalidReturnType>
  1193. </file>
  1194. <file src="apps/user_ldap/lib/AppInfo/Application.php">
  1195. <InvalidArgument occurrences="1">
  1196. <code>'OCA\\User_LDAP\\User\\User::postLDAPBackendAdded'</code>
  1197. </InvalidArgument>
  1198. <TooManyArguments occurrences="1">
  1199. <code>dispatch</code>
  1200. </TooManyArguments>
  1201. </file>
  1202. <file src="apps/user_ldap/lib/Connection.php">
  1203. <ParadoxicalCondition occurrences="1"/>
  1204. </file>
  1205. <file src="apps/user_ldap/lib/Group_LDAP.php">
  1206. <InvalidScalarArgument occurrences="1">
  1207. <code>$groupID</code>
  1208. </InvalidScalarArgument>
  1209. </file>
  1210. <file src="apps/user_ldap/lib/Group_Proxy.php">
  1211. <ParamNameMismatch occurrences="1">
  1212. <code>$gid</code>
  1213. </ParamNameMismatch>
  1214. </file>
  1215. <file src="apps/user_ldap/lib/Jobs/Sync.php">
  1216. <InvalidOperand occurrences="2">
  1217. <code>$i</code>
  1218. <code>$lastChange</code>
  1219. </InvalidOperand>
  1220. <InvalidScalarArgument occurrences="5">
  1221. <code>$interval</code>
  1222. <code>0</code>
  1223. <code>0</code>
  1224. <code>self::MIN_INTERVAL</code>
  1225. </InvalidScalarArgument>
  1226. <NullArgument occurrences="1">
  1227. <code>null</code>
  1228. </NullArgument>
  1229. </file>
  1230. <file src="apps/user_ldap/lib/Mapping/AbstractMapping.php">
  1231. <RedundantCondition occurrences="1">
  1232. <code>isset($qb)</code>
  1233. </RedundantCondition>
  1234. <TypeDoesNotContainNull occurrences="1">
  1235. <code>isset($qb)</code>
  1236. </TypeDoesNotContainNull>
  1237. </file>
  1238. <file src="apps/user_ldap/lib/Proxy.php">
  1239. <InvalidDocblock occurrences="1">
  1240. <code>protected function handleRequest($id, $method, $parameters, $passOnWhen = false) {</code>
  1241. </InvalidDocblock>
  1242. </file>
  1243. <file src="apps/user_ldap/lib/User/Manager.php">
  1244. <InvalidDocblock occurrences="1">
  1245. <code>public function setLdapAccess(Access $access) {</code>
  1246. </InvalidDocblock>
  1247. </file>
  1248. <file src="apps/user_ldap/lib/User/User.php">
  1249. <FalsableReturnStatement occurrences="1">
  1250. <code>$this-&gt;avatarImage</code>
  1251. </FalsableReturnStatement>
  1252. <InvalidPropertyAssignmentValue occurrences="1">
  1253. <code>$this-&gt;refreshedFeatures</code>
  1254. </InvalidPropertyAssignmentValue>
  1255. <InvalidReturnType occurrences="1">
  1256. <code>null</code>
  1257. </InvalidReturnType>
  1258. <InvalidScalarArgument occurrences="2">
  1259. <code>1</code>
  1260. <code>true</code>
  1261. </InvalidScalarArgument>
  1262. </file>
  1263. <file src="apps/user_ldap/lib/User_LDAP.php">
  1264. <ImplementedReturnTypeMismatch occurrences="1">
  1265. <code>string|false</code>
  1266. </ImplementedReturnTypeMismatch>
  1267. <MoreSpecificImplementedParamType occurrences="2">
  1268. <code>$limit</code>
  1269. <code>$offset</code>
  1270. </MoreSpecificImplementedParamType>
  1271. <NullableReturnStatement occurrences="1">
  1272. <code>null</code>
  1273. </NullableReturnStatement>
  1274. </file>
  1275. <file src="apps/user_ldap/lib/User_Proxy.php">
  1276. <ParamNameMismatch occurrences="1">
  1277. <code>$uid</code>
  1278. </ParamNameMismatch>
  1279. </file>
  1280. <file src="apps/user_status/lib/AppInfo/Application.php">
  1281. <UndefinedInterfaceMethod occurrences="1">
  1282. <code>registerProvider</code>
  1283. </UndefinedInterfaceMethod>
  1284. </file>
  1285. <file src="apps/workflowengine/lib/Check/AbstractStringCheck.php">
  1286. <NullArgument occurrences="1">
  1287. <code>null</code>
  1288. </NullArgument>
  1289. </file>
  1290. <file src="apps/workflowengine/lib/Check/FileMimeType.php">
  1291. <InvalidScalarArgument occurrences="1">
  1292. <code>$path</code>
  1293. </InvalidScalarArgument>
  1294. </file>
  1295. <file src="apps/workflowengine/lib/Check/FileSize.php">
  1296. <FalsableReturnStatement occurrences="1">
  1297. <code>$this-&gt;size</code>
  1298. </FalsableReturnStatement>
  1299. <InvalidPropertyAssignmentValue occurrences="1">
  1300. <code>$size</code>
  1301. </InvalidPropertyAssignmentValue>
  1302. <InvalidReturnStatement occurrences="1">
  1303. <code>$this-&gt;size</code>
  1304. </InvalidReturnStatement>
  1305. <InvalidReturnType occurrences="1">
  1306. <code>string</code>
  1307. </InvalidReturnType>
  1308. </file>
  1309. <file src="apps/workflowengine/lib/Check/RequestRemoteAddress.php">
  1310. <InvalidScalarArgument occurrences="4">
  1311. <code>$decodedValue[1]</code>
  1312. <code>$decodedValue[1]</code>
  1313. <code>$decodedValue[1]</code>
  1314. <code>$decodedValue[1]</code>
  1315. </InvalidScalarArgument>
  1316. </file>
  1317. <file src="apps/workflowengine/lib/Check/RequestTime.php">
  1318. <InvalidScalarArgument occurrences="2">
  1319. <code>$hour1</code>
  1320. <code>$minute1</code>
  1321. </InvalidScalarArgument>
  1322. </file>
  1323. <file src="apps/workflowengine/lib/Check/TFileCheck.php">
  1324. <InvalidArgument occurrences="1">
  1325. <code>['app' =&gt; Application::APP_ID, 'class' =&gt; get_class($subject)]</code>
  1326. </InvalidArgument>
  1327. </file>
  1328. <file src="apps/workflowengine/lib/Entity/File.php">
  1329. <InvalidReturnType occurrences="1">
  1330. <code>string</code>
  1331. </InvalidReturnType>
  1332. </file>
  1333. <file src="apps/workflowengine/lib/Manager.php">
  1334. <InvalidArgument occurrences="3">
  1335. <code>IManager::EVENT_NAME_REG_CHECK</code>
  1336. <code>IManager::EVENT_NAME_REG_ENTITY</code>
  1337. <code>IManager::EVENT_NAME_REG_OPERATION</code>
  1338. </InvalidArgument>
  1339. <InvalidOperand occurrences="1">
  1340. <code>$result</code>
  1341. </InvalidOperand>
  1342. <InvalidReturnStatement occurrences="1">
  1343. <code>$result</code>
  1344. </InvalidReturnStatement>
  1345. <InvalidReturnType occurrences="1">
  1346. <code>bool</code>
  1347. </InvalidReturnType>
  1348. <InvalidScalarArgument occurrences="1">
  1349. <code>$missingCheck</code>
  1350. </InvalidScalarArgument>
  1351. <TooManyArguments occurrences="3">
  1352. <code>dispatch</code>
  1353. <code>dispatch</code>
  1354. <code>dispatch</code>
  1355. </TooManyArguments>
  1356. </file>
  1357. <file src="apps/workflowengine/lib/Service/RuleMatcher.php">
  1358. <UndefinedInterfaceMethod occurrences="5">
  1359. <code>getAllConfiguredScopesForOperation</code>
  1360. <code>getChecks</code>
  1361. <code>getOperations</code>
  1362. <code>getOperations</code>
  1363. <code>isUserScopeEnabled</code>
  1364. </UndefinedInterfaceMethod>
  1365. </file>
  1366. <file src="core/Application.php">
  1367. <InvalidArgument occurrences="10">
  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. <code>addServiceListener</code>
  1378. </InvalidArgument>
  1379. </file>
  1380. <file src="core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php">
  1381. <ParamNameMismatch occurrences="1">
  1382. <code>$arguments</code>
  1383. </ParamNameMismatch>
  1384. </file>
  1385. <file src="core/BackgroundJobs/CheckForUserCertificates.php">
  1386. <ParamNameMismatch occurrences="1">
  1387. <code>$arguments</code>
  1388. </ParamNameMismatch>
  1389. </file>
  1390. <file src="core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php">
  1391. <ParamNameMismatch occurrences="1">
  1392. <code>$arguments</code>
  1393. </ParamNameMismatch>
  1394. </file>
  1395. <file src="core/Command/App/Install.php">
  1396. <TypeDoesNotContainType occurrences="1">
  1397. <code>$result === false</code>
  1398. </TypeDoesNotContainType>
  1399. </file>
  1400. <file src="core/Command/App/ListApps.php">
  1401. <LessSpecificImplementedReturnType occurrences="1">
  1402. <code>array</code>
  1403. </LessSpecificImplementedReturnType>
  1404. </file>
  1405. <file src="core/Command/Config/Import.php">
  1406. <InvalidScalarArgument occurrences="2">
  1407. <code>0</code>
  1408. <code>1</code>
  1409. </InvalidScalarArgument>
  1410. </file>
  1411. <file src="core/Command/Config/ListConfigs.php">
  1412. <FalsableReturnStatement occurrences="1">
  1413. <code>$this-&gt;appConfig-&gt;getValues($app, false)</code>
  1414. </FalsableReturnStatement>
  1415. <TooManyArguments occurrences="1">
  1416. <code>getFilteredValues</code>
  1417. </TooManyArguments>
  1418. </file>
  1419. <file src="core/Command/Db/AddMissingColumns.php">
  1420. <InvalidArgument occurrences="1">
  1421. <code>IDBConnection::ADD_MISSING_COLUMNS_EVENT</code>
  1422. </InvalidArgument>
  1423. <TooManyArguments occurrences="1">
  1424. <code>dispatch</code>
  1425. </TooManyArguments>
  1426. </file>
  1427. <file src="core/Command/Db/AddMissingIndices.php">
  1428. <InvalidArgument occurrences="1">
  1429. <code>IDBConnection::ADD_MISSING_INDEXES_EVENT</code>
  1430. </InvalidArgument>
  1431. <TooManyArguments occurrences="1">
  1432. <code>dispatch</code>
  1433. </TooManyArguments>
  1434. </file>
  1435. <file src="core/Command/Db/AddMissingPrimaryKeys.php">
  1436. <InvalidArgument occurrences="1">
  1437. <code>IDBConnection::ADD_MISSING_PRIMARY_KEYS_EVENT</code>
  1438. </InvalidArgument>
  1439. <TooManyArguments occurrences="1">
  1440. <code>dispatch</code>
  1441. </TooManyArguments>
  1442. </file>
  1443. <file src="core/Command/Db/ConvertType.php">
  1444. <InvalidScalarArgument occurrences="2">
  1445. <code>0</code>
  1446. <code>1</code>
  1447. </InvalidScalarArgument>
  1448. </file>
  1449. <file src="core/Command/Encryption/Enable.php">
  1450. <NullArgument occurrences="1">
  1451. <code>null</code>
  1452. </NullArgument>
  1453. </file>
  1454. <file src="core/Command/Log/File.php">
  1455. <InvalidReturnStatement occurrences="1">
  1456. <code>[0]</code>
  1457. </InvalidReturnStatement>
  1458. <InvalidReturnType occurrences="1">
  1459. <code>string[]</code>
  1460. </InvalidReturnType>
  1461. </file>
  1462. <file src="core/Command/Log/Manage.php">
  1463. <InvalidScalarArgument occurrences="1">
  1464. <code>$levelNum</code>
  1465. </InvalidScalarArgument>
  1466. </file>
  1467. <file src="core/Command/Maintenance/DataFingerprint.php">
  1468. <InvalidScalarArgument occurrences="1">
  1469. <code>$this-&gt;timeFactory-&gt;getTime()</code>
  1470. </InvalidScalarArgument>
  1471. </file>
  1472. <file src="core/Command/Maintenance/Mimetype/UpdateDB.php">
  1473. <UndefinedInterfaceMethod occurrences="2">
  1474. <code>getAllMappings</code>
  1475. <code>updateFilecache</code>
  1476. </UndefinedInterfaceMethod>
  1477. </file>
  1478. <file src="core/Command/Maintenance/Mimetype/UpdateJS.php">
  1479. <UndefinedInterfaceMethod occurrences="1">
  1480. <code>getAllAliases</code>
  1481. </UndefinedInterfaceMethod>
  1482. </file>
  1483. <file src="core/Command/Preview/Repair.php">
  1484. <UndefinedInterfaceMethod occurrences="2">
  1485. <code>section</code>
  1486. <code>section</code>
  1487. </UndefinedInterfaceMethod>
  1488. </file>
  1489. <file src="core/Command/Preview/ResetRenderedTexts.php">
  1490. <InvalidReturnStatement occurrences="1">
  1491. <code>[]</code>
  1492. </InvalidReturnStatement>
  1493. </file>
  1494. <file src="core/Controller/ClientFlowLoginV2Controller.php">
  1495. <TypeDoesNotContainType occurrences="1">
  1496. <code>!is_string($stateToken)</code>
  1497. </TypeDoesNotContainType>
  1498. </file>
  1499. <file src="core/Controller/CollaborationResourcesController.php">
  1500. <UndefinedInterfaceMethod occurrences="1">
  1501. <code>searchCollections</code>
  1502. </UndefinedInterfaceMethod>
  1503. </file>
  1504. <file src="core/Controller/UnifiedSearchController.php">
  1505. <NullArgument occurrences="1">
  1506. <code>null</code>
  1507. </NullArgument>
  1508. <UndefinedInterfaceMethod occurrences="1">
  1509. <code>findMatchingRoute</code>
  1510. </UndefinedInterfaceMethod>
  1511. </file>
  1512. <file src="core/Middleware/TwoFactorMiddleware.php">
  1513. <NoInterfaceProperties occurrences="1">
  1514. <code>$this-&gt;request-&gt;server</code>
  1515. </NoInterfaceProperties>
  1516. </file>
  1517. <file src="core/routes.php">
  1518. <InvalidScope occurrences="2">
  1519. <code>$this</code>
  1520. </InvalidScope>
  1521. </file>
  1522. <file src="core/templates/layout.public.php">
  1523. <UndefinedInterfaceMethod occurrences="1">
  1524. <code>getIcon</code>
  1525. </UndefinedInterfaceMethod>
  1526. </file>
  1527. <file src="lib/autoloader.php">
  1528. <RedundantCondition occurrences="2">
  1529. <code>$this-&gt;memoryCache</code>
  1530. <code>$this-&gt;memoryCache</code>
  1531. </RedundantCondition>
  1532. </file>
  1533. <file src="lib/base.php">
  1534. <InvalidArgument occurrences="1">
  1535. <code>$restrictions</code>
  1536. </InvalidArgument>
  1537. </file>
  1538. <file src="lib/private/Accounts/AccountManager.php">
  1539. <InvalidArgument occurrences="1">
  1540. <code>'OC\AccountManager::userUpdated'</code>
  1541. </InvalidArgument>
  1542. <TooManyArguments occurrences="1">
  1543. <code>dispatch</code>
  1544. </TooManyArguments>
  1545. </file>
  1546. <file src="lib/private/Activity/Event.php">
  1547. <ParamNameMismatch occurrences="1">
  1548. <code>$affectedUser</code>
  1549. </ParamNameMismatch>
  1550. </file>
  1551. <file src="lib/private/Activity/Manager.php">
  1552. <InvalidPropertyAssignmentValue occurrences="3">
  1553. <code>$this-&gt;filterClasses</code>
  1554. <code>$this-&gt;providerClasses</code>
  1555. <code>$this-&gt;settingsClasses</code>
  1556. </InvalidPropertyAssignmentValue>
  1557. <TypeDoesNotContainType occurrences="1">
  1558. <code>!is_string($currentUserId) &amp;&amp; $currentUserId !== null</code>
  1559. </TypeDoesNotContainType>
  1560. </file>
  1561. <file src="lib/private/AllConfig.php">
  1562. <MoreSpecificImplementedParamType occurrences="1">
  1563. <code>$key</code>
  1564. </MoreSpecificImplementedParamType>
  1565. </file>
  1566. <file src="lib/private/App/AppManager.php">
  1567. <InvalidArgument occurrences="3">
  1568. <code>ManagerEvent::EVENT_APP_DISABLE</code>
  1569. <code>ManagerEvent::EVENT_APP_ENABLE</code>
  1570. <code>ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS</code>
  1571. </InvalidArgument>
  1572. <LessSpecificImplementedReturnType occurrences="2">
  1573. <code>array</code>
  1574. <code>array</code>
  1575. </LessSpecificImplementedReturnType>
  1576. <TooManyArguments occurrences="3">
  1577. <code>dispatch</code>
  1578. <code>dispatch</code>
  1579. <code>dispatch</code>
  1580. </TooManyArguments>
  1581. <TypeDoesNotContainNull occurrences="1">
  1582. <code>$group === null</code>
  1583. </TypeDoesNotContainNull>
  1584. </file>
  1585. <file src="lib/private/App/AppStore/Fetcher/Fetcher.php">
  1586. <TooManyArguments occurrences="1">
  1587. <code>fetch</code>
  1588. </TooManyArguments>
  1589. </file>
  1590. <file src="lib/private/App/DependencyAnalyzer.php">
  1591. <InvalidNullableReturnType occurrences="1">
  1592. <code>bool</code>
  1593. </InvalidNullableReturnType>
  1594. <NullableReturnStatement occurrences="1">
  1595. <code>version_compare($first, $second, $operator)</code>
  1596. </NullableReturnStatement>
  1597. </file>
  1598. <file src="lib/private/App/InfoParser.php">
  1599. <InvalidArrayOffset occurrences="2">
  1600. <code>$array[$element][]</code>
  1601. <code>$array[$element][]</code>
  1602. </InvalidArrayOffset>
  1603. <InvalidReturnStatement occurrences="1">
  1604. <code>(string)$xml</code>
  1605. </InvalidReturnStatement>
  1606. <InvalidReturnType occurrences="1">
  1607. <code>array</code>
  1608. </InvalidReturnType>
  1609. </file>
  1610. <file src="lib/private/AppConfig.php">
  1611. <FalsableReturnStatement occurrences="1">
  1612. <code>$values</code>
  1613. </FalsableReturnStatement>
  1614. <NullableReturnStatement occurrences="1">
  1615. <code>$default</code>
  1616. </NullableReturnStatement>
  1617. </file>
  1618. <file src="lib/private/AppFramework/Bootstrap/Coordinator.php">
  1619. <InvalidPropertyAssignmentValue occurrences="1">
  1620. <code>$this-&gt;bootedApps</code>
  1621. </InvalidPropertyAssignmentValue>
  1622. </file>
  1623. <file src="lib/private/AppFramework/Bootstrap/FunctionInjector.php">
  1624. <UndefinedMethod occurrences="1">
  1625. <code>getName</code>
  1626. </UndefinedMethod>
  1627. </file>
  1628. <file src="lib/private/AppFramework/DependencyInjection/DIContainer.php">
  1629. <ImplementedReturnTypeMismatch occurrences="1">
  1630. <code>boolean|null</code>
  1631. </ImplementedReturnTypeMismatch>
  1632. <InvalidReturnStatement occurrences="1">
  1633. <code>$this-&gt;server</code>
  1634. </InvalidReturnStatement>
  1635. <InvalidReturnType occurrences="2">
  1636. <code>\OCP\IServerContainer</code>
  1637. <code>mixed</code>
  1638. </InvalidReturnType>
  1639. <UndefinedInterfaceMethod occurrences="1">
  1640. <code>getAppDataDir</code>
  1641. </UndefinedInterfaceMethod>
  1642. </file>
  1643. <file src="lib/private/AppFramework/Http/Dispatcher.php">
  1644. <InvalidScalarArgument occurrences="1">
  1645. <code>$throwable-&gt;getCode()</code>
  1646. </InvalidScalarArgument>
  1647. <NoInterfaceProperties occurrences="1">
  1648. <code>$this-&gt;request-&gt;method</code>
  1649. </NoInterfaceProperties>
  1650. <NullArgument occurrences="1">
  1651. <code>null</code>
  1652. </NullArgument>
  1653. </file>
  1654. <file src="lib/private/AppFramework/Http/Output.php">
  1655. <InvalidReturnStatement occurrences="2">
  1656. <code>@readfile($path)</code>
  1657. <code>http_response_code()</code>
  1658. </InvalidReturnStatement>
  1659. <InvalidReturnType occurrences="2">
  1660. <code>bool</code>
  1661. <code>int</code>
  1662. </InvalidReturnType>
  1663. </file>
  1664. <file src="lib/private/AppFramework/Http/Request.php">
  1665. <NullableReturnStatement occurrences="9">
  1666. <code>$host</code>
  1667. <code>$name</code>
  1668. <code>$remoteAddress</code>
  1669. <code>$this-&gt;getOverwriteHost()</code>
  1670. <code>$this-&gt;method</code>
  1671. <code>$uri</code>
  1672. <code>isset($this-&gt;cookies[$key]) ? $this-&gt;cookies[$key] : null</code>
  1673. <code>isset($this-&gt;env[$key]) ? $this-&gt;env[$key] : null</code>
  1674. <code>isset($this-&gt;files[$key]) ? $this-&gt;files[$key] : null</code>
  1675. </NullableReturnStatement>
  1676. <RedundantCondition occurrences="1">
  1677. <code>\is_array($params)</code>
  1678. </RedundantCondition>
  1679. <UndefinedFunction occurrences="1">
  1680. <code>\Sabre\HTTP\decodePath($pathInfo)</code>
  1681. </UndefinedFunction>
  1682. </file>
  1683. <file src="lib/private/AppFramework/Logger.php">
  1684. <InvalidReturnType occurrences="1">
  1685. <code>log</code>
  1686. </InvalidReturnType>
  1687. </file>
  1688. <file src="lib/private/AppFramework/Middleware/AdditionalScriptsMiddleware.php">
  1689. <InvalidArgument occurrences="2">
  1690. <code>TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS</code>
  1691. <code>TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS_LOGGEDIN</code>
  1692. </InvalidArgument>
  1693. <TooManyArguments occurrences="2">
  1694. <code>dispatch</code>
  1695. <code>dispatch</code>
  1696. </TooManyArguments>
  1697. </file>
  1698. <file src="lib/private/AppFramework/Middleware/OCSMiddleware.php">
  1699. <InternalMethod occurrences="1">
  1700. <code>setOCSVersion</code>
  1701. </InternalMethod>
  1702. </file>
  1703. <file src="lib/private/AppFramework/Middleware/Security/CORSMiddleware.php">
  1704. <NoInterfaceProperties occurrences="2">
  1705. <code>$this-&gt;request-&gt;server</code>
  1706. <code>$this-&gt;request-&gt;server</code>
  1707. </NoInterfaceProperties>
  1708. </file>
  1709. <file src="lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php">
  1710. <InvalidScalarArgument occurrences="4">
  1711. <code>$anonLimit</code>
  1712. <code>$anonPeriod</code>
  1713. <code>$userLimit</code>
  1714. <code>$userPeriod</code>
  1715. </InvalidScalarArgument>
  1716. </file>
  1717. <file src="lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php">
  1718. <NoInterfaceProperties occurrences="1">
  1719. <code>$this-&gt;request-&gt;server</code>
  1720. </NoInterfaceProperties>
  1721. <UndefinedClass occurrences="1">
  1722. <code>\OCA\Talk\Controller\PageController</code>
  1723. </UndefinedClass>
  1724. </file>
  1725. <file src="lib/private/AppFramework/Routing/RouteConfig.php">
  1726. <InvalidArrayOffset occurrences="1">
  1727. <code>$action['url-postfix']</code>
  1728. </InvalidArrayOffset>
  1729. </file>
  1730. <file src="lib/private/AppFramework/Services/AppConfig.php">
  1731. <MoreSpecificImplementedParamType occurrences="1">
  1732. <code>$default</code>
  1733. </MoreSpecificImplementedParamType>
  1734. </file>
  1735. <file src="lib/private/Archive/TAR.php">
  1736. <UndefinedDocblockClass occurrences="1">
  1737. <code>$this-&gt;tar-&gt;extractInString($path)</code>
  1738. </UndefinedDocblockClass>
  1739. </file>
  1740. <file src="lib/private/Authentication/LoginCredentials/Store.php">
  1741. <RedundantCondition occurrences="1">
  1742. <code>$trySession</code>
  1743. </RedundantCondition>
  1744. </file>
  1745. <file src="lib/private/Authentication/Token/PublicKeyToken.php">
  1746. <UndefinedMagicMethod occurrences="16"/>
  1747. </file>
  1748. <file src="lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php">
  1749. <InvalidReturnStatement occurrences="1"/>
  1750. <InvalidReturnType occurrences="1">
  1751. <code>int[]</code>
  1752. </InvalidReturnType>
  1753. </file>
  1754. <file src="lib/private/Authentication/TwoFactorAuth/Manager.php">
  1755. <InvalidArgument occurrences="2">
  1756. <code>IProvider::EVENT_FAILED</code>
  1757. <code>IProvider::EVENT_SUCCESS</code>
  1758. </InvalidArgument>
  1759. <InvalidScalarArgument occurrences="2">
  1760. <code>$this-&gt;timeFactory-&gt;getTime()</code>
  1761. <code>$tokenId</code>
  1762. </InvalidScalarArgument>
  1763. <TooManyArguments occurrences="2">
  1764. <code>dispatch</code>
  1765. <code>dispatch</code>
  1766. </TooManyArguments>
  1767. </file>
  1768. <file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php">
  1769. <InvalidArgument occurrences="1">
  1770. <code>$this-&gt;providers</code>
  1771. </InvalidArgument>
  1772. <InvalidPropertyAssignmentValue occurrences="2">
  1773. <code>$this-&gt;providers</code>
  1774. <code>[]</code>
  1775. </InvalidPropertyAssignmentValue>
  1776. <InvalidReturnStatement occurrences="1">
  1777. <code>$this-&gt;providers</code>
  1778. </InvalidReturnStatement>
  1779. <InvalidReturnType occurrences="1">
  1780. <code>IProvider[]</code>
  1781. </InvalidReturnType>
  1782. <UndefinedInterfaceMethod occurrences="1">
  1783. <code>$this-&gt;providers</code>
  1784. </UndefinedInterfaceMethod>
  1785. </file>
  1786. <file src="lib/private/Authentication/TwoFactorAuth/Registry.php">
  1787. <InvalidArrayAccess occurrences="1">
  1788. <code>$provider['provider_id']</code>
  1789. </InvalidArrayAccess>
  1790. </file>
  1791. <file src="lib/private/Authentication/WebAuthn/CredentialRepository.php">
  1792. <InvalidCatch occurrences="2"/>
  1793. </file>
  1794. <file src="lib/private/BackgroundJob/QueuedJob.php">
  1795. <MoreSpecificImplementedParamType occurrences="1">
  1796. <code>$jobList</code>
  1797. </MoreSpecificImplementedParamType>
  1798. </file>
  1799. <file src="lib/private/Cache/File.php">
  1800. <LessSpecificImplementedReturnType occurrences="2">
  1801. <code>bool|mixed</code>
  1802. <code>bool|mixed</code>
  1803. </LessSpecificImplementedReturnType>
  1804. </file>
  1805. <file src="lib/private/Collaboration/Reference/File/FileReferenceEventListener.php">
  1806. <InvalidArgument occurrences="3">
  1807. <code>addServiceListener</code>
  1808. <code>addServiceListener</code>
  1809. <code>addServiceListener</code>
  1810. </InvalidArgument>
  1811. </file>
  1812. <file src="lib/private/Collaboration/Reference/RenderReferenceEventListener.php">
  1813. <InvalidArgument occurrences="1">
  1814. <code>addServiceListener</code>
  1815. </InvalidArgument>
  1816. </file>
  1817. <file src="lib/private/Command/CallableJob.php">
  1818. <ParamNameMismatch occurrences="1">
  1819. <code>$serializedCallable</code>
  1820. </ParamNameMismatch>
  1821. </file>
  1822. <file src="lib/private/Command/ClosureJob.php">
  1823. <ParamNameMismatch occurrences="1">
  1824. <code>$serializedCallable</code>
  1825. </ParamNameMismatch>
  1826. </file>
  1827. <file src="lib/private/Command/CommandJob.php">
  1828. <ParamNameMismatch occurrences="1">
  1829. <code>$serializedCommand</code>
  1830. </ParamNameMismatch>
  1831. </file>
  1832. <file src="lib/private/Comments/Comment.php">
  1833. <ImplementedReturnTypeMismatch occurrences="1">
  1834. <code>\DateTime|null</code>
  1835. </ImplementedReturnTypeMismatch>
  1836. <ParamNameMismatch occurrences="1">
  1837. <code>$timestamp</code>
  1838. </ParamNameMismatch>
  1839. <TypeDoesNotContainType occurrences="1">
  1840. <code>!is_array($mentions[0])</code>
  1841. </TypeDoesNotContainType>
  1842. </file>
  1843. <file src="lib/private/Comments/Manager.php">
  1844. <InvalidDocblock occurrences="1">
  1845. <code>public function getForObjectSince(</code>
  1846. </InvalidDocblock>
  1847. </file>
  1848. <file src="lib/private/Config.php">
  1849. <InvalidOperand occurrences="2">
  1850. <code>$this-&gt;delete($key)</code>
  1851. <code>$this-&gt;set($key, $value)</code>
  1852. </InvalidOperand>
  1853. <UndefinedVariable occurrences="2">
  1854. <code>$CONFIG</code>
  1855. <code>$CONFIG</code>
  1856. </UndefinedVariable>
  1857. </file>
  1858. <file src="lib/private/Console/Application.php">
  1859. <InvalidArgument occurrences="1">
  1860. <code>ConsoleEvent::EVENT_RUN</code>
  1861. </InvalidArgument>
  1862. <NoInterfaceProperties occurrences="1">
  1863. <code>$this-&gt;request-&gt;server</code>
  1864. </NoInterfaceProperties>
  1865. <TooManyArguments occurrences="1">
  1866. <code>dispatch</code>
  1867. </TooManyArguments>
  1868. </file>
  1869. <file src="lib/private/ContactsManager.php">
  1870. <InvalidNullableReturnType occurrences="3">
  1871. <code>IAddressBook</code>
  1872. <code>array</code>
  1873. <code>bool</code>
  1874. </InvalidNullableReturnType>
  1875. <NullableReturnStatement occurrences="5">
  1876. <code>null</code>
  1877. <code>null</code>
  1878. <code>null</code>
  1879. <code>null</code>
  1880. <code>null</code>
  1881. </NullableReturnStatement>
  1882. <ParamNameMismatch occurrences="2">
  1883. <code>$addressBook</code>
  1884. <code>$addressBook</code>
  1885. </ParamNameMismatch>
  1886. </file>
  1887. <file src="lib/private/DB/Adapter.php">
  1888. <InvalidReturnStatement occurrences="1">
  1889. <code>$builder-&gt;execute()</code>
  1890. </InvalidReturnStatement>
  1891. <InvalidReturnType occurrences="1">
  1892. <code>int</code>
  1893. </InvalidReturnType>
  1894. </file>
  1895. <file src="lib/private/DB/AdapterMySQL.php">
  1896. <InternalMethod occurrences="1">
  1897. <code>getParams</code>
  1898. </InternalMethod>
  1899. </file>
  1900. <file src="lib/private/DB/Connection.php">
  1901. <InternalMethod occurrences="1">
  1902. <code>getParams</code>
  1903. </InternalMethod>
  1904. <InvalidReturnStatement occurrences="1">
  1905. <code>$this-&gt;adapter-&gt;lastInsertId($seqName)</code>
  1906. </InvalidReturnStatement>
  1907. <InvalidReturnType occurrences="1">
  1908. <code>string</code>
  1909. </InvalidReturnType>
  1910. <ParamNameMismatch occurrences="2">
  1911. <code>$seqName</code>
  1912. <code>$statement</code>
  1913. </ParamNameMismatch>
  1914. </file>
  1915. <file src="lib/private/DB/MigrationService.php">
  1916. <InvalidOperand occurrences="2">
  1917. <code>$offset</code>
  1918. <code>$offset</code>
  1919. </InvalidOperand>
  1920. </file>
  1921. <file src="lib/private/DB/OracleConnection.php">
  1922. <InvalidArrayAccess occurrences="1">
  1923. <code>$key[0]</code>
  1924. </InvalidArrayAccess>
  1925. </file>
  1926. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php">
  1927. <ImplicitToStringCast occurrences="1">
  1928. <code>$this-&gt;functionBuilder-&gt;lower($x)</code>
  1929. </ImplicitToStringCast>
  1930. <InvalidScalarArgument occurrences="2">
  1931. <code>$y</code>
  1932. <code>$y</code>
  1933. </InvalidScalarArgument>
  1934. </file>
  1935. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php">
  1936. <InternalMethod occurrences="1">
  1937. <code>getParams</code>
  1938. </InternalMethod>
  1939. </file>
  1940. <file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
  1941. <InvalidNullableReturnType occurrences="1">
  1942. <code>string</code>
  1943. </InvalidNullableReturnType>
  1944. <NullableReturnStatement occurrences="1">
  1945. <code>$alias</code>
  1946. </NullableReturnStatement>
  1947. <ParamNameMismatch occurrences="2">
  1948. <code>$groupBys</code>
  1949. <code>$selects</code>
  1950. </ParamNameMismatch>
  1951. </file>
  1952. <file src="lib/private/DB/QueryBuilder/QuoteHelper.php">
  1953. <InvalidNullableReturnType occurrences="1">
  1954. <code>string</code>
  1955. </InvalidNullableReturnType>
  1956. <NullableReturnStatement occurrences="1">
  1957. <code>$string</code>
  1958. </NullableReturnStatement>
  1959. </file>
  1960. <file src="lib/private/DateTimeFormatter.php">
  1961. <FalsableReturnStatement occurrences="1"/>
  1962. <InvalidDocblock occurrences="2">
  1963. <code>public function formatDateSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
  1964. <code>public function formatTimeSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
  1965. </InvalidDocblock>
  1966. <InvalidReturnStatement occurrences="1"/>
  1967. <InvalidReturnType occurrences="1">
  1968. <code>string</code>
  1969. </InvalidReturnType>
  1970. </file>
  1971. <file src="lib/private/DateTimeZone.php">
  1972. <InvalidScalarArgument occurrences="1">
  1973. <code>$timestamp</code>
  1974. </InvalidScalarArgument>
  1975. </file>
  1976. <file src="lib/private/Diagnostics/Query.php">
  1977. <ImplementedReturnTypeMismatch occurrences="1">
  1978. <code>float</code>
  1979. </ImplementedReturnTypeMismatch>
  1980. </file>
  1981. <file src="lib/private/Diagnostics/QueryLogger.php">
  1982. <InvalidReturnType occurrences="1">
  1983. <code>stopQuery</code>
  1984. </InvalidReturnType>
  1985. <InvalidScalarArgument occurrences="1">
  1986. <code>microtime(true)</code>
  1987. </InvalidScalarArgument>
  1988. </file>
  1989. <file src="lib/private/DirectEditing/Manager.php">
  1990. <InvalidReturnStatement occurrences="1">
  1991. <code>$query-&gt;execute()</code>
  1992. </InvalidReturnStatement>
  1993. <InvalidReturnType occurrences="2">
  1994. <code>TemplateResponse</code>
  1995. <code>int</code>
  1996. </InvalidReturnType>
  1997. <UndefinedMethod occurrences="2">
  1998. <code>$template</code>
  1999. <code>$template</code>
  2000. </UndefinedMethod>
  2001. </file>
  2002. <file src="lib/private/DirectEditing/Token.php">
  2003. <UndefinedMethod occurrences="1">
  2004. <code>getShareForToken</code>
  2005. </UndefinedMethod>
  2006. </file>
  2007. <file src="lib/private/Encryption/Keys/Storage.php">
  2008. <InvalidNullableReturnType occurrences="1">
  2009. <code>deleteUserKey</code>
  2010. </InvalidNullableReturnType>
  2011. <NullArgument occurrences="3">
  2012. <code>null</code>
  2013. <code>null</code>
  2014. <code>null</code>
  2015. </NullArgument>
  2016. </file>
  2017. <file src="lib/private/Encryption/Manager.php">
  2018. <ImplementedReturnTypeMismatch occurrences="1">
  2019. <code>bool</code>
  2020. </ImplementedReturnTypeMismatch>
  2021. </file>
  2022. <file src="lib/private/EventDispatcher/EventDispatcher.php">
  2023. <TooManyArguments occurrences="1">
  2024. <code>dispatch</code>
  2025. </TooManyArguments>
  2026. </file>
  2027. <file src="lib/private/EventDispatcher/SymfonyAdapter.php">
  2028. <ImplementedParamTypeMismatch occurrences="1">
  2029. <code>$eventName</code>
  2030. </ImplementedParamTypeMismatch>
  2031. <ParamNameMismatch occurrences="1">
  2032. <code>$eventName</code>
  2033. </ParamNameMismatch>
  2034. <TooManyArguments occurrences="1">
  2035. <code>dispatch</code>
  2036. </TooManyArguments>
  2037. </file>
  2038. <file src="lib/private/Federation/CloudFederationProviderManager.php">
  2039. <ParamNameMismatch occurrences="1">
  2040. <code>$providerId</code>
  2041. </ParamNameMismatch>
  2042. </file>
  2043. <file src="lib/private/Files/Cache/Cache.php">
  2044. <InvalidArgument occurrences="1">
  2045. <code>$parentData</code>
  2046. </InvalidArgument>
  2047. <InvalidNullableReturnType occurrences="1">
  2048. <code>array</code>
  2049. </InvalidNullableReturnType>
  2050. <InvalidScalarArgument occurrences="3">
  2051. <code>$path</code>
  2052. <code>$path</code>
  2053. <code>\OC_Util::normalizeUnicode($path)</code>
  2054. </InvalidScalarArgument>
  2055. <NullableReturnStatement occurrences="2">
  2056. <code>null</code>
  2057. <code>null</code>
  2058. </NullableReturnStatement>
  2059. <ParamNameMismatch occurrences="1">
  2060. <code>$searchQuery</code>
  2061. </ParamNameMismatch>
  2062. </file>
  2063. <file src="lib/private/Files/Cache/FailedCache.php">
  2064. <InvalidReturnStatement occurrences="1">
  2065. <code>[]</code>
  2066. </InvalidReturnStatement>
  2067. <InvalidReturnType occurrences="3">
  2068. <code>getIncomplete</code>
  2069. <code>insert</code>
  2070. <code>put</code>
  2071. </InvalidReturnType>
  2072. </file>
  2073. <file src="lib/private/Files/Cache/HomeCache.php">
  2074. <FalsableReturnStatement occurrences="1">
  2075. <code>$data</code>
  2076. </FalsableReturnStatement>
  2077. <MoreSpecificImplementedParamType occurrences="1">
  2078. <code>$path</code>
  2079. </MoreSpecificImplementedParamType>
  2080. <ParamNameMismatch occurrences="1">
  2081. <code>$path</code>
  2082. </ParamNameMismatch>
  2083. </file>
  2084. <file src="lib/private/Files/Cache/Scanner.php">
  2085. <InvalidReturnStatement occurrences="1">
  2086. <code>$existingChildren</code>
  2087. </InvalidReturnStatement>
  2088. <InvalidReturnType occurrences="1">
  2089. <code>array[]</code>
  2090. </InvalidReturnType>
  2091. <InvalidScalarArgument occurrences="1">
  2092. <code>self::SCAN_RECURSIVE_INCOMPLETE</code>
  2093. </InvalidScalarArgument>
  2094. </file>
  2095. <file src="lib/private/Files/Cache/Storage.php">
  2096. <InvalidNullableReturnType occurrences="1">
  2097. <code>array</code>
  2098. </InvalidNullableReturnType>
  2099. <NullableReturnStatement occurrences="1">
  2100. <code>self::getGlobalCache()-&gt;getStorageInfo($storageId)</code>
  2101. </NullableReturnStatement>
  2102. </file>
  2103. <file src="lib/private/Files/Cache/Updater.php">
  2104. <RedundantCondition occurrences="1">
  2105. <code>$this-&gt;cache instanceof Cache</code>
  2106. </RedundantCondition>
  2107. </file>
  2108. <file src="lib/private/Files/Cache/Wrapper/CacheWrapper.php">
  2109. <LessSpecificImplementedReturnType occurrences="1">
  2110. <code>array</code>
  2111. </LessSpecificImplementedReturnType>
  2112. <ParamNameMismatch occurrences="1">
  2113. <code>$searchQuery</code>
  2114. </ParamNameMismatch>
  2115. </file>
  2116. <file src="lib/private/Files/Config/MountProviderCollection.php">
  2117. <InvalidOperand occurrences="1">
  2118. <code>$user</code>
  2119. </InvalidOperand>
  2120. <RedundantCondition occurrences="1">
  2121. <code>get_class($provider) !== 'OCA\Files_Sharing\MountProvider'</code>
  2122. </RedundantCondition>
  2123. <TypeDoesNotContainType occurrences="1">
  2124. <code>get_class($provider) === 'OCA\Files_Sharing\MountProvider'</code>
  2125. </TypeDoesNotContainType>
  2126. </file>
  2127. <file src="lib/private/Files/Config/UserMountCache.php">
  2128. <InvalidReturnType occurrences="2">
  2129. <code>remoteStorageMounts</code>
  2130. <code>removeUserStorageMount</code>
  2131. </InvalidReturnType>
  2132. <LessSpecificImplementedReturnType occurrences="1">
  2133. <code>array</code>
  2134. </LessSpecificImplementedReturnType>
  2135. </file>
  2136. <file src="lib/private/Files/Filesystem.php">
  2137. <InvalidNullableReturnType occurrences="1">
  2138. <code>string</code>
  2139. </InvalidNullableReturnType>
  2140. <InvalidReturnStatement occurrences="1">
  2141. <code>self::$defaultInstance-&gt;toTmpFile($path)</code>
  2142. </InvalidReturnStatement>
  2143. <InvalidReturnType occurrences="1">
  2144. <code>string</code>
  2145. </InvalidReturnType>
  2146. <NullableReturnStatement occurrences="1">
  2147. <code>null</code>
  2148. </NullableReturnStatement>
  2149. <TooManyArguments occurrences="1">
  2150. <code>addStorageWrapper</code>
  2151. </TooManyArguments>
  2152. </file>
  2153. <file src="lib/private/Files/Mount/MountPoint.php">
  2154. <InvalidScalarArgument occurrences="1">
  2155. <code>$exception-&gt;getCode()</code>
  2156. </InvalidScalarArgument>
  2157. <UndefinedInterfaceMethod occurrences="1">
  2158. <code>wrap</code>
  2159. </UndefinedInterfaceMethod>
  2160. </file>
  2161. <file src="lib/private/Files/Mount/ObjectHomeMountProvider.php">
  2162. <InvalidNullableReturnType occurrences="1">
  2163. <code>\OCP\Files\Mount\IMountPoint</code>
  2164. </InvalidNullableReturnType>
  2165. <NullableReturnStatement occurrences="1">
  2166. <code>null</code>
  2167. </NullableReturnStatement>
  2168. </file>
  2169. <file src="lib/private/Files/Node/File.php">
  2170. <InvalidReturnStatement occurrences="1">
  2171. <code>$this-&gt;view-&gt;hash($type, $this-&gt;path, $raw)</code>
  2172. </InvalidReturnStatement>
  2173. <InvalidReturnType occurrences="1">
  2174. <code>string</code>
  2175. </InvalidReturnType>
  2176. </file>
  2177. <file src="lib/private/Files/Node/Folder.php">
  2178. <MoreSpecificImplementedParamType occurrences="1">
  2179. <code>$node</code>
  2180. </MoreSpecificImplementedParamType>
  2181. </file>
  2182. <file src="lib/private/Files/Node/HookConnector.php">
  2183. <InvalidArgument occurrences="13">
  2184. <code>'\OCP\Files::postCopy'</code>
  2185. <code>'\OCP\Files::postCreate'</code>
  2186. <code>'\OCP\Files::postDelete'</code>
  2187. <code>'\OCP\Files::postRename'</code>
  2188. <code>'\OCP\Files::postTouch'</code>
  2189. <code>'\OCP\Files::postWrite'</code>
  2190. <code>'\OCP\Files::preCopy'</code>
  2191. <code>'\OCP\Files::preCreate'</code>
  2192. <code>'\OCP\Files::preDelete'</code>
  2193. <code>'\OCP\Files::preRename'</code>
  2194. <code>'\OCP\Files::preTouch'</code>
  2195. <code>'\OCP\Files::preWrite'</code>
  2196. <code>'\OCP\Files::read'</code>
  2197. </InvalidArgument>
  2198. <TooManyArguments occurrences="13">
  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. <code>dispatch</code>
  2212. </TooManyArguments>
  2213. <UndefinedInterfaceMethod occurrences="13">
  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. <code>emit</code>
  2227. </UndefinedInterfaceMethod>
  2228. </file>
  2229. <file src="lib/private/Files/Node/LazyFolder.php">
  2230. <InvalidReturnStatement occurrences="1">
  2231. <code>$this-&gt;__call(__FUNCTION__, func_get_args())</code>
  2232. </InvalidReturnStatement>
  2233. </file>
  2234. <file src="lib/private/Files/Node/Node.php">
  2235. <InvalidArgument occurrences="1">
  2236. <code>'\OCP\Files::' . $hook</code>
  2237. </InvalidArgument>
  2238. <InvalidNullableReturnType occurrences="1"/>
  2239. <InvalidReturnType occurrences="1">
  2240. <code>getChecksum</code>
  2241. </InvalidReturnType>
  2242. <NullableReturnStatement occurrences="1"/>
  2243. <ParamNameMismatch occurrences="1">
  2244. <code>$type</code>
  2245. </ParamNameMismatch>
  2246. <TooManyArguments occurrences="1">
  2247. <code>dispatch</code>
  2248. </TooManyArguments>
  2249. <UndefinedInterfaceMethod occurrences="1">
  2250. <code>$this-&gt;fileInfo</code>
  2251. </UndefinedInterfaceMethod>
  2252. </file>
  2253. <file src="lib/private/Files/Node/NonExistingFile.php">
  2254. <ParamNameMismatch occurrences="1">
  2255. <code>$newPath</code>
  2256. </ParamNameMismatch>
  2257. </file>
  2258. <file src="lib/private/Files/Node/NonExistingFolder.php">
  2259. <ParamNameMismatch occurrences="3">
  2260. <code>$mime</code>
  2261. <code>$newPath</code>
  2262. <code>$pattern</code>
  2263. </ParamNameMismatch>
  2264. </file>
  2265. <file src="lib/private/Files/Node/Root.php">
  2266. <InvalidNullableReturnType occurrences="1">
  2267. <code>\OC\User\User</code>
  2268. </InvalidNullableReturnType>
  2269. <NullableReturnStatement occurrences="1">
  2270. <code>$this-&gt;user</code>
  2271. </NullableReturnStatement>
  2272. <UndefinedMethod occurrences="1">
  2273. <code>remove</code>
  2274. </UndefinedMethod>
  2275. </file>
  2276. <file src="lib/private/Files/ObjectStore/HomeObjectStoreStorage.php">
  2277. <ImplementedReturnTypeMismatch occurrences="1">
  2278. <code>false|string</code>
  2279. </ImplementedReturnTypeMismatch>
  2280. </file>
  2281. <file src="lib/private/Files/ObjectStore/NoopScanner.php">
  2282. <MoreSpecificImplementedParamType occurrences="1">
  2283. <code>$cacheData</code>
  2284. </MoreSpecificImplementedParamType>
  2285. </file>
  2286. <file src="lib/private/Files/ObjectStore/ObjectStoreStorage.php">
  2287. <InvalidScalarArgument occurrences="1">
  2288. <code>$source</code>
  2289. </InvalidScalarArgument>
  2290. </file>
  2291. <file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php">
  2292. <InternalClass occurrences="1">
  2293. <code>ClientResolver::_default_signature_provider()</code>
  2294. </InternalClass>
  2295. <InternalMethod occurrences="1">
  2296. <code>ClientResolver::_default_signature_provider()</code>
  2297. </InternalMethod>
  2298. <UndefinedFunction occurrences="2">
  2299. <code>\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())</code>
  2300. </UndefinedFunction>
  2301. </file>
  2302. <file src="lib/private/Files/ObjectStore/S3ObjectTrait.php">
  2303. <InternalMethod occurrences="1">
  2304. <code>upload</code>
  2305. </InternalMethod>
  2306. <UndefinedFunction occurrences="1">
  2307. <code>\Aws\serialize($command)</code>
  2308. </UndefinedFunction>
  2309. </file>
  2310. <file src="lib/private/Files/ObjectStore/S3Signature.php">
  2311. <NullArgument occurrences="1">
  2312. <code>null</code>
  2313. </NullArgument>
  2314. </file>
  2315. <file src="lib/private/Files/ObjectStore/StorageObjectStore.php">
  2316. <InvalidReturnType occurrences="1">
  2317. <code>string</code>
  2318. </InvalidReturnType>
  2319. </file>
  2320. <file src="lib/private/Files/Storage/Common.php">
  2321. <ImplementedReturnTypeMismatch occurrences="1">
  2322. <code>string|false</code>
  2323. </ImplementedReturnTypeMismatch>
  2324. <InvalidOperand occurrences="2">
  2325. <code>!$permissions</code>
  2326. <code>$this-&gt;copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file)</code>
  2327. </InvalidOperand>
  2328. <NoInterfaceProperties occurrences="8">
  2329. <code>$storage-&gt;cache</code>
  2330. <code>$storage-&gt;cache</code>
  2331. <code>$storage-&gt;propagator</code>
  2332. <code>$storage-&gt;propagator</code>
  2333. <code>$storage-&gt;scanner</code>
  2334. <code>$storage-&gt;scanner</code>
  2335. <code>$storage-&gt;updater</code>
  2336. <code>$storage-&gt;updater</code>
  2337. </NoInterfaceProperties>
  2338. </file>
  2339. <file src="lib/private/Files/Storage/DAV.php">
  2340. <InvalidClass occurrences="2">
  2341. <code>ArrayCache</code>
  2342. <code>ArrayCache</code>
  2343. </InvalidClass>
  2344. <InvalidNullableReturnType occurrences="1">
  2345. <code>getETag</code>
  2346. </InvalidNullableReturnType>
  2347. <InvalidReturnStatement occurrences="1">
  2348. <code>$response-&gt;getBody()</code>
  2349. </InvalidReturnStatement>
  2350. <InvalidReturnType occurrences="1">
  2351. <code>fopen</code>
  2352. </InvalidReturnType>
  2353. <NullableReturnStatement occurrences="1">
  2354. <code>null</code>
  2355. </NullableReturnStatement>
  2356. </file>
  2357. <file src="lib/private/Files/Storage/FailedStorage.php">
  2358. <InvalidReturnStatement occurrences="2">
  2359. <code>new FailedCache()</code>
  2360. <code>true</code>
  2361. </InvalidReturnStatement>
  2362. <InvalidReturnType occurrences="2">
  2363. <code>getCache</code>
  2364. <code>verifyPath</code>
  2365. </InvalidReturnType>
  2366. <InvalidScalarArgument occurrences="39">
  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. <code>$this-&gt;e-&gt;getCode()</code>
  2406. </InvalidScalarArgument>
  2407. </file>
  2408. <file src="lib/private/Files/Storage/Local.php">
  2409. <ImplicitToStringCast occurrences="1">
  2410. <code>$file</code>
  2411. </ImplicitToStringCast>
  2412. <InvalidOperand occurrences="1">
  2413. <code>$result</code>
  2414. </InvalidOperand>
  2415. <InvalidReturnStatement occurrences="1">
  2416. <code>$result</code>
  2417. </InvalidReturnStatement>
  2418. <InvalidReturnType occurrences="1">
  2419. <code>rename</code>
  2420. </InvalidReturnType>
  2421. <TypeDoesNotContainNull occurrences="2">
  2422. <code>$space === false || is_null($space)</code>
  2423. <code>is_null($space)</code>
  2424. </TypeDoesNotContainNull>
  2425. <TypeDoesNotContainType occurrences="1">
  2426. <code>$stat === false</code>
  2427. </TypeDoesNotContainType>
  2428. </file>
  2429. <file src="lib/private/Files/Storage/LocalRootStorage.php">
  2430. <NoInterfaceProperties occurrences="2">
  2431. <code>$storage-&gt;scanner</code>
  2432. <code>$storage-&gt;scanner</code>
  2433. </NoInterfaceProperties>
  2434. </file>
  2435. <file src="lib/private/Files/Storage/Wrapper/Encoding.php">
  2436. <InvalidScalarArgument occurrences="3">
  2437. <code>\Normalizer::FORM_C</code>
  2438. <code>\Normalizer::FORM_C</code>
  2439. <code>\Normalizer::FORM_D</code>
  2440. </InvalidScalarArgument>
  2441. <UndefinedInterfaceMethod occurrences="13">
  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. <code>$this-&gt;namesCache</code>
  2455. </UndefinedInterfaceMethod>
  2456. </file>
  2457. <file src="lib/private/Files/Storage/Wrapper/Encryption.php">
  2458. <FalsableReturnStatement occurrences="1">
  2459. <code>false</code>
  2460. </FalsableReturnStatement>
  2461. <InvalidOperand occurrences="3">
  2462. <code>$result</code>
  2463. <code>$result</code>
  2464. <code>$this-&gt;copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename)</code>
  2465. </InvalidOperand>
  2466. <InvalidReturnStatement occurrences="3">
  2467. <code>$newUnencryptedSize</code>
  2468. <code>$result</code>
  2469. <code>$this-&gt;storage-&gt;file_get_contents($path)</code>
  2470. </InvalidReturnStatement>
  2471. <InvalidReturnType occurrences="3">
  2472. <code>bool</code>
  2473. <code>int</code>
  2474. <code>string</code>
  2475. </InvalidReturnType>
  2476. <InvalidScalarArgument occurrences="4">
  2477. <code>$lastChunkPos</code>
  2478. <code>$newUnencryptedSize</code>
  2479. <code>$size</code>
  2480. <code>$sourceStorage-&gt;filemtime($sourceInternalPath)</code>
  2481. </InvalidScalarArgument>
  2482. </file>
  2483. <file src="lib/private/Files/Storage/Wrapper/Jail.php">
  2484. <InvalidReturnStatement occurrences="1">
  2485. <code>$this-&gt;getWrapperStorage()-&gt;filetype($this-&gt;getUnjailedPath($path))</code>
  2486. </InvalidReturnStatement>
  2487. <InvalidReturnType occurrences="1">
  2488. <code>bool</code>
  2489. </InvalidReturnType>
  2490. </file>
  2491. <file src="lib/private/Files/Storage/Wrapper/Quota.php">
  2492. <InvalidScalarArgument occurrences="1">
  2493. <code>$free</code>
  2494. </InvalidScalarArgument>
  2495. </file>
  2496. <file src="lib/private/Files/Storage/Wrapper/Wrapper.php">
  2497. <InvalidReturnStatement occurrences="1">
  2498. <code>$this-&gt;getWrapperStorage()-&gt;test()</code>
  2499. </InvalidReturnStatement>
  2500. <InvalidReturnType occurrences="1">
  2501. <code>true</code>
  2502. </InvalidReturnType>
  2503. </file>
  2504. <file src="lib/private/Files/Stream/SeekableHttpStream.php">
  2505. <InvalidReturnType occurrences="2">
  2506. <code>stream_close</code>
  2507. <code>stream_flush</code>
  2508. </InvalidReturnType>
  2509. </file>
  2510. <file src="lib/private/Files/Template/TemplateManager.php">
  2511. <RedundantCondition occurrences="1">
  2512. <code>!$isDefaultTemplates</code>
  2513. </RedundantCondition>
  2514. </file>
  2515. <file src="lib/private/Files/Type/Detection.php">
  2516. <ParamNameMismatch occurrences="1">
  2517. <code>$mimetype</code>
  2518. </ParamNameMismatch>
  2519. </file>
  2520. <file src="lib/private/Files/Type/Loader.php">
  2521. <InvalidReturnStatement occurrences="1">
  2522. <code>$update-&gt;execute()</code>
  2523. </InvalidReturnStatement>
  2524. <InvalidReturnType occurrences="1">
  2525. <code>int</code>
  2526. </InvalidReturnType>
  2527. </file>
  2528. <file src="lib/private/Files/View.php">
  2529. <InvalidScalarArgument occurrences="2">
  2530. <code>$fileId</code>
  2531. <code>$mtime</code>
  2532. </InvalidScalarArgument>
  2533. <NullableReturnStatement occurrences="3">
  2534. <code>null</code>
  2535. <code>null</code>
  2536. <code>null</code>
  2537. </NullableReturnStatement>
  2538. <RedundantCondition occurrences="1">
  2539. <code>is_resource($source)</code>
  2540. </RedundantCondition>
  2541. <UndefinedDocblockClass occurrences="2">
  2542. <code>$storage</code>
  2543. <code>[$storage, $internalPath]</code>
  2544. </UndefinedDocblockClass>
  2545. </file>
  2546. <file src="lib/private/FullTextSearch/Model/IndexDocument.php">
  2547. <TypeDoesNotContainNull occurrences="1">
  2548. <code>is_null($this-&gt;getContent())</code>
  2549. </TypeDoesNotContainNull>
  2550. </file>
  2551. <file src="lib/private/Group/Database.php">
  2552. <InvalidArrayOffset occurrences="1">
  2553. <code>$this-&gt;groupCache[$gid]['displayname']</code>
  2554. </InvalidArrayOffset>
  2555. <InvalidPropertyAssignmentValue occurrences="3">
  2556. <code>$this-&gt;groupCache</code>
  2557. <code>$this-&gt;groupCache</code>
  2558. <code>$this-&gt;groupCache</code>
  2559. </InvalidPropertyAssignmentValue>
  2560. </file>
  2561. <file src="lib/private/Group/Group.php">
  2562. <InvalidArgument occurrences="7">
  2563. <code>IGroup::class . '::postAddUser'</code>
  2564. <code>IGroup::class . '::postDelete'</code>
  2565. <code>IGroup::class . '::postRemoveUser'</code>
  2566. <code>IGroup::class . '::preAddUser'</code>
  2567. <code>IGroup::class . '::preDelete'</code>
  2568. <code>IGroup::class . '::preRemoveUser'</code>
  2569. <code>bool</code>
  2570. </InvalidArgument>
  2571. <InvalidOperand occurrences="1">
  2572. <code>$hide</code>
  2573. </InvalidOperand>
  2574. <MoreSpecificImplementedParamType occurrences="1">
  2575. <code>$user</code>
  2576. </MoreSpecificImplementedParamType>
  2577. <RedundantCondition occurrences="6">
  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. <code>$this-&gt;emitter</code>
  2584. </RedundantCondition>
  2585. <TooManyArguments occurrences="6">
  2586. <code>dispatch</code>
  2587. <code>dispatch</code>
  2588. <code>dispatch</code>
  2589. <code>dispatch</code>
  2590. <code>dispatch</code>
  2591. <code>dispatch</code>
  2592. </TooManyArguments>
  2593. <UndefinedMethod occurrences="4">
  2594. <code>addToGroup</code>
  2595. <code>countUsersInGroup</code>
  2596. <code>deleteGroup</code>
  2597. <code>removeFromGroup</code>
  2598. </UndefinedMethod>
  2599. </file>
  2600. <file src="lib/private/Group/Manager.php">
  2601. <UndefinedInterfaceMethod occurrences="3">
  2602. <code>createGroup</code>
  2603. <code>getGroupDetails</code>
  2604. <code>isAdmin</code>
  2605. </UndefinedInterfaceMethod>
  2606. </file>
  2607. <file src="lib/private/Http/Client/Response.php">
  2608. <InvalidNullableReturnType occurrences="1">
  2609. <code>string|resource</code>
  2610. </InvalidNullableReturnType>
  2611. <NullableReturnStatement occurrences="1"/>
  2612. </file>
  2613. <file src="lib/private/Installer.php">
  2614. <FalsableReturnStatement occurrences="1">
  2615. <code>false</code>
  2616. </FalsableReturnStatement>
  2617. <InvalidArgument occurrences="2">
  2618. <code>false</code>
  2619. <code>false</code>
  2620. </InvalidArgument>
  2621. <InvalidArrayOffset occurrences="2">
  2622. <code>$app['path']</code>
  2623. <code>$app['path']</code>
  2624. </InvalidArrayOffset>
  2625. <NullArgument occurrences="1">
  2626. <code>null</code>
  2627. </NullArgument>
  2628. </file>
  2629. <file src="lib/private/IntegrityCheck/Checker.php">
  2630. <InvalidArrayAccess occurrences="3">
  2631. <code>$x509-&gt;getDN(X509::DN_OPENSSL)['CN']</code>
  2632. <code>$x509-&gt;getDN(X509::DN_OPENSSL)['CN']</code>
  2633. <code>$x509-&gt;getDN(true)['CN']</code>
  2634. </InvalidArrayAccess>
  2635. <UndefinedInterfaceMethod occurrences="2">
  2636. <code>getAllAliases</code>
  2637. <code>getOnlyDefaultAliases</code>
  2638. </UndefinedInterfaceMethod>
  2639. </file>
  2640. <file src="lib/private/L10N/Factory.php">
  2641. <ImplementedReturnTypeMismatch occurrences="1">
  2642. <code>null|string</code>
  2643. </ImplementedReturnTypeMismatch>
  2644. <LessSpecificImplementedReturnType occurrences="1">
  2645. <code>array|mixed</code>
  2646. </LessSpecificImplementedReturnType>
  2647. </file>
  2648. <file src="lib/private/LargeFileHelper.php">
  2649. <InvalidOperand occurrences="1">
  2650. <code>$matches[1]</code>
  2651. </InvalidOperand>
  2652. <InvalidScalarArgument occurrences="1">
  2653. <code>$data</code>
  2654. </InvalidScalarArgument>
  2655. </file>
  2656. <file src="lib/private/Lockdown/Filesystem/NullCache.php">
  2657. <InvalidNullableReturnType occurrences="1">
  2658. <code>get</code>
  2659. </InvalidNullableReturnType>
  2660. <InvalidReturnStatement occurrences="1">
  2661. <code>[]</code>
  2662. </InvalidReturnStatement>
  2663. <InvalidReturnType occurrences="1">
  2664. <code>getIncomplete</code>
  2665. </InvalidReturnType>
  2666. <NullableReturnStatement occurrences="1"/>
  2667. </file>
  2668. <file src="lib/private/Lockdown/Filesystem/NullStorage.php">
  2669. <InvalidNullableReturnType occurrences="2">
  2670. <code>getOwner</code>
  2671. <code>getPermissions</code>
  2672. </InvalidNullableReturnType>
  2673. <InvalidReturnStatement occurrences="2">
  2674. <code>new IteratorDirectory([])</code>
  2675. <code>new NullCache()</code>
  2676. </InvalidReturnStatement>
  2677. <InvalidReturnType occurrences="2">
  2678. <code>getCache</code>
  2679. <code>opendir</code>
  2680. </InvalidReturnType>
  2681. <NullableReturnStatement occurrences="2">
  2682. <code>null</code>
  2683. <code>null</code>
  2684. </NullableReturnStatement>
  2685. <TooManyArguments occurrences="1">
  2686. <code>new IteratorDirectory([])</code>
  2687. </TooManyArguments>
  2688. </file>
  2689. <file src="lib/private/Lockdown/LockdownManager.php">
  2690. <InvalidFunctionCall occurrences="1">
  2691. <code>$callback()</code>
  2692. </InvalidFunctionCall>
  2693. <InvalidPropertyAssignmentValue occurrences="1">
  2694. <code>$sessionCallback</code>
  2695. </InvalidPropertyAssignmentValue>
  2696. </file>
  2697. <file src="lib/private/Log.php">
  2698. <RedundantCondition occurrences="2">
  2699. <code>$request</code>
  2700. <code>$request</code>
  2701. </RedundantCondition>
  2702. </file>
  2703. <file src="lib/private/Log/File.php">
  2704. <TypeDoesNotContainNull occurrences="1">
  2705. <code>$limit === null</code>
  2706. </TypeDoesNotContainNull>
  2707. </file>
  2708. <file src="lib/private/Log/LogDetails.php">
  2709. <RedundantCondition occurrences="1">
  2710. <code>is_string($request-&gt;getMethod())</code>
  2711. </RedundantCondition>
  2712. </file>
  2713. <file src="lib/private/Log/Rotate.php">
  2714. <ParamNameMismatch occurrences="1">
  2715. <code>$dummy</code>
  2716. </ParamNameMismatch>
  2717. </file>
  2718. <file src="lib/private/Log/Systemdlog.php">
  2719. <UndefinedFunction occurrences="1"/>
  2720. </file>
  2721. <file src="lib/private/Memcache/APCu.php">
  2722. <InvalidReturnStatement occurrences="1">
  2723. <code>apcu_add($this-&gt;getPrefix() . $key, $value, $ttl)</code>
  2724. </InvalidReturnStatement>
  2725. <InvalidReturnType occurrences="1">
  2726. <code>bool</code>
  2727. </InvalidReturnType>
  2728. </file>
  2729. <file src="lib/private/Memcache/Cache.php">
  2730. <LessSpecificImplementedReturnType occurrences="4">
  2731. <code>mixed</code>
  2732. <code>mixed</code>
  2733. <code>mixed</code>
  2734. <code>mixed</code>
  2735. </LessSpecificImplementedReturnType>
  2736. </file>
  2737. <file src="lib/private/NavigationManager.php">
  2738. <ParamNameMismatch occurrences="1">
  2739. <code>$id</code>
  2740. </ParamNameMismatch>
  2741. </file>
  2742. <file src="lib/private/Preview/BackgroundCleanupJob.php">
  2743. <InvalidReturnStatement occurrences="1">
  2744. <code>[]</code>
  2745. </InvalidReturnStatement>
  2746. </file>
  2747. <file src="lib/private/Preview/Generator.php">
  2748. <InvalidArgument occurrences="3">
  2749. <code>$maxPreviewImage</code>
  2750. <code>$semId</code>
  2751. <code>IPreview::EVENT</code>
  2752. </InvalidArgument>
  2753. <InvalidReturnStatement occurrences="1">
  2754. <code>$sem</code>
  2755. </InvalidReturnStatement>
  2756. <InvalidReturnType occurrences="1">
  2757. <code>false|\SysvSemaphore</code>
  2758. </InvalidReturnType>
  2759. <MismatchingDocblockParamType occurrences="1">
  2760. <code>ISimpleFile</code>
  2761. </MismatchingDocblockParamType>
  2762. <TooManyArguments occurrences="1">
  2763. <code>dispatch</code>
  2764. </TooManyArguments>
  2765. <UndefinedInterfaceMethod occurrences="7">
  2766. <code>height</code>
  2767. <code>height</code>
  2768. <code>preciseResizeCopy</code>
  2769. <code>resizeCopy</code>
  2770. <code>valid</code>
  2771. <code>width</code>
  2772. <code>width</code>
  2773. </UndefinedInterfaceMethod>
  2774. </file>
  2775. <file src="lib/private/Preview/ProviderV1Adapter.php">
  2776. <InvalidReturnStatement occurrences="1">
  2777. <code>$thumbnail === false ? null: $thumbnail</code>
  2778. </InvalidReturnStatement>
  2779. <InvalidReturnType occurrences="1">
  2780. <code>?IImage</code>
  2781. </InvalidReturnType>
  2782. </file>
  2783. <file src="lib/private/RedisFactory.php">
  2784. <InvalidScalarArgument occurrences="1">
  2785. <code>\RedisCluster::OPT_SLAVE_FAILOVER</code>
  2786. </InvalidScalarArgument>
  2787. </file>
  2788. <file src="lib/private/Remote/Api/OCS.php">
  2789. <ImplementedReturnTypeMismatch occurrences="1">
  2790. <code>array</code>
  2791. </ImplementedReturnTypeMismatch>
  2792. </file>
  2793. <file src="lib/private/Remote/Instance.php">
  2794. <InvalidReturnStatement occurrences="1">
  2795. <code>$request-&gt;getBody()</code>
  2796. </InvalidReturnStatement>
  2797. <InvalidReturnType occurrences="1">
  2798. <code>bool|string</code>
  2799. </InvalidReturnType>
  2800. <InvalidScalarArgument occurrences="1">
  2801. <code>$response</code>
  2802. </InvalidScalarArgument>
  2803. </file>
  2804. <file src="lib/private/Repair/Owncloud/CleanPreviews.php">
  2805. <InvalidArgument occurrences="1">
  2806. <code>false</code>
  2807. </InvalidArgument>
  2808. </file>
  2809. <file src="lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php">
  2810. <ParamNameMismatch occurrences="1">
  2811. <code>$arguments</code>
  2812. </ParamNameMismatch>
  2813. </file>
  2814. <file src="lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php">
  2815. <ParamNameMismatch occurrences="1">
  2816. <code>$arguments</code>
  2817. </ParamNameMismatch>
  2818. <TypeDoesNotContainType occurrences="1">
  2819. <code>$counter % 100 === 0</code>
  2820. </TypeDoesNotContainType>
  2821. </file>
  2822. <file src="lib/private/Repair/RemoveLinkShares.php">
  2823. <InvalidPropertyAssignmentValue occurrences="1">
  2824. <code>$this-&gt;userToNotify</code>
  2825. </InvalidPropertyAssignmentValue>
  2826. </file>
  2827. <file src="lib/private/Repair/RepairInvalidShares.php">
  2828. <ParamNameMismatch occurrences="1">
  2829. <code>$out</code>
  2830. </ParamNameMismatch>
  2831. </file>
  2832. <file src="lib/private/Repair/RepairMimeTypes.php">
  2833. <ParamNameMismatch occurrences="1">
  2834. <code>$out</code>
  2835. </ParamNameMismatch>
  2836. </file>
  2837. <file src="lib/private/Repair/SqliteAutoincrement.php">
  2838. <ParamNameMismatch occurrences="1">
  2839. <code>$out</code>
  2840. </ParamNameMismatch>
  2841. </file>
  2842. <file src="lib/private/Route/Router.php">
  2843. <InvalidClass occurrences="1">
  2844. <code>\OC_APP</code>
  2845. </InvalidClass>
  2846. <InvalidNullableReturnType occurrences="1">
  2847. <code>string</code>
  2848. </InvalidNullableReturnType>
  2849. <NullableReturnStatement occurrences="1">
  2850. <code>$this-&gt;collectionName</code>
  2851. </NullableReturnStatement>
  2852. </file>
  2853. <file src="lib/private/Search.php">
  2854. <RedundantCondition occurrences="1">
  2855. <code>$provider instanceof Provider</code>
  2856. </RedundantCondition>
  2857. </file>
  2858. <file src="lib/private/Search/Result/File.php">
  2859. <InvalidPropertyAssignmentValue occurrences="4">
  2860. <code>$data-&gt;getId()</code>
  2861. <code>$data-&gt;getMtime()</code>
  2862. <code>$data-&gt;getPermissions()</code>
  2863. <code>$this-&gt;hasPreview($data)</code>
  2864. </InvalidPropertyAssignmentValue>
  2865. </file>
  2866. <file src="lib/private/Security/Bruteforce/Throttler.php">
  2867. <NullArgument occurrences="1">
  2868. <code>null</code>
  2869. </NullArgument>
  2870. </file>
  2871. <file src="lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php">
  2872. <NoInterfaceProperties occurrences="1">
  2873. <code>$this-&gt;request-&gt;server</code>
  2874. </NoInterfaceProperties>
  2875. </file>
  2876. <file src="lib/private/Security/CredentialsManager.php">
  2877. <InvalidReturnStatement occurrences="2">
  2878. <code>$qb-&gt;execute()</code>
  2879. <code>$qb-&gt;execute()</code>
  2880. </InvalidReturnStatement>
  2881. <InvalidReturnType occurrences="2">
  2882. <code>int</code>
  2883. <code>int</code>
  2884. </InvalidReturnType>
  2885. </file>
  2886. <file src="lib/private/Security/Crypto.php">
  2887. <InternalMethod occurrences="6">
  2888. <code>decrypt</code>
  2889. <code>encrypt</code>
  2890. <code>setIV</code>
  2891. <code>setIV</code>
  2892. <code>setPassword</code>
  2893. <code>setPassword</code>
  2894. </InternalMethod>
  2895. </file>
  2896. <file src="lib/private/Server.php">
  2897. <ImplementedReturnTypeMismatch occurrences="3">
  2898. <code>\OCP\Calendar\Resource\IManager</code>
  2899. <code>\OCP\Calendar\Room\IManager</code>
  2900. <code>\OCP\Files\Folder|null</code>
  2901. </ImplementedReturnTypeMismatch>
  2902. <InvalidArgument occurrences="1">
  2903. <code>new GenericEvent($user)</code>
  2904. </InvalidArgument>
  2905. <UndefinedDocblockClass occurrences="1">
  2906. <code>\OC\OCSClient</code>
  2907. </UndefinedDocblockClass>
  2908. </file>
  2909. <file src="lib/private/ServerContainer.php">
  2910. <InvalidPropertyAssignmentValue occurrences="1">
  2911. <code>$this-&gt;hasNoAppContainer</code>
  2912. </InvalidPropertyAssignmentValue>
  2913. </file>
  2914. <file src="lib/private/Session/Internal.php">
  2915. <MoreSpecificImplementedParamType occurrences="1">
  2916. <code>$value</code>
  2917. </MoreSpecificImplementedParamType>
  2918. </file>
  2919. <file src="lib/private/Session/Memory.php">
  2920. <MoreSpecificImplementedParamType occurrences="1">
  2921. <code>$value</code>
  2922. </MoreSpecificImplementedParamType>
  2923. </file>
  2924. <file src="lib/private/Setup.php">
  2925. <InvalidScalarArgument occurrences="2">
  2926. <code>microtime(true)</code>
  2927. <code>microtime(true)</code>
  2928. </InvalidScalarArgument>
  2929. <RedundantCondition occurrences="2">
  2930. <code>$content !== ''</code>
  2931. <code>$type === 'pdo'</code>
  2932. </RedundantCondition>
  2933. <UndefinedVariable occurrences="1">
  2934. <code>$vendor</code>
  2935. </UndefinedVariable>
  2936. </file>
  2937. <file src="lib/private/Setup/AbstractDatabase.php">
  2938. <UndefinedThisPropertyFetch occurrences="4">
  2939. <code>$this-&gt;dbprettyname</code>
  2940. <code>$this-&gt;dbprettyname</code>
  2941. <code>$this-&gt;dbprettyname</code>
  2942. <code>$this-&gt;dbprettyname</code>
  2943. </UndefinedThisPropertyFetch>
  2944. </file>
  2945. <file src="lib/private/Share/Share.php">
  2946. <InvalidOperand occurrences="1">
  2947. <code>!self::isResharingAllowed()</code>
  2948. </InvalidOperand>
  2949. <UndefinedInterfaceMethod occurrences="2">
  2950. <code>getParents</code>
  2951. <code>getParents</code>
  2952. </UndefinedInterfaceMethod>
  2953. </file>
  2954. <file src="lib/private/Share20/DefaultShareProvider.php">
  2955. <InvalidScalarArgument occurrences="3">
  2956. <code>$share-&gt;getId()</code>
  2957. <code>$share-&gt;getId()</code>
  2958. <code>(int)$data['id']</code>
  2959. </InvalidScalarArgument>
  2960. <TooManyArguments occurrences="1">
  2961. <code>set</code>
  2962. </TooManyArguments>
  2963. <UndefinedInterfaceMethod occurrences="1">
  2964. <code>getParent</code>
  2965. </UndefinedInterfaceMethod>
  2966. </file>
  2967. <file src="lib/private/Share20/Manager.php">
  2968. <InvalidArgument occurrences="6">
  2969. <code>'OCP\Share::postAcceptShare'</code>
  2970. <code>'OCP\Share::postShare'</code>
  2971. <code>'OCP\Share::postUnshare'</code>
  2972. <code>'OCP\Share::postUnshareFromSelf'</code>
  2973. <code>'OCP\Share::preShare'</code>
  2974. <code>'OCP\Share::preUnshare'</code>
  2975. </InvalidArgument>
  2976. <InvalidScalarArgument occurrences="2">
  2977. <code>$id</code>
  2978. <code>$this-&gt;shareApiLinkDefaultExpireDays()</code>
  2979. </InvalidScalarArgument>
  2980. <TooManyArguments occurrences="7">
  2981. <code>dispatch</code>
  2982. <code>dispatch</code>
  2983. <code>dispatch</code>
  2984. <code>dispatch</code>
  2985. <code>dispatch</code>
  2986. <code>dispatch</code>
  2987. <code>update</code>
  2988. </TooManyArguments>
  2989. <UndefinedClass occurrences="1">
  2990. <code>\OCA\Circles\Api\v1\Circles</code>
  2991. </UndefinedClass>
  2992. <UndefinedInterfaceMethod occurrences="1">
  2993. <code>getChildren</code>
  2994. </UndefinedInterfaceMethod>
  2995. </file>
  2996. <file src="lib/private/Share20/ProviderFactory.php">
  2997. <InvalidNullableReturnType occurrences="2">
  2998. <code>FederatedShareProvider</code>
  2999. <code>ShareByMailProvider</code>
  3000. </InvalidNullableReturnType>
  3001. <InvalidReturnStatement occurrences="3">
  3002. <code>$provider</code>
  3003. <code>$provider</code>
  3004. <code>$this-&gt;shareByCircleProvider</code>
  3005. </InvalidReturnStatement>
  3006. <InvalidReturnType occurrences="1">
  3007. <code>getProviderForType</code>
  3008. </InvalidReturnType>
  3009. <NullableReturnStatement occurrences="6">
  3010. <code>null</code>
  3011. <code>null</code>
  3012. <code>null</code>
  3013. <code>null</code>
  3014. <code>null</code>
  3015. <code>null</code>
  3016. </NullableReturnStatement>
  3017. <ParamNameMismatch occurrences="1">
  3018. <code>$shareProviderClass</code>
  3019. </ParamNameMismatch>
  3020. <UndefinedClass occurrences="1">
  3021. <code>\OCA\Circles\ShareByCircleProvider</code>
  3022. </UndefinedClass>
  3023. <UndefinedDocblockClass occurrences="5">
  3024. <code>RoomShareProvider</code>
  3025. <code>\OCA\Circles\ShareByCircleProvider</code>
  3026. <code>\OCA\Talk\Share\RoomShareProvider</code>
  3027. <code>private $roomShareProvider = null;</code>
  3028. <code>private $shareByCircleProvider = null;</code>
  3029. </UndefinedDocblockClass>
  3030. <UndefinedInterfaceMethod occurrences="4">
  3031. <code>getLazyRootFolder</code>
  3032. <code>getLazyRootFolder</code>
  3033. <code>getLazyRootFolder</code>
  3034. <code>getLazyRootFolder</code>
  3035. </UndefinedInterfaceMethod>
  3036. </file>
  3037. <file src="lib/private/Streamer.php">
  3038. <InvalidArgument occurrences="1">
  3039. <code>$stream</code>
  3040. </InvalidArgument>
  3041. <UndefinedInterfaceMethod occurrences="1">
  3042. <code>get</code>
  3043. </UndefinedInterfaceMethod>
  3044. </file>
  3045. <file src="lib/private/SubAdmin.php">
  3046. <UndefinedInterfaceMethod occurrences="2">
  3047. <code>listen</code>
  3048. <code>listen</code>
  3049. </UndefinedInterfaceMethod>
  3050. </file>
  3051. <file src="lib/private/Support/Subscription/Registry.php">
  3052. <UndefinedInterfaceMethod occurrences="1">
  3053. <code>getSupportedApps</code>
  3054. </UndefinedInterfaceMethod>
  3055. </file>
  3056. <file src="lib/private/SystemTag/SystemTagManager.php">
  3057. <FalsableReturnStatement occurrences="3">
  3058. <code>false</code>
  3059. <code>false</code>
  3060. <code>false</code>
  3061. </FalsableReturnStatement>
  3062. <InvalidArgument occurrences="3">
  3063. <code>ManagerEvent::EVENT_CREATE</code>
  3064. <code>ManagerEvent::EVENT_DELETE</code>
  3065. <code>ManagerEvent::EVENT_UPDATE</code>
  3066. </InvalidArgument>
  3067. <InvalidReturnType occurrences="2">
  3068. <code>bool</code>
  3069. <code>bool</code>
  3070. </InvalidReturnType>
  3071. <TooManyArguments occurrences="3">
  3072. <code>dispatch</code>
  3073. <code>dispatch</code>
  3074. <code>dispatch</code>
  3075. </TooManyArguments>
  3076. </file>
  3077. <file src="lib/private/SystemTag/SystemTagObjectMapper.php">
  3078. <InvalidArgument occurrences="2">
  3079. <code>MapperEvent::EVENT_ASSIGN</code>
  3080. <code>MapperEvent::EVENT_UNASSIGN</code>
  3081. </InvalidArgument>
  3082. <TooManyArguments occurrences="2">
  3083. <code>dispatch</code>
  3084. <code>dispatch</code>
  3085. </TooManyArguments>
  3086. </file>
  3087. <file src="lib/private/TagManager.php">
  3088. <InvalidNullableReturnType occurrences="1">
  3089. <code>\OCP\ITags</code>
  3090. </InvalidNullableReturnType>
  3091. <NullableReturnStatement occurrences="1">
  3092. <code>null</code>
  3093. </NullableReturnStatement>
  3094. </file>
  3095. <file src="lib/private/Tags.php">
  3096. <InvalidScalarArgument occurrences="2">
  3097. <code>$from</code>
  3098. <code>$names</code>
  3099. </InvalidScalarArgument>
  3100. <MoreSpecificImplementedParamType occurrences="1">
  3101. <code>$tag</code>
  3102. </MoreSpecificImplementedParamType>
  3103. </file>
  3104. <file src="lib/private/TempManager.php">
  3105. <FalsableReturnStatement occurrences="2">
  3106. <code>false</code>
  3107. <code>false</code>
  3108. </FalsableReturnStatement>
  3109. </file>
  3110. <file src="lib/private/Template/CSSResourceLocator.php">
  3111. <ParamNameMismatch occurrences="2">
  3112. <code>$style</code>
  3113. <code>$style</code>
  3114. </ParamNameMismatch>
  3115. </file>
  3116. <file src="lib/private/Template/JSConfigHelper.php">
  3117. <NullArgument occurrences="2">
  3118. <code>null</code>
  3119. <code>null</code>
  3120. </NullArgument>
  3121. </file>
  3122. <file src="lib/private/Template/JSResourceLocator.php">
  3123. <InvalidArgument occurrences="1">
  3124. <code>false</code>
  3125. </InvalidArgument>
  3126. <InvalidOperand occurrences="6">
  3127. <code>$this-&gt;appendIfExist($this-&gt;serverroot, $script.'.js')</code>
  3128. <code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.$script.'.js')</code>
  3129. <code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.'apps/'.$script.'.js')</code>
  3130. <code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.'core/'.$script.'.js')</code>
  3131. <code>$this-&gt;appendIfExist($this-&gt;serverroot, 'apps/'.$script.'.js')</code>
  3132. <code>$this-&gt;appendIfExist($this-&gt;serverroot, 'core/'.$script.'.js')</code>
  3133. </InvalidOperand>
  3134. <ParamNameMismatch occurrences="2">
  3135. <code>$script</code>
  3136. <code>$script</code>
  3137. </ParamNameMismatch>
  3138. </file>
  3139. <file src="lib/private/TemplateLayout.php">
  3140. <InvalidParamDefault occurrences="2">
  3141. <code>string</code>
  3142. <code>string</code>
  3143. </InvalidParamDefault>
  3144. <InvalidScalarArgument occurrences="2">
  3145. <code>$appName</code>
  3146. <code>$appName</code>
  3147. </InvalidScalarArgument>
  3148. <UndefinedInterfaceMethod occurrences="1">
  3149. <code>getInitialStates</code>
  3150. </UndefinedInterfaceMethod>
  3151. </file>
  3152. <file src="lib/private/URLGenerator.php">
  3153. <InvalidReturnStatement occurrences="1">
  3154. <code>$path</code>
  3155. </InvalidReturnStatement>
  3156. </file>
  3157. <file src="lib/private/Updater/VersionCheck.php">
  3158. <InvalidScalarArgument occurrences="2">
  3159. <code>microtime(true)</code>
  3160. <code>time()</code>
  3161. </InvalidScalarArgument>
  3162. </file>
  3163. <file src="lib/private/User/Database.php">
  3164. <FalsableReturnStatement occurrences="1">
  3165. <code>false</code>
  3166. </FalsableReturnStatement>
  3167. </file>
  3168. <file src="lib/private/User/Manager.php">
  3169. <ImplementedReturnTypeMismatch occurrences="1">
  3170. <code>IUser|false</code>
  3171. </ImplementedReturnTypeMismatch>
  3172. <InvalidArgument occurrences="1">
  3173. <code>$backend</code>
  3174. </InvalidArgument>
  3175. <UndefinedInterfaceMethod occurrences="2">
  3176. <code>createUser</code>
  3177. <code>getUsersForUserValueCaseInsensitive</code>
  3178. </UndefinedInterfaceMethod>
  3179. </file>
  3180. <file src="lib/private/User/Session.php">
  3181. <ImplementedReturnTypeMismatch occurrences="1">
  3182. <code>boolean|null</code>
  3183. </ImplementedReturnTypeMismatch>
  3184. <InvalidArgument occurrences="1">
  3185. <code>IUser::class . '::firstLogin'</code>
  3186. </InvalidArgument>
  3187. <NoInterfaceProperties occurrences="2">
  3188. <code>$request-&gt;server</code>
  3189. <code>$request-&gt;server</code>
  3190. </NoInterfaceProperties>
  3191. <TooManyArguments occurrences="1">
  3192. <code>dispatch</code>
  3193. </TooManyArguments>
  3194. </file>
  3195. <file src="lib/private/User/User.php">
  3196. <InvalidArgument occurrences="5">
  3197. <code>IUser::class . '::changeUser'</code>
  3198. <code>IUser::class . '::postDelete'</code>
  3199. <code>IUser::class . '::postSetPassword'</code>
  3200. <code>IUser::class . '::preDelete'</code>
  3201. <code>IUser::class . '::preSetPassword'</code>
  3202. </InvalidArgument>
  3203. <TooManyArguments occurrences="5">
  3204. <code>dispatch</code>
  3205. <code>dispatch</code>
  3206. <code>dispatch</code>
  3207. <code>dispatch</code>
  3208. <code>dispatch</code>
  3209. </TooManyArguments>
  3210. </file>
  3211. <file src="lib/private/legacy/OC_API.php">
  3212. <InvalidNullableReturnType occurrences="1">
  3213. <code>int</code>
  3214. </InvalidNullableReturnType>
  3215. <NullableReturnStatement occurrences="1">
  3216. <code>null</code>
  3217. </NullableReturnStatement>
  3218. </file>
  3219. <file src="lib/private/legacy/OC_App.php">
  3220. <InvalidArgument occurrences="2">
  3221. <code>$groupsList</code>
  3222. <code>ManagerEvent::EVENT_APP_UPDATE</code>
  3223. </InvalidArgument>
  3224. <InvalidArrayOffset occurrences="2">
  3225. <code>$dir['path']</code>
  3226. <code>$dir['url']</code>
  3227. </InvalidArrayOffset>
  3228. <NullArgument occurrences="1">
  3229. <code>null</code>
  3230. </NullArgument>
  3231. <NullableReturnStatement occurrences="1">
  3232. <code>null</code>
  3233. </NullableReturnStatement>
  3234. <TooManyArguments occurrences="1">
  3235. <code>dispatch</code>
  3236. </TooManyArguments>
  3237. <TypeDoesNotContainNull occurrences="2">
  3238. <code>$appId === null</code>
  3239. <code>$appId === null</code>
  3240. </TypeDoesNotContainNull>
  3241. </file>
  3242. <file src="lib/private/legacy/OC_FileChunking.php">
  3243. <UndefinedDocblockClass occurrences="1">
  3244. <code>\OC\InsufficientStorageException</code>
  3245. </UndefinedDocblockClass>
  3246. </file>
  3247. <file src="lib/private/legacy/OC_Files.php">
  3248. <RedundantCondition occurrences="2">
  3249. <code>$getType === self::ZIP_DIR</code>
  3250. <code>$getType === self::ZIP_DIR</code>
  3251. </RedundantCondition>
  3252. <UndefinedInterfaceMethod occurrences="2">
  3253. <code>get</code>
  3254. <code>get</code>
  3255. </UndefinedInterfaceMethod>
  3256. </file>
  3257. <file src="lib/private/legacy/OC_Helper.php">
  3258. <InvalidOperand occurrences="1">
  3259. <code>$matches[1][$last_match][0]</code>
  3260. </InvalidOperand>
  3261. <InvalidScalarArgument occurrences="1">
  3262. <code>$path</code>
  3263. </InvalidScalarArgument>
  3264. <RedundantCondition occurrences="1">
  3265. <code>count($obd_values) &gt; 0</code>
  3266. </RedundantCondition>
  3267. </file>
  3268. <file src="lib/private/legacy/OC_User.php">
  3269. <UndefinedClass occurrences="1">
  3270. <code>\Test\Util\User\Dummy</code>
  3271. </UndefinedClass>
  3272. </file>
  3273. <file src="lib/public/AppFramework/ApiController.php">
  3274. <NoInterfaceProperties occurrences="1">
  3275. <code>$this-&gt;request-&gt;server</code>
  3276. </NoInterfaceProperties>
  3277. </file>
  3278. <file src="lib/public/AppFramework/App.php">
  3279. <InternalMethod occurrences="1">
  3280. <code>new RouteConfig($this-&gt;container, $router, $routes)</code>
  3281. </InternalMethod>
  3282. </file>
  3283. <file src="lib/public/AppFramework/Db/Entity.php">
  3284. <InvalidNullableReturnType occurrences="1">
  3285. <code>string</code>
  3286. </InvalidNullableReturnType>
  3287. <NullableReturnStatement occurrences="1">
  3288. <code>$column</code>
  3289. </NullableReturnStatement>
  3290. </file>
  3291. <file src="lib/public/AppFramework/Http/JSONResponse.php">
  3292. <InvalidReturnStatement occurrences="1">
  3293. <code>$this-&gt;data</code>
  3294. </InvalidReturnStatement>
  3295. <InvalidReturnType occurrences="1">
  3296. <code>array</code>
  3297. </InvalidReturnType>
  3298. </file>
  3299. <file src="lib/public/BackgroundJob/TimedJob.php">
  3300. <MoreSpecificImplementedParamType occurrences="1">
  3301. <code>$jobList</code>
  3302. </MoreSpecificImplementedParamType>
  3303. </file>
  3304. <file src="lib/public/Diagnostics/IQueryLogger.php">
  3305. <LessSpecificImplementedReturnType occurrences="1">
  3306. <code>mixed</code>
  3307. </LessSpecificImplementedReturnType>
  3308. </file>
  3309. <file src="lib/public/Files.php">
  3310. <FalsableReturnStatement occurrences="1">
  3311. <code>\OC_App::getStorage($app)</code>
  3312. </FalsableReturnStatement>
  3313. </file>
  3314. <file src="lib/public/Files/Storage.php">
  3315. <InvalidParamDefault occurrences="1">
  3316. <code>array</code>
  3317. </InvalidParamDefault>
  3318. </file>
  3319. </files>