psalm-baseline.xml 130 KB

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