psalm-baseline.xml 135 KB

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