psalm-baseline.xml 119 KB

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