psalm-baseline.xml 178 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <files psalm-version="4.18.1@dda05fa913f4dc6eb3386f2f7ce5a45d37a71bcb">
  3. <file src="3rdparty/sabre/dav/lib/CalDAV/Calendar.php">
  4. <MoreSpecificImplementedParamType occurrences="1">
  5. <code>$calendarData</code>
  6. </MoreSpecificImplementedParamType>
  7. </file>
  8. <file src="3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php">
  9. <MoreSpecificImplementedParamType occurrences="1">
  10. <code>$data</code>
  11. </MoreSpecificImplementedParamType>
  12. </file>
  13. <file src="3rdparty/sabre/dav/lib/CalDAV/Principal/User.php">
  14. <MoreSpecificImplementedParamType occurrences="1">
  15. <code>$data</code>
  16. </MoreSpecificImplementedParamType>
  17. </file>
  18. <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBook.php">
  19. <LessSpecificImplementedReturnType occurrences="1">
  20. <code>array</code>
  21. </LessSpecificImplementedReturnType>
  22. <MoreSpecificImplementedParamType occurrences="1">
  23. <code>$vcardData</code>
  24. </MoreSpecificImplementedParamType>
  25. </file>
  26. <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBookHome.php">
  27. <InvalidPropertyAssignmentValue occurrences="1">
  28. <code>$principalUri</code>
  29. </InvalidPropertyAssignmentValue>
  30. <MoreSpecificImplementedParamType occurrences="1">
  31. <code>$data</code>
  32. </MoreSpecificImplementedParamType>
  33. </file>
  34. <file src="3rdparty/sabre/dav/lib/DAVACL/AbstractPrincipalCollection.php">
  35. <LessSpecificImplementedReturnType occurrences="1">
  36. <code>array</code>
  37. </LessSpecificImplementedReturnType>
  38. </file>
  39. <file src="apps/cloud_federation_api/lib/Controller/RequestHandlerController.php">
  40. <InvalidScalarArgument occurrences="1">
  41. <code>$e-&gt;getCode()</code>
  42. </InvalidScalarArgument>
  43. <TypeDoesNotContainType occurrences="1">
  44. <code>!is_array($notification)</code>
  45. </TypeDoesNotContainType>
  46. </file>
  47. <file src="apps/comments/lib/Search/Result.php">
  48. <InvalidScalarArgument occurrences="1">
  49. <code>(int) $comment-&gt;getId()</code>
  50. </InvalidScalarArgument>
  51. </file>
  52. <file src="apps/contactsinteraction/lib/AddressBook.php">
  53. <UndefinedFunction occurrences="1">
  54. <code>\Sabre\Uri\split($this-&gt;principalUri)</code>
  55. </UndefinedFunction>
  56. </file>
  57. <file src="apps/dav/appinfo/v1/caldav.php">
  58. <TooManyArguments occurrences="1">
  59. <code>new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud')</code>
  60. </TooManyArguments>
  61. <UndefinedGlobalVariable occurrences="1">
  62. <code>$baseuri</code>
  63. </UndefinedGlobalVariable>
  64. </file>
  65. <file src="apps/dav/appinfo/v1/carddav.php">
  66. <TooManyArguments occurrences="1">
  67. <code>new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud')</code>
  68. </TooManyArguments>
  69. <UndefinedGlobalVariable occurrences="1">
  70. <code>$baseuri</code>
  71. </UndefinedGlobalVariable>
  72. </file>
  73. <file src="apps/dav/appinfo/v1/publicwebdav.php">
  74. <InternalMethod occurrences="2">
  75. <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog)</code>
  76. <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code>
  77. </InternalMethod>
  78. <UndefinedGlobalVariable occurrences="1">
  79. <code>$baseuri</code>
  80. </UndefinedGlobalVariable>
  81. </file>
  82. <file src="apps/dav/appinfo/v1/webdav.php">
  83. <InvalidArgument occurrences="1">
  84. <code>'OCA\DAV\Connector\Sabre::addPlugin'</code>
  85. </InvalidArgument>
  86. <TooManyArguments occurrences="1">
  87. <code>dispatch</code>
  88. </TooManyArguments>
  89. <UndefinedGlobalVariable occurrences="1">
  90. <code>$baseuri</code>
  91. </UndefinedGlobalVariable>
  92. </file>
  93. <file src="apps/dav/appinfo/v2/direct.php">
  94. <UndefinedGlobalVariable occurrences="1">
  95. <code>$baseuri</code>
  96. </UndefinedGlobalVariable>
  97. </file>
  98. <file src="apps/dav/appinfo/v2/remote.php">
  99. <UndefinedGlobalVariable occurrences="1">
  100. <code>$baseuri</code>
  101. </UndefinedGlobalVariable>
  102. </file>
  103. <file src="apps/dav/bin/chunkperf.php">
  104. <InvalidOperand occurrences="1">
  105. <code>$argv[5]</code>
  106. </InvalidOperand>
  107. <InvalidScalarArgument occurrences="1">
  108. <code>$chunkSize</code>
  109. </InvalidScalarArgument>
  110. <MissingFile occurrences="1">
  111. <code>require '../../../../3rdparty/autoload.php'</code>
  112. </MissingFile>
  113. </file>
  114. <file src="apps/dav/lib/AppInfo/Application.php">
  115. <InvalidArgument occurrences="1">
  116. <code>CalendarDeletionDefaultUpdaterListener::class</code>
  117. </InvalidArgument>
  118. <UndefinedInterfaceMethod occurrences="1">
  119. <code>getAppDataDir</code>
  120. </UndefinedInterfaceMethod>
  121. </file>
  122. <file src="apps/dav/lib/Avatars/AvatarHome.php">
  123. <UndefinedFunction occurrences="1">
  124. <code>Uri\split($this-&gt;principalInfo['uri'])</code>
  125. </UndefinedFunction>
  126. </file>
  127. <file src="apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php">
  128. <ParamNameMismatch occurrences="1">
  129. <code>$arguments</code>
  130. </ParamNameMismatch>
  131. </file>
  132. <file src="apps/dav/lib/BackgroundJob/EventReminderJob.php">
  133. <ParamNameMismatch occurrences="1">
  134. <code>$arg</code>
  135. </ParamNameMismatch>
  136. </file>
  137. <file src="apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php">
  138. <ParamNameMismatch occurrences="1">
  139. <code>$arguments</code>
  140. </ParamNameMismatch>
  141. </file>
  142. <file src="apps/dav/lib/BackgroundJob/UploadCleanup.php">
  143. <InvalidArgument occurrences="1">
  144. <code>File</code>
  145. </InvalidArgument>
  146. </file>
  147. <file src="apps/dav/lib/CalDAV/BirthdayService.php">
  148. <InvalidArrayOffset occurrences="1">
  149. <code>$user['uri']</code>
  150. </InvalidArrayOffset>
  151. <UndefinedMethod occurrences="2">
  152. <code>setDateTime</code>
  153. <code>setDateTime</code>
  154. </UndefinedMethod>
  155. <UndefinedPropertyFetch occurrences="4">
  156. <code>$existingBirthday-&gt;VEVENT-&gt;DTSTART</code>
  157. <code>$existingBirthday-&gt;VEVENT-&gt;SUMMARY</code>
  158. <code>$newCalendarData-&gt;VEVENT-&gt;DTSTART</code>
  159. <code>$newCalendarData-&gt;VEVENT-&gt;SUMMARY</code>
  160. </UndefinedPropertyFetch>
  161. </file>
  162. <file src="apps/dav/lib/CalDAV/CachedSubscription.php">
  163. <LessSpecificImplementedReturnType occurrences="1">
  164. <code>array</code>
  165. </LessSpecificImplementedReturnType>
  166. <MoreSpecificImplementedParamType occurrences="1">
  167. <code>$calendarData</code>
  168. </MoreSpecificImplementedParamType>
  169. <ParamNameMismatch occurrences="1">
  170. <code>$calendarData</code>
  171. </ParamNameMismatch>
  172. </file>
  173. <file src="apps/dav/lib/CalDAV/CachedSubscriptionObject.php">
  174. <ImplementedReturnTypeMismatch occurrences="1">
  175. <code>string|void</code>
  176. </ImplementedReturnTypeMismatch>
  177. <NullableReturnStatement occurrences="1">
  178. <code>$this-&gt;objectData['calendardata']</code>
  179. </NullableReturnStatement>
  180. <ParamNameMismatch occurrences="1">
  181. <code>$calendarData</code>
  182. </ParamNameMismatch>
  183. </file>
  184. <file src="apps/dav/lib/CalDAV/CalDavBackend.php">
  185. <InvalidArgument occurrences="8">
  186. <code>'\OCA\DAV\CalDAV\CalDavBackend::createCachedCalendarObject'</code>
  187. <code>'\OCA\DAV\CalDAV\CalDavBackend::createSubscription'</code>
  188. <code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCachedCalendarObject'</code>
  189. <code>'\OCA\DAV\CalDAV\CalDavBackend::deleteSubscription'</code>
  190. <code>'\OCA\DAV\CalDAV\CalDavBackend::publishCalendar'</code>
  191. <code>'\OCA\DAV\CalDAV\CalDavBackend::updateCachedCalendarObject'</code>
  192. <code>'\OCA\DAV\CalDAV\CalDavBackend::updateShares'</code>
  193. <code>'\OCA\DAV\CalDAV\CalDavBackend::updateSubscription'</code>
  194. </InvalidArgument>
  195. <InvalidNullableReturnType occurrences="2">
  196. <code>array</code>
  197. <code>array</code>
  198. </InvalidNullableReturnType>
  199. <MoreSpecificImplementedParamType occurrences="2">
  200. <code>$objectData</code>
  201. <code>$uris</code>
  202. </MoreSpecificImplementedParamType>
  203. <NullableReturnStatement occurrences="2">
  204. <code>null</code>
  205. <code>null</code>
  206. </NullableReturnStatement>
  207. <RedundantCast occurrences="1">
  208. <code>(int)$calendarId</code>
  209. </RedundantCast>
  210. <TooManyArguments occurrences="8">
  211. <code>dispatch</code>
  212. <code>dispatch</code>
  213. <code>dispatch</code>
  214. <code>dispatch</code>
  215. <code>dispatch</code>
  216. <code>dispatch</code>
  217. <code>dispatch</code>
  218. <code>dispatch</code>
  219. </TooManyArguments>
  220. <UndefinedFunction occurrences="4">
  221. <code>Uri\split($principalUri)</code>
  222. <code>Uri\split($row['principaluri'])</code>
  223. <code>Uri\split($row['principaluri'])</code>
  224. <code>Uri\split($row['principaluri'])</code>
  225. </UndefinedFunction>
  226. </file>
  227. <file src="apps/dav/lib/CalDAV/CalendarHome.php">
  228. <InvalidNullableReturnType occurrences="1">
  229. <code>INode</code>
  230. </InvalidNullableReturnType>
  231. <LessSpecificImplementedReturnType occurrences="1">
  232. <code>INode</code>
  233. </LessSpecificImplementedReturnType>
  234. <NullableReturnStatement occurrences="1">
  235. <code>$calendarPlugin-&gt;getCalendarInCalendarHome($this-&gt;principalInfo['uri'], $calendarUri)</code>
  236. </NullableReturnStatement>
  237. <UndefinedInterfaceMethod occurrences="1">
  238. <code>calendarSearch</code>
  239. </UndefinedInterfaceMethod>
  240. </file>
  241. <file src="apps/dav/lib/CalDAV/CalendarRoot.php">
  242. <ParamNameMismatch occurrences="1">
  243. <code>$principal</code>
  244. </ParamNameMismatch>
  245. </file>
  246. <file src="apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php">
  247. <UndefinedPropertyAssignment occurrences="1">
  248. <code>$acl-&gt;defaultUsernamePath</code>
  249. </UndefinedPropertyAssignment>
  250. </file>
  251. <file src="apps/dav/lib/CalDAV/Plugin.php">
  252. <ImplementedReturnTypeMismatch occurrences="1">
  253. <code>string|null</code>
  254. </ImplementedReturnTypeMismatch>
  255. <UndefinedFunction occurrences="3">
  256. <code>\Sabre\Uri\split($principalUrl)</code>
  257. <code>\Sabre\Uri\split($principalUrl)</code>
  258. <code>\Sabre\Uri\split($principalUrl)</code>
  259. </UndefinedFunction>
  260. </file>
  261. <file src="apps/dav/lib/CalDAV/Principal/Collection.php">
  262. <ParamNameMismatch occurrences="1">
  263. <code>$principalInfo</code>
  264. </ParamNameMismatch>
  265. </file>
  266. <file src="apps/dav/lib/CalDAV/PublicCalendar.php">
  267. <MoreSpecificImplementedParamType occurrences="1">
  268. <code>$paths</code>
  269. </MoreSpecificImplementedParamType>
  270. </file>
  271. <file src="apps/dav/lib/CalDAV/Publishing/PublishPlugin.php">
  272. <InvalidOperand occurrences="2">
  273. <code>$canPublish</code>
  274. <code>$canShare</code>
  275. </InvalidOperand>
  276. <InvalidScalarArgument occurrences="2">
  277. <code>$canPublish</code>
  278. <code>$canShare</code>
  279. </InvalidScalarArgument>
  280. </file>
  281. <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php">
  282. <UndefinedMethod occurrences="3">
  283. <code>hasTime</code>
  284. <code>isFloating</code>
  285. <code>isFloating</code>
  286. </UndefinedMethod>
  287. </file>
  288. <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php">
  289. <FalsableReturnStatement occurrences="4">
  290. <code>$l10n-&gt;l('date', $dt, ['width' =&gt; 'medium'])</code>
  291. <code>$l10n-&gt;l('datetime', $dt, ['width' =&gt; 'medium|short'])</code>
  292. <code>$l10n-&gt;l('time', $dt, ['width' =&gt; 'short'])</code>
  293. <code>$l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
  294. </FalsableReturnStatement>
  295. <InvalidReturnStatement occurrences="4">
  296. <code>$l10n-&gt;l('date', $dt, ['width' =&gt; 'medium'])</code>
  297. <code>$l10n-&gt;l('datetime', $dt, ['width' =&gt; 'medium|short'])</code>
  298. <code>$l10n-&gt;l('time', $dt, ['width' =&gt; 'short'])</code>
  299. <code>$l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
  300. </InvalidReturnStatement>
  301. <InvalidReturnType occurrences="4">
  302. <code>string</code>
  303. <code>string</code>
  304. <code>string</code>
  305. <code>string</code>
  306. </InvalidReturnType>
  307. <UndefinedMethod occurrences="3">
  308. <code>getDateTime</code>
  309. <code>getDateTime</code>
  310. <code>isFloating</code>
  311. </UndefinedMethod>
  312. </file>
  313. <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php">
  314. <PossiblyInvalidDocblockTag occurrences="1">
  315. <code>@var VEvent $vevent</code>
  316. </PossiblyInvalidDocblockTag>
  317. </file>
  318. <file src="apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php">
  319. <UndefinedConstant occurrences="1">
  320. <code>$provider::NOTIFICATION_TYPE</code>
  321. </UndefinedConstant>
  322. </file>
  323. <file src="apps/dav/lib/CalDAV/Reminder/Notifier.php">
  324. <FalsableReturnStatement occurrences="4">
  325. <code>$this-&gt;l10n-&gt;l('date', $dt, ['width' =&gt; 'medium'])</code>
  326. <code>$this-&gt;l10n-&gt;l('datetime', $dt, ['width' =&gt; 'medium|short'])</code>
  327. <code>$this-&gt;l10n-&gt;l('time', $dt, ['width' =&gt; 'short'])</code>
  328. <code>$this-&gt;l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
  329. </FalsableReturnStatement>
  330. <InvalidReturnStatement occurrences="4">
  331. <code>$this-&gt;l10n-&gt;l('date', $dt, ['width' =&gt; 'medium'])</code>
  332. <code>$this-&gt;l10n-&gt;l('datetime', $dt, ['width' =&gt; 'medium|short'])</code>
  333. <code>$this-&gt;l10n-&gt;l('time', $dt, ['width' =&gt; 'short'])</code>
  334. <code>$this-&gt;l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
  335. </InvalidReturnStatement>
  336. <InvalidReturnType occurrences="4">
  337. <code>string</code>
  338. <code>string</code>
  339. <code>string</code>
  340. <code>string</code>
  341. </InvalidReturnType>
  342. </file>
  343. <file src="apps/dav/lib/CalDAV/Reminder/ReminderService.php">
  344. <UndefinedMethod occurrences="3">
  345. <code>getDateInterval</code>
  346. <code>getDateTime</code>
  347. <code>getDateTime</code>
  348. </UndefinedMethod>
  349. <UndefinedPropertyFetch occurrences="1">
  350. <code>$valarm-&gt;parent-&gt;UID</code>
  351. </UndefinedPropertyFetch>
  352. </file>
  353. <file src="apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php">
  354. <ImplementedReturnTypeMismatch occurrences="1">
  355. <code>null|string</code>
  356. </ImplementedReturnTypeMismatch>
  357. <InvalidNullableReturnType occurrences="1">
  358. <code>array</code>
  359. </InvalidNullableReturnType>
  360. <InvalidReturnStatement occurrences="1">
  361. <code>$principals</code>
  362. </InvalidReturnStatement>
  363. <InvalidReturnType occurrences="1">
  364. <code>string[]</code>
  365. </InvalidReturnType>
  366. <NullableReturnStatement occurrences="2">
  367. <code>null</code>
  368. <code>null</code>
  369. </NullableReturnStatement>
  370. <UndefinedFunction occurrences="2">
  371. <code>\Sabre\Uri\split($path)</code>
  372. <code>\Sabre\Uri\split($path)</code>
  373. </UndefinedFunction>
  374. </file>
  375. <file src="apps/dav/lib/CalDAV/Schedule/IMipPlugin.php">
  376. <ImplicitToStringCast occurrences="2">
  377. <code>$vevent-&gt;LOCATION</code>
  378. <code>$vevent-&gt;SUMMARY</code>
  379. </ImplicitToStringCast>
  380. <InvalidNullableReturnType occurrences="1">
  381. <code>string</code>
  382. </InvalidNullableReturnType>
  383. <NullableReturnStatement occurrences="1">
  384. <code>$lang-&gt;getValue()</code>
  385. </NullableReturnStatement>
  386. <UndefinedMethod occurrences="10">
  387. <code>getDateTime</code>
  388. <code>getDateTime</code>
  389. <code>getDateTime</code>
  390. <code>getDateTime</code>
  391. <code>getDateTime</code>
  392. <code>hasTime</code>
  393. <code>hasTime</code>
  394. <code>isFloating</code>
  395. <code>isFloating</code>
  396. <code>isFloating</code>
  397. </UndefinedMethod>
  398. <UndefinedPropertyFetch occurrences="1">
  399. <code>$iTipMessage-&gt;message-&gt;VEVENT-&gt;SUMMARY</code>
  400. </UndefinedPropertyFetch>
  401. </file>
  402. <file src="apps/dav/lib/CalDAV/Schedule/Plugin.php">
  403. <InvalidArgument occurrences="2">
  404. <code>[$aclPlugin, 'propFind']</code>
  405. <code>[$aclPlugin, 'propFind']</code>
  406. </InvalidArgument>
  407. <UndefinedFunction occurrences="1">
  408. <code>split($principalUrl)</code>
  409. </UndefinedFunction>
  410. <UndefinedInterfaceMethod occurrences="2">
  411. <code>get</code>
  412. <code>getChildren</code>
  413. </UndefinedInterfaceMethod>
  414. <UndefinedMethod occurrences="5">
  415. <code>getDateTime</code>
  416. <code>hasTime</code>
  417. <code>isFloating</code>
  418. <code>isFloating</code>
  419. <code>principalSearch</code>
  420. </UndefinedMethod>
  421. </file>
  422. <file src="apps/dav/lib/CalDAV/Search/SearchPlugin.php">
  423. <InvalidNullableReturnType occurrences="1">
  424. <code>bool</code>
  425. </InvalidNullableReturnType>
  426. </file>
  427. <file src="apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php">
  428. <InvalidReturnStatement occurrences="1"/>
  429. <InvalidReturnType occurrences="1">
  430. <code>string</code>
  431. </InvalidReturnType>
  432. </file>
  433. <file src="apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php">
  434. <TypeDoesNotContainType occurrences="3">
  435. <code>!is_array($newProps['filters']['comps'])</code>
  436. <code>!is_array($newProps['filters']['params'])</code>
  437. <code>!is_array($newProps['filters']['props'])</code>
  438. </TypeDoesNotContainType>
  439. </file>
  440. <file src="apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php">
  441. <InvalidArgument occurrences="1">
  442. <code>$webcalData</code>
  443. </InvalidArgument>
  444. </file>
  445. <file src="apps/dav/lib/CardDAV/AddressBookImpl.php">
  446. <InvalidArgument occurrences="1">
  447. <code>$id</code>
  448. </InvalidArgument>
  449. <InvalidScalarArgument occurrences="2">
  450. <code>$this-&gt;getKey()</code>
  451. <code>$this-&gt;getKey()</code>
  452. </InvalidScalarArgument>
  453. </file>
  454. <file src="apps/dav/lib/CardDAV/AddressBookRoot.php">
  455. <ParamNameMismatch occurrences="1">
  456. <code>$principal</code>
  457. </ParamNameMismatch>
  458. </file>
  459. <file src="apps/dav/lib/CardDAV/CardDavBackend.php">
  460. <FalsableReturnStatement occurrences="1">
  461. <code>false</code>
  462. </FalsableReturnStatement>
  463. <InvalidArgument occurrences="3">
  464. <code>'\OCA\DAV\CardDAV\CardDavBackend::createCard'</code>
  465. <code>'\OCA\DAV\CardDAV\CardDavBackend::deleteCard'</code>
  466. <code>'\OCA\DAV\CardDAV\CardDavBackend::updateCard'</code>
  467. </InvalidArgument>
  468. <InvalidNullableReturnType occurrences="1">
  469. <code>array</code>
  470. </InvalidNullableReturnType>
  471. <MoreSpecificImplementedParamType occurrences="1">
  472. <code>$uris</code>
  473. </MoreSpecificImplementedParamType>
  474. <NullableReturnStatement occurrences="1">
  475. <code>null</code>
  476. </NullableReturnStatement>
  477. <ParamNameMismatch occurrences="1">
  478. <code>$addressBookId</code>
  479. </ParamNameMismatch>
  480. <RedundantCast occurrences="1">
  481. <code>(int)$addressBookId</code>
  482. </RedundantCast>
  483. <TooManyArguments occurrences="3">
  484. <code>dispatch</code>
  485. <code>dispatch</code>
  486. <code>dispatch</code>
  487. </TooManyArguments>
  488. <TypeDoesNotContainType occurrences="1">
  489. <code>$addressBooks[$row['id']][$readOnlyPropertyName] === 0</code>
  490. </TypeDoesNotContainType>
  491. <UndefinedFunction occurrences="2">
  492. <code>\Sabre\Uri\split($principalUri)</code>
  493. <code>\Sabre\Uri\split($row['principaluri'])</code>
  494. </UndefinedFunction>
  495. </file>
  496. <file src="apps/dav/lib/CardDAV/MultiGetExportPlugin.php">
  497. <InvalidNullableReturnType occurrences="1">
  498. <code>bool</code>
  499. </InvalidNullableReturnType>
  500. </file>
  501. <file src="apps/dav/lib/CardDAV/PhotoCache.php">
  502. <InvalidNullableReturnType occurrences="1">
  503. <code>string</code>
  504. </InvalidNullableReturnType>
  505. <NullableReturnStatement occurrences="1">
  506. <code>$type</code>
  507. </NullableReturnStatement>
  508. <UndefinedFunction occurrences="1">
  509. <code>\Sabre\URI\parse($val)</code>
  510. </UndefinedFunction>
  511. </file>
  512. <file src="apps/dav/lib/CardDAV/Plugin.php">
  513. <ImplementedReturnTypeMismatch occurrences="1">
  514. <code>string|null</code>
  515. </ImplementedReturnTypeMismatch>
  516. <UndefinedFunction occurrences="3">
  517. <code>\Sabre\Uri\split($principal)</code>
  518. <code>\Sabre\Uri\split($principal)</code>
  519. <code>\Sabre\Uri\split($principal)</code>
  520. </UndefinedFunction>
  521. </file>
  522. <file src="apps/dav/lib/CardDAV/SyncService.php">
  523. <InvalidScalarArgument occurrences="1">
  524. <code>$targetBookId</code>
  525. </InvalidScalarArgument>
  526. </file>
  527. <file src="apps/dav/lib/CardDAV/UserAddressBooks.php">
  528. <InvalidArgument occurrences="2">
  529. <code>$this-&gt;principalUri</code>
  530. <code>$this-&gt;principalUri</code>
  531. </InvalidArgument>
  532. </file>
  533. <file src="apps/dav/lib/CardDAV/Xml/Groups.php">
  534. <InvalidPropertyAssignmentValue occurrences="1">
  535. <code>$groups</code>
  536. </InvalidPropertyAssignmentValue>
  537. </file>
  538. <file src="apps/dav/lib/Comments/CommentNode.php">
  539. <InvalidNullableReturnType occurrences="1">
  540. <code>int</code>
  541. </InvalidNullableReturnType>
  542. <NullableReturnStatement occurrences="1">
  543. <code>null</code>
  544. </NullableReturnStatement>
  545. </file>
  546. <file src="apps/dav/lib/Comments/CommentsPlugin.php">
  547. <InvalidScalarArgument occurrences="2">
  548. <code>$args['datetime']</code>
  549. <code>200</code>
  550. </InvalidScalarArgument>
  551. <NullArgument occurrences="1">
  552. <code>null</code>
  553. </NullArgument>
  554. <UndefinedFunction occurrences="1">
  555. <code>\Sabre\HTTP\toDate($value)</code>
  556. </UndefinedFunction>
  557. </file>
  558. <file src="apps/dav/lib/Comments/EntityCollection.php">
  559. <InvalidArgument occurrences="1">
  560. <code>$value</code>
  561. </InvalidArgument>
  562. </file>
  563. <file src="apps/dav/lib/Comments/EntityTypeCollection.php">
  564. <TypeDoesNotContainType occurrences="1">
  565. <code>!is_string($name)</code>
  566. </TypeDoesNotContainType>
  567. </file>
  568. <file src="apps/dav/lib/Comments/RootCollection.php">
  569. <InvalidArgument occurrences="1">
  570. <code>CommentsEntityEvent::EVENT_ENTITY</code>
  571. </InvalidArgument>
  572. <InvalidNullableReturnType occurrences="2">
  573. <code>\Sabre\DAV\INode[]</code>
  574. <code>int</code>
  575. </InvalidNullableReturnType>
  576. <NullableReturnStatement occurrences="2">
  577. <code>$this-&gt;entityTypeCollections</code>
  578. <code>null</code>
  579. </NullableReturnStatement>
  580. <TooManyArguments occurrences="1">
  581. <code>dispatch</code>
  582. </TooManyArguments>
  583. </file>
  584. <file src="apps/dav/lib/Connector/LegacyDAVACL.php">
  585. <UndefinedFunction occurrences="1">
  586. <code>\Sabre\Uri\split($principal)</code>
  587. </UndefinedFunction>
  588. </file>
  589. <file src="apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php">
  590. <InvalidNullableReturnType occurrences="1">
  591. <code>bool</code>
  592. </InvalidNullableReturnType>
  593. </file>
  594. <file src="apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php">
  595. <InvalidReturnType occurrences="1">
  596. <code>bool</code>
  597. </InvalidReturnType>
  598. </file>
  599. <file src="apps/dav/lib/Connector/Sabre/BearerAuth.php">
  600. <UndefinedInterfaceMethod occurrences="1">
  601. <code>tryTokenLogin</code>
  602. </UndefinedInterfaceMethod>
  603. </file>
  604. <file src="apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php">
  605. <InvalidScalarArgument occurrences="1">
  606. <code>$node-&gt;getId()</code>
  607. </InvalidScalarArgument>
  608. </file>
  609. <file src="apps/dav/lib/Connector/Sabre/Directory.php">
  610. <InvalidPropertyAssignmentValue occurrences="1">
  611. <code>$nodes</code>
  612. </InvalidPropertyAssignmentValue>
  613. <InvalidReturnStatement occurrences="1">
  614. <code>$this-&gt;dirContent</code>
  615. </InvalidReturnStatement>
  616. <InvalidReturnType occurrences="1">
  617. <code>\Sabre\DAV\INode[]</code>
  618. </InvalidReturnType>
  619. <InvalidScalarArgument occurrences="1">
  620. <code>$e-&gt;getCode()</code>
  621. </InvalidScalarArgument>
  622. <NullArgument occurrences="3">
  623. <code>null</code>
  624. <code>null</code>
  625. <code>null</code>
  626. </NullArgument>
  627. <ParamNameMismatch occurrences="1">
  628. <code>$fullSourcePath</code>
  629. </ParamNameMismatch>
  630. <UndefinedFunction occurrences="1">
  631. <code>\Sabre\Uri\split($sourceNode-&gt;getPath())</code>
  632. </UndefinedFunction>
  633. <UndefinedInterfaceMethod occurrences="1">
  634. <code>$info</code>
  635. </UndefinedInterfaceMethod>
  636. </file>
  637. <file src="apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php">
  638. <TooManyArguments occurrences="1">
  639. <code>new SupportedLock(true)</code>
  640. </TooManyArguments>
  641. </file>
  642. <file src="apps/dav/lib/Connector/Sabre/File.php">
  643. <MoreSpecificImplementedParamType occurrences="1">
  644. <code>$data</code>
  645. </MoreSpecificImplementedParamType>
  646. <UndefinedFunction occurrences="1">
  647. <code>\Sabre\Uri\split($this-&gt;path)</code>
  648. </UndefinedFunction>
  649. </file>
  650. <file src="apps/dav/lib/Connector/Sabre/FilesPlugin.php">
  651. <UndefinedFunction occurrences="3">
  652. <code>\Sabre\Uri\split($destination)</code>
  653. <code>\Sabre\Uri\split($filePath)</code>
  654. <code>\Sabre\Uri\split($source)</code>
  655. </UndefinedFunction>
  656. </file>
  657. <file src="apps/dav/lib/Connector/Sabre/FilesReportPlugin.php">
  658. <InvalidNullableReturnType occurrences="1">
  659. <code>bool</code>
  660. </InvalidNullableReturnType>
  661. <InvalidScalarArgument occurrences="2">
  662. <code>0</code>
  663. <code>200</code>
  664. </InvalidScalarArgument>
  665. <NullableReturnStatement occurrences="1">
  666. <code>$resultFileIds</code>
  667. </NullableReturnStatement>
  668. <TooManyArguments occurrences="1">
  669. <code>new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)</code>
  670. </TooManyArguments>
  671. <UndefinedClass occurrences="1">
  672. <code>\OCA\Circles\Api\v1\Circles</code>
  673. </UndefinedClass>
  674. <UndefinedInterfaceMethod occurrences="2">
  675. <code>getById</code>
  676. <code>getPath</code>
  677. </UndefinedInterfaceMethod>
  678. </file>
  679. <file src="apps/dav/lib/Connector/Sabre/Node.php">
  680. <InvalidArgument occurrences="1">
  681. <code>$this</code>
  682. </InvalidArgument>
  683. <InvalidNullableReturnType occurrences="2">
  684. <code>int</code>
  685. <code>integer</code>
  686. </InvalidNullableReturnType>
  687. <NullableReturnStatement occurrences="2">
  688. <code>$this-&gt;info-&gt;getId()</code>
  689. <code>$this-&gt;info-&gt;getId()</code>
  690. </NullableReturnStatement>
  691. <UndefinedFunction occurrences="2">
  692. <code>\Sabre\Uri\split($name)</code>
  693. <code>\Sabre\Uri\split($this-&gt;path)</code>
  694. </UndefinedFunction>
  695. </file>
  696. <file src="apps/dav/lib/Connector/Sabre/ObjectTree.php">
  697. <UndefinedFunction occurrences="3">
  698. <code>\Sabre\Uri\split($destinationPath)</code>
  699. <code>\Sabre\Uri\split($destinationPath)</code>
  700. <code>\Sabre\Uri\split($path)</code>
  701. </UndefinedFunction>
  702. </file>
  703. <file src="apps/dav/lib/Connector/Sabre/Principal.php">
  704. <InvalidNullableReturnType occurrences="1">
  705. <code>array</code>
  706. </InvalidNullableReturnType>
  707. <InvalidReturnStatement occurrences="1">
  708. <code>$principals</code>
  709. </InvalidReturnStatement>
  710. <InvalidReturnType occurrences="1">
  711. <code>string[]</code>
  712. </InvalidReturnType>
  713. <NullableReturnStatement occurrences="8">
  714. <code>null</code>
  715. <code>null</code>
  716. <code>null</code>
  717. <code>null</code>
  718. <code>null</code>
  719. <code>null</code>
  720. <code>null</code>
  721. </NullableReturnStatement>
  722. <UndefinedClass occurrences="2">
  723. <code>\OCA\Circles\Api\v1\Circles</code>
  724. <code>\OCA\Circles\Api\v1\Circles</code>
  725. </UndefinedClass>
  726. <UndefinedFunction occurrences="4">
  727. <code>\Sabre\Uri\split($path)</code>
  728. <code>\Sabre\Uri\split($prefix)</code>
  729. <code>\Sabre\Uri\split($principal)</code>
  730. <code>\Sabre\Uri\split($principal)</code>
  731. </UndefinedFunction>
  732. </file>
  733. <file src="apps/dav/lib/Connector/Sabre/QuotaPlugin.php">
  734. <UndefinedFunction occurrences="1">
  735. <code>\Sabre\Uri\split($path)</code>
  736. </UndefinedFunction>
  737. <UndefinedInterfaceMethod occurrences="2">
  738. <code>getPath</code>
  739. <code>getPath</code>
  740. </UndefinedInterfaceMethod>
  741. </file>
  742. <file src="apps/dav/lib/Connector/Sabre/ServerFactory.php">
  743. <TooManyArguments occurrences="1">
  744. <code>new \OCA\DAV\Connector\Sabre\QuotaPlugin($view, true)</code>
  745. </TooManyArguments>
  746. </file>
  747. <file src="apps/dav/lib/Connector/Sabre/ShareTypeList.php">
  748. <InvalidScalarArgument occurrences="1">
  749. <code>$shareType</code>
  750. </InvalidScalarArgument>
  751. </file>
  752. <file src="apps/dav/lib/Connector/Sabre/ShareeList.php">
  753. <InvalidScalarArgument occurrences="1">
  754. <code>$share-&gt;getShareType()</code>
  755. </InvalidScalarArgument>
  756. </file>
  757. <file src="apps/dav/lib/Connector/Sabre/SharesPlugin.php">
  758. <UndefinedFunction occurrences="1">
  759. <code>\Sabre\Uri\split($sabreNode-&gt;getPath())</code>
  760. </UndefinedFunction>
  761. </file>
  762. <file src="apps/dav/lib/Connector/Sabre/TagsPlugin.php">
  763. <NullableReturnStatement occurrences="1">
  764. <code>null</code>
  765. </NullableReturnStatement>
  766. <UndefinedInterfaceMethod occurrences="1">
  767. <code>getId</code>
  768. </UndefinedInterfaceMethod>
  769. </file>
  770. <file src="apps/dav/lib/Controller/InvitationResponseController.php">
  771. <InvalidScalarArgument occurrences="1">
  772. <code>$guests</code>
  773. </InvalidScalarArgument>
  774. <UndefinedPropertyAssignment occurrences="1">
  775. <code>$vEvent-&gt;DTSTAMP</code>
  776. </UndefinedPropertyAssignment>
  777. <UndefinedPropertyFetch occurrences="1">
  778. <code>$vEvent-&gt;{'ATTENDEE'}</code>
  779. </UndefinedPropertyFetch>
  780. </file>
  781. <file src="apps/dav/lib/DAV/CustomPropertiesBackend.php">
  782. <InvalidArgument occurrences="1">
  783. <code>$whereValues</code>
  784. </InvalidArgument>
  785. </file>
  786. <file src="apps/dav/lib/DAV/GroupPrincipalBackend.php">
  787. <InvalidNullableReturnType occurrences="2">
  788. <code>array</code>
  789. <code>string</code>
  790. </InvalidNullableReturnType>
  791. <InvalidReturnStatement occurrences="2">
  792. <code>$principals</code>
  793. </InvalidReturnStatement>
  794. <InvalidReturnType occurrences="2">
  795. <code>string[]</code>
  796. <code>string[]</code>
  797. </InvalidReturnType>
  798. <MoreSpecificImplementedParamType occurrences="1">
  799. <code>$members</code>
  800. </MoreSpecificImplementedParamType>
  801. <NullableReturnStatement occurrences="7">
  802. <code>null</code>
  803. <code>null</code>
  804. <code>null</code>
  805. <code>null</code>
  806. <code>null</code>
  807. <code>null</code>
  808. <code>null</code>
  809. </NullableReturnStatement>
  810. </file>
  811. <file src="apps/dav/lib/DAV/Sharing/Backend.php">
  812. <InvalidArrayOffset occurrences="4">
  813. <code>$element['href']</code>
  814. <code>$element['href']</code>
  815. <code>$element['href']</code>
  816. <code>$element['readOnly']</code>
  817. </InvalidArrayOffset>
  818. </file>
  819. <file src="apps/dav/lib/DAV/SystemPrincipalBackend.php">
  820. <InvalidNullableReturnType occurrences="1">
  821. <code>array</code>
  822. </InvalidNullableReturnType>
  823. <NullableReturnStatement occurrences="1">
  824. <code>null</code>
  825. </NullableReturnStatement>
  826. <UndefinedFunction occurrences="1">
  827. <code>\Sabre\Uri\split($principal)</code>
  828. </UndefinedFunction>
  829. </file>
  830. <file src="apps/dav/lib/Direct/Server.php">
  831. <UndefinedThisPropertyAssignment occurrences="1">
  832. <code>$this-&gt;enablePropfindDepthInfinityf</code>
  833. </UndefinedThisPropertyAssignment>
  834. </file>
  835. <file src="apps/dav/lib/Files/BrowserErrorPagePlugin.php">
  836. <InvalidScalarArgument occurrences="1">
  837. <code>$body</code>
  838. </InvalidScalarArgument>
  839. </file>
  840. <file src="apps/dav/lib/Files/FileSearchBackend.php">
  841. <InvalidArgument occurrences="2">
  842. <code>$argument</code>
  843. <code>$operator-&gt;arguments</code>
  844. </InvalidArgument>
  845. <InvalidReturnStatement occurrences="1">
  846. <code>$value</code>
  847. </InvalidReturnStatement>
  848. <InvalidReturnType occurrences="1">
  849. <code>?string</code>
  850. </InvalidReturnType>
  851. <ParamNameMismatch occurrences="1">
  852. <code>$search</code>
  853. </ParamNameMismatch>
  854. <UndefinedDocblockClass occurrences="1">
  855. <code>$operator-&gt;arguments[0]-&gt;name</code>
  856. </UndefinedDocblockClass>
  857. <UndefinedPropertyFetch occurrences="1">
  858. <code>$operator-&gt;arguments[0]-&gt;name</code>
  859. </UndefinedPropertyFetch>
  860. </file>
  861. <file src="apps/dav/lib/Files/FilesHome.php">
  862. <UndefinedFunction occurrences="1">
  863. <code>\Sabre\Uri\split($this-&gt;principalInfo['uri'])</code>
  864. </UndefinedFunction>
  865. </file>
  866. <file src="apps/dav/lib/Files/LazySearchBackend.php">
  867. <InvalidReturnStatement occurrences="1">
  868. <code>$this-&gt;backend-&gt;getArbiterPath()</code>
  869. </InvalidReturnStatement>
  870. <InvalidReturnType occurrences="1">
  871. <code>isValidScope</code>
  872. </InvalidReturnType>
  873. </file>
  874. <file src="apps/dav/lib/Files/RootCollection.php">
  875. <UndefinedFunction occurrences="1">
  876. <code>\Sabre\Uri\split($principalInfo['uri'])</code>
  877. </UndefinedFunction>
  878. </file>
  879. <file src="apps/dav/lib/HookManager.php">
  880. <InvalidPropertyAssignmentValue occurrences="2">
  881. <code>$this-&gt;usersToDelete</code>
  882. <code>$this-&gt;usersToDelete</code>
  883. </InvalidPropertyAssignmentValue>
  884. </file>
  885. <file src="apps/dav/lib/Listener/CalendarDeletionDefaultUpdaterListener.php">
  886. <UndefinedFunction occurrences="1">
  887. <code>\Sabre\Uri\split($principalUri)</code>
  888. </UndefinedFunction>
  889. </file>
  890. <file src="apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php">
  891. <ParamNameMismatch occurrences="1">
  892. <code>$arguments</code>
  893. </ParamNameMismatch>
  894. </file>
  895. <file src="apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php">
  896. <ParamNameMismatch occurrences="1">
  897. <code>$arguments</code>
  898. </ParamNameMismatch>
  899. </file>
  900. <file src="apps/dav/lib/RootCollection.php">
  901. <UndefinedPropertyAssignment occurrences="1">
  902. <code>$publicCalendarRoot-&gt;disableListing</code>
  903. </UndefinedPropertyAssignment>
  904. </file>
  905. <file src="apps/dav/lib/Search/EventsSearchProvider.php">
  906. <FalsableReturnStatement occurrences="1">
  907. <code>$this-&gt;l10n-&gt;l('date', $startDateTime, ['width' =&gt; 'medium'])</code>
  908. </FalsableReturnStatement>
  909. <InvalidPropertyAssignmentValue occurrences="1"/>
  910. <InvalidReturnStatement occurrences="1">
  911. <code>$this-&gt;l10n-&gt;l('date', $startDateTime, ['width' =&gt; 'medium'])</code>
  912. </InvalidReturnStatement>
  913. <InvalidReturnType occurrences="1">
  914. <code>string</code>
  915. </InvalidReturnType>
  916. <UndefinedMethod occurrences="5">
  917. <code>getDateTime</code>
  918. <code>getDateTime</code>
  919. <code>hasTime</code>
  920. <code>isFloating</code>
  921. <code>isFloating</code>
  922. </UndefinedMethod>
  923. </file>
  924. <file src="apps/dav/lib/Search/TasksSearchProvider.php">
  925. <UndefinedMethod occurrences="3">
  926. <code>getDateTime</code>
  927. <code>getDateTime</code>
  928. <code>hasTime</code>
  929. </UndefinedMethod>
  930. </file>
  931. <file src="apps/dav/lib/Server.php">
  932. <InvalidArgument occurrences="2">
  933. <code>'OCA\DAV\Connector\Sabre::addPlugin'</code>
  934. <code>'OCA\DAV\Connector\Sabre::authInit'</code>
  935. </InvalidArgument>
  936. <TooManyArguments occurrences="3">
  937. <code>dispatch</code>
  938. <code>dispatch</code>
  939. <code>new QuotaPlugin($view, false)</code>
  940. </TooManyArguments>
  941. <UndefinedPropertyAssignment occurrences="1">
  942. <code>$acl-&gt;defaultUsernamePath</code>
  943. </UndefinedPropertyAssignment>
  944. </file>
  945. <file src="apps/dav/lib/SystemTag/SystemTagsByIdCollection.php">
  946. <InvalidNullableReturnType occurrences="1">
  947. <code>int</code>
  948. </InvalidNullableReturnType>
  949. <NullableReturnStatement occurrences="1">
  950. <code>null</code>
  951. </NullableReturnStatement>
  952. </file>
  953. <file src="apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php">
  954. <InvalidNullableReturnType occurrences="1">
  955. <code>int</code>
  956. </InvalidNullableReturnType>
  957. <NullableReturnStatement occurrences="1">
  958. <code>null</code>
  959. </NullableReturnStatement>
  960. <ParamNameMismatch occurrences="2">
  961. <code>$tagId</code>
  962. <code>$tagName</code>
  963. </ParamNameMismatch>
  964. </file>
  965. <file src="apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php">
  966. <InvalidNullableReturnType occurrences="1">
  967. <code>int</code>
  968. </InvalidNullableReturnType>
  969. <NullableReturnStatement occurrences="1">
  970. <code>null</code>
  971. </NullableReturnStatement>
  972. <ParamNameMismatch occurrences="1">
  973. <code>$objectName</code>
  974. </ParamNameMismatch>
  975. </file>
  976. <file src="apps/dav/lib/SystemTag/SystemTagsRelationsCollection.php">
  977. <InvalidArgument occurrences="1">
  978. <code>SystemTagsEntityEvent::EVENT_ENTITY</code>
  979. </InvalidArgument>
  980. <TooManyArguments occurrences="1">
  981. <code>dispatch</code>
  982. </TooManyArguments>
  983. </file>
  984. <file src="apps/dav/lib/Traits/PrincipalProxyTrait.php">
  985. <MoreSpecificImplementedParamType occurrences="1">
  986. <code>$members</code>
  987. </MoreSpecificImplementedParamType>
  988. <UndefinedFunction occurrences="9">
  989. <code>\Sabre\Uri\split($member)</code>
  990. <code>\Sabre\Uri\split($principal)</code>
  991. <code>\Sabre\Uri\split($principal)</code>
  992. <code>\Sabre\Uri\split($principalUri)</code>
  993. <code>\Sabre\Uri\split($principalUri)</code>
  994. <code>\Sabre\Uri\split($principalUri)</code>
  995. <code>\Sabre\Uri\split($principalUri)</code>
  996. <code>\Sabre\Uri\split($principalUri)</code>
  997. <code>\Sabre\Uri\split($realPrincipalUri)</code>
  998. </UndefinedFunction>
  999. </file>
  1000. <file src="apps/dav/lib/Upload/AssemblyStream.php">
  1001. <FalsableReturnStatement occurrences="1">
  1002. <code>false</code>
  1003. </FalsableReturnStatement>
  1004. <InvalidPropertyAssignmentValue occurrences="1">
  1005. <code>$this-&gt;currentStream</code>
  1006. </InvalidPropertyAssignmentValue>
  1007. <InvalidReturnStatement occurrences="1">
  1008. <code>$context</code>
  1009. </InvalidReturnStatement>
  1010. <InvalidReturnType occurrences="1">
  1011. <code>array</code>
  1012. </InvalidReturnType>
  1013. <NullArgument occurrences="1">
  1014. <code>null</code>
  1015. </NullArgument>
  1016. <RedundantFunctionCall occurrences="1">
  1017. <code>array_values</code>
  1018. </RedundantFunctionCall>
  1019. </file>
  1020. <file src="apps/dav/lib/Upload/UploadHome.php">
  1021. <UndefinedFunction occurrences="1">
  1022. <code>\Sabre\Uri\split($this-&gt;principalInfo['uri'])</code>
  1023. </UndefinedFunction>
  1024. </file>
  1025. <file src="apps/encryption/lib/Command/ScanLegacyFormat.php">
  1026. <InvalidOperand occurrences="1">
  1027. <code>$this-&gt;scanFolder($output, '/' . $user)</code>
  1028. </InvalidOperand>
  1029. </file>
  1030. <file src="apps/encryption/lib/Crypto/Crypt.php">
  1031. <InvalidArgument occurrences="2">
  1032. <code>false</code>
  1033. <code>false</code>
  1034. </InvalidArgument>
  1035. <RedundantCondition occurrences="2">
  1036. <code>$userSession</code>
  1037. <code>$userSession</code>
  1038. </RedundantCondition>
  1039. <TypeDoesNotContainType occurrences="2">
  1040. <code>get_class($res) === 'OpenSSLAsymmetricKey'</code>
  1041. <code>is_object($res)</code>
  1042. </TypeDoesNotContainType>
  1043. </file>
  1044. <file src="apps/encryption/lib/Crypto/EncryptAll.php">
  1045. <UndefinedInterfaceMethod occurrences="3">
  1046. <code>setHtmlBody</code>
  1047. <code>setPlainBody</code>
  1048. <code>setSubject</code>
  1049. </UndefinedInterfaceMethod>
  1050. </file>
  1051. <file src="apps/encryption/lib/Crypto/Encryption.php">
  1052. <FalsableReturnStatement occurrences="1">
  1053. <code>$result</code>
  1054. </FalsableReturnStatement>
  1055. <ImplementedParamTypeMismatch occurrences="2">
  1056. <code>$position</code>
  1057. <code>$position</code>
  1058. </ImplementedParamTypeMismatch>
  1059. <InvalidNullableReturnType occurrences="1">
  1060. <code>boolean</code>
  1061. </InvalidNullableReturnType>
  1062. </file>
  1063. <file src="apps/encryption/lib/KeyManager.php">
  1064. <InvalidScalarArgument occurrences="3">
  1065. <code>time()</code>
  1066. <code>time()</code>
  1067. <code>time()</code>
  1068. </InvalidScalarArgument>
  1069. <InvalidThrow occurrences="1">
  1070. <code>throw $exception;</code>
  1071. </InvalidThrow>
  1072. <RedundantCondition occurrences="2">
  1073. <code>$userSession</code>
  1074. <code>$userSession</code>
  1075. </RedundantCondition>
  1076. </file>
  1077. <file src="apps/encryption/lib/Migration/SetMasterKeyStatus.php">
  1078. <InvalidArgument occurrences="1">
  1079. <code>false</code>
  1080. </InvalidArgument>
  1081. </file>
  1082. <file src="apps/encryption/lib/Recovery.php">
  1083. <InvalidScalarArgument occurrences="3">
  1084. <code>0</code>
  1085. <code>0</code>
  1086. <code>1</code>
  1087. </InvalidScalarArgument>
  1088. <RedundantCondition occurrences="2">
  1089. <code>$userSession</code>
  1090. <code>$userSession</code>
  1091. </RedundantCondition>
  1092. </file>
  1093. <file src="apps/encryption/lib/Session.php">
  1094. <TooManyArguments occurrences="1">
  1095. <code>new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0)</code>
  1096. </TooManyArguments>
  1097. </file>
  1098. <file src="apps/encryption/lib/Util.php">
  1099. <RedundantCondition occurrences="2">
  1100. <code>$userSession</code>
  1101. <code>$userSession</code>
  1102. </RedundantCondition>
  1103. </file>
  1104. <file src="apps/federatedfilesharing/lib/Controller/RequestHandlerController.php">
  1105. <InvalidScalarArgument occurrences="7">
  1106. <code>$id</code>
  1107. <code>$id</code>
  1108. <code>$id</code>
  1109. <code>$id</code>
  1110. <code>$id</code>
  1111. <code>$id</code>
  1112. <code>$remoteId</code>
  1113. </InvalidScalarArgument>
  1114. <TypeDoesNotContainNull occurrences="3">
  1115. <code>$permission === null</code>
  1116. <code>$remoteId === null</code>
  1117. </TypeDoesNotContainNull>
  1118. </file>
  1119. <file src="apps/federatedfilesharing/lib/FederatedShareProvider.php">
  1120. <InvalidScalarArgument occurrences="5">
  1121. <code>$shareId</code>
  1122. <code>$shareId</code>
  1123. <code>$shareId</code>
  1124. <code>$shareId</code>
  1125. <code>(int)$data['id']</code>
  1126. </InvalidScalarArgument>
  1127. </file>
  1128. <file src="apps/federatedfilesharing/lib/Notifications.php">
  1129. <InvalidReturnType occurrences="3">
  1130. <code>bool</code>
  1131. <code>bool</code>
  1132. <code>bool</code>
  1133. </InvalidReturnType>
  1134. </file>
  1135. <file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php">
  1136. <InvalidReturnStatement occurrences="1">
  1137. <code>$shareId</code>
  1138. </InvalidReturnStatement>
  1139. <InvalidReturnType occurrences="1">
  1140. <code>string</code>
  1141. </InvalidReturnType>
  1142. <InvalidScalarArgument occurrences="5">
  1143. <code>$id</code>
  1144. <code>$id</code>
  1145. <code>$id</code>
  1146. <code>$id</code>
  1147. <code>(int)$share['id']</code>
  1148. </InvalidScalarArgument>
  1149. </file>
  1150. <file src="apps/federatedfilesharing/lib/Settings/Personal.php">
  1151. <InvalidNullableReturnType occurrences="1">
  1152. <code>string</code>
  1153. </InvalidNullableReturnType>
  1154. <NullableReturnStatement occurrences="1">
  1155. <code>null</code>
  1156. </NullableReturnStatement>
  1157. </file>
  1158. <file src="apps/federation/lib/TrustedServers.php">
  1159. <InvalidArgument occurrences="1">
  1160. <code>'OCP\Federation\TrustedServerEvent::remove'</code>
  1161. </InvalidArgument>
  1162. <InvalidClass occurrences="1">
  1163. <code>dbHandler</code>
  1164. </InvalidClass>
  1165. <TooManyArguments occurrences="1">
  1166. <code>dispatch</code>
  1167. </TooManyArguments>
  1168. </file>
  1169. <file src="apps/files/ajax/download.php">
  1170. <InvalidArgument occurrences="1">
  1171. <code>$files_list</code>
  1172. </InvalidArgument>
  1173. </file>
  1174. <file src="apps/files/appinfo/routes.php">
  1175. <InvalidScope occurrences="2">
  1176. <code>$this</code>
  1177. <code>$this</code>
  1178. </InvalidScope>
  1179. </file>
  1180. <file src="apps/files/lib/Activity/Provider.php">
  1181. <FalsableReturnStatement occurrences="1">
  1182. <code>$this-&gt;fileEncrypted[$fileId]</code>
  1183. </FalsableReturnStatement>
  1184. <InvalidScalarArgument occurrences="1">
  1185. <code>$id</code>
  1186. </InvalidScalarArgument>
  1187. <TypeDoesNotContainType occurrences="7">
  1188. <code>$this-&gt;fileIsEncrypted</code>
  1189. <code>$this-&gt;fileIsEncrypted</code>
  1190. <code>$this-&gt;fileIsEncrypted</code>
  1191. <code>$this-&gt;fileIsEncrypted</code>
  1192. <code>$this-&gt;fileIsEncrypted</code>
  1193. <code>$this-&gt;fileIsEncrypted</code>
  1194. <code>$this-&gt;fileIsEncrypted</code>
  1195. </TypeDoesNotContainType>
  1196. </file>
  1197. <file src="apps/files/lib/App.php">
  1198. <InvalidScalarArgument occurrences="1">
  1199. <code>10 * 1024 * 1024</code>
  1200. </InvalidScalarArgument>
  1201. </file>
  1202. <file src="apps/files/lib/Command/Scan.php">
  1203. <InvalidScalarArgument occurrences="1">
  1204. <code>$inputPath</code>
  1205. </InvalidScalarArgument>
  1206. <NullArgument occurrences="1">
  1207. <code>null</code>
  1208. </NullArgument>
  1209. </file>
  1210. <file src="apps/files/lib/Command/ScanAppData.php">
  1211. <NullArgument occurrences="2">
  1212. <code>null</code>
  1213. <code>null</code>
  1214. </NullArgument>
  1215. </file>
  1216. <file src="apps/files/lib/Command/TransferOwnership.php">
  1217. <InvalidReturnStatement occurrences="1">
  1218. <code>$e-&gt;getCode() !== 0 ? $e-&gt;getCode() : 1</code>
  1219. </InvalidReturnStatement>
  1220. <InvalidReturnType occurrences="1">
  1221. <code>int</code>
  1222. </InvalidReturnType>
  1223. </file>
  1224. <file src="apps/files/lib/Controller/DirectEditingController.php">
  1225. <InvalidArgument occurrences="1">
  1226. <code>$templateId</code>
  1227. </InvalidArgument>
  1228. <UndefinedInterfaceMethod occurrences="2">
  1229. <code>getTemplates</code>
  1230. <code>open</code>
  1231. </UndefinedInterfaceMethod>
  1232. </file>
  1233. <file src="apps/files/lib/Controller/ViewController.php">
  1234. <InvalidScalarArgument occurrences="1">
  1235. <code>$fileId</code>
  1236. </InvalidScalarArgument>
  1237. <UndefinedInterfaceMethod occurrences="3">
  1238. <code>getById</code>
  1239. <code>getRelativePath</code>
  1240. <code>getRelativePath</code>
  1241. </UndefinedInterfaceMethod>
  1242. </file>
  1243. <file src="apps/files/lib/Helper.php">
  1244. <UndefinedInterfaceMethod occurrences="13">
  1245. <code>$file</code>
  1246. <code>$i</code>
  1247. <code>$i</code>
  1248. <code>$i</code>
  1249. <code>$i</code>
  1250. <code>$i</code>
  1251. <code>$i</code>
  1252. <code>$i</code>
  1253. <code>$i</code>
  1254. <code>$i</code>
  1255. <code>$i</code>
  1256. <code>$i</code>
  1257. <code>$i</code>
  1258. </UndefinedInterfaceMethod>
  1259. </file>
  1260. <file src="apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php">
  1261. <InvalidArgument occurrences="1">
  1262. <code>$legacyEvent</code>
  1263. </InvalidArgument>
  1264. </file>
  1265. <file src="apps/files/lib/Service/DirectEditingService.php">
  1266. <UndefinedInterfaceMethod occurrences="1">
  1267. <code>getEditors</code>
  1268. </UndefinedInterfaceMethod>
  1269. </file>
  1270. <file src="apps/files/lib/Service/OwnershipTransferService.php">
  1271. <InvalidIterator occurrences="1">
  1272. <code>$encryptedFiles</code>
  1273. </InvalidIterator>
  1274. <TypeDoesNotContainType occurrences="1">
  1275. <code>empty($encryptedFiles)</code>
  1276. </TypeDoesNotContainType>
  1277. <UndefinedInterfaceMethod occurrences="1">
  1278. <code>isReadyForUser</code>
  1279. </UndefinedInterfaceMethod>
  1280. </file>
  1281. <file src="apps/files/lib/Service/TagService.php">
  1282. <InvalidArgument occurrences="1">
  1283. <code>self::class . '::' . $eventName</code>
  1284. </InvalidArgument>
  1285. <TooManyArguments occurrences="1">
  1286. <code>dispatch</code>
  1287. </TooManyArguments>
  1288. </file>
  1289. <file src="apps/files_external/appinfo/routes.php">
  1290. <InvalidScope occurrences="1">
  1291. <code>$this</code>
  1292. </InvalidScope>
  1293. </file>
  1294. <file src="apps/files_external/lib/Command/Applicable.php">
  1295. <InvalidArgument occurrences="1">
  1296. <code>$mountId</code>
  1297. </InvalidArgument>
  1298. </file>
  1299. <file src="apps/files_external/lib/Command/Config.php">
  1300. <InvalidArgument occurrences="1">
  1301. <code>$mountId</code>
  1302. </InvalidArgument>
  1303. </file>
  1304. <file src="apps/files_external/lib/Command/Delete.php">
  1305. <InvalidArgument occurrences="2">
  1306. <code>$mountId</code>
  1307. <code>$mountId</code>
  1308. </InvalidArgument>
  1309. <NullArgument occurrences="1">
  1310. <code>null</code>
  1311. </NullArgument>
  1312. </file>
  1313. <file src="apps/files_external/lib/Command/Notify.php">
  1314. <InvalidArgument occurrences="2">
  1315. <code>$input-&gt;getArgument('mount_id')</code>
  1316. <code>$storage</code>
  1317. </InvalidArgument>
  1318. <InvalidReturnStatement occurrences="1"/>
  1319. <InvalidReturnType occurrences="1">
  1320. <code>int</code>
  1321. </InvalidReturnType>
  1322. <InvalidScalarArgument occurrences="1">
  1323. <code>\OC_Util::normalizeUnicode($parent)</code>
  1324. </InvalidScalarArgument>
  1325. <UndefinedInterfaceMethod occurrences="1">
  1326. <code>isConnected</code>
  1327. </UndefinedInterfaceMethod>
  1328. </file>
  1329. <file src="apps/files_external/lib/Command/Verify.php">
  1330. <InvalidArgument occurrences="1">
  1331. <code>$mountId</code>
  1332. </InvalidArgument>
  1333. <InvalidScalarArgument occurrences="2">
  1334. <code>$e-&gt;getCode()</code>
  1335. <code>$status</code>
  1336. </InvalidScalarArgument>
  1337. </file>
  1338. <file src="apps/files_external/lib/Config/ConfigAdapter.php">
  1339. <UndefinedClass occurrences="1">
  1340. <code>new $objectClass($objectStore)</code>
  1341. </UndefinedClass>
  1342. </file>
  1343. <file src="apps/files_external/lib/Controller/StoragesController.php">
  1344. <InvalidScalarArgument occurrences="4">
  1345. <code>$e-&gt;getCode()</code>
  1346. <code>$status</code>
  1347. <code>$this-&gt;service-&gt;getVisibilityType()</code>
  1348. <code>$this-&gt;service-&gt;getVisibilityType()</code>
  1349. </InvalidScalarArgument>
  1350. </file>
  1351. <file src="apps/files_external/lib/Controller/UserGlobalStoragesController.php">
  1352. <UndefinedMethod occurrences="1">
  1353. <code>getUniqueStorages</code>
  1354. </UndefinedMethod>
  1355. </file>
  1356. <file src="apps/files_external/lib/Lib/Auth/Password/LoginCredentials.php">
  1357. <InvalidArgument occurrences="2">
  1358. <code>addServiceListener</code>
  1359. <code>addServiceListener</code>
  1360. </InvalidArgument>
  1361. </file>
  1362. <file src="apps/files_external/lib/Lib/Backend/Backend.php">
  1363. <InvalidReturnType occurrences="1">
  1364. <code>self</code>
  1365. </InvalidReturnType>
  1366. </file>
  1367. <file src="apps/files_external/lib/Lib/DefinitionParameter.php">
  1368. <InvalidReturnStatement occurrences="1"/>
  1369. <InvalidReturnType occurrences="1">
  1370. <code>string</code>
  1371. </InvalidReturnType>
  1372. </file>
  1373. <file src="apps/files_external/lib/Lib/FrontendDefinitionTrait.php">
  1374. <UndefinedClass occurrences="2">
  1375. <code>FrontendDefinitionTrait</code>
  1376. <code>FrontendDefinitionTrait</code>
  1377. </UndefinedClass>
  1378. </file>
  1379. <file src="apps/files_external/lib/Lib/IdentifierTrait.php">
  1380. <UndefinedDocblockClass occurrences="2">
  1381. <code>$this-&gt;deprecateTo</code>
  1382. <code>IdentifierTrait</code>
  1383. </UndefinedDocblockClass>
  1384. </file>
  1385. <file src="apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php">
  1386. <TooManyArguments occurrences="1">
  1387. <code>new MissingDependency($module, $this)</code>
  1388. </TooManyArguments>
  1389. </file>
  1390. <file src="apps/files_external/lib/Lib/PriorityTrait.php">
  1391. <UndefinedClass occurrences="2">
  1392. <code>PriorityTrait</code>
  1393. <code>PriorityTrait</code>
  1394. </UndefinedClass>
  1395. </file>
  1396. <file src="apps/files_external/lib/Lib/Storage/AmazonS3.php">
  1397. <UndefinedMagicMethod occurrences="1">
  1398. <code>clearBucket</code>
  1399. </UndefinedMagicMethod>
  1400. </file>
  1401. <file src="apps/files_external/lib/Lib/Storage/SFTP.php">
  1402. <InternalMethod occurrences="1">
  1403. <code>put</code>
  1404. </InternalMethod>
  1405. <ParamNameMismatch occurrences="2">
  1406. <code>$source</code>
  1407. <code>$target</code>
  1408. </ParamNameMismatch>
  1409. </file>
  1410. <file src="apps/files_external/lib/Lib/Storage/SFTPReadStream.php">
  1411. <InvalidArgument occurrences="2">
  1412. <code>$this-&gt;handle</code>
  1413. <code>$this-&gt;handle</code>
  1414. </InvalidArgument>
  1415. <InvalidNullableReturnType occurrences="1">
  1416. <code>stream_close</code>
  1417. </InvalidNullableReturnType>
  1418. <InvalidPropertyAssignmentValue occurrences="1">
  1419. <code>substr($response, 4)</code>
  1420. </InvalidPropertyAssignmentValue>
  1421. <InvalidReturnStatement occurrences="1">
  1422. <code>$context</code>
  1423. </InvalidReturnStatement>
  1424. <InvalidReturnType occurrences="1">
  1425. <code>array</code>
  1426. </InvalidReturnType>
  1427. </file>
  1428. <file src="apps/files_external/lib/Lib/Storage/SFTPWriteStream.php">
  1429. <InvalidArgument occurrences="2">
  1430. <code>$this-&gt;handle</code>
  1431. <code>$this-&gt;handle</code>
  1432. </InvalidArgument>
  1433. <InvalidNullableReturnType occurrences="1">
  1434. <code>stream_close</code>
  1435. </InvalidNullableReturnType>
  1436. <InvalidPropertyAssignmentValue occurrences="1">
  1437. <code>substr($response, 4)</code>
  1438. </InvalidPropertyAssignmentValue>
  1439. <InvalidReturnStatement occurrences="1">
  1440. <code>$context</code>
  1441. </InvalidReturnStatement>
  1442. <InvalidReturnType occurrences="1">
  1443. <code>array</code>
  1444. </InvalidReturnType>
  1445. </file>
  1446. <file src="apps/files_external/lib/Lib/Storage/SMB.php">
  1447. <InvalidArgument occurrences="1">
  1448. <code>$files</code>
  1449. </InvalidArgument>
  1450. <InvalidNullableReturnType occurrences="1">
  1451. <code>\Icewind\SMB\IFileInfo</code>
  1452. </InvalidNullableReturnType>
  1453. <InvalidPropertyAssignmentValue occurrences="1">
  1454. <code>new CappedMemoryCache()</code>
  1455. </InvalidPropertyAssignmentValue>
  1456. <InvalidReturnType occurrences="1">
  1457. <code>\Icewind\SMB\IFileInfo[]</code>
  1458. </InvalidReturnType>
  1459. <InvalidScalarArgument occurrences="7">
  1460. <code>$e-&gt;getCode()</code>
  1461. <code>$e-&gt;getCode()</code>
  1462. <code>$e-&gt;getCode()</code>
  1463. <code>$e-&gt;getCode()</code>
  1464. <code>$e-&gt;getCode()</code>
  1465. <code>$e-&gt;getCode()</code>
  1466. <code>$e-&gt;getCode()</code>
  1467. </InvalidScalarArgument>
  1468. <ParamNameMismatch occurrences="2">
  1469. <code>$source</code>
  1470. <code>$target</code>
  1471. </ParamNameMismatch>
  1472. <TooManyArguments occurrences="2">
  1473. <code>rename</code>
  1474. <code>rename</code>
  1475. </TooManyArguments>
  1476. </file>
  1477. <file src="apps/files_external/lib/Lib/Storage/Swift.php">
  1478. <InvalidArgument occurrences="1">
  1479. <code>$object-&gt;lastModified</code>
  1480. </InvalidArgument>
  1481. <InvalidNullableReturnType occurrences="2">
  1482. <code>filetype</code>
  1483. <code>fopen</code>
  1484. </InvalidNullableReturnType>
  1485. </file>
  1486. <file src="apps/files_external/lib/Migration/DummyUserSession.php">
  1487. <InvalidReturnType occurrences="1">
  1488. <code>login</code>
  1489. </InvalidReturnType>
  1490. </file>
  1491. <file src="apps/files_external/lib/MountConfig.php">
  1492. <InternalMethod occurrences="4">
  1493. <code>decrypt</code>
  1494. <code>encrypt</code>
  1495. <code>setIV</code>
  1496. <code>setIV</code>
  1497. </InternalMethod>
  1498. <InvalidNullableReturnType occurrences="1">
  1499. <code>string</code>
  1500. </InvalidNullableReturnType>
  1501. <NullableReturnStatement occurrences="1">
  1502. <code>$message</code>
  1503. </NullableReturnStatement>
  1504. <TooManyArguments occurrences="1">
  1505. <code>test</code>
  1506. </TooManyArguments>
  1507. </file>
  1508. <file src="apps/files_external/lib/Service/BackendService.php">
  1509. <InvalidArgument occurrences="1">
  1510. <code>'OCA\\Files_External::loadAdditionalBackends'</code>
  1511. </InvalidArgument>
  1512. <TooManyArguments occurrences="1">
  1513. <code>dispatch</code>
  1514. </TooManyArguments>
  1515. </file>
  1516. <file src="apps/files_external/lib/Service/DBConfigService.php">
  1517. <NullableReturnStatement occurrences="1">
  1518. <code>null</code>
  1519. </NullableReturnStatement>
  1520. </file>
  1521. <file src="apps/files_external/lib/Service/GlobalStoragesService.php">
  1522. <InvalidReturnStatement occurrences="1">
  1523. <code>BackendService::VISIBILITY_ADMIN</code>
  1524. </InvalidReturnStatement>
  1525. <InvalidReturnType occurrences="1">
  1526. <code>string</code>
  1527. </InvalidReturnType>
  1528. </file>
  1529. <file src="apps/files_external/lib/Service/LegacyStoragesService.php">
  1530. <InvalidScalarArgument occurrences="1">
  1531. <code>$configId</code>
  1532. </InvalidScalarArgument>
  1533. </file>
  1534. <file src="apps/files_external/lib/Service/StoragesService.php">
  1535. <InvalidScalarArgument occurrences="2">
  1536. <code>$this-&gt;getVisibilityType()</code>
  1537. <code>$this-&gt;getVisibilityType()</code>
  1538. </InvalidScalarArgument>
  1539. <UndefinedInterfaceMethod occurrences="1">
  1540. <code>getStorageCache</code>
  1541. </UndefinedInterfaceMethod>
  1542. </file>
  1543. <file src="apps/files_external/lib/Service/UserStoragesService.php">
  1544. <InvalidReturnStatement occurrences="1">
  1545. <code>BackendService::VISIBILITY_PERSONAL</code>
  1546. </InvalidReturnStatement>
  1547. <InvalidReturnType occurrences="1">
  1548. <code>string</code>
  1549. </InvalidReturnType>
  1550. </file>
  1551. <file src="apps/files_external/templates/settings.php">
  1552. <UndefinedVariable occurrences="1">
  1553. <code>$_</code>
  1554. </UndefinedVariable>
  1555. </file>
  1556. <file src="apps/files_sharing/lib/AppInfo/Application.php">
  1557. <InvalidArgument occurrences="6">
  1558. <code>addServiceListener</code>
  1559. <code>addServiceListener</code>
  1560. <code>addServiceListener</code>
  1561. <code>addServiceListener</code>
  1562. <code>addServiceListener</code>
  1563. <code>addServiceListener</code>
  1564. </InvalidArgument>
  1565. </file>
  1566. <file src="apps/files_sharing/lib/Cache.php">
  1567. <FalsableReturnStatement occurrences="1">
  1568. <code>false</code>
  1569. </FalsableReturnStatement>
  1570. <NullArgument occurrences="1">
  1571. <code>null</code>
  1572. </NullArgument>
  1573. </file>
  1574. <file src="apps/files_sharing/lib/Capabilities.php">
  1575. <InvalidScalarArgument occurrences="1">
  1576. <code>Constants::PERMISSION_ALL</code>
  1577. </InvalidScalarArgument>
  1578. </file>
  1579. <file src="apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php">
  1580. <UndefinedInterfaceMethod occurrences="1">
  1581. <code>getUserFolder</code>
  1582. </UndefinedInterfaceMethod>
  1583. </file>
  1584. <file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
  1585. <InvalidOperand occurrences="1">
  1586. <code>$permissions</code>
  1587. </InvalidOperand>
  1588. <InvalidScalarArgument occurrences="3">
  1589. <code>$code</code>
  1590. <code>$code</code>
  1591. <code>Constants::PERMISSION_ALL</code>
  1592. </InvalidScalarArgument>
  1593. <RedundantCondition occurrences="1">
  1594. <code>$permissions &amp; Constants::PERMISSION_READ</code>
  1595. </RedundantCondition>
  1596. <UndefinedClass occurrences="2">
  1597. <code>\OCA\Circles\Api\v1\Circles</code>
  1598. <code>\OCA\Circles\Api\v1\Circles</code>
  1599. </UndefinedClass>
  1600. <UndefinedDocblockClass occurrences="4">
  1601. <code>$this-&gt;getRoomShareHelper()</code>
  1602. <code>$this-&gt;getRoomShareHelper()</code>
  1603. <code>$this-&gt;getRoomShareHelper()</code>
  1604. <code>\OCA\Talk\Share\Helper\ShareAPIController</code>
  1605. </UndefinedDocblockClass>
  1606. </file>
  1607. <file src="apps/files_sharing/lib/Controller/ShareController.php">
  1608. <InvalidArgument occurrences="1">
  1609. <code>$files_list</code>
  1610. </InvalidArgument>
  1611. <InvalidScalarArgument occurrences="3">
  1612. <code>$freeSpace</code>
  1613. <code>$maxUploadFilesize</code>
  1614. <code>$maxUploadFilesize</code>
  1615. </InvalidScalarArgument>
  1616. <NullArgument occurrences="1">
  1617. <code>null</code>
  1618. </NullArgument>
  1619. </file>
  1620. <file src="apps/files_sharing/lib/Controller/ShareInfoController.php">
  1621. <NullArgument occurrences="1">
  1622. <code>$password</code>
  1623. </NullArgument>
  1624. </file>
  1625. <file src="apps/files_sharing/lib/External/Cache.php">
  1626. <ParamNameMismatch occurrences="1">
  1627. <code>$id</code>
  1628. </ParamNameMismatch>
  1629. </file>
  1630. <file src="apps/files_sharing/lib/External/Manager.php">
  1631. <InvalidScalarArgument occurrences="1">
  1632. <code>(int) $remoteShare</code>
  1633. </InvalidScalarArgument>
  1634. </file>
  1635. <file src="apps/files_sharing/lib/External/Mount.php">
  1636. <InvalidDocblock occurrences="1">
  1637. <code>public function removeMount() {</code>
  1638. </InvalidDocblock>
  1639. </file>
  1640. <file src="apps/files_sharing/lib/External/Scanner.php">
  1641. <MoreSpecificImplementedParamType occurrences="1">
  1642. <code>$cacheData</code>
  1643. </MoreSpecificImplementedParamType>
  1644. </file>
  1645. <file src="apps/files_sharing/lib/External/Storage.php">
  1646. <InvalidReturnStatement occurrences="1">
  1647. <code>$this-&gt;getPermissions($path) &amp; Constants::PERMISSION_SHARE</code>
  1648. </InvalidReturnStatement>
  1649. <InvalidReturnType occurrences="1">
  1650. <code>isSharable</code>
  1651. </InvalidReturnType>
  1652. </file>
  1653. <file src="apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php">
  1654. <InvalidArgument occurrences="1">
  1655. <code>$legacyEvent</code>
  1656. </InvalidArgument>
  1657. </file>
  1658. <file src="apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php">
  1659. <InvalidArgument occurrences="1">
  1660. <code>$exception-&gt;getMessage()</code>
  1661. </InvalidArgument>
  1662. </file>
  1663. <file src="apps/files_sharing/lib/MountProvider.php">
  1664. <RedundantFunctionCall occurrences="1">
  1665. <code>array_values</code>
  1666. </RedundantFunctionCall>
  1667. </file>
  1668. <file src="apps/files_sharing/lib/ShareBackend/File.php">
  1669. <InvalidScalarArgument occurrences="2">
  1670. <code>$itemSource</code>
  1671. <code>$itemSource</code>
  1672. </InvalidScalarArgument>
  1673. <MoreSpecificImplementedParamType occurrences="1">
  1674. <code>$shareWith</code>
  1675. </MoreSpecificImplementedParamType>
  1676. </file>
  1677. <file src="apps/files_sharing/lib/ShareBackend/Folder.php">
  1678. <UndefinedInterfaceMethod occurrences="1">
  1679. <code>fetchRow</code>
  1680. </UndefinedInterfaceMethod>
  1681. </file>
  1682. <file src="apps/files_sharing/lib/SharedMount.php">
  1683. <InvalidReturnType occurrences="1">
  1684. <code>bool</code>
  1685. </InvalidReturnType>
  1686. </file>
  1687. <file src="apps/files_sharing/lib/SharedStorage.php">
  1688. <FalsableReturnStatement occurrences="1">
  1689. <code>$this-&gt;sourceRootInfo</code>
  1690. </FalsableReturnStatement>
  1691. <InvalidNullableReturnType occurrences="1">
  1692. <code>ICacheEntry</code>
  1693. </InvalidNullableReturnType>
  1694. <InvalidReturnStatement occurrences="1">
  1695. <code>new FailedCache()</code>
  1696. </InvalidReturnStatement>
  1697. <NullableReturnStatement occurrences="1">
  1698. <code>$this-&gt;sourceRootInfo</code>
  1699. </NullableReturnStatement>
  1700. <ParamNameMismatch occurrences="2">
  1701. <code>$available</code>
  1702. <code>$target</code>
  1703. </ParamNameMismatch>
  1704. <UndefinedThisPropertyAssignment occurrences="1">
  1705. <code>$this-&gt;mountOptions</code>
  1706. </UndefinedThisPropertyAssignment>
  1707. </file>
  1708. <file src="apps/files_sharing/lib/Updater.php">
  1709. <UndefinedMethod occurrences="1">
  1710. <code>moveMount</code>
  1711. </UndefinedMethod>
  1712. </file>
  1713. <file src="apps/files_sharing/list.php">
  1714. <InvalidArgument occurrences="1">
  1715. <code>'\OCP\Collaboration\Resources::loadAdditionalScripts'</code>
  1716. </InvalidArgument>
  1717. <TooManyArguments occurrences="1">
  1718. <code>dispatch</code>
  1719. </TooManyArguments>
  1720. </file>
  1721. <file src="apps/files_trashbin/lib/Command/Size.php">
  1722. <InvalidScalarArgument occurrences="1">
  1723. <code>$user</code>
  1724. </InvalidScalarArgument>
  1725. </file>
  1726. <file src="apps/files_trashbin/lib/Sabre/AbstractTrash.php">
  1727. <InvalidNullableReturnType occurrences="1">
  1728. <code>int</code>
  1729. </InvalidNullableReturnType>
  1730. <NullableReturnStatement occurrences="1">
  1731. <code>$this-&gt;data-&gt;getId()</code>
  1732. </NullableReturnStatement>
  1733. </file>
  1734. <file src="apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php">
  1735. <InvalidReturnStatement occurrences="1">
  1736. <code>$entry</code>
  1737. </InvalidReturnStatement>
  1738. <InvalidReturnType occurrences="1">
  1739. <code>ITrash</code>
  1740. </InvalidReturnType>
  1741. </file>
  1742. <file src="apps/files_trashbin/lib/Sabre/RestoreFolder.php">
  1743. <InvalidNullableReturnType occurrences="1">
  1744. <code>getChild</code>
  1745. </InvalidNullableReturnType>
  1746. <NullableReturnStatement occurrences="1">
  1747. <code>null</code>
  1748. </NullableReturnStatement>
  1749. </file>
  1750. <file src="apps/files_trashbin/lib/Sabre/RootCollection.php">
  1751. <MismatchingDocblockReturnType occurrences="1">
  1752. <code>INode</code>
  1753. </MismatchingDocblockReturnType>
  1754. </file>
  1755. <file src="apps/files_trashbin/lib/Sabre/TrashHome.php">
  1756. <UndefinedFunction occurrences="1">
  1757. <code>\Sabre\Uri\split($this-&gt;principalInfo['uri'])</code>
  1758. </UndefinedFunction>
  1759. </file>
  1760. <file src="apps/files_trashbin/lib/Sabre/TrashRoot.php">
  1761. <InvalidReturnStatement occurrences="1">
  1762. <code>$entry</code>
  1763. </InvalidReturnStatement>
  1764. <InvalidReturnType occurrences="1">
  1765. <code>ITrash</code>
  1766. </InvalidReturnType>
  1767. </file>
  1768. <file src="apps/files_trashbin/lib/Storage.php">
  1769. <InvalidArgument occurrences="1">
  1770. <code>'OCA\Files_Trashbin::moveToTrash'</code>
  1771. </InvalidArgument>
  1772. <InvalidOperand occurrences="1">
  1773. <code>$this-&gt;mountPoint</code>
  1774. </InvalidOperand>
  1775. <TooManyArguments occurrences="1">
  1776. <code>dispatch</code>
  1777. </TooManyArguments>
  1778. </file>
  1779. <file src="apps/files_trashbin/lib/Trash/LegacyTrashBackend.php">
  1780. <RedundantCondition occurrences="2">
  1781. <code>$trashFiles</code>
  1782. <code>$trashFiles</code>
  1783. </RedundantCondition>
  1784. <TypeDoesNotContainType occurrences="1">
  1785. <code>null</code>
  1786. </TypeDoesNotContainType>
  1787. <UndefinedInterfaceMethod occurrences="2">
  1788. <code>$file</code>
  1789. <code>getById</code>
  1790. </UndefinedInterfaceMethod>
  1791. </file>
  1792. <file src="apps/files_trashbin/lib/Trashbin.php">
  1793. <FalsableReturnStatement occurrences="1">
  1794. <code>false</code>
  1795. </FalsableReturnStatement>
  1796. <InvalidScalarArgument occurrences="2">
  1797. <code>$timestamp</code>
  1798. <code>$timestamp</code>
  1799. </InvalidScalarArgument>
  1800. </file>
  1801. <file src="apps/files_versions/appinfo/routes.php">
  1802. <InvalidScope occurrences="2">
  1803. <code>$this</code>
  1804. <code>$this</code>
  1805. </InvalidScope>
  1806. </file>
  1807. <file src="apps/files_versions/lib/Expiration.php">
  1808. <FalsableReturnStatement occurrences="1">
  1809. <code>$maxAge</code>
  1810. </FalsableReturnStatement>
  1811. </file>
  1812. <file src="apps/files_versions/lib/Sabre/RestoreFolder.php">
  1813. <InvalidNullableReturnType occurrences="1">
  1814. <code>getChild</code>
  1815. </InvalidNullableReturnType>
  1816. <NullableReturnStatement occurrences="1">
  1817. <code>null</code>
  1818. </NullableReturnStatement>
  1819. </file>
  1820. <file src="apps/files_versions/lib/Sabre/RootCollection.php">
  1821. <UndefinedFunction occurrences="1">
  1822. <code>\Sabre\Uri\split($principalInfo['uri'])</code>
  1823. </UndefinedFunction>
  1824. </file>
  1825. <file src="apps/files_versions/lib/Sabre/VersionHome.php">
  1826. <InvalidNullableReturnType occurrences="1">
  1827. <code>getChild</code>
  1828. </InvalidNullableReturnType>
  1829. <UndefinedFunction occurrences="1">
  1830. <code>\Sabre\Uri\split($this-&gt;principalInfo['uri'])</code>
  1831. </UndefinedFunction>
  1832. </file>
  1833. <file src="apps/files_versions/lib/Storage.php">
  1834. <InvalidArgument occurrences="1">
  1835. <code>'OCA\Files_Versions::createVersion'</code>
  1836. </InvalidArgument>
  1837. <InvalidScalarArgument occurrences="1">
  1838. <code>$timestamp</code>
  1839. </InvalidScalarArgument>
  1840. <TooManyArguments occurrences="2">
  1841. <code>dispatch</code>
  1842. <code>getURLGenerator</code>
  1843. </TooManyArguments>
  1844. </file>
  1845. <file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php">
  1846. <InvalidScalarArgument occurrences="1">
  1847. <code>$this-&gt;retries + 1</code>
  1848. </InvalidScalarArgument>
  1849. </file>
  1850. <file src="apps/oauth2/lib/Controller/OauthApiController.php">
  1851. <NoInterfaceProperties occurrences="1">
  1852. <code>$this-&gt;request-&gt;server</code>
  1853. </NoInterfaceProperties>
  1854. </file>
  1855. <file src="apps/oauth2/lib/Db/AccessTokenMapper.php">
  1856. <InvalidCatch occurrences="1"/>
  1857. </file>
  1858. <file src="apps/oauth2/lib/Db/ClientMapper.php">
  1859. <InvalidCatch occurrences="2"/>
  1860. </file>
  1861. <file src="apps/provisioning_api/lib/Controller/UsersController.php">
  1862. <InvalidScalarArgument occurrences="1">
  1863. <code>$quota</code>
  1864. </InvalidScalarArgument>
  1865. <TypeDoesNotContainNull occurrences="2">
  1866. <code>$groupid === null</code>
  1867. <code>$groupid === null</code>
  1868. </TypeDoesNotContainNull>
  1869. </file>
  1870. <file src="apps/settings/lib/AppInfo/Application.php">
  1871. <InvalidArgument occurrences="1">
  1872. <code>AppPasswordCreatedActivityListener::class</code>
  1873. </InvalidArgument>
  1874. <UndefinedInterfaceMethod occurrences="1">
  1875. <code>getSettingsManager</code>
  1876. </UndefinedInterfaceMethod>
  1877. </file>
  1878. <file src="apps/settings/lib/Controller/AppSettingsController.php">
  1879. <UndefinedInterfaceMethod occurrences="1">
  1880. <code>ignoreNextcloudRequirementForApp</code>
  1881. </UndefinedInterfaceMethod>
  1882. </file>
  1883. <file src="apps/settings/lib/Controller/CheckSetupController.php">
  1884. <InvalidArgument occurrences="3">
  1885. <code>IDBConnection::CHECK_MISSING_COLUMNS_EVENT</code>
  1886. <code>IDBConnection::CHECK_MISSING_INDEXES_EVENT</code>
  1887. <code>IDBConnection::CHECK_MISSING_PRIMARY_KEYS_EVENT</code>
  1888. </InvalidArgument>
  1889. <InvalidOperand occurrences="1">
  1890. <code>$lastCronRun</code>
  1891. </InvalidOperand>
  1892. <InvalidScalarArgument occurrences="2">
  1893. <code>$lastCronRun</code>
  1894. <code>0</code>
  1895. </InvalidScalarArgument>
  1896. <TooManyArguments occurrences="3">
  1897. <code>dispatch</code>
  1898. <code>dispatch</code>
  1899. <code>dispatch</code>
  1900. </TooManyArguments>
  1901. </file>
  1902. <file src="apps/settings/lib/Controller/CommonSettingsTrait.php">
  1903. <RedundantCondition occurrences="1">
  1904. <code>$isSubAdmin</code>
  1905. </RedundantCondition>
  1906. </file>
  1907. <file src="apps/settings/lib/Hooks.php">
  1908. <InvalidArrayOffset occurrences="1">
  1909. <code>[$user-&gt;getEMailAddress() =&gt; $user-&gt;getDisplayName()]</code>
  1910. </InvalidArrayOffset>
  1911. </file>
  1912. <file src="apps/settings/lib/Settings/Admin/Security.php">
  1913. <UndefinedInterfaceMethod occurrences="1">
  1914. <code>isReady</code>
  1915. </UndefinedInterfaceMethod>
  1916. </file>
  1917. <file src="apps/settings/lib/Settings/Admin/Server.php">
  1918. <InvalidArgument occurrences="1">
  1919. <code>false</code>
  1920. </InvalidArgument>
  1921. </file>
  1922. <file src="apps/settings/lib/Settings/Admin/Sharing.php">
  1923. <InvalidScalarArgument occurrences="1">
  1924. <code>Constants::PERMISSION_ALL</code>
  1925. </InvalidScalarArgument>
  1926. <NullArgument occurrences="1">
  1927. <code>null</code>
  1928. </NullArgument>
  1929. </file>
  1930. <file src="apps/settings/lib/Settings/Personal/PersonalInfo.php">
  1931. <UndefinedInterfaceMethod occurrences="1">
  1932. <code>getLanguages</code>
  1933. </UndefinedInterfaceMethod>
  1934. </file>
  1935. <file src="apps/settings/lib/SetupChecks/CheckUserCertificates.php">
  1936. <InvalidArgument occurrences="1">
  1937. <code>false</code>
  1938. </InvalidArgument>
  1939. </file>
  1940. <file src="apps/sharebymail/lib/ShareByMailProvider.php">
  1941. <InvalidScalarArgument occurrences="2">
  1942. <code>$share-&gt;getId()</code>
  1943. <code>(int)$data['id']</code>
  1944. </InvalidScalarArgument>
  1945. </file>
  1946. <file src="apps/systemtags/lib/Activity/Listener.php">
  1947. <InvalidScalarArgument occurrences="2">
  1948. <code>$event-&gt;getObjectId()</code>
  1949. <code>$event-&gt;getObjectId()</code>
  1950. </InvalidScalarArgument>
  1951. </file>
  1952. <file src="apps/testing/lib/Controller/LockingController.php">
  1953. <InvalidScalarArgument occurrences="5">
  1954. <code>$this-&gt;config-&gt;getAppValue('testing', $lock)</code>
  1955. <code>$this-&gt;config-&gt;getAppValue('testing', $lock)</code>
  1956. <code>$this-&gt;config-&gt;getAppValue('testing', $lock)</code>
  1957. <code>$type</code>
  1958. <code>$type</code>
  1959. </InvalidScalarArgument>
  1960. </file>
  1961. <file src="apps/theming/lib/Controller/IconController.php">
  1962. <InvalidReturnStatement occurrences="1">
  1963. <code>$response</code>
  1964. </InvalidReturnStatement>
  1965. <InvalidReturnType occurrences="1">
  1966. <code>FileDisplayResponse|NotFoundResponse</code>
  1967. </InvalidReturnType>
  1968. <RedundantCondition occurrences="3">
  1969. <code>$iconFile !== false</code>
  1970. <code>$iconFile !== false</code>
  1971. <code>$iconFile !== false</code>
  1972. </RedundantCondition>
  1973. </file>
  1974. <file src="apps/theming/lib/IconBuilder.php">
  1975. <InvalidScalarArgument occurrences="2">
  1976. <code>$offset_h</code>
  1977. <code>$offset_w</code>
  1978. </InvalidScalarArgument>
  1979. </file>
  1980. <file src="apps/theming/lib/ImageManager.php">
  1981. <InvalidReturnType occurrences="1">
  1982. <code>string</code>
  1983. </InvalidReturnType>
  1984. </file>
  1985. <file src="apps/theming/lib/ThemingDefaults.php">
  1986. <InvalidReturnStatement occurrences="1">
  1987. <code>\OCP\Util::sanitizeHTML($this-&gt;config-&gt;getAppValue('theming', 'slogan', parent::getSlogan($lang)))</code>
  1988. </InvalidReturnStatement>
  1989. <InvalidReturnType occurrences="1">
  1990. <code>getSlogan</code>
  1991. </InvalidReturnType>
  1992. <InvalidScalarArgument occurrences="1">
  1993. <code>(int)$cacheBusterKey + 1</code>
  1994. </InvalidScalarArgument>
  1995. </file>
  1996. <file src="apps/theming/lib/Util.php">
  1997. <InvalidReturnStatement occurrences="1">
  1998. <code>0</code>
  1999. </InvalidReturnStatement>
  2000. <InvalidReturnType occurrences="1">
  2001. <code>int[]</code>
  2002. </InvalidReturnType>
  2003. <RedundantCondition occurrences="1">
  2004. <code>$folder !== null</code>
  2005. </RedundantCondition>
  2006. </file>
  2007. <file src="apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php">
  2008. <InvalidArgument occurrences="1">
  2009. <code>bool</code>
  2010. </InvalidArgument>
  2011. </file>
  2012. <file src="apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php">
  2013. <InvalidArgument occurrences="1">
  2014. <code>bool</code>
  2015. </InvalidArgument>
  2016. </file>
  2017. <file src="apps/updatenotification/lib/Controller/AdminController.php">
  2018. <InvalidScalarArgument occurrences="2">
  2019. <code>$this-&gt;timeFactory-&gt;getTime()</code>
  2020. <code>0</code>
  2021. </InvalidScalarArgument>
  2022. </file>
  2023. <file src="apps/updatenotification/lib/Notification/BackgroundJob.php">
  2024. <InvalidArgument occurrences="1">
  2025. <code>false</code>
  2026. </InvalidArgument>
  2027. <InvalidPropertyAssignmentValue occurrences="1">
  2028. <code>$this-&gt;users</code>
  2029. </InvalidPropertyAssignmentValue>
  2030. <InvalidScalarArgument occurrences="3">
  2031. <code>$errors</code>
  2032. <code>0</code>
  2033. <code>0</code>
  2034. </InvalidScalarArgument>
  2035. </file>
  2036. <file src="apps/updatenotification/lib/Notification/Notifier.php">
  2037. <InvalidScalarArgument occurrences="1">
  2038. <code>0</code>
  2039. </InvalidScalarArgument>
  2040. </file>
  2041. <file src="apps/updatenotification/lib/Settings/Admin.php">
  2042. <InvalidScalarArgument occurrences="1">
  2043. <code>$lastUpdateCheckTimestamp</code>
  2044. </InvalidScalarArgument>
  2045. </file>
  2046. <file src="apps/user_ldap/ajax/getNewServerConfigPrefix.php">
  2047. <InvalidScalarArgument occurrences="1">
  2048. <code>$ln + 1</code>
  2049. </InvalidScalarArgument>
  2050. </file>
  2051. <file src="apps/user_ldap/appinfo/routes.php">
  2052. <InvalidScope occurrences="1">
  2053. <code>$this</code>
  2054. </InvalidScope>
  2055. </file>
  2056. <file src="apps/user_ldap/lib/Access.php">
  2057. <FalsableReturnStatement occurrences="1">
  2058. <code>$this-&gt;countUsers($filter)</code>
  2059. </FalsableReturnStatement>
  2060. <InvalidReturnStatement occurrences="2">
  2061. <code>$uuid</code>
  2062. <code>$values</code>
  2063. </InvalidReturnStatement>
  2064. <InvalidReturnType occurrences="1">
  2065. <code>string[]</code>
  2066. </InvalidReturnType>
  2067. <InvalidScalarArgument occurrences="2">
  2068. <code>$key</code>
  2069. <code>$key</code>
  2070. </InvalidScalarArgument>
  2071. <NullArgument occurrences="1">
  2072. <code>$cookie</code>
  2073. </NullArgument>
  2074. <RedundantCondition occurrences="3">
  2075. <code>!is_null($limit)</code>
  2076. <code>$limit === 0</code>
  2077. <code>is_array($result)</code>
  2078. </RedundantCondition>
  2079. <TypeDoesNotContainNull occurrences="1">
  2080. <code>is_null($findings)</code>
  2081. </TypeDoesNotContainNull>
  2082. <TypeDoesNotContainType occurrences="2">
  2083. <code>!is_null($attr) &amp;&amp; !is_array($attr)</code>
  2084. <code>count($usedNames) === 0</code>
  2085. </TypeDoesNotContainType>
  2086. </file>
  2087. <file src="apps/user_ldap/lib/AppInfo/Application.php">
  2088. <InvalidArgument occurrences="1">
  2089. <code>'OCA\\User_LDAP\\User\\User::postLDAPBackendAdded'</code>
  2090. </InvalidArgument>
  2091. <TooManyArguments occurrences="1">
  2092. <code>dispatch</code>
  2093. </TooManyArguments>
  2094. </file>
  2095. <file src="apps/user_ldap/lib/Connection.php">
  2096. <ParadoxicalCondition occurrences="1"/>
  2097. </file>
  2098. <file src="apps/user_ldap/lib/Group_LDAP.php">
  2099. <InvalidArgument occurrences="1">
  2100. <code>$this-&gt;cachedGroupsByMember[$uid]</code>
  2101. </InvalidArgument>
  2102. <InvalidPropertyAssignmentValue occurrences="5">
  2103. <code>$this-&gt;cachedGroupsByMember</code>
  2104. <code>$this-&gt;cachedNestedGroups</code>
  2105. <code>new CappedMemoryCache()</code>
  2106. <code>new CappedMemoryCache()</code>
  2107. <code>new CappedMemoryCache()</code>
  2108. </InvalidPropertyAssignmentValue>
  2109. <InvalidReturnStatement occurrences="1">
  2110. <code>$groupName</code>
  2111. </InvalidReturnStatement>
  2112. <InvalidReturnType occurrences="1">
  2113. <code>bool</code>
  2114. </InvalidReturnType>
  2115. <InvalidScalarArgument occurrences="2">
  2116. <code>$groupID</code>
  2117. <code>$groupID</code>
  2118. </InvalidScalarArgument>
  2119. <RedundantCondition occurrences="2">
  2120. <code>is_array($groupDNs)</code>
  2121. <code>is_array($list)</code>
  2122. </RedundantCondition>
  2123. </file>
  2124. <file src="apps/user_ldap/lib/Group_Proxy.php">
  2125. <ParamNameMismatch occurrences="1">
  2126. <code>$gid</code>
  2127. </ParamNameMismatch>
  2128. </file>
  2129. <file src="apps/user_ldap/lib/Helper.php">
  2130. <InvalidScalarArgument occurrences="1">
  2131. <code>$lastNumber + 1</code>
  2132. </InvalidScalarArgument>
  2133. </file>
  2134. <file src="apps/user_ldap/lib/ILDAPWrapper.php">
  2135. <UndefinedDocblockClass occurrences="1">
  2136. <code>Resource</code>
  2137. </UndefinedDocblockClass>
  2138. </file>
  2139. <file src="apps/user_ldap/lib/Jobs/Sync.php">
  2140. <InvalidOperand occurrences="2">
  2141. <code>$i</code>
  2142. <code>$lastChange</code>
  2143. </InvalidOperand>
  2144. <InvalidScalarArgument occurrences="5">
  2145. <code>$interval</code>
  2146. <code>0</code>
  2147. <code>0</code>
  2148. <code>self::MIN_INTERVAL</code>
  2149. </InvalidScalarArgument>
  2150. <MoreSpecificImplementedParamType occurrences="1">
  2151. <code>$argument</code>
  2152. </MoreSpecificImplementedParamType>
  2153. <NullArgument occurrences="1">
  2154. <code>null</code>
  2155. </NullArgument>
  2156. </file>
  2157. <file src="apps/user_ldap/lib/Jobs/UpdateGroups.php">
  2158. <InvalidReturnStatement occurrences="1">
  2159. <code>\OC::$server-&gt;getConfig()-&gt;getAppValue('user_ldap', 'bgjRefreshInterval', 3600)</code>
  2160. </InvalidReturnStatement>
  2161. <InvalidReturnType occurrences="1">
  2162. <code>int</code>
  2163. </InvalidReturnType>
  2164. <InvalidScalarArgument occurrences="1">
  2165. <code>3600</code>
  2166. </InvalidScalarArgument>
  2167. </file>
  2168. <file src="apps/user_ldap/lib/LogWrapper.php">
  2169. <InvalidReturnType occurrences="1">
  2170. <code>bool</code>
  2171. </InvalidReturnType>
  2172. </file>
  2173. <file src="apps/user_ldap/lib/Mapping/AbstractMapping.php">
  2174. <RedundantCondition occurrences="1">
  2175. <code>isset($qb)</code>
  2176. </RedundantCondition>
  2177. <TypeDoesNotContainNull occurrences="1">
  2178. <code>isset($qb)</code>
  2179. </TypeDoesNotContainNull>
  2180. </file>
  2181. <file src="apps/user_ldap/lib/Proxy.php">
  2182. <InvalidDocblock occurrences="1">
  2183. <code>protected function handleRequest($id, $method, $parameters, $passOnWhen = false) {</code>
  2184. </InvalidDocblock>
  2185. </file>
  2186. <file src="apps/user_ldap/lib/User/Manager.php">
  2187. <InvalidDocblock occurrences="1">
  2188. <code>public function setLdapAccess(Access $access) {</code>
  2189. </InvalidDocblock>
  2190. </file>
  2191. <file src="apps/user_ldap/lib/User/User.php">
  2192. <FalsableReturnStatement occurrences="1">
  2193. <code>$this-&gt;avatarImage</code>
  2194. </FalsableReturnStatement>
  2195. <InvalidPropertyAssignmentValue occurrences="1">
  2196. <code>$this-&gt;refreshedFeatures</code>
  2197. </InvalidPropertyAssignmentValue>
  2198. <InvalidReturnType occurrences="2">
  2199. <code>null</code>
  2200. <code>null</code>
  2201. </InvalidReturnType>
  2202. <InvalidScalarArgument occurrences="2">
  2203. <code>1</code>
  2204. <code>true</code>
  2205. </InvalidScalarArgument>
  2206. </file>
  2207. <file src="apps/user_ldap/lib/User_LDAP.php">
  2208. <ImplementedReturnTypeMismatch occurrences="1">
  2209. <code>string|false</code>
  2210. </ImplementedReturnTypeMismatch>
  2211. <MoreSpecificImplementedParamType occurrences="2">
  2212. <code>$limit</code>
  2213. <code>$offset</code>
  2214. </MoreSpecificImplementedParamType>
  2215. <NullableReturnStatement occurrences="1">
  2216. <code>null</code>
  2217. </NullableReturnStatement>
  2218. </file>
  2219. <file src="apps/user_ldap/lib/User_Proxy.php">
  2220. <InvalidReturnStatement occurrences="1">
  2221. <code>$users</code>
  2222. </InvalidReturnStatement>
  2223. <ParamNameMismatch occurrences="1">
  2224. <code>$uid</code>
  2225. </ParamNameMismatch>
  2226. </file>
  2227. <file src="apps/user_ldap/lib/Wizard.php">
  2228. <FalsableReturnStatement occurrences="2">
  2229. <code>false</code>
  2230. <code>false</code>
  2231. </FalsableReturnStatement>
  2232. <InvalidArgument occurrences="4">
  2233. <code>$attributes</code>
  2234. <code>$er</code>
  2235. <code>$er</code>
  2236. <code>$er</code>
  2237. </InvalidArgument>
  2238. <InvalidDocblock occurrences="3">
  2239. <code>private function checkAgentRequirements() {</code>
  2240. <code>private function detectGroupMemberAssoc() {</code>
  2241. <code>private function getAttributeValuesFromEntry($result, $attribute, &amp;$known) {</code>
  2242. </InvalidDocblock>
  2243. <InvalidScalarArgument occurrences="2">
  2244. <code>$port</code>
  2245. <code>$port</code>
  2246. </InvalidScalarArgument>
  2247. <RedundantCondition occurrences="1">
  2248. <code>!isset($item['cn']) &amp;&amp; !is_array($item['cn'])</code>
  2249. </RedundantCondition>
  2250. <TypeDoesNotContainType occurrences="1">
  2251. <code>$total === false</code>
  2252. </TypeDoesNotContainType>
  2253. </file>
  2254. <file src="apps/user_status/lib/AppInfo/Application.php">
  2255. <UndefinedInterfaceMethod occurrences="1">
  2256. <code>registerProvider</code>
  2257. </UndefinedInterfaceMethod>
  2258. </file>
  2259. <file src="apps/workflowengine/lib/Check/AbstractStringCheck.php">
  2260. <NullArgument occurrences="1">
  2261. <code>null</code>
  2262. </NullArgument>
  2263. </file>
  2264. <file src="apps/workflowengine/lib/Check/FileMimeType.php">
  2265. <InvalidScalarArgument occurrences="1">
  2266. <code>$path</code>
  2267. </InvalidScalarArgument>
  2268. </file>
  2269. <file src="apps/workflowengine/lib/Check/FileSize.php">
  2270. <FalsableReturnStatement occurrences="1">
  2271. <code>$this-&gt;size</code>
  2272. </FalsableReturnStatement>
  2273. <InvalidPropertyAssignmentValue occurrences="1">
  2274. <code>$size</code>
  2275. </InvalidPropertyAssignmentValue>
  2276. <InvalidReturnStatement occurrences="1">
  2277. <code>$this-&gt;size</code>
  2278. </InvalidReturnStatement>
  2279. <InvalidReturnType occurrences="1">
  2280. <code>string</code>
  2281. </InvalidReturnType>
  2282. </file>
  2283. <file src="apps/workflowengine/lib/Check/RequestRemoteAddress.php">
  2284. <InvalidScalarArgument occurrences="4">
  2285. <code>$decodedValue[1]</code>
  2286. <code>$decodedValue[1]</code>
  2287. <code>$decodedValue[1]</code>
  2288. <code>$decodedValue[1]</code>
  2289. </InvalidScalarArgument>
  2290. </file>
  2291. <file src="apps/workflowengine/lib/Check/RequestTime.php">
  2292. <InvalidScalarArgument occurrences="2">
  2293. <code>$hour1</code>
  2294. <code>$minute1</code>
  2295. </InvalidScalarArgument>
  2296. </file>
  2297. <file src="apps/workflowengine/lib/Check/TFileCheck.php">
  2298. <InvalidArgument occurrences="1">
  2299. <code>['app' =&gt; Application::APP_ID, 'class' =&gt; get_class($subject)]</code>
  2300. </InvalidArgument>
  2301. </file>
  2302. <file src="apps/workflowengine/lib/Controller/AWorkflowController.php">
  2303. <InvalidScalarArgument occurrences="3">
  2304. <code>$e-&gt;getCode()</code>
  2305. <code>$e-&gt;getCode()</code>
  2306. <code>$e-&gt;getCode()</code>
  2307. </InvalidScalarArgument>
  2308. </file>
  2309. <file src="apps/workflowengine/lib/Entity/File.php">
  2310. <InvalidReturnType occurrences="1">
  2311. <code>string</code>
  2312. </InvalidReturnType>
  2313. <ParamNameMismatch occurrences="1">
  2314. <code>$uid</code>
  2315. </ParamNameMismatch>
  2316. </file>
  2317. <file src="apps/workflowengine/lib/Manager.php">
  2318. <InvalidArgument occurrences="3">
  2319. <code>IManager::EVENT_NAME_REG_CHECK</code>
  2320. <code>IManager::EVENT_NAME_REG_ENTITY</code>
  2321. <code>IManager::EVENT_NAME_REG_OPERATION</code>
  2322. </InvalidArgument>
  2323. <InvalidOperand occurrences="1">
  2324. <code>$result</code>
  2325. </InvalidOperand>
  2326. <InvalidPropertyAssignmentValue occurrences="1">
  2327. <code>[]</code>
  2328. </InvalidPropertyAssignmentValue>
  2329. <InvalidReturnStatement occurrences="1">
  2330. <code>$result</code>
  2331. </InvalidReturnStatement>
  2332. <InvalidReturnType occurrences="1">
  2333. <code>bool</code>
  2334. </InvalidReturnType>
  2335. <InvalidScalarArgument occurrences="1">
  2336. <code>$missingCheck</code>
  2337. </InvalidScalarArgument>
  2338. <TooManyArguments occurrences="3">
  2339. <code>dispatch</code>
  2340. <code>dispatch</code>
  2341. <code>dispatch</code>
  2342. </TooManyArguments>
  2343. </file>
  2344. <file src="apps/workflowengine/lib/Service/RuleMatcher.php">
  2345. <UndefinedInterfaceMethod occurrences="5">
  2346. <code>getAllConfiguredScopesForOperation</code>
  2347. <code>getChecks</code>
  2348. <code>getOperations</code>
  2349. <code>getOperations</code>
  2350. <code>isUserScopeEnabled</code>
  2351. </UndefinedInterfaceMethod>
  2352. </file>
  2353. <file src="core/Application.php">
  2354. <InvalidArgument occurrences="9">
  2355. <code>addServiceListener</code>
  2356. <code>addServiceListener</code>
  2357. <code>addServiceListener</code>
  2358. <code>addServiceListener</code>
  2359. <code>addServiceListener</code>
  2360. <code>addServiceListener</code>
  2361. <code>addServiceListener</code>
  2362. <code>addServiceListener</code>
  2363. <code>addServiceListener</code>
  2364. </InvalidArgument>
  2365. </file>
  2366. <file src="core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php">
  2367. <ParamNameMismatch occurrences="1">
  2368. <code>$arguments</code>
  2369. </ParamNameMismatch>
  2370. </file>
  2371. <file src="core/BackgroundJobs/CheckForUserCertificates.php">
  2372. <ParamNameMismatch occurrences="1">
  2373. <code>$arguments</code>
  2374. </ParamNameMismatch>
  2375. </file>
  2376. <file src="core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php">
  2377. <ParamNameMismatch occurrences="1">
  2378. <code>$arguments</code>
  2379. </ParamNameMismatch>
  2380. </file>
  2381. <file src="core/Command/App/GetPath.php">
  2382. <ImplementedReturnTypeMismatch occurrences="1">
  2383. <code>null|int</code>
  2384. </ImplementedReturnTypeMismatch>
  2385. <MismatchingDocblockReturnType occurrences="1">
  2386. <code>null|int</code>
  2387. </MismatchingDocblockReturnType>
  2388. </file>
  2389. <file src="core/Command/App/Install.php">
  2390. <TypeDoesNotContainType occurrences="1">
  2391. <code>$result === false</code>
  2392. </TypeDoesNotContainType>
  2393. </file>
  2394. <file src="core/Command/App/ListApps.php">
  2395. <LessSpecificImplementedReturnType occurrences="1">
  2396. <code>array</code>
  2397. </LessSpecificImplementedReturnType>
  2398. </file>
  2399. <file src="core/Command/Config/App/GetConfig.php">
  2400. <ImplementedReturnTypeMismatch occurrences="1">
  2401. <code>null|int</code>
  2402. </ImplementedReturnTypeMismatch>
  2403. <MismatchingDocblockReturnType occurrences="1">
  2404. <code>null|int</code>
  2405. </MismatchingDocblockReturnType>
  2406. </file>
  2407. <file src="core/Command/Config/Import.php">
  2408. <InvalidScalarArgument occurrences="2">
  2409. <code>0</code>
  2410. <code>1</code>
  2411. </InvalidScalarArgument>
  2412. </file>
  2413. <file src="core/Command/Config/ListConfigs.php">
  2414. <FalsableReturnStatement occurrences="1">
  2415. <code>$this-&gt;appConfig-&gt;getValues($app, false)</code>
  2416. </FalsableReturnStatement>
  2417. <TooManyArguments occurrences="1">
  2418. <code>getFilteredValues</code>
  2419. </TooManyArguments>
  2420. </file>
  2421. <file src="core/Command/Config/System/GetConfig.php">
  2422. <ImplementedReturnTypeMismatch occurrences="1">
  2423. <code>null|int</code>
  2424. </ImplementedReturnTypeMismatch>
  2425. <MismatchingDocblockReturnType occurrences="1">
  2426. <code>null|int</code>
  2427. </MismatchingDocblockReturnType>
  2428. </file>
  2429. <file src="core/Command/Db/AddMissingColumns.php">
  2430. <InvalidArgument occurrences="1">
  2431. <code>IDBConnection::ADD_MISSING_COLUMNS_EVENT</code>
  2432. </InvalidArgument>
  2433. <TooManyArguments occurrences="1">
  2434. <code>dispatch</code>
  2435. </TooManyArguments>
  2436. </file>
  2437. <file src="core/Command/Db/AddMissingIndices.php">
  2438. <InvalidArgument occurrences="1">
  2439. <code>IDBConnection::ADD_MISSING_INDEXES_EVENT</code>
  2440. </InvalidArgument>
  2441. <TooManyArguments occurrences="1">
  2442. <code>dispatch</code>
  2443. </TooManyArguments>
  2444. </file>
  2445. <file src="core/Command/Db/AddMissingPrimaryKeys.php">
  2446. <InvalidArgument occurrences="1">
  2447. <code>IDBConnection::ADD_MISSING_PRIMARY_KEYS_EVENT</code>
  2448. </InvalidArgument>
  2449. <TooManyArguments occurrences="1">
  2450. <code>dispatch</code>
  2451. </TooManyArguments>
  2452. </file>
  2453. <file src="core/Command/Db/ConvertType.php">
  2454. <InvalidScalarArgument occurrences="2">
  2455. <code>0</code>
  2456. <code>1</code>
  2457. </InvalidScalarArgument>
  2458. </file>
  2459. <file src="core/Command/Encryption/Enable.php">
  2460. <NullArgument occurrences="1">
  2461. <code>null</code>
  2462. </NullArgument>
  2463. </file>
  2464. <file src="core/Command/Log/File.php">
  2465. <InvalidReturnStatement occurrences="1">
  2466. <code>[0]</code>
  2467. </InvalidReturnStatement>
  2468. <InvalidReturnType occurrences="1">
  2469. <code>string[]</code>
  2470. </InvalidReturnType>
  2471. </file>
  2472. <file src="core/Command/Log/Manage.php">
  2473. <InvalidScalarArgument occurrences="3">
  2474. <code>$backend</code>
  2475. <code>$levelNum</code>
  2476. <code>$timezone</code>
  2477. </InvalidScalarArgument>
  2478. </file>
  2479. <file src="core/Command/Maintenance/DataFingerprint.php">
  2480. <InvalidScalarArgument occurrences="1">
  2481. <code>$this-&gt;timeFactory-&gt;getTime()</code>
  2482. </InvalidScalarArgument>
  2483. </file>
  2484. <file src="core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php">
  2485. <InvalidArrayAccess occurrences="1">
  2486. <code>$k[0]</code>
  2487. </InvalidArrayAccess>
  2488. </file>
  2489. <file src="core/Command/Maintenance/Mimetype/UpdateDB.php">
  2490. <UndefinedInterfaceMethod occurrences="2">
  2491. <code>getAllMappings</code>
  2492. <code>updateFilecache</code>
  2493. </UndefinedInterfaceMethod>
  2494. </file>
  2495. <file src="core/Command/Maintenance/Mimetype/UpdateJS.php">
  2496. <UndefinedInterfaceMethod occurrences="1">
  2497. <code>getAllAliases</code>
  2498. </UndefinedInterfaceMethod>
  2499. </file>
  2500. <file src="core/Command/Maintenance/Repair.php">
  2501. <InvalidScalarArgument occurrences="6">
  2502. <code>0</code>
  2503. <code>0</code>
  2504. <code>0</code>
  2505. <code>0</code>
  2506. <code>0</code>
  2507. <code>0</code>
  2508. </InvalidScalarArgument>
  2509. </file>
  2510. <file src="core/Command/Preview/Repair.php">
  2511. <UndefinedInterfaceMethod occurrences="2">
  2512. <code>section</code>
  2513. <code>section</code>
  2514. </UndefinedInterfaceMethod>
  2515. </file>
  2516. <file src="core/Command/Preview/ResetRenderedTexts.php">
  2517. <InvalidReturnStatement occurrences="1">
  2518. <code>[]</code>
  2519. </InvalidReturnStatement>
  2520. </file>
  2521. <file src="core/Command/Upgrade.php">
  2522. <InvalidScalarArgument occurrences="11">
  2523. <code>0</code>
  2524. <code>0</code>
  2525. <code>0</code>
  2526. <code>0</code>
  2527. <code>0</code>
  2528. <code>0</code>
  2529. <code>0</code>
  2530. <code>1</code>
  2531. <code>1</code>
  2532. <code>1</code>
  2533. <code>1</code>
  2534. </InvalidScalarArgument>
  2535. </file>
  2536. <file src="core/Command/User/Setting.php">
  2537. <InvalidScalarArgument occurrences="1">
  2538. <code>$input-&gt;getOption('default-value')</code>
  2539. </InvalidScalarArgument>
  2540. </file>
  2541. <file src="core/Controller/ClientFlowLoginV2Controller.php">
  2542. <TypeDoesNotContainType occurrences="1">
  2543. <code>!is_string($stateToken)</code>
  2544. </TypeDoesNotContainType>
  2545. </file>
  2546. <file src="core/Controller/CollaborationResourcesController.php">
  2547. <UndefinedInterfaceMethod occurrences="1">
  2548. <code>searchCollections</code>
  2549. </UndefinedInterfaceMethod>
  2550. </file>
  2551. <file src="core/Controller/SvgController.php">
  2552. <TypeDoesNotContainNull occurrences="1">
  2553. <code>$svg === null</code>
  2554. </TypeDoesNotContainNull>
  2555. </file>
  2556. <file src="core/Controller/UnifiedSearchController.php">
  2557. <NullArgument occurrences="1">
  2558. <code>null</code>
  2559. </NullArgument>
  2560. <UndefinedInterfaceMethod occurrences="1">
  2561. <code>findMatchingRoute</code>
  2562. </UndefinedInterfaceMethod>
  2563. </file>
  2564. <file src="core/Middleware/TwoFactorMiddleware.php">
  2565. <NoInterfaceProperties occurrences="1">
  2566. <code>$this-&gt;request-&gt;server</code>
  2567. </NoInterfaceProperties>
  2568. </file>
  2569. <file src="core/ajax/update.php">
  2570. <InvalidScalarArgument occurrences="12">
  2571. <code>0</code>
  2572. <code>0</code>
  2573. <code>0</code>
  2574. <code>0</code>
  2575. <code>0</code>
  2576. <code>0</code>
  2577. <code>0</code>
  2578. <code>0</code>
  2579. <code>1</code>
  2580. <code>1</code>
  2581. <code>1</code>
  2582. <code>1</code>
  2583. </InvalidScalarArgument>
  2584. </file>
  2585. <file src="core/routes.php">
  2586. <InvalidScope occurrences="2">
  2587. <code>$this</code>
  2588. <code>$this</code>
  2589. </InvalidScope>
  2590. </file>
  2591. <file src="core/templates/layout.guest.php">
  2592. <InvalidArgument occurrences="1">
  2593. <code>false</code>
  2594. </InvalidArgument>
  2595. </file>
  2596. <file src="core/templates/layout.public.php">
  2597. <UndefinedInterfaceMethod occurrences="1">
  2598. <code>getIcon</code>
  2599. </UndefinedInterfaceMethod>
  2600. </file>
  2601. <file src="lib/autoloader.php">
  2602. <RedundantCondition occurrences="2">
  2603. <code>$this-&gt;memoryCache</code>
  2604. <code>$this-&gt;memoryCache</code>
  2605. </RedundantCondition>
  2606. </file>
  2607. <file src="lib/base.php">
  2608. <InternalMethod occurrences="2">
  2609. <code>getAppsNeedingUpgrade</code>
  2610. <code>getIncompatibleApps</code>
  2611. </InternalMethod>
  2612. <InvalidArgument occurrences="3">
  2613. <code>$restrictions</code>
  2614. <code>addServiceListener</code>
  2615. <code>addServiceListener</code>
  2616. </InvalidArgument>
  2617. <RedundantCondition occurrences="1">
  2618. <code>((array)$request-&gt;getParam('appid')) !== ''</code>
  2619. </RedundantCondition>
  2620. </file>
  2621. <file src="lib/private/Accounts/AccountManager.php">
  2622. <InvalidArgument occurrences="1">
  2623. <code>'OC\AccountManager::userUpdated'</code>
  2624. </InvalidArgument>
  2625. <TooManyArguments occurrences="1">
  2626. <code>dispatch</code>
  2627. </TooManyArguments>
  2628. </file>
  2629. <file src="lib/private/Activity/Event.php">
  2630. <ParamNameMismatch occurrences="1">
  2631. <code>$affectedUser</code>
  2632. </ParamNameMismatch>
  2633. </file>
  2634. <file src="lib/private/Activity/Manager.php">
  2635. <InvalidPropertyAssignmentValue occurrences="3">
  2636. <code>$this-&gt;filterClasses</code>
  2637. <code>$this-&gt;providerClasses</code>
  2638. <code>$this-&gt;settingsClasses</code>
  2639. </InvalidPropertyAssignmentValue>
  2640. <TypeDoesNotContainType occurrences="1">
  2641. <code>!is_string($currentUserId) &amp;&amp; $currentUserId !== null</code>
  2642. </TypeDoesNotContainType>
  2643. </file>
  2644. <file src="lib/private/AllConfig.php">
  2645. <MoreSpecificImplementedParamType occurrences="1">
  2646. <code>$key</code>
  2647. </MoreSpecificImplementedParamType>
  2648. </file>
  2649. <file src="lib/private/App/AppManager.php">
  2650. <InvalidArgument occurrences="3">
  2651. <code>ManagerEvent::EVENT_APP_DISABLE</code>
  2652. <code>ManagerEvent::EVENT_APP_ENABLE</code>
  2653. <code>ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS</code>
  2654. </InvalidArgument>
  2655. <LessSpecificImplementedReturnType occurrences="2">
  2656. <code>array</code>
  2657. <code>array</code>
  2658. </LessSpecificImplementedReturnType>
  2659. <TooManyArguments occurrences="3">
  2660. <code>dispatch</code>
  2661. <code>dispatch</code>
  2662. <code>dispatch</code>
  2663. </TooManyArguments>
  2664. <TypeDoesNotContainNull occurrences="1">
  2665. <code>$group === null</code>
  2666. </TypeDoesNotContainNull>
  2667. </file>
  2668. <file src="lib/private/App/AppStore/Fetcher/Fetcher.php">
  2669. <TooManyArguments occurrences="1">
  2670. <code>fetch</code>
  2671. </TooManyArguments>
  2672. </file>
  2673. <file src="lib/private/App/DependencyAnalyzer.php">
  2674. <InvalidNullableReturnType occurrences="1">
  2675. <code>bool</code>
  2676. </InvalidNullableReturnType>
  2677. <NullableReturnStatement occurrences="1">
  2678. <code>version_compare($first, $second, $operator)</code>
  2679. </NullableReturnStatement>
  2680. </file>
  2681. <file src="lib/private/App/InfoParser.php">
  2682. <InvalidArrayOffset occurrences="2">
  2683. <code>$array[$element][]</code>
  2684. <code>$array[$element][]</code>
  2685. </InvalidArrayOffset>
  2686. <InvalidReturnStatement occurrences="1">
  2687. <code>(string)$xml</code>
  2688. </InvalidReturnStatement>
  2689. <InvalidReturnType occurrences="1">
  2690. <code>array</code>
  2691. </InvalidReturnType>
  2692. </file>
  2693. <file src="lib/private/App/Platform.php">
  2694. <UndefinedThisPropertyAssignment occurrences="1">
  2695. <code>$this-&gt;config</code>
  2696. </UndefinedThisPropertyAssignment>
  2697. <UndefinedThisPropertyFetch occurrences="1">
  2698. <code>$this-&gt;config</code>
  2699. </UndefinedThisPropertyFetch>
  2700. </file>
  2701. <file src="lib/private/App/PlatformRepository.php">
  2702. <NullableReturnStatement occurrences="1">
  2703. <code>null</code>
  2704. </NullableReturnStatement>
  2705. <UndefinedThisPropertyAssignment occurrences="1">
  2706. <code>$this-&gt;packages</code>
  2707. </UndefinedThisPropertyAssignment>
  2708. </file>
  2709. <file src="lib/private/AppConfig.php">
  2710. <FalsableReturnStatement occurrences="1">
  2711. <code>$values</code>
  2712. </FalsableReturnStatement>
  2713. <NullableReturnStatement occurrences="1">
  2714. <code>$default</code>
  2715. </NullableReturnStatement>
  2716. </file>
  2717. <file src="lib/private/AppFramework/Bootstrap/Coordinator.php">
  2718. <InvalidPropertyAssignmentValue occurrences="1">
  2719. <code>$this-&gt;bootedApps</code>
  2720. </InvalidPropertyAssignmentValue>
  2721. </file>
  2722. <file src="lib/private/AppFramework/Bootstrap/FunctionInjector.php">
  2723. <UndefinedMethod occurrences="1">
  2724. <code>getName</code>
  2725. </UndefinedMethod>
  2726. </file>
  2727. <file src="lib/private/AppFramework/DependencyInjection/DIContainer.php">
  2728. <ImplementedReturnTypeMismatch occurrences="1">
  2729. <code>boolean|null</code>
  2730. </ImplementedReturnTypeMismatch>
  2731. <InvalidReturnStatement occurrences="1">
  2732. <code>$this-&gt;server</code>
  2733. </InvalidReturnStatement>
  2734. <InvalidReturnType occurrences="2">
  2735. <code>\OCP\IServerContainer</code>
  2736. <code>mixed</code>
  2737. </InvalidReturnType>
  2738. <UndefinedInterfaceMethod occurrences="1">
  2739. <code>getAppDataDir</code>
  2740. </UndefinedInterfaceMethod>
  2741. </file>
  2742. <file src="lib/private/AppFramework/Http/Dispatcher.php">
  2743. <InvalidScalarArgument occurrences="1">
  2744. <code>$throwable-&gt;getCode()</code>
  2745. </InvalidScalarArgument>
  2746. <NoInterfaceProperties occurrences="1">
  2747. <code>$this-&gt;request-&gt;method</code>
  2748. </NoInterfaceProperties>
  2749. <NullArgument occurrences="1">
  2750. <code>null</code>
  2751. </NullArgument>
  2752. </file>
  2753. <file src="lib/private/AppFramework/Http/Output.php">
  2754. <InvalidReturnStatement occurrences="2">
  2755. <code>@readfile($path)</code>
  2756. <code>http_response_code()</code>
  2757. </InvalidReturnStatement>
  2758. <InvalidReturnType occurrences="2">
  2759. <code>bool</code>
  2760. <code>int</code>
  2761. </InvalidReturnType>
  2762. </file>
  2763. <file src="lib/private/AppFramework/Http/Request.php">
  2764. <NullableReturnStatement occurrences="9">
  2765. <code>$host</code>
  2766. <code>$name</code>
  2767. <code>$remoteAddress</code>
  2768. <code>$this-&gt;getOverwriteHost()</code>
  2769. <code>$this-&gt;method</code>
  2770. <code>$uri</code>
  2771. <code>isset($this-&gt;cookies[$key]) ? $this-&gt;cookies[$key] : null</code>
  2772. <code>isset($this-&gt;env[$key]) ? $this-&gt;env[$key] : null</code>
  2773. <code>isset($this-&gt;files[$key]) ? $this-&gt;files[$key] : null</code>
  2774. </NullableReturnStatement>
  2775. <RedundantCondition occurrences="1">
  2776. <code>\is_array($params)</code>
  2777. </RedundantCondition>
  2778. <UndefinedFunction occurrences="1">
  2779. <code>\Sabre\Uri\split($scriptName)</code>
  2780. </UndefinedFunction>
  2781. </file>
  2782. <file src="lib/private/AppFramework/Logger.php">
  2783. <InvalidReturnType occurrences="1">
  2784. <code>log</code>
  2785. </InvalidReturnType>
  2786. </file>
  2787. <file src="lib/private/AppFramework/Middleware/AdditionalScriptsMiddleware.php">
  2788. <InvalidArgument occurrences="2">
  2789. <code>TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS</code>
  2790. <code>TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS_LOGGEDIN</code>
  2791. </InvalidArgument>
  2792. <TooManyArguments occurrences="2">
  2793. <code>dispatch</code>
  2794. <code>dispatch</code>
  2795. </TooManyArguments>
  2796. </file>
  2797. <file src="lib/private/AppFramework/Middleware/OCSMiddleware.php">
  2798. <InternalMethod occurrences="1">
  2799. <code>setOCSVersion</code>
  2800. </InternalMethod>
  2801. <InvalidScalarArgument occurrences="1">
  2802. <code>$code</code>
  2803. </InvalidScalarArgument>
  2804. </file>
  2805. <file src="lib/private/AppFramework/Middleware/Security/CORSMiddleware.php">
  2806. <InvalidScalarArgument occurrences="1">
  2807. <code>$exception-&gt;getCode()</code>
  2808. </InvalidScalarArgument>
  2809. <NoInterfaceProperties occurrences="2">
  2810. <code>$this-&gt;request-&gt;server</code>
  2811. <code>$this-&gt;request-&gt;server</code>
  2812. </NoInterfaceProperties>
  2813. </file>
  2814. <file src="lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php">
  2815. <InvalidScalarArgument occurrences="6">
  2816. <code>$anonLimit</code>
  2817. <code>$anonPeriod</code>
  2818. <code>$exception-&gt;getCode()</code>
  2819. <code>$exception-&gt;getCode()</code>
  2820. <code>$userLimit</code>
  2821. <code>$userPeriod</code>
  2822. </InvalidScalarArgument>
  2823. </file>
  2824. <file src="lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php">
  2825. <InvalidScalarArgument occurrences="2">
  2826. <code>$exception-&gt;getCode()</code>
  2827. <code>$exception-&gt;getCode()</code>
  2828. </InvalidScalarArgument>
  2829. <NoInterfaceProperties occurrences="1">
  2830. <code>$this-&gt;request-&gt;server</code>
  2831. </NoInterfaceProperties>
  2832. <UndefinedClass occurrences="1">
  2833. <code>\OCA\Talk\Controller\PageController</code>
  2834. </UndefinedClass>
  2835. </file>
  2836. <file src="lib/private/AppFramework/OCS/V1Response.php">
  2837. <InvalidScalarArgument occurrences="1">
  2838. <code>$meta</code>
  2839. </InvalidScalarArgument>
  2840. </file>
  2841. <file src="lib/private/AppFramework/OCS/V2Response.php">
  2842. <InvalidScalarArgument occurrences="1">
  2843. <code>$meta</code>
  2844. </InvalidScalarArgument>
  2845. </file>
  2846. <file src="lib/private/AppFramework/Routing/RouteConfig.php">
  2847. <InvalidArrayOffset occurrences="1">
  2848. <code>$action['url-postfix']</code>
  2849. </InvalidArrayOffset>
  2850. </file>
  2851. <file src="lib/private/AppFramework/Services/AppConfig.php">
  2852. <MoreSpecificImplementedParamType occurrences="1">
  2853. <code>$default</code>
  2854. </MoreSpecificImplementedParamType>
  2855. </file>
  2856. <file src="lib/private/AppFramework/Utility/SimpleContainer.php">
  2857. <UndefinedMethod occurrences="1">
  2858. <code>getName</code>
  2859. </UndefinedMethod>
  2860. </file>
  2861. <file src="lib/private/Archive/TAR.php">
  2862. <InvalidReturnStatement occurrences="1">
  2863. <code>$this-&gt;tar-&gt;extractInString($path)</code>
  2864. </InvalidReturnStatement>
  2865. <InvalidReturnType occurrences="1">
  2866. <code>string</code>
  2867. </InvalidReturnType>
  2868. <UndefinedDocblockClass occurrences="1">
  2869. <code>$this-&gt;tar-&gt;extractInString($path)</code>
  2870. </UndefinedDocblockClass>
  2871. </file>
  2872. <file src="lib/private/Archive/ZIP.php">
  2873. <ImplementedReturnTypeMismatch occurrences="2">
  2874. <code>boolean|null</code>
  2875. <code>boolean|null</code>
  2876. </ImplementedReturnTypeMismatch>
  2877. </file>
  2878. <file src="lib/private/Authentication/LoginCredentials/Store.php">
  2879. <RedundantCondition occurrences="1">
  2880. <code>$trySession</code>
  2881. </RedundantCondition>
  2882. </file>
  2883. <file src="lib/private/Authentication/Token/DefaultToken.php">
  2884. <UndefinedMethod occurrences="14">
  2885. <code>parent::getExpires()</code>
  2886. <code>parent::getLastCheck()</code>
  2887. <code>parent::getLoginName()</code>
  2888. <code>parent::getName()</code>
  2889. <code>parent::getPassword()</code>
  2890. <code>parent::getRemember()</code>
  2891. <code>parent::getScope()</code>
  2892. <code>parent::setExpires($expires)</code>
  2893. <code>parent::setLastCheck($time)</code>
  2894. <code>parent::setName($name)</code>
  2895. <code>parent::setPassword($password)</code>
  2896. <code>parent::setScope((string)$scope)</code>
  2897. <code>parent::setScope(json_encode($scope))</code>
  2898. <code>parent::setToken($token)</code>
  2899. </UndefinedMethod>
  2900. </file>
  2901. <file src="lib/private/Authentication/Token/PublicKeyToken.php">
  2902. <UndefinedMethod occurrences="16">
  2903. <code>parent::getExpires()</code>
  2904. <code>parent::getLastCheck()</code>
  2905. <code>parent::getLoginName()</code>
  2906. <code>parent::getName()</code>
  2907. <code>parent::getPassword()</code>
  2908. <code>parent::getRemember()</code>
  2909. <code>parent::getScope()</code>
  2910. <code>parent::setExpires($expires)</code>
  2911. <code>parent::setLastCheck($time)</code>
  2912. <code>parent::setName($name)</code>
  2913. <code>parent::setPassword($password)</code>
  2914. <code>parent::setPasswordInvalid($invalid)</code>
  2915. <code>parent::setScope((string)$scope)</code>
  2916. <code>parent::setScope(json_encode($scope))</code>
  2917. <code>parent::setToken($token)</code>
  2918. <code>parent::setType(IToken::WIPE_TOKEN)</code>
  2919. </UndefinedMethod>
  2920. </file>
  2921. <file src="lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php">
  2922. <InvalidReturnStatement occurrences="2">
  2923. <code>$providers</code>
  2924. </InvalidReturnStatement>
  2925. <InvalidReturnType occurrences="2">
  2926. <code>int[]</code>
  2927. <code>string[]</code>
  2928. </InvalidReturnType>
  2929. </file>
  2930. <file src="lib/private/Authentication/TwoFactorAuth/Manager.php">
  2931. <InvalidArgument occurrences="2">
  2932. <code>IProvider::EVENT_FAILED</code>
  2933. <code>IProvider::EVENT_SUCCESS</code>
  2934. </InvalidArgument>
  2935. <InvalidReturnStatement occurrences="1">
  2936. <code>$providerStates</code>
  2937. </InvalidReturnStatement>
  2938. <InvalidReturnType occurrences="1">
  2939. <code>string[]</code>
  2940. </InvalidReturnType>
  2941. <InvalidScalarArgument occurrences="2">
  2942. <code>$this-&gt;timeFactory-&gt;getTime()</code>
  2943. <code>$tokenId</code>
  2944. </InvalidScalarArgument>
  2945. <TooManyArguments occurrences="2">
  2946. <code>dispatch</code>
  2947. <code>dispatch</code>
  2948. </TooManyArguments>
  2949. </file>
  2950. <file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php">
  2951. <InvalidArgument occurrences="1">
  2952. <code>$this-&gt;providers</code>
  2953. </InvalidArgument>
  2954. <InvalidPropertyAssignmentValue occurrences="2">
  2955. <code>$this-&gt;providers</code>
  2956. <code>[]</code>
  2957. </InvalidPropertyAssignmentValue>
  2958. <InvalidReturnStatement occurrences="1">
  2959. <code>$this-&gt;providers</code>
  2960. </InvalidReturnStatement>
  2961. <InvalidReturnType occurrences="1">
  2962. <code>IProvider[]</code>
  2963. </InvalidReturnType>
  2964. <UndefinedInterfaceMethod occurrences="1">
  2965. <code>$this-&gt;providers</code>
  2966. </UndefinedInterfaceMethod>
  2967. </file>
  2968. <file src="lib/private/Authentication/TwoFactorAuth/Registry.php">
  2969. <InvalidArrayAccess occurrences="1">
  2970. <code>$provider['provider_id']</code>
  2971. </InvalidArrayAccess>
  2972. </file>
  2973. <file src="lib/private/Authentication/WebAuthn/CredentialRepository.php">
  2974. <InvalidCatch occurrences="2"/>
  2975. </file>
  2976. <file src="lib/private/Avatar/Avatar.php">
  2977. <ImplementedReturnTypeMismatch occurrences="1">
  2978. <code>Color</code>
  2979. </ImplementedReturnTypeMismatch>
  2980. <InvalidReturnStatement occurrences="1">
  2981. <code>$finalPalette[$this-&gt;hashToInt($hash, $steps * 3)]</code>
  2982. </InvalidReturnStatement>
  2983. <InvalidReturnType occurrences="1">
  2984. <code>Color</code>
  2985. </InvalidReturnType>
  2986. <ParamNameMismatch occurrences="1">
  2987. <code>$hash</code>
  2988. </ParamNameMismatch>
  2989. </file>
  2990. <file src="lib/private/Avatar/AvatarManager.php">
  2991. <ParamNameMismatch occurrences="1">
  2992. <code>$userId</code>
  2993. </ParamNameMismatch>
  2994. </file>
  2995. <file src="lib/private/Avatar/PlaceholderAvatar.php">
  2996. <InvalidScalarArgument occurrences="1">
  2997. <code>$data</code>
  2998. </InvalidScalarArgument>
  2999. </file>
  3000. <file src="lib/private/Avatar/UserAvatar.php">
  3001. <InvalidScalarArgument occurrences="3">
  3002. <code>$data</code>
  3003. <code>$data</code>
  3004. <code>(int) $this-&gt;config-&gt;getUserValue($this-&gt;user-&gt;getUID(), 'avatar', 'version', 0) + 1</code>
  3005. </InvalidScalarArgument>
  3006. </file>
  3007. <file src="lib/private/BackgroundJob/JobList.php">
  3008. <InvalidScalarArgument occurrences="1">
  3009. <code>$job-&gt;getId()</code>
  3010. </InvalidScalarArgument>
  3011. </file>
  3012. <file src="lib/private/BackgroundJob/QueuedJob.php">
  3013. <MoreSpecificImplementedParamType occurrences="1">
  3014. <code>$jobList</code>
  3015. </MoreSpecificImplementedParamType>
  3016. </file>
  3017. <file src="lib/private/Cache/CappedMemoryCache.php">
  3018. <InvalidReturnType occurrences="1">
  3019. <code>set</code>
  3020. </InvalidReturnType>
  3021. </file>
  3022. <file src="lib/private/Cache/File.php">
  3023. <LessSpecificImplementedReturnType occurrences="2">
  3024. <code>bool|mixed</code>
  3025. <code>bool|mixed</code>
  3026. </LessSpecificImplementedReturnType>
  3027. </file>
  3028. <file src="lib/private/Command/CallableJob.php">
  3029. <ParamNameMismatch occurrences="1">
  3030. <code>$serializedCallable</code>
  3031. </ParamNameMismatch>
  3032. </file>
  3033. <file src="lib/private/Command/ClosureJob.php">
  3034. <ParamNameMismatch occurrences="1">
  3035. <code>$serializedCallable</code>
  3036. </ParamNameMismatch>
  3037. <UndefinedFunction occurrences="1">
  3038. <code>\Opis\Closure\unserialize($serializedCallable)</code>
  3039. </UndefinedFunction>
  3040. </file>
  3041. <file src="lib/private/Command/CommandJob.php">
  3042. <ParamNameMismatch occurrences="1">
  3043. <code>$serializedCommand</code>
  3044. </ParamNameMismatch>
  3045. <UndefinedFunction occurrences="1">
  3046. <code>\Opis\Closure\unserialize($serializedCommand)</code>
  3047. </UndefinedFunction>
  3048. </file>
  3049. <file src="lib/private/Command/CronBus.php">
  3050. <UndefinedFunction occurrences="1">
  3051. <code>\Opis\Closure\serialize($command)</code>
  3052. </UndefinedFunction>
  3053. </file>
  3054. <file src="lib/private/Comments/Comment.php">
  3055. <ImplementedReturnTypeMismatch occurrences="1">
  3056. <code>\DateTime|null</code>
  3057. </ImplementedReturnTypeMismatch>
  3058. <ParamNameMismatch occurrences="1">
  3059. <code>$timestamp</code>
  3060. </ParamNameMismatch>
  3061. <TypeDoesNotContainType occurrences="1">
  3062. <code>!is_array($mentions[0])</code>
  3063. </TypeDoesNotContainType>
  3064. </file>
  3065. <file src="lib/private/Comments/Manager.php">
  3066. <InvalidDocblock occurrences="1">
  3067. <code>public function getForObjectSince(</code>
  3068. </InvalidDocblock>
  3069. <NullArgument occurrences="1">
  3070. <code>null</code>
  3071. </NullArgument>
  3072. </file>
  3073. <file src="lib/private/Config.php">
  3074. <InvalidOperand occurrences="2">
  3075. <code>$this-&gt;delete($key)</code>
  3076. <code>$this-&gt;set($key, $value)</code>
  3077. </InvalidOperand>
  3078. <UndefinedVariable occurrences="2">
  3079. <code>$CONFIG</code>
  3080. <code>$CONFIG</code>
  3081. </UndefinedVariable>
  3082. </file>
  3083. <file src="lib/private/Console/Application.php">
  3084. <InvalidArgument occurrences="1">
  3085. <code>ConsoleEvent::EVENT_RUN</code>
  3086. </InvalidArgument>
  3087. <NoInterfaceProperties occurrences="1">
  3088. <code>$this-&gt;request-&gt;server</code>
  3089. </NoInterfaceProperties>
  3090. <TooManyArguments occurrences="1">
  3091. <code>dispatch</code>
  3092. </TooManyArguments>
  3093. <UndefinedThisPropertyAssignment occurrences="1">
  3094. <code>$this-&gt;application</code>
  3095. </UndefinedThisPropertyAssignment>
  3096. <UndefinedThisPropertyFetch occurrences="4">
  3097. <code>$this-&gt;application</code>
  3098. <code>$this-&gt;application</code>
  3099. <code>$this-&gt;application</code>
  3100. <code>$this-&gt;application</code>
  3101. </UndefinedThisPropertyFetch>
  3102. </file>
  3103. <file src="lib/private/Contacts/ContactsMenu/Manager.php">
  3104. <InvalidNullableReturnType occurrences="1">
  3105. <code>IEntry</code>
  3106. </InvalidNullableReturnType>
  3107. <NullableReturnStatement occurrences="1">
  3108. <code>$entry</code>
  3109. </NullableReturnStatement>
  3110. </file>
  3111. <file src="lib/private/ContactsManager.php">
  3112. <InvalidNullableReturnType occurrences="3">
  3113. <code>IAddressBook</code>
  3114. <code>array</code>
  3115. <code>bool</code>
  3116. </InvalidNullableReturnType>
  3117. <NullableReturnStatement occurrences="5">
  3118. <code>null</code>
  3119. <code>null</code>
  3120. <code>null</code>
  3121. <code>null</code>
  3122. <code>null</code>
  3123. </NullableReturnStatement>
  3124. <ParamNameMismatch occurrences="2">
  3125. <code>$addressBook</code>
  3126. <code>$addressBook</code>
  3127. </ParamNameMismatch>
  3128. </file>
  3129. <file src="lib/private/DB/Adapter.php">
  3130. <InvalidReturnStatement occurrences="1">
  3131. <code>$builder-&gt;execute()</code>
  3132. </InvalidReturnStatement>
  3133. <InvalidReturnType occurrences="1">
  3134. <code>int</code>
  3135. </InvalidReturnType>
  3136. </file>
  3137. <file src="lib/private/DB/AdapterMySQL.php">
  3138. <InternalMethod occurrences="1">
  3139. <code>getParams</code>
  3140. </InternalMethod>
  3141. </file>
  3142. <file src="lib/private/DB/Connection.php">
  3143. <InternalMethod occurrences="1">
  3144. <code>getParams</code>
  3145. </InternalMethod>
  3146. <InvalidReturnStatement occurrences="2">
  3147. <code>$insertQb-&gt;execute()</code>
  3148. <code>$this-&gt;adapter-&gt;lastInsertId($seqName)</code>
  3149. </InvalidReturnStatement>
  3150. <InvalidReturnType occurrences="2">
  3151. <code>int</code>
  3152. <code>string</code>
  3153. </InvalidReturnType>
  3154. <InvalidScalarArgument occurrences="1">
  3155. <code>$e-&gt;getCode()</code>
  3156. </InvalidScalarArgument>
  3157. <ParamNameMismatch occurrences="2">
  3158. <code>$seqName</code>
  3159. <code>$statement</code>
  3160. </ParamNameMismatch>
  3161. </file>
  3162. <file src="lib/private/DB/MigrationService.php">
  3163. <InvalidOperand occurrences="2">
  3164. <code>$offset</code>
  3165. <code>$offset</code>
  3166. </InvalidOperand>
  3167. <UndefinedThisPropertyAssignment occurrences="4">
  3168. <code>$this-&gt;migrationsNamespace</code>
  3169. <code>$this-&gt;migrationsNamespace</code>
  3170. <code>$this-&gt;migrationsPath</code>
  3171. <code>$this-&gt;migrationsPath</code>
  3172. </UndefinedThisPropertyAssignment>
  3173. <UndefinedThisPropertyFetch occurrences="4">
  3174. <code>$this-&gt;migrationsNamespace</code>
  3175. <code>$this-&gt;migrationsNamespace</code>
  3176. <code>$this-&gt;migrationsPath</code>
  3177. <code>$this-&gt;migrationsPath</code>
  3178. </UndefinedThisPropertyFetch>
  3179. </file>
  3180. <file src="lib/private/DB/Migrator.php">
  3181. <InvalidArgument occurrences="1">
  3182. <code>'\OC\DB\Migrator::executeSql'</code>
  3183. </InvalidArgument>
  3184. <TooManyArguments occurrences="1">
  3185. <code>dispatch</code>
  3186. </TooManyArguments>
  3187. </file>
  3188. <file src="lib/private/DB/OracleConnection.php">
  3189. <InvalidArrayAccess occurrences="1">
  3190. <code>$key[0]</code>
  3191. </InvalidArrayAccess>
  3192. </file>
  3193. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php">
  3194. <ImplicitToStringCast occurrences="1">
  3195. <code>$this-&gt;functionBuilder-&gt;lower($x)</code>
  3196. </ImplicitToStringCast>
  3197. <InvalidScalarArgument occurrences="2">
  3198. <code>$y</code>
  3199. <code>$y</code>
  3200. </InvalidScalarArgument>
  3201. </file>
  3202. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php">
  3203. <InternalMethod occurrences="1">
  3204. <code>getParams</code>
  3205. </InternalMethod>
  3206. </file>
  3207. <file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
  3208. <InvalidNullableReturnType occurrences="1">
  3209. <code>string</code>
  3210. </InvalidNullableReturnType>
  3211. <NullableReturnStatement occurrences="1">
  3212. <code>$alias</code>
  3213. </NullableReturnStatement>
  3214. <ParamNameMismatch occurrences="2">
  3215. <code>$groupBys</code>
  3216. <code>$selects</code>
  3217. </ParamNameMismatch>
  3218. </file>
  3219. <file src="lib/private/DB/QueryBuilder/QuoteHelper.php">
  3220. <InvalidNullableReturnType occurrences="1">
  3221. <code>string</code>
  3222. </InvalidNullableReturnType>
  3223. <NullableReturnStatement occurrences="1">
  3224. <code>$string</code>
  3225. </NullableReturnStatement>
  3226. </file>
  3227. <file src="lib/private/DateTimeFormatter.php">
  3228. <FalsableReturnStatement occurrences="1"/>
  3229. <InvalidDocblock occurrences="2">
  3230. <code>public function formatDateSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
  3231. <code>public function formatTimeSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
  3232. </InvalidDocblock>
  3233. <InvalidReturnStatement occurrences="1"/>
  3234. <InvalidReturnType occurrences="1">
  3235. <code>string</code>
  3236. </InvalidReturnType>
  3237. </file>
  3238. <file src="lib/private/DateTimeZone.php">
  3239. <InvalidScalarArgument occurrences="1">
  3240. <code>$timestamp</code>
  3241. </InvalidScalarArgument>
  3242. </file>
  3243. <file src="lib/private/Diagnostics/Query.php">
  3244. <ImplementedReturnTypeMismatch occurrences="1">
  3245. <code>float</code>
  3246. </ImplementedReturnTypeMismatch>
  3247. </file>
  3248. <file src="lib/private/Diagnostics/QueryLogger.php">
  3249. <InvalidReturnType occurrences="1">
  3250. <code>stopQuery</code>
  3251. </InvalidReturnType>
  3252. <InvalidScalarArgument occurrences="1">
  3253. <code>microtime(true)</code>
  3254. </InvalidScalarArgument>
  3255. </file>
  3256. <file src="lib/private/DirectEditing/Manager.php">
  3257. <InvalidReturnStatement occurrences="1">
  3258. <code>$query-&gt;execute()</code>
  3259. </InvalidReturnStatement>
  3260. <InvalidReturnType occurrences="2">
  3261. <code>TemplateResponse</code>
  3262. <code>int</code>
  3263. </InvalidReturnType>
  3264. <UndefinedMethod occurrences="2">
  3265. <code>$template</code>
  3266. <code>$template</code>
  3267. </UndefinedMethod>
  3268. </file>
  3269. <file src="lib/private/DirectEditing/Token.php">
  3270. <UndefinedMethod occurrences="1">
  3271. <code>getShareForToken</code>
  3272. </UndefinedMethod>
  3273. </file>
  3274. <file src="lib/private/Encryption/File.php">
  3275. <InvalidPropertyAssignmentValue occurrences="1">
  3276. <code>new CappedMemoryCache()</code>
  3277. </InvalidPropertyAssignmentValue>
  3278. </file>
  3279. <file src="lib/private/Encryption/Keys/Storage.php">
  3280. <InvalidNullableReturnType occurrences="1">
  3281. <code>deleteUserKey</code>
  3282. </InvalidNullableReturnType>
  3283. <NullArgument occurrences="3">
  3284. <code>null</code>
  3285. <code>null</code>
  3286. <code>null</code>
  3287. </NullArgument>
  3288. </file>
  3289. <file src="lib/private/Encryption/Manager.php">
  3290. <ImplementedReturnTypeMismatch occurrences="1">
  3291. <code>bool</code>
  3292. </ImplementedReturnTypeMismatch>
  3293. </file>
  3294. <file src="lib/private/EventDispatcher/EventDispatcher.php">
  3295. <TooManyArguments occurrences="1">
  3296. <code>dispatch</code>
  3297. </TooManyArguments>
  3298. </file>
  3299. <file src="lib/private/EventDispatcher/GenericEventWrapper.php">
  3300. <InvalidReturnStatement occurrences="2">
  3301. <code>$this-&gt;event-&gt;offsetSet($key, $value)</code>
  3302. <code>$this-&gt;event-&gt;offsetUnset($key)</code>
  3303. </InvalidReturnStatement>
  3304. </file>
  3305. <file src="lib/private/EventDispatcher/SymfonyAdapter.php">
  3306. <ImplementedParamTypeMismatch occurrences="1">
  3307. <code>$eventName</code>
  3308. </ImplementedParamTypeMismatch>
  3309. <ParamNameMismatch occurrences="1">
  3310. <code>$eventName</code>
  3311. </ParamNameMismatch>
  3312. <TooManyArguments occurrences="1">
  3313. <code>dispatch</code>
  3314. </TooManyArguments>
  3315. </file>
  3316. <file src="lib/private/Federation/CloudFederationProviderManager.php">
  3317. <ParamNameMismatch occurrences="1">
  3318. <code>$providerId</code>
  3319. </ParamNameMismatch>
  3320. </file>
  3321. <file src="lib/private/Files/Cache/Cache.php">
  3322. <InvalidArgument occurrences="1">
  3323. <code>$parentData</code>
  3324. </InvalidArgument>
  3325. <InvalidNullableReturnType occurrences="1">
  3326. <code>array</code>
  3327. </InvalidNullableReturnType>
  3328. <InvalidScalarArgument occurrences="3">
  3329. <code>$path</code>
  3330. <code>$path</code>
  3331. <code>\OC_Util::normalizeUnicode($path)</code>
  3332. </InvalidScalarArgument>
  3333. <NullableReturnStatement occurrences="2">
  3334. <code>null</code>
  3335. <code>null</code>
  3336. </NullableReturnStatement>
  3337. <ParamNameMismatch occurrences="1">
  3338. <code>$searchQuery</code>
  3339. </ParamNameMismatch>
  3340. </file>
  3341. <file src="lib/private/Files/Cache/FailedCache.php">
  3342. <InvalidReturnStatement occurrences="1">
  3343. <code>[]</code>
  3344. </InvalidReturnStatement>
  3345. <InvalidReturnType occurrences="3">
  3346. <code>getIncomplete</code>
  3347. <code>insert</code>
  3348. <code>put</code>
  3349. </InvalidReturnType>
  3350. </file>
  3351. <file src="lib/private/Files/Cache/HomeCache.php">
  3352. <FalsableReturnStatement occurrences="1">
  3353. <code>$data</code>
  3354. </FalsableReturnStatement>
  3355. <MoreSpecificImplementedParamType occurrences="1">
  3356. <code>$path</code>
  3357. </MoreSpecificImplementedParamType>
  3358. <ParamNameMismatch occurrences="1">
  3359. <code>$path</code>
  3360. </ParamNameMismatch>
  3361. </file>
  3362. <file src="lib/private/Files/Cache/Scanner.php">
  3363. <InvalidReturnStatement occurrences="1">
  3364. <code>$existingChildren</code>
  3365. </InvalidReturnStatement>
  3366. <InvalidReturnType occurrences="1">
  3367. <code>array[]</code>
  3368. </InvalidReturnType>
  3369. <InvalidScalarArgument occurrences="2">
  3370. <code>$path</code>
  3371. <code>self::SCAN_RECURSIVE_INCOMPLETE</code>
  3372. </InvalidScalarArgument>
  3373. </file>
  3374. <file src="lib/private/Files/Cache/Storage.php">
  3375. <InvalidNullableReturnType occurrences="1">
  3376. <code>array</code>
  3377. </InvalidNullableReturnType>
  3378. <NullableReturnStatement occurrences="1">
  3379. <code>self::getGlobalCache()-&gt;getStorageInfo($storageId)</code>
  3380. </NullableReturnStatement>
  3381. </file>
  3382. <file src="lib/private/Files/Cache/Updater.php">
  3383. <RedundantCondition occurrences="1">
  3384. <code>$this-&gt;cache instanceof Cache</code>
  3385. </RedundantCondition>
  3386. </file>
  3387. <file src="lib/private/Files/Cache/Wrapper/CacheWrapper.php">
  3388. <LessSpecificImplementedReturnType occurrences="1">
  3389. <code>array</code>
  3390. </LessSpecificImplementedReturnType>
  3391. <ParamNameMismatch occurrences="1">
  3392. <code>$searchQuery</code>
  3393. </ParamNameMismatch>
  3394. </file>
  3395. <file src="lib/private/Files/Config/CachedMountInfo.php">
  3396. <InvalidNullableReturnType occurrences="1">
  3397. <code>Node</code>
  3398. </InvalidNullableReturnType>
  3399. <NullableReturnStatement occurrences="1">
  3400. <code>null</code>
  3401. </NullableReturnStatement>
  3402. </file>
  3403. <file src="lib/private/Files/Config/MountProviderCollection.php">
  3404. <InvalidOperand occurrences="1">
  3405. <code>$user</code>
  3406. </InvalidOperand>
  3407. <RedundantCondition occurrences="1">
  3408. <code>get_class($provider) !== 'OCA\Files_Sharing\MountProvider'</code>
  3409. </RedundantCondition>
  3410. <TypeDoesNotContainType occurrences="1">
  3411. <code>get_class($provider) === 'OCA\Files_Sharing\MountProvider'</code>
  3412. </TypeDoesNotContainType>
  3413. </file>
  3414. <file src="lib/private/Files/Config/UserMountCache.php">
  3415. <InvalidReturnType occurrences="2">
  3416. <code>remoteStorageMounts</code>
  3417. <code>removeUserStorageMount</code>
  3418. </InvalidReturnType>
  3419. <LessSpecificImplementedReturnType occurrences="1">
  3420. <code>array</code>
  3421. </LessSpecificImplementedReturnType>
  3422. <UndefinedInterfaceMethod occurrences="9">
  3423. <code>$this-&gt;cacheInfoCache</code>
  3424. <code>$this-&gt;cacheInfoCache</code>
  3425. <code>$this-&gt;cacheInfoCache</code>
  3426. <code>$this-&gt;mountsForUsers</code>
  3427. <code>$this-&gt;mountsForUsers</code>
  3428. <code>$this-&gt;mountsForUsers</code>
  3429. <code>$this-&gt;mountsForUsers</code>
  3430. <code>$this-&gt;mountsForUsers</code>
  3431. <code>$this-&gt;mountsForUsers</code>
  3432. </UndefinedInterfaceMethod>
  3433. </file>
  3434. <file src="lib/private/Files/Filesystem.php">
  3435. <InvalidNullableReturnType occurrences="1">
  3436. <code>string</code>
  3437. </InvalidNullableReturnType>
  3438. <InvalidReturnStatement occurrences="1">
  3439. <code>self::$defaultInstance-&gt;toTmpFile($path)</code>
  3440. </InvalidReturnStatement>
  3441. <InvalidReturnType occurrences="1">
  3442. <code>string</code>
  3443. </InvalidReturnType>
  3444. <NullableReturnStatement occurrences="1">
  3445. <code>null</code>
  3446. </NullableReturnStatement>
  3447. <RedundantCondition occurrences="2">
  3448. <code>$userObject</code>
  3449. <code>$userObject</code>
  3450. </RedundantCondition>
  3451. <TooManyArguments occurrences="1">
  3452. <code>addStorageWrapper</code>
  3453. </TooManyArguments>
  3454. </file>
  3455. <file src="lib/private/Files/Mount/MountPoint.php">
  3456. <InvalidScalarArgument occurrences="1">
  3457. <code>$exception-&gt;getCode()</code>
  3458. </InvalidScalarArgument>
  3459. <NullableReturnStatement occurrences="1">
  3460. <code>null</code>
  3461. </NullableReturnStatement>
  3462. <UndefinedInterfaceMethod occurrences="1">
  3463. <code>wrap</code>
  3464. </UndefinedInterfaceMethod>
  3465. </file>
  3466. <file src="lib/private/Files/Mount/MoveableMount.php">
  3467. <InvalidDocblock occurrences="1">
  3468. <code>public function removeMount();</code>
  3469. </InvalidDocblock>
  3470. </file>
  3471. <file src="lib/private/Files/Mount/ObjectHomeMountProvider.php">
  3472. <InvalidNullableReturnType occurrences="1">
  3473. <code>\OCP\Files\Mount\IMountPoint</code>
  3474. </InvalidNullableReturnType>
  3475. <NullableReturnStatement occurrences="1">
  3476. <code>null</code>
  3477. </NullableReturnStatement>
  3478. </file>
  3479. <file src="lib/private/Files/Node/File.php">
  3480. <InvalidReturnStatement occurrences="2">
  3481. <code>$this-&gt;view-&gt;hash($type, $this-&gt;path, $raw)</code>
  3482. <code>new NonExistingFile($this-&gt;root, $this-&gt;view, $path)</code>
  3483. </InvalidReturnStatement>
  3484. <InvalidReturnType occurrences="2">
  3485. <code>string</code>
  3486. <code>string</code>
  3487. </InvalidReturnType>
  3488. <NullableReturnStatement occurrences="1">
  3489. <code>$this-&gt;view-&gt;hash($type, $this-&gt;path, $raw)</code>
  3490. </NullableReturnStatement>
  3491. <UndefinedThisPropertyAssignment occurrences="1">
  3492. <code>$this-&gt;exists</code>
  3493. </UndefinedThisPropertyAssignment>
  3494. </file>
  3495. <file src="lib/private/Files/Node/Folder.php">
  3496. <InvalidArgument occurrences="1"/>
  3497. <InvalidReturnStatement occurrences="1">
  3498. <code>new NonExistingFolder($this-&gt;root, $this-&gt;view, $path)</code>
  3499. </InvalidReturnStatement>
  3500. <InvalidReturnType occurrences="1">
  3501. <code>string</code>
  3502. </InvalidReturnType>
  3503. <MoreSpecificImplementedParamType occurrences="1">
  3504. <code>$node</code>
  3505. </MoreSpecificImplementedParamType>
  3506. <UndefinedThisPropertyAssignment occurrences="1">
  3507. <code>$this-&gt;exists</code>
  3508. </UndefinedThisPropertyAssignment>
  3509. </file>
  3510. <file src="lib/private/Files/Node/HookConnector.php">
  3511. <InvalidArgument occurrences="13">
  3512. <code>'\OCP\Files::postCopy'</code>
  3513. <code>'\OCP\Files::postCreate'</code>
  3514. <code>'\OCP\Files::postDelete'</code>
  3515. <code>'\OCP\Files::postRename'</code>
  3516. <code>'\OCP\Files::postTouch'</code>
  3517. <code>'\OCP\Files::postWrite'</code>
  3518. <code>'\OCP\Files::preCopy'</code>
  3519. <code>'\OCP\Files::preCreate'</code>
  3520. <code>'\OCP\Files::preDelete'</code>
  3521. <code>'\OCP\Files::preRename'</code>
  3522. <code>'\OCP\Files::preTouch'</code>
  3523. <code>'\OCP\Files::preWrite'</code>
  3524. <code>'\OCP\Files::read'</code>
  3525. </InvalidArgument>
  3526. <TooManyArguments occurrences="13">
  3527. <code>dispatch</code>
  3528. <code>dispatch</code>
  3529. <code>dispatch</code>
  3530. <code>dispatch</code>
  3531. <code>dispatch</code>
  3532. <code>dispatch</code>
  3533. <code>dispatch</code>
  3534. <code>dispatch</code>
  3535. <code>dispatch</code>
  3536. <code>dispatch</code>
  3537. <code>dispatch</code>
  3538. <code>dispatch</code>
  3539. <code>dispatch</code>
  3540. </TooManyArguments>
  3541. <UndefinedInterfaceMethod occurrences="13">
  3542. <code>emit</code>
  3543. <code>emit</code>
  3544. <code>emit</code>
  3545. <code>emit</code>
  3546. <code>emit</code>
  3547. <code>emit</code>
  3548. <code>emit</code>
  3549. <code>emit</code>
  3550. <code>emit</code>
  3551. <code>emit</code>
  3552. <code>emit</code>
  3553. <code>emit</code>
  3554. <code>emit</code>
  3555. </UndefinedInterfaceMethod>
  3556. </file>
  3557. <file src="lib/private/Files/Node/LazyFolder.php">
  3558. <InvalidReturnStatement occurrences="1">
  3559. <code>$this-&gt;__call(__FUNCTION__, func_get_args())</code>
  3560. </InvalidReturnStatement>
  3561. </file>
  3562. <file src="lib/private/Files/Node/Node.php">
  3563. <ImplementedReturnTypeMismatch occurrences="1">
  3564. <code>Node</code>
  3565. </ImplementedReturnTypeMismatch>
  3566. <InvalidArgument occurrences="1">
  3567. <code>'\OCP\Files::' . $hook</code>
  3568. </InvalidArgument>
  3569. <InvalidNullableReturnType occurrences="1">
  3570. <code>int</code>
  3571. </InvalidNullableReturnType>
  3572. <InvalidReturnType occurrences="1">
  3573. <code>getChecksum</code>
  3574. </InvalidReturnType>
  3575. <NullableReturnStatement occurrences="1">
  3576. <code>$this-&gt;getFileInfo()-&gt;getId()</code>
  3577. </NullableReturnStatement>
  3578. <ParamNameMismatch occurrences="1">
  3579. <code>$type</code>
  3580. </ParamNameMismatch>
  3581. <TooManyArguments occurrences="1">
  3582. <code>dispatch</code>
  3583. </TooManyArguments>
  3584. <UndefinedInterfaceMethod occurrences="1">
  3585. <code>$this-&gt;fileInfo</code>
  3586. </UndefinedInterfaceMethod>
  3587. </file>
  3588. <file src="lib/private/Files/Node/NonExistingFile.php">
  3589. <ParamNameMismatch occurrences="1">
  3590. <code>$newPath</code>
  3591. </ParamNameMismatch>
  3592. </file>
  3593. <file src="lib/private/Files/Node/NonExistingFolder.php">
  3594. <ParamNameMismatch occurrences="3">
  3595. <code>$mime</code>
  3596. <code>$newPath</code>
  3597. <code>$pattern</code>
  3598. </ParamNameMismatch>
  3599. </file>
  3600. <file src="lib/private/Files/Node/Root.php">
  3601. <ImplementedReturnTypeMismatch occurrences="1">
  3602. <code>Node</code>
  3603. </ImplementedReturnTypeMismatch>
  3604. <InvalidNullableReturnType occurrences="7">
  3605. <code>\OC\Files\Mount\MountPoint</code>
  3606. <code>\OC\User\User</code>
  3607. <code>array</code>
  3608. <code>int</code>
  3609. <code>int</code>
  3610. <code>int</code>
  3611. <code>string</code>
  3612. </InvalidNullableReturnType>
  3613. <NullableReturnStatement occurrences="7">
  3614. <code>$this-&gt;mountManager-&gt;find($mountPoint)</code>
  3615. <code>$this-&gt;user</code>
  3616. <code>null</code>
  3617. <code>null</code>
  3618. <code>null</code>
  3619. <code>null</code>
  3620. <code>null</code>
  3621. </NullableReturnStatement>
  3622. <UndefinedMethod occurrences="1">
  3623. <code>remove</code>
  3624. </UndefinedMethod>
  3625. </file>
  3626. <file src="lib/private/Files/ObjectStore/HomeObjectStoreStorage.php">
  3627. <ImplementedReturnTypeMismatch occurrences="1">
  3628. <code>false|string</code>
  3629. </ImplementedReturnTypeMismatch>
  3630. </file>
  3631. <file src="lib/private/Files/ObjectStore/NoopScanner.php">
  3632. <MoreSpecificImplementedParamType occurrences="1">
  3633. <code>$cacheData</code>
  3634. </MoreSpecificImplementedParamType>
  3635. </file>
  3636. <file src="lib/private/Files/ObjectStore/ObjectStoreStorage.php">
  3637. <InvalidScalarArgument occurrences="1">
  3638. <code>$source</code>
  3639. </InvalidScalarArgument>
  3640. <ParamNameMismatch occurrences="2">
  3641. <code>$source</code>
  3642. <code>$target</code>
  3643. </ParamNameMismatch>
  3644. </file>
  3645. <file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php">
  3646. <InternalClass occurrences="1">
  3647. <code>ClientResolver::_default_signature_provider()</code>
  3648. </InternalClass>
  3649. <InternalMethod occurrences="1">
  3650. <code>ClientResolver::_default_signature_provider()</code>
  3651. </InternalMethod>
  3652. <UndefinedFunction occurrences="2">
  3653. <code>\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())</code>
  3654. </UndefinedFunction>
  3655. </file>
  3656. <file src="lib/private/Files/ObjectStore/S3ObjectTrait.php">
  3657. <InternalMethod occurrences="1">
  3658. <code>upload</code>
  3659. </InternalMethod>
  3660. <UndefinedFunction occurrences="1">
  3661. <code>\Aws\serialize($command)</code>
  3662. </UndefinedFunction>
  3663. </file>
  3664. <file src="lib/private/Files/ObjectStore/S3Signature.php">
  3665. <NullArgument occurrences="1">
  3666. <code>null</code>
  3667. </NullArgument>
  3668. <UndefinedFunction occurrences="2">
  3669. <code>Psr7\modify_request($request, $modify)</code>
  3670. <code>Psr7\parse_query($query)</code>
  3671. </UndefinedFunction>
  3672. </file>
  3673. <file src="lib/private/Files/ObjectStore/StorageObjectStore.php">
  3674. <InvalidReturnType occurrences="1">
  3675. <code>string</code>
  3676. </InvalidReturnType>
  3677. </file>
  3678. <file src="lib/private/Files/ObjectStore/Swift.php">
  3679. <UndefinedFunction occurrences="2">
  3680. <code>stream_for($handle)</code>
  3681. <code>stream_for($handle)</code>
  3682. </UndefinedFunction>
  3683. </file>
  3684. <file src="lib/private/Files/Storage/Common.php">
  3685. <ImplementedReturnTypeMismatch occurrences="1">
  3686. <code>string|false</code>
  3687. </ImplementedReturnTypeMismatch>
  3688. <InvalidNullableReturnType occurrences="1">
  3689. <code>array</code>
  3690. </InvalidNullableReturnType>
  3691. <InvalidOperand occurrences="2">
  3692. <code>!$permissions</code>
  3693. <code>$this-&gt;copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file)</code>
  3694. </InvalidOperand>
  3695. <NoInterfaceProperties occurrences="8">
  3696. <code>$storage-&gt;cache</code>
  3697. <code>$storage-&gt;cache</code>
  3698. <code>$storage-&gt;propagator</code>
  3699. <code>$storage-&gt;propagator</code>
  3700. <code>$storage-&gt;scanner</code>
  3701. <code>$storage-&gt;scanner</code>
  3702. <code>$storage-&gt;updater</code>
  3703. <code>$storage-&gt;updater</code>
  3704. </NoInterfaceProperties>
  3705. <NullableReturnStatement occurrences="1">
  3706. <code>$this-&gt;getStorageCache()-&gt;getAvailability()</code>
  3707. </NullableReturnStatement>
  3708. </file>
  3709. <file src="lib/private/Files/Storage/DAV.php">
  3710. <InvalidClass occurrences="2">
  3711. <code>ArrayCache</code>
  3712. <code>ArrayCache</code>
  3713. </InvalidClass>
  3714. <InvalidNullableReturnType occurrences="1">
  3715. <code>getETag</code>
  3716. </InvalidNullableReturnType>
  3717. <InvalidReturnStatement occurrences="1">
  3718. <code>$response-&gt;getBody()</code>
  3719. </InvalidReturnStatement>
  3720. <InvalidReturnType occurrences="1">
  3721. <code>fopen</code>
  3722. </InvalidReturnType>
  3723. <NullableReturnStatement occurrences="1">
  3724. <code>null</code>
  3725. </NullableReturnStatement>
  3726. </file>
  3727. <file src="lib/private/Files/Storage/FailedStorage.php">
  3728. <InvalidReturnStatement occurrences="2">
  3729. <code>new FailedCache()</code>
  3730. <code>true</code>
  3731. </InvalidReturnStatement>
  3732. <InvalidReturnType occurrences="2">
  3733. <code>getCache</code>
  3734. <code>verifyPath</code>
  3735. </InvalidReturnType>
  3736. <InvalidScalarArgument occurrences="39">
  3737. <code>$this-&gt;e-&gt;getCode()</code>
  3738. <code>$this-&gt;e-&gt;getCode()</code>
  3739. <code>$this-&gt;e-&gt;getCode()</code>
  3740. <code>$this-&gt;e-&gt;getCode()</code>
  3741. <code>$this-&gt;e-&gt;getCode()</code>
  3742. <code>$this-&gt;e-&gt;getCode()</code>
  3743. <code>$this-&gt;e-&gt;getCode()</code>
  3744. <code>$this-&gt;e-&gt;getCode()</code>
  3745. <code>$this-&gt;e-&gt;getCode()</code>
  3746. <code>$this-&gt;e-&gt;getCode()</code>
  3747. <code>$this-&gt;e-&gt;getCode()</code>
  3748. <code>$this-&gt;e-&gt;getCode()</code>
  3749. <code>$this-&gt;e-&gt;getCode()</code>
  3750. <code>$this-&gt;e-&gt;getCode()</code>
  3751. <code>$this-&gt;e-&gt;getCode()</code>
  3752. <code>$this-&gt;e-&gt;getCode()</code>
  3753. <code>$this-&gt;e-&gt;getCode()</code>
  3754. <code>$this-&gt;e-&gt;getCode()</code>
  3755. <code>$this-&gt;e-&gt;getCode()</code>
  3756. <code>$this-&gt;e-&gt;getCode()</code>
  3757. <code>$this-&gt;e-&gt;getCode()</code>
  3758. <code>$this-&gt;e-&gt;getCode()</code>
  3759. <code>$this-&gt;e-&gt;getCode()</code>
  3760. <code>$this-&gt;e-&gt;getCode()</code>
  3761. <code>$this-&gt;e-&gt;getCode()</code>
  3762. <code>$this-&gt;e-&gt;getCode()</code>
  3763. <code>$this-&gt;e-&gt;getCode()</code>
  3764. <code>$this-&gt;e-&gt;getCode()</code>
  3765. <code>$this-&gt;e-&gt;getCode()</code>
  3766. <code>$this-&gt;e-&gt;getCode()</code>
  3767. <code>$this-&gt;e-&gt;getCode()</code>
  3768. <code>$this-&gt;e-&gt;getCode()</code>
  3769. <code>$this-&gt;e-&gt;getCode()</code>
  3770. <code>$this-&gt;e-&gt;getCode()</code>
  3771. <code>$this-&gt;e-&gt;getCode()</code>
  3772. <code>$this-&gt;e-&gt;getCode()</code>
  3773. <code>$this-&gt;e-&gt;getCode()</code>
  3774. <code>$this-&gt;e-&gt;getCode()</code>
  3775. <code>$this-&gt;e-&gt;getCode()</code>
  3776. </InvalidScalarArgument>
  3777. </file>
  3778. <file src="lib/private/Files/Storage/Flysystem.php">
  3779. <ParamNameMismatch occurrences="4">
  3780. <code>$source</code>
  3781. <code>$source</code>
  3782. <code>$target</code>
  3783. <code>$target</code>
  3784. </ParamNameMismatch>
  3785. </file>
  3786. <file src="lib/private/Files/Storage/Local.php">
  3787. <ImplicitToStringCast occurrences="1">
  3788. <code>$file</code>
  3789. </ImplicitToStringCast>
  3790. <InvalidOperand occurrences="1">
  3791. <code>$result</code>
  3792. </InvalidOperand>
  3793. <InvalidReturnStatement occurrences="3">
  3794. <code>$helper-&gt;getFileSize($fullPath)</code>
  3795. <code>$result</code>
  3796. <code>$space</code>
  3797. </InvalidReturnStatement>
  3798. <InvalidReturnType occurrences="3">
  3799. <code>filesize</code>
  3800. <code>free_space</code>
  3801. <code>rename</code>
  3802. </InvalidReturnType>
  3803. <NullableReturnStatement occurrences="1">
  3804. <code>$helper-&gt;getFileSize($fullPath)</code>
  3805. </NullableReturnStatement>
  3806. <TypeDoesNotContainNull occurrences="2">
  3807. <code>$space === false || is_null($space)</code>
  3808. <code>is_null($space)</code>
  3809. </TypeDoesNotContainNull>
  3810. <TypeDoesNotContainType occurrences="1">
  3811. <code>$stat === false</code>
  3812. </TypeDoesNotContainType>
  3813. </file>
  3814. <file src="lib/private/Files/Storage/LocalRootStorage.php">
  3815. <NoInterfaceProperties occurrences="2">
  3816. <code>$storage-&gt;scanner</code>
  3817. <code>$storage-&gt;scanner</code>
  3818. </NoInterfaceProperties>
  3819. </file>
  3820. <file src="lib/private/Files/Storage/Wrapper/Availability.php">
  3821. <InvalidNullableReturnType occurrences="33">
  3822. <code>copy</code>
  3823. <code>copyFromStorage</code>
  3824. <code>file_exists</code>
  3825. <code>file_get_contents</code>
  3826. <code>file_put_contents</code>
  3827. <code>filemtime</code>
  3828. <code>filesize</code>
  3829. <code>filetype</code>
  3830. <code>fopen</code>
  3831. <code>free_space</code>
  3832. <code>getDirectDownload</code>
  3833. <code>getETag</code>
  3834. <code>getLocalFile</code>
  3835. <code>getMimeType</code>
  3836. <code>getOwner</code>
  3837. <code>getPermissions</code>
  3838. <code>hash</code>
  3839. <code>isCreatable</code>
  3840. <code>isDeletable</code>
  3841. <code>isReadable</code>
  3842. <code>isSharable</code>
  3843. <code>isUpdatable</code>
  3844. <code>is_dir</code>
  3845. <code>is_file</code>
  3846. <code>mkdir</code>
  3847. <code>moveFromStorage</code>
  3848. <code>opendir</code>
  3849. <code>rename</code>
  3850. <code>rmdir</code>
  3851. <code>search</code>
  3852. <code>stat</code>
  3853. <code>touch</code>
  3854. <code>unlink</code>
  3855. </InvalidNullableReturnType>
  3856. <InvalidReturnType occurrences="1">
  3857. <code>\Traversable</code>
  3858. </InvalidReturnType>
  3859. </file>
  3860. <file src="lib/private/Files/Storage/Wrapper/Encoding.php">
  3861. <InvalidScalarArgument occurrences="3">
  3862. <code>\Normalizer::FORM_C</code>
  3863. <code>\Normalizer::FORM_C</code>
  3864. <code>\Normalizer::FORM_D</code>
  3865. </InvalidScalarArgument>
  3866. <UndefinedInterfaceMethod occurrences="13">
  3867. <code>$this-&gt;namesCache</code>
  3868. <code>$this-&gt;namesCache</code>
  3869. <code>$this-&gt;namesCache</code>
  3870. <code>$this-&gt;namesCache</code>
  3871. <code>$this-&gt;namesCache</code>
  3872. <code>$this-&gt;namesCache</code>
  3873. <code>$this-&gt;namesCache</code>
  3874. <code>$this-&gt;namesCache</code>
  3875. <code>$this-&gt;namesCache</code>
  3876. <code>$this-&gt;namesCache</code>
  3877. <code>$this-&gt;namesCache</code>
  3878. <code>$this-&gt;namesCache</code>
  3879. <code>$this-&gt;namesCache</code>
  3880. </UndefinedInterfaceMethod>
  3881. </file>
  3882. <file src="lib/private/Files/Storage/Wrapper/Encryption.php">
  3883. <FalsableReturnStatement occurrences="1">
  3884. <code>false</code>
  3885. </FalsableReturnStatement>
  3886. <InvalidOperand occurrences="3">
  3887. <code>$result</code>
  3888. <code>$result</code>
  3889. <code>$this-&gt;copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename)</code>
  3890. </InvalidOperand>
  3891. <InvalidReturnStatement occurrences="6">
  3892. <code>$newUnencryptedSize</code>
  3893. <code>$result</code>
  3894. <code>$stat</code>
  3895. <code>$this-&gt;storage-&gt;file_get_contents($path)</code>
  3896. <code>$this-&gt;storage-&gt;filesize($path)</code>
  3897. <code>$this-&gt;storage-&gt;getLocalFile($path)</code>
  3898. </InvalidReturnStatement>
  3899. <InvalidReturnType occurrences="5">
  3900. <code>array</code>
  3901. <code>bool</code>
  3902. <code>int</code>
  3903. <code>string</code>
  3904. <code>string</code>
  3905. </InvalidReturnType>
  3906. <InvalidScalarArgument occurrences="5">
  3907. <code>$lastChunkPos</code>
  3908. <code>$newUnencryptedSize</code>
  3909. <code>$size</code>
  3910. <code>$size</code>
  3911. <code>$sourceStorage-&gt;filemtime($sourceInternalPath)</code>
  3912. </InvalidScalarArgument>
  3913. </file>
  3914. <file src="lib/private/Files/Storage/Wrapper/Jail.php">
  3915. <InvalidReturnStatement occurrences="1">
  3916. <code>$this-&gt;getWrapperStorage()-&gt;filetype($this-&gt;getUnjailedPath($path))</code>
  3917. </InvalidReturnStatement>
  3918. <InvalidReturnType occurrences="1">
  3919. <code>bool</code>
  3920. </InvalidReturnType>
  3921. </file>
  3922. <file src="lib/private/Files/Storage/Wrapper/Quota.php">
  3923. <InvalidReturnStatement occurrences="1">
  3924. <code>$extension === 'part'</code>
  3925. </InvalidReturnStatement>
  3926. <InvalidReturnType occurrences="1">
  3927. <code>string</code>
  3928. </InvalidReturnType>
  3929. <InvalidScalarArgument occurrences="2">
  3930. <code>$free</code>
  3931. <code>'ext'</code>
  3932. </InvalidScalarArgument>
  3933. <ParamNameMismatch occurrences="2">
  3934. <code>$source</code>
  3935. <code>$target</code>
  3936. </ParamNameMismatch>
  3937. </file>
  3938. <file src="lib/private/Files/Storage/Wrapper/Wrapper.php">
  3939. <InvalidReturnStatement occurrences="1">
  3940. <code>$this-&gt;getWrapperStorage()-&gt;test()</code>
  3941. </InvalidReturnStatement>
  3942. <InvalidReturnType occurrences="1">
  3943. <code>true</code>
  3944. </InvalidReturnType>
  3945. </file>
  3946. <file src="lib/private/Files/Stream/SeekableHttpStream.php">
  3947. <InvalidPropertyAssignmentValue occurrences="2">
  3948. <code>$this-&gt;current</code>
  3949. <code>$this-&gt;current</code>
  3950. </InvalidPropertyAssignmentValue>
  3951. <InvalidReturnType occurrences="2">
  3952. <code>stream_close</code>
  3953. <code>stream_flush</code>
  3954. </InvalidReturnType>
  3955. </file>
  3956. <file src="lib/private/Files/Template/TemplateManager.php">
  3957. <RedundantCondition occurrences="1">
  3958. <code>!$isDefaultTemplates</code>
  3959. </RedundantCondition>
  3960. </file>
  3961. <file src="lib/private/Files/Type/Detection.php">
  3962. <ParamNameMismatch occurrences="1">
  3963. <code>$mimetype</code>
  3964. </ParamNameMismatch>
  3965. </file>
  3966. <file src="lib/private/Files/Type/Loader.php">
  3967. <InvalidReturnStatement occurrences="1">
  3968. <code>$update-&gt;execute()</code>
  3969. </InvalidReturnStatement>
  3970. <InvalidReturnType occurrences="1">
  3971. <code>int</code>
  3972. </InvalidReturnType>
  3973. </file>
  3974. <file src="lib/private/Files/Utils/Scanner.php">
  3975. <InvalidReturnStatement occurrences="1">
  3976. <code>$mounts</code>
  3977. </InvalidReturnStatement>
  3978. <InvalidReturnType occurrences="1">
  3979. <code>\OC\Files\Mount\MountPoint[]</code>
  3980. </InvalidReturnType>
  3981. </file>
  3982. <file src="lib/private/Files/View.php">
  3983. <InvalidArgument occurrences="3">
  3984. <code>$mount</code>
  3985. <code>$mount</code>
  3986. </InvalidArgument>
  3987. <InvalidNullableReturnType occurrences="2">
  3988. <code>\OCP\Files\Mount\IMountPoint</code>
  3989. <code>string</code>
  3990. </InvalidNullableReturnType>
  3991. <InvalidReturnStatement occurrences="1">
  3992. <code>$results</code>
  3993. </InvalidReturnStatement>
  3994. <InvalidReturnType occurrences="1">
  3995. <code>\OC\Files\Mount\MountPoint</code>
  3996. </InvalidReturnType>
  3997. <InvalidScalarArgument occurrences="2">
  3998. <code>$fileId</code>
  3999. <code>$mtime</code>
  4000. </InvalidScalarArgument>
  4001. <NullableReturnStatement occurrences="6">
  4002. <code>$mount</code>
  4003. <code>Filesystem::getMountManager()-&gt;find($this-&gt;getAbsolutePath($path))</code>
  4004. <code>null</code>
  4005. <code>null</code>
  4006. <code>null</code>
  4007. <code>null</code>
  4008. </NullableReturnStatement>
  4009. <RedundantCondition occurrences="3">
  4010. <code>$data</code>
  4011. <code>$data</code>
  4012. <code>is_resource($source)</code>
  4013. </RedundantCondition>
  4014. <UndefinedDocblockClass occurrences="2">
  4015. <code>$storage</code>
  4016. <code>[$storage, $internalPath]</code>
  4017. </UndefinedDocblockClass>
  4018. </file>
  4019. <file src="lib/private/FullTextSearch/Model/IndexDocument.php">
  4020. <TypeDoesNotContainNull occurrences="1">
  4021. <code>is_null($this-&gt;getContent())</code>
  4022. </TypeDoesNotContainNull>
  4023. </file>
  4024. <file src="lib/private/Group/Database.php">
  4025. <InvalidArrayOffset occurrences="1">
  4026. <code>$this-&gt;groupCache[$gid]['displayname']</code>
  4027. </InvalidArrayOffset>
  4028. <InvalidPropertyAssignmentValue occurrences="3">
  4029. <code>$this-&gt;groupCache</code>
  4030. <code>$this-&gt;groupCache</code>
  4031. <code>$this-&gt;groupCache</code>
  4032. </InvalidPropertyAssignmentValue>
  4033. </file>
  4034. <file src="lib/private/Group/Group.php">
  4035. <InvalidArgument occurrences="7">
  4036. <code>IGroup::class . '::postAddUser'</code>
  4037. <code>IGroup::class . '::postDelete'</code>
  4038. <code>IGroup::class . '::postRemoveUser'</code>
  4039. <code>IGroup::class . '::preAddUser'</code>
  4040. <code>IGroup::class . '::preDelete'</code>
  4041. <code>IGroup::class . '::preRemoveUser'</code>
  4042. <code>bool</code>
  4043. </InvalidArgument>
  4044. <InvalidOperand occurrences="1">
  4045. <code>$hide</code>
  4046. </InvalidOperand>
  4047. <MoreSpecificImplementedParamType occurrences="1">
  4048. <code>$user</code>
  4049. </MoreSpecificImplementedParamType>
  4050. <RedundantCondition occurrences="6">
  4051. <code>$this-&gt;emitter</code>
  4052. <code>$this-&gt;emitter</code>
  4053. <code>$this-&gt;emitter</code>
  4054. <code>$this-&gt;emitter</code>
  4055. <code>$this-&gt;emitter</code>
  4056. <code>$this-&gt;emitter</code>
  4057. </RedundantCondition>
  4058. <TooManyArguments occurrences="6">
  4059. <code>dispatch</code>
  4060. <code>dispatch</code>
  4061. <code>dispatch</code>
  4062. <code>dispatch</code>
  4063. <code>dispatch</code>
  4064. <code>dispatch</code>
  4065. </TooManyArguments>
  4066. <UndefinedMethod occurrences="4">
  4067. <code>addToGroup</code>
  4068. <code>countUsersInGroup</code>
  4069. <code>deleteGroup</code>
  4070. <code>removeFromGroup</code>
  4071. </UndefinedMethod>
  4072. </file>
  4073. <file src="lib/private/Group/Manager.php">
  4074. <UndefinedInterfaceMethod occurrences="3">
  4075. <code>createGroup</code>
  4076. <code>getGroupDetails</code>
  4077. <code>isAdmin</code>
  4078. </UndefinedInterfaceMethod>
  4079. </file>
  4080. <file src="lib/private/Group/MetaData.php">
  4081. <InvalidPropertyAssignmentValue occurrences="2">
  4082. <code>$sortMode</code>
  4083. <code>self::SORT_NONE</code>
  4084. </InvalidPropertyAssignmentValue>
  4085. </file>
  4086. <file src="lib/private/Http/Client/Response.php">
  4087. <InvalidNullableReturnType occurrences="1">
  4088. <code>string|resource</code>
  4089. </InvalidNullableReturnType>
  4090. <NullableReturnStatement occurrences="1"/>
  4091. </file>
  4092. <file src="lib/private/Installer.php">
  4093. <FalsableReturnStatement occurrences="1">
  4094. <code>false</code>
  4095. </FalsableReturnStatement>
  4096. <InvalidArgument occurrences="2">
  4097. <code>false</code>
  4098. <code>false</code>
  4099. </InvalidArgument>
  4100. <InvalidArrayOffset occurrences="2">
  4101. <code>$app['path']</code>
  4102. <code>$app['path']</code>
  4103. </InvalidArrayOffset>
  4104. <NullArgument occurrences="1">
  4105. <code>null</code>
  4106. </NullArgument>
  4107. <RedundantCondition occurrences="2">
  4108. <code>$archive</code>
  4109. <code>$archive</code>
  4110. </RedundantCondition>
  4111. </file>
  4112. <file src="lib/private/IntegrityCheck/Checker.php">
  4113. <InvalidArrayAccess occurrences="3">
  4114. <code>$x509-&gt;getDN(X509::DN_OPENSSL)['CN']</code>
  4115. <code>$x509-&gt;getDN(X509::DN_OPENSSL)['CN']</code>
  4116. <code>$x509-&gt;getDN(true)['CN']</code>
  4117. </InvalidArrayAccess>
  4118. <UndefinedInterfaceMethod occurrences="2">
  4119. <code>getAllAliases</code>
  4120. <code>getOnlyDefaultAliases</code>
  4121. </UndefinedInterfaceMethod>
  4122. </file>
  4123. <file src="lib/private/L10N/Factory.php">
  4124. <ImplementedReturnTypeMismatch occurrences="1">
  4125. <code>null|string</code>
  4126. </ImplementedReturnTypeMismatch>
  4127. <LessSpecificImplementedReturnType occurrences="2">
  4128. <code>array</code>
  4129. <code>array|mixed</code>
  4130. </LessSpecificImplementedReturnType>
  4131. </file>
  4132. <file src="lib/private/LargeFileHelper.php">
  4133. <InvalidOperand occurrences="2">
  4134. <code>$matches[1]</code>
  4135. <code>$result</code>
  4136. </InvalidOperand>
  4137. <InvalidScalarArgument occurrences="1">
  4138. <code>$data</code>
  4139. </InvalidScalarArgument>
  4140. </file>
  4141. <file src="lib/private/Lockdown/Filesystem/NullCache.php">
  4142. <InvalidNullableReturnType occurrences="1">
  4143. <code>get</code>
  4144. </InvalidNullableReturnType>
  4145. <InvalidReturnStatement occurrences="1">
  4146. <code>[]</code>
  4147. </InvalidReturnStatement>
  4148. <InvalidReturnType occurrences="1">
  4149. <code>getIncomplete</code>
  4150. </InvalidReturnType>
  4151. <NullableReturnStatement occurrences="1"/>
  4152. </file>
  4153. <file src="lib/private/Lockdown/Filesystem/NullStorage.php">
  4154. <InvalidNullableReturnType occurrences="2">
  4155. <code>getOwner</code>
  4156. <code>getPermissions</code>
  4157. </InvalidNullableReturnType>
  4158. <InvalidReturnStatement occurrences="2">
  4159. <code>new IteratorDirectory([])</code>
  4160. <code>new NullCache()</code>
  4161. </InvalidReturnStatement>
  4162. <InvalidReturnType occurrences="2">
  4163. <code>getCache</code>
  4164. <code>opendir</code>
  4165. </InvalidReturnType>
  4166. <NullableReturnStatement occurrences="2">
  4167. <code>null</code>
  4168. <code>null</code>
  4169. </NullableReturnStatement>
  4170. <TooManyArguments occurrences="1">
  4171. <code>new IteratorDirectory([])</code>
  4172. </TooManyArguments>
  4173. </file>
  4174. <file src="lib/private/Lockdown/LockdownManager.php">
  4175. <InvalidFunctionCall occurrences="1">
  4176. <code>$callback()</code>
  4177. </InvalidFunctionCall>
  4178. <InvalidPropertyAssignmentValue occurrences="1">
  4179. <code>$sessionCallback</code>
  4180. </InvalidPropertyAssignmentValue>
  4181. </file>
  4182. <file src="lib/private/Log.php">
  4183. <RedundantCondition occurrences="2">
  4184. <code>$request</code>
  4185. <code>$request</code>
  4186. </RedundantCondition>
  4187. </file>
  4188. <file src="lib/private/Log/File.php">
  4189. <TypeDoesNotContainNull occurrences="1">
  4190. <code>$limit === null</code>
  4191. </TypeDoesNotContainNull>
  4192. </file>
  4193. <file src="lib/private/Log/LogDetails.php">
  4194. <RedundantCondition occurrences="1">
  4195. <code>is_string($request-&gt;getMethod())</code>
  4196. </RedundantCondition>
  4197. </file>
  4198. <file src="lib/private/Log/Rotate.php">
  4199. <ParamNameMismatch occurrences="1">
  4200. <code>$dummy</code>
  4201. </ParamNameMismatch>
  4202. </file>
  4203. <file src="lib/private/Log/Systemdlog.php">
  4204. <UndefinedFunction occurrences="1"/>
  4205. </file>
  4206. <file src="lib/private/Mail/Mailer.php">
  4207. <InvalidNullableReturnType occurrences="1">
  4208. <code>string[]</code>
  4209. </InvalidNullableReturnType>
  4210. <NullableReturnStatement occurrences="1">
  4211. <code>$failedRecipients</code>
  4212. </NullableReturnStatement>
  4213. <UndefinedInterfaceMethod occurrences="3">
  4214. <code>getSubject</code>
  4215. <code>getSwiftMessage</code>
  4216. <code>getTo</code>
  4217. </UndefinedInterfaceMethod>
  4218. </file>
  4219. <file src="lib/private/Memcache/APCu.php">
  4220. <InvalidReturnStatement occurrences="1">
  4221. <code>apcu_add($this-&gt;getPrefix() . $key, $value, $ttl)</code>
  4222. </InvalidReturnStatement>
  4223. <InvalidReturnType occurrences="1">
  4224. <code>bool</code>
  4225. </InvalidReturnType>
  4226. </file>
  4227. <file src="lib/private/Memcache/Cache.php">
  4228. <LessSpecificImplementedReturnType occurrences="4">
  4229. <code>mixed</code>
  4230. <code>mixed</code>
  4231. <code>mixed</code>
  4232. <code>mixed</code>
  4233. </LessSpecificImplementedReturnType>
  4234. </file>
  4235. <file src="lib/private/Memcache/Redis.php">
  4236. <InvalidMethodCall occurrences="2">
  4237. <code>exec</code>
  4238. <code>exec</code>
  4239. </InvalidMethodCall>
  4240. </file>
  4241. <file src="lib/private/Migration/BackgroundRepair.php">
  4242. <MoreSpecificImplementedParamType occurrences="1">
  4243. <code>$jobList</code>
  4244. </MoreSpecificImplementedParamType>
  4245. </file>
  4246. <file src="lib/private/NavigationManager.php">
  4247. <ParamNameMismatch occurrences="1">
  4248. <code>$id</code>
  4249. </ParamNameMismatch>
  4250. </file>
  4251. <file src="lib/private/Preview/BackgroundCleanupJob.php">
  4252. <InvalidReturnStatement occurrences="1">
  4253. <code>[]</code>
  4254. </InvalidReturnStatement>
  4255. </file>
  4256. <file src="lib/private/Preview/Generator.php">
  4257. <InvalidArgument occurrences="2">
  4258. <code>$maxPreviewImage</code>
  4259. <code>IPreview::EVENT</code>
  4260. </InvalidArgument>
  4261. <InvalidNullableReturnType occurrences="1">
  4262. <code>ISimpleFile</code>
  4263. </InvalidNullableReturnType>
  4264. <MismatchingDocblockParamType occurrences="1">
  4265. <code>ISimpleFile</code>
  4266. </MismatchingDocblockParamType>
  4267. <NullableReturnStatement occurrences="1">
  4268. <code>$preview</code>
  4269. </NullableReturnStatement>
  4270. <TooManyArguments occurrences="1">
  4271. <code>dispatch</code>
  4272. </TooManyArguments>
  4273. <UndefinedInterfaceMethod occurrences="7">
  4274. <code>height</code>
  4275. <code>height</code>
  4276. <code>preciseResizeCopy</code>
  4277. <code>resizeCopy</code>
  4278. <code>valid</code>
  4279. <code>width</code>
  4280. <code>width</code>
  4281. </UndefinedInterfaceMethod>
  4282. </file>
  4283. <file src="lib/private/Preview/GeneratorHelper.php">
  4284. <InvalidNullableReturnType occurrences="1">
  4285. <code>bool|IImage</code>
  4286. </InvalidNullableReturnType>
  4287. <NullableReturnStatement occurrences="1">
  4288. <code>$provider-&gt;getThumbnail($file, $maxWidth, $maxHeight)</code>
  4289. </NullableReturnStatement>
  4290. </file>
  4291. <file src="lib/private/Preview/Movie.php">
  4292. <InvalidScalarArgument occurrences="2">
  4293. <code>$second</code>
  4294. <code>$second</code>
  4295. </InvalidScalarArgument>
  4296. </file>
  4297. <file src="lib/private/Preview/Office.php">
  4298. <ForbiddenCode occurrences="3">
  4299. <code>shell_exec($exec)</code>
  4300. <code>shell_exec('command -v libreoffice')</code>
  4301. <code>shell_exec('command -v openoffice')</code>
  4302. </ForbiddenCode>
  4303. </file>
  4304. <file src="lib/private/Preview/ProviderV1Adapter.php">
  4305. <InvalidReturnStatement occurrences="1">
  4306. <code>$thumbnail === false ? null: $thumbnail</code>
  4307. </InvalidReturnStatement>
  4308. <InvalidReturnType occurrences="1">
  4309. <code>?IImage</code>
  4310. </InvalidReturnType>
  4311. </file>
  4312. <file src="lib/private/Preview/ProviderV2.php">
  4313. <InvalidReturnStatement occurrences="1">
  4314. <code>$file-&gt;getStorage()-&gt;getLocalFile($file-&gt;getInternalPath())</code>
  4315. </InvalidReturnStatement>
  4316. <InvalidReturnType occurrences="1">
  4317. <code>string</code>
  4318. </InvalidReturnType>
  4319. </file>
  4320. <file src="lib/private/PreviewManager.php">
  4321. <ForbiddenCode occurrences="2">
  4322. <code>shell_exec('command -v libreoffice')</code>
  4323. <code>shell_exec('command -v openoffice')</code>
  4324. </ForbiddenCode>
  4325. </file>
  4326. <file src="lib/private/RedisFactory.php">
  4327. <InvalidScalarArgument occurrences="1">
  4328. <code>\RedisCluster::OPT_SLAVE_FAILOVER</code>
  4329. </InvalidScalarArgument>
  4330. </file>
  4331. <file src="lib/private/Remote/Api/OCS.php">
  4332. <ImplementedReturnTypeMismatch occurrences="1">
  4333. <code>array</code>
  4334. </ImplementedReturnTypeMismatch>
  4335. </file>
  4336. <file src="lib/private/Remote/Instance.php">
  4337. <InvalidReturnStatement occurrences="1">
  4338. <code>$request-&gt;getBody()</code>
  4339. </InvalidReturnStatement>
  4340. <InvalidReturnType occurrences="1">
  4341. <code>bool|string</code>
  4342. </InvalidReturnType>
  4343. <InvalidScalarArgument occurrences="1">
  4344. <code>$response</code>
  4345. </InvalidScalarArgument>
  4346. </file>
  4347. <file src="lib/private/Repair.php">
  4348. <InvalidArgument occurrences="1">
  4349. <code>"$scope::$method"</code>
  4350. </InvalidArgument>
  4351. <ParamNameMismatch occurrences="1">
  4352. <code>$string</code>
  4353. </ParamNameMismatch>
  4354. <TooManyArguments occurrences="1">
  4355. <code>dispatch</code>
  4356. </TooManyArguments>
  4357. </file>
  4358. <file src="lib/private/Repair/Owncloud/CleanPreviews.php">
  4359. <InvalidArgument occurrences="1">
  4360. <code>false</code>
  4361. </InvalidArgument>
  4362. </file>
  4363. <file src="lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php">
  4364. <ParamNameMismatch occurrences="1">
  4365. <code>$arguments</code>
  4366. </ParamNameMismatch>
  4367. </file>
  4368. <file src="lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php">
  4369. <ParamNameMismatch occurrences="1">
  4370. <code>$arguments</code>
  4371. </ParamNameMismatch>
  4372. <TypeDoesNotContainType occurrences="1">
  4373. <code>$counter % 100 === 0</code>
  4374. </TypeDoesNotContainType>
  4375. </file>
  4376. <file src="lib/private/Repair/RemoveLinkShares.php">
  4377. <ImplicitToStringCast occurrences="2">
  4378. <code>$query-&gt;createFunction('(' . $subQuery-&gt;getSQL() . ')')</code>
  4379. <code>$subQuery-&gt;createFunction('(' . $subSubQuery-&gt;getSQL() . ')')</code>
  4380. </ImplicitToStringCast>
  4381. <InvalidPropertyAssignmentValue occurrences="1">
  4382. <code>$this-&gt;userToNotify</code>
  4383. </InvalidPropertyAssignmentValue>
  4384. </file>
  4385. <file src="lib/private/Repair/RepairInvalidShares.php">
  4386. <ParamNameMismatch occurrences="1">
  4387. <code>$out</code>
  4388. </ParamNameMismatch>
  4389. </file>
  4390. <file src="lib/private/Repair/RepairMimeTypes.php">
  4391. <ParamNameMismatch occurrences="1">
  4392. <code>$out</code>
  4393. </ParamNameMismatch>
  4394. </file>
  4395. <file src="lib/private/Repair/SqliteAutoincrement.php">
  4396. <ParamNameMismatch occurrences="1">
  4397. <code>$out</code>
  4398. </ParamNameMismatch>
  4399. </file>
  4400. <file src="lib/private/Route/Router.php">
  4401. <InvalidClass occurrences="1">
  4402. <code>\OC_APP</code>
  4403. </InvalidClass>
  4404. <InvalidNullableReturnType occurrences="1">
  4405. <code>string</code>
  4406. </InvalidNullableReturnType>
  4407. <NullableReturnStatement occurrences="1">
  4408. <code>$this-&gt;collectionName</code>
  4409. </NullableReturnStatement>
  4410. </file>
  4411. <file src="lib/private/Search.php">
  4412. <RedundantCondition occurrences="1">
  4413. <code>$provider instanceof Provider</code>
  4414. </RedundantCondition>
  4415. </file>
  4416. <file src="lib/private/Search/Result/File.php">
  4417. <InvalidPropertyAssignmentValue occurrences="4">
  4418. <code>$data-&gt;getId()</code>
  4419. <code>$data-&gt;getMtime()</code>
  4420. <code>$data-&gt;getPermissions()</code>
  4421. <code>$this-&gt;hasPreview($data)</code>
  4422. </InvalidPropertyAssignmentValue>
  4423. </file>
  4424. <file src="lib/private/Security/Bruteforce/Throttler.php">
  4425. <NullArgument occurrences="1">
  4426. <code>null</code>
  4427. </NullArgument>
  4428. </file>
  4429. <file src="lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php">
  4430. <NoInterfaceProperties occurrences="1">
  4431. <code>$this-&gt;request-&gt;server</code>
  4432. </NoInterfaceProperties>
  4433. </file>
  4434. <file src="lib/private/Security/CredentialsManager.php">
  4435. <InvalidReturnStatement occurrences="2">
  4436. <code>$qb-&gt;execute()</code>
  4437. <code>$qb-&gt;execute()</code>
  4438. </InvalidReturnStatement>
  4439. <InvalidReturnType occurrences="2">
  4440. <code>int</code>
  4441. <code>int</code>
  4442. </InvalidReturnType>
  4443. </file>
  4444. <file src="lib/private/Security/Crypto.php">
  4445. <InternalMethod occurrences="6">
  4446. <code>decrypt</code>
  4447. <code>encrypt</code>
  4448. <code>setIV</code>
  4449. <code>setIV</code>
  4450. <code>setPassword</code>
  4451. <code>setPassword</code>
  4452. </InternalMethod>
  4453. </file>
  4454. <file src="lib/private/Server.php">
  4455. <ImplementedReturnTypeMismatch occurrences="3">
  4456. <code>\OCP\Calendar\Resource\IManager</code>
  4457. <code>\OCP\Calendar\Room\IManager</code>
  4458. <code>\OCP\Files\Folder|null</code>
  4459. </ImplementedReturnTypeMismatch>
  4460. <InvalidCatch occurrences="1"/>
  4461. <UndefinedDocblockClass occurrences="1">
  4462. <code>\OC\OCSClient</code>
  4463. </UndefinedDocblockClass>
  4464. </file>
  4465. <file src="lib/private/ServerContainer.php">
  4466. <InvalidPropertyAssignmentValue occurrences="1">
  4467. <code>$this-&gt;hasNoAppContainer</code>
  4468. </InvalidPropertyAssignmentValue>
  4469. </file>
  4470. <file src="lib/private/Session/Internal.php">
  4471. <MoreSpecificImplementedParamType occurrences="1">
  4472. <code>$value</code>
  4473. </MoreSpecificImplementedParamType>
  4474. </file>
  4475. <file src="lib/private/Session/Memory.php">
  4476. <MoreSpecificImplementedParamType occurrences="1">
  4477. <code>$value</code>
  4478. </MoreSpecificImplementedParamType>
  4479. </file>
  4480. <file src="lib/private/Setup.php">
  4481. <InvalidScalarArgument occurrences="2">
  4482. <code>microtime(true)</code>
  4483. <code>microtime(true)</code>
  4484. </InvalidScalarArgument>
  4485. <RedundantCondition occurrences="2">
  4486. <code>$content !== ''</code>
  4487. <code>$type === 'pdo'</code>
  4488. </RedundantCondition>
  4489. </file>
  4490. <file src="lib/private/Setup/AbstractDatabase.php">
  4491. <UndefinedThisPropertyFetch occurrences="4">
  4492. <code>$this-&gt;dbprettyname</code>
  4493. <code>$this-&gt;dbprettyname</code>
  4494. <code>$this-&gt;dbprettyname</code>
  4495. <code>$this-&gt;dbprettyname</code>
  4496. </UndefinedThisPropertyFetch>
  4497. </file>
  4498. <file src="lib/private/Setup/MySQL.php">
  4499. <InvalidReturnType occurrences="1">
  4500. <code>array</code>
  4501. </InvalidReturnType>
  4502. <ParamNameMismatch occurrences="1">
  4503. <code>$username</code>
  4504. </ParamNameMismatch>
  4505. </file>
  4506. <file src="lib/private/Setup/OCI.php">
  4507. <ParamNameMismatch occurrences="1">
  4508. <code>$username</code>
  4509. </ParamNameMismatch>
  4510. </file>
  4511. <file src="lib/private/Setup/PostgreSQL.php">
  4512. <ParamNameMismatch occurrences="1">
  4513. <code>$username</code>
  4514. </ParamNameMismatch>
  4515. </file>
  4516. <file src="lib/private/Setup/Sqlite.php">
  4517. <ParamNameMismatch occurrences="1">
  4518. <code>$username</code>
  4519. </ParamNameMismatch>
  4520. </file>
  4521. <file src="lib/private/Share/Share.php">
  4522. <FalsableReturnStatement occurrences="1">
  4523. <code>false</code>
  4524. </FalsableReturnStatement>
  4525. <InvalidArgument occurrences="1">
  4526. <code>$arguments</code>
  4527. </InvalidArgument>
  4528. <InvalidOperand occurrences="1">
  4529. <code>!self::isResharingAllowed()</code>
  4530. </InvalidOperand>
  4531. <UndefinedInterfaceMethod occurrences="2">
  4532. <code>getParents</code>
  4533. <code>getParents</code>
  4534. </UndefinedInterfaceMethod>
  4535. </file>
  4536. <file src="lib/private/Share20/DefaultShareProvider.php">
  4537. <InvalidScalarArgument occurrences="3">
  4538. <code>$share-&gt;getId()</code>
  4539. <code>$share-&gt;getId()</code>
  4540. <code>(int)$data['id']</code>
  4541. </InvalidScalarArgument>
  4542. <TooManyArguments occurrences="1">
  4543. <code>set</code>
  4544. </TooManyArguments>
  4545. <UndefinedInterfaceMethod occurrences="1">
  4546. <code>getParent</code>
  4547. </UndefinedInterfaceMethod>
  4548. </file>
  4549. <file src="lib/private/Share20/Manager.php">
  4550. <InvalidArgument occurrences="6">
  4551. <code>'OCP\Share::postAcceptShare'</code>
  4552. <code>'OCP\Share::postShare'</code>
  4553. <code>'OCP\Share::postUnshare'</code>
  4554. <code>'OCP\Share::postUnshareFromSelf'</code>
  4555. <code>'OCP\Share::preShare'</code>
  4556. <code>'OCP\Share::preUnshare'</code>
  4557. </InvalidArgument>
  4558. <InvalidScalarArgument occurrences="2">
  4559. <code>$id</code>
  4560. <code>$this-&gt;shareApiLinkDefaultExpireDays()</code>
  4561. </InvalidScalarArgument>
  4562. <TooManyArguments occurrences="7">
  4563. <code>dispatch</code>
  4564. <code>dispatch</code>
  4565. <code>dispatch</code>
  4566. <code>dispatch</code>
  4567. <code>dispatch</code>
  4568. <code>dispatch</code>
  4569. <code>update</code>
  4570. </TooManyArguments>
  4571. <UndefinedClass occurrences="1">
  4572. <code>\OCA\Circles\Api\v1\Circles</code>
  4573. </UndefinedClass>
  4574. <UndefinedInterfaceMethod occurrences="1">
  4575. <code>getChildren</code>
  4576. </UndefinedInterfaceMethod>
  4577. </file>
  4578. <file src="lib/private/Share20/ProviderFactory.php">
  4579. <InvalidNullableReturnType occurrences="2">
  4580. <code>FederatedShareProvider</code>
  4581. <code>ShareByMailProvider</code>
  4582. </InvalidNullableReturnType>
  4583. <InvalidReturnStatement occurrences="4">
  4584. <code>$provider</code>
  4585. <code>$provider</code>
  4586. <code>$this-&gt;roomShareProvider</code>
  4587. <code>$this-&gt;shareByCircleProvider</code>
  4588. </InvalidReturnStatement>
  4589. <InvalidReturnType occurrences="1">
  4590. <code>getProviderForType</code>
  4591. </InvalidReturnType>
  4592. <NullableReturnStatement occurrences="6">
  4593. <code>null</code>
  4594. <code>null</code>
  4595. <code>null</code>
  4596. <code>null</code>
  4597. <code>null</code>
  4598. <code>null</code>
  4599. </NullableReturnStatement>
  4600. <ParamNameMismatch occurrences="1">
  4601. <code>$shareProviderClass</code>
  4602. </ParamNameMismatch>
  4603. <UndefinedClass occurrences="1">
  4604. <code>\OCA\Circles\ShareByCircleProvider</code>
  4605. </UndefinedClass>
  4606. <UndefinedDocblockClass occurrences="5">
  4607. <code>RoomShareProvider</code>
  4608. <code>\OCA\Circles\ShareByCircleProvider</code>
  4609. <code>\OCA\Talk\Share\RoomShareProvider</code>
  4610. <code>private $roomShareProvider = null;</code>
  4611. <code>private $shareByCircleProvider = null;</code>
  4612. </UndefinedDocblockClass>
  4613. <UndefinedInterfaceMethod occurrences="4">
  4614. <code>getLazyRootFolder</code>
  4615. <code>getLazyRootFolder</code>
  4616. <code>getLazyRootFolder</code>
  4617. <code>getLazyRootFolder</code>
  4618. </UndefinedInterfaceMethod>
  4619. </file>
  4620. <file src="lib/private/Streamer.php">
  4621. <InvalidArgument occurrences="1">
  4622. <code>$fh</code>
  4623. </InvalidArgument>
  4624. <UndefinedInterfaceMethod occurrences="1">
  4625. <code>get</code>
  4626. </UndefinedInterfaceMethod>
  4627. </file>
  4628. <file src="lib/private/SubAdmin.php">
  4629. <UndefinedInterfaceMethod occurrences="2">
  4630. <code>listen</code>
  4631. <code>listen</code>
  4632. </UndefinedInterfaceMethod>
  4633. </file>
  4634. <file src="lib/private/Support/Subscription/Registry.php">
  4635. <UndefinedInterfaceMethod occurrences="2">
  4636. <code>countUsers</code>
  4637. <code>getSupportedApps</code>
  4638. </UndefinedInterfaceMethod>
  4639. </file>
  4640. <file src="lib/private/SystemTag/SystemTagManager.php">
  4641. <FalsableReturnStatement occurrences="3">
  4642. <code>false</code>
  4643. <code>false</code>
  4644. <code>false</code>
  4645. </FalsableReturnStatement>
  4646. <InvalidArgument occurrences="3">
  4647. <code>ManagerEvent::EVENT_CREATE</code>
  4648. <code>ManagerEvent::EVENT_DELETE</code>
  4649. <code>ManagerEvent::EVENT_UPDATE</code>
  4650. </InvalidArgument>
  4651. <InvalidReturnType occurrences="2">
  4652. <code>bool</code>
  4653. <code>bool</code>
  4654. </InvalidReturnType>
  4655. <TooManyArguments occurrences="3">
  4656. <code>dispatch</code>
  4657. <code>dispatch</code>
  4658. <code>dispatch</code>
  4659. </TooManyArguments>
  4660. </file>
  4661. <file src="lib/private/SystemTag/SystemTagObjectMapper.php">
  4662. <InvalidArgument occurrences="2">
  4663. <code>MapperEvent::EVENT_ASSIGN</code>
  4664. <code>MapperEvent::EVENT_UNASSIGN</code>
  4665. </InvalidArgument>
  4666. <TooManyArguments occurrences="2">
  4667. <code>dispatch</code>
  4668. <code>dispatch</code>
  4669. </TooManyArguments>
  4670. </file>
  4671. <file src="lib/private/TagManager.php">
  4672. <InvalidNullableReturnType occurrences="1">
  4673. <code>\OCP\ITags</code>
  4674. </InvalidNullableReturnType>
  4675. <NullableReturnStatement occurrences="1">
  4676. <code>null</code>
  4677. </NullableReturnStatement>
  4678. </file>
  4679. <file src="lib/private/Tags.php">
  4680. <InvalidArgument occurrences="1">
  4681. <code>[$this-&gt;user, $this-&gt;type, $chunk]</code>
  4682. </InvalidArgument>
  4683. <InvalidScalarArgument occurrences="2">
  4684. <code>$from</code>
  4685. <code>$names</code>
  4686. </InvalidScalarArgument>
  4687. <MoreSpecificImplementedParamType occurrences="1">
  4688. <code>$tag</code>
  4689. </MoreSpecificImplementedParamType>
  4690. </file>
  4691. <file src="lib/private/TempManager.php">
  4692. <FalsableReturnStatement occurrences="2">
  4693. <code>false</code>
  4694. <code>false</code>
  4695. </FalsableReturnStatement>
  4696. </file>
  4697. <file src="lib/private/Template/CSSResourceLocator.php">
  4698. <ParamNameMismatch occurrences="2">
  4699. <code>$style</code>
  4700. <code>$style</code>
  4701. </ParamNameMismatch>
  4702. </file>
  4703. <file src="lib/private/Template/JSConfigHelper.php">
  4704. <NullArgument occurrences="2">
  4705. <code>null</code>
  4706. <code>null</code>
  4707. </NullArgument>
  4708. </file>
  4709. <file src="lib/private/Template/JSResourceLocator.php">
  4710. <InvalidArgument occurrences="1">
  4711. <code>false</code>
  4712. </InvalidArgument>
  4713. <InvalidOperand occurrences="6">
  4714. <code>$this-&gt;appendIfExist($this-&gt;serverroot, $script.'.js')</code>
  4715. <code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.$script.'.js')</code>
  4716. <code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.'apps/'.$script.'.js')</code>
  4717. <code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.'core/'.$script.'.js')</code>
  4718. <code>$this-&gt;appendIfExist($this-&gt;serverroot, 'apps/'.$script.'.js')</code>
  4719. <code>$this-&gt;appendIfExist($this-&gt;serverroot, 'core/'.$script.'.js')</code>
  4720. </InvalidOperand>
  4721. <ParamNameMismatch occurrences="2">
  4722. <code>$script</code>
  4723. <code>$script</code>
  4724. </ParamNameMismatch>
  4725. </file>
  4726. <file src="lib/private/TemplateLayout.php">
  4727. <InvalidParamDefault occurrences="2">
  4728. <code>string</code>
  4729. <code>string</code>
  4730. </InvalidParamDefault>
  4731. <InvalidScalarArgument occurrences="2">
  4732. <code>$appName</code>
  4733. <code>$appName</code>
  4734. </InvalidScalarArgument>
  4735. <TooManyArguments occurrences="1">
  4736. <code>Util::addScript('dist/unified-search', null, true)</code>
  4737. </TooManyArguments>
  4738. <UndefinedInterfaceMethod occurrences="1">
  4739. <code>getInitialStates</code>
  4740. </UndefinedInterfaceMethod>
  4741. </file>
  4742. <file src="lib/private/URLGenerator.php">
  4743. <InvalidReturnStatement occurrences="1">
  4744. <code>$path</code>
  4745. </InvalidReturnStatement>
  4746. </file>
  4747. <file src="lib/private/Updater.php">
  4748. <InvalidScalarArgument occurrences="13">
  4749. <code>0</code>
  4750. <code>0</code>
  4751. <code>0</code>
  4752. <code>0</code>
  4753. <code>0</code>
  4754. <code>0</code>
  4755. <code>0</code>
  4756. <code>0</code>
  4757. <code>0</code>
  4758. <code>1</code>
  4759. <code>1</code>
  4760. <code>1</code>
  4761. <code>1</code>
  4762. </InvalidScalarArgument>
  4763. </file>
  4764. <file src="lib/private/Updater/VersionCheck.php">
  4765. <InvalidScalarArgument occurrences="2">
  4766. <code>microtime(true)</code>
  4767. <code>time()</code>
  4768. </InvalidScalarArgument>
  4769. </file>
  4770. <file src="lib/private/User/Database.php">
  4771. <FalsableReturnStatement occurrences="1">
  4772. <code>false</code>
  4773. </FalsableReturnStatement>
  4774. <ImplicitToStringCast occurrences="1">
  4775. <code>$query-&gt;func()-&gt;lower('displayname')</code>
  4776. </ImplicitToStringCast>
  4777. </file>
  4778. <file src="lib/private/User/Manager.php">
  4779. <ImplementedReturnTypeMismatch occurrences="1">
  4780. <code>array|int</code>
  4781. </ImplementedReturnTypeMismatch>
  4782. <InvalidArgument occurrences="1">
  4783. <code>$callback</code>
  4784. </InvalidArgument>
  4785. <InvalidNullableReturnType occurrences="1">
  4786. <code>bool|IUser</code>
  4787. </InvalidNullableReturnType>
  4788. <NullableReturnStatement occurrences="2">
  4789. <code>$this-&gt;createUserFromBackend($uid, $password, $backend)</code>
  4790. <code>$this-&gt;createUserFromBackend($uid, $password, $backend)</code>
  4791. </NullableReturnStatement>
  4792. <UndefinedInterfaceMethod occurrences="5">
  4793. <code>checkPassword</code>
  4794. <code>checkPassword</code>
  4795. <code>countUsers</code>
  4796. <code>createUser</code>
  4797. <code>getUsersForUserValueCaseInsensitive</code>
  4798. </UndefinedInterfaceMethod>
  4799. </file>
  4800. <file src="lib/private/User/Session.php">
  4801. <ImplementedReturnTypeMismatch occurrences="1">
  4802. <code>boolean|null</code>
  4803. </ImplementedReturnTypeMismatch>
  4804. <InvalidArgument occurrences="1">
  4805. <code>IUser::class . '::firstLogin'</code>
  4806. </InvalidArgument>
  4807. <InvalidScalarArgument occurrences="2">
  4808. <code>$this-&gt;timeFactory-&gt;getTime()</code>
  4809. <code>$this-&gt;timeFactory-&gt;getTime()</code>
  4810. </InvalidScalarArgument>
  4811. <NoInterfaceProperties occurrences="2">
  4812. <code>$request-&gt;server</code>
  4813. <code>$request-&gt;server</code>
  4814. </NoInterfaceProperties>
  4815. <NullableReturnStatement occurrences="1">
  4816. <code>null</code>
  4817. </NullableReturnStatement>
  4818. <TooManyArguments occurrences="1">
  4819. <code>dispatch</code>
  4820. </TooManyArguments>
  4821. <UndefinedMethod occurrences="1">
  4822. <code>getByEmail</code>
  4823. </UndefinedMethod>
  4824. </file>
  4825. <file src="lib/private/User/User.php">
  4826. <InvalidArgument occurrences="5">
  4827. <code>IUser::class . '::changeUser'</code>
  4828. <code>IUser::class . '::postDelete'</code>
  4829. <code>IUser::class . '::postSetPassword'</code>
  4830. <code>IUser::class . '::preDelete'</code>
  4831. <code>IUser::class . '::preSetPassword'</code>
  4832. </InvalidArgument>
  4833. <InvalidNullableReturnType occurrences="1">
  4834. <code>getBackend</code>
  4835. </InvalidNullableReturnType>
  4836. <InvalidPropertyAssignmentValue occurrences="1">
  4837. <code>$this-&gt;config-&gt;getUserValue($uid, 'login', 'lastLogin', 0)</code>
  4838. </InvalidPropertyAssignmentValue>
  4839. <InvalidReturnStatement occurrences="1">
  4840. <code>$image</code>
  4841. </InvalidReturnStatement>
  4842. <InvalidReturnType occurrences="1">
  4843. <code>IImage|null</code>
  4844. </InvalidReturnType>
  4845. <InvalidScalarArgument occurrences="2">
  4846. <code>$quota</code>
  4847. <code>$this-&gt;lastLogin</code>
  4848. </InvalidScalarArgument>
  4849. <NullableReturnStatement occurrences="1">
  4850. <code>$this-&gt;backend</code>
  4851. </NullableReturnStatement>
  4852. <TooManyArguments occurrences="5">
  4853. <code>dispatch</code>
  4854. <code>dispatch</code>
  4855. <code>dispatch</code>
  4856. <code>dispatch</code>
  4857. <code>dispatch</code>
  4858. </TooManyArguments>
  4859. <UndefinedInterfaceMethod occurrences="5">
  4860. <code>canChangeAvatar</code>
  4861. <code>deleteUserAvatar</code>
  4862. <code>getHome</code>
  4863. <code>setDisplayName</code>
  4864. <code>setPassword</code>
  4865. </UndefinedInterfaceMethod>
  4866. </file>
  4867. <file src="lib/private/UserStatus/Manager.php">
  4868. <InvalidCatch occurrences="1"/>
  4869. <InvalidPropertyAssignmentValue occurrences="1">
  4870. <code>$class</code>
  4871. </InvalidPropertyAssignmentValue>
  4872. </file>
  4873. <file src="lib/private/legacy/OC_API.php">
  4874. <InvalidNullableReturnType occurrences="1">
  4875. <code>int</code>
  4876. </InvalidNullableReturnType>
  4877. <NullableReturnStatement occurrences="1">
  4878. <code>null</code>
  4879. </NullableReturnStatement>
  4880. </file>
  4881. <file src="lib/private/legacy/OC_App.php">
  4882. <InvalidArgument occurrences="2">
  4883. <code>$groupsList</code>
  4884. <code>ManagerEvent::EVENT_APP_UPDATE</code>
  4885. </InvalidArgument>
  4886. <InvalidArrayOffset occurrences="2">
  4887. <code>$dir['path']</code>
  4888. <code>$dir['url']</code>
  4889. </InvalidArrayOffset>
  4890. <NullArgument occurrences="1">
  4891. <code>null</code>
  4892. </NullArgument>
  4893. <NullableReturnStatement occurrences="1">
  4894. <code>null</code>
  4895. </NullableReturnStatement>
  4896. <TooManyArguments occurrences="1">
  4897. <code>dispatch</code>
  4898. </TooManyArguments>
  4899. <TypeDoesNotContainNull occurrences="2">
  4900. <code>$appId === null</code>
  4901. <code>$appId === null</code>
  4902. </TypeDoesNotContainNull>
  4903. </file>
  4904. <file src="lib/private/legacy/OC_DB.php">
  4905. <InvalidReturnStatement occurrences="1">
  4906. <code>$result</code>
  4907. </InvalidReturnStatement>
  4908. <InvalidReturnType occurrences="1">
  4909. <code>OC_DB_StatementWrapper</code>
  4910. </InvalidReturnType>
  4911. </file>
  4912. <file src="lib/private/legacy/OC_FileChunking.php">
  4913. <UndefinedDocblockClass occurrences="1">
  4914. <code>\OC\InsufficientStorageException</code>
  4915. </UndefinedDocblockClass>
  4916. </file>
  4917. <file src="lib/private/legacy/OC_Files.php">
  4918. <InvalidArgument occurrences="3">
  4919. <code>$fh</code>
  4920. <code>$fileInfos</code>
  4921. <code>[$fileInfo]</code>
  4922. </InvalidArgument>
  4923. <InvalidScalarArgument occurrences="1">
  4924. <code>mt_rand()</code>
  4925. </InvalidScalarArgument>
  4926. <RedundantCondition occurrences="2">
  4927. <code>$getType === self::ZIP_DIR</code>
  4928. <code>$getType === self::ZIP_DIR</code>
  4929. </RedundantCondition>
  4930. <UndefinedInterfaceMethod occurrences="2">
  4931. <code>get</code>
  4932. <code>get</code>
  4933. </UndefinedInterfaceMethod>
  4934. </file>
  4935. <file src="lib/private/legacy/OC_Helper.php">
  4936. <InvalidOperand occurrences="1">
  4937. <code>$matches[1][$last_match][0]</code>
  4938. </InvalidOperand>
  4939. <InvalidReturnStatement occurrences="4">
  4940. <code>(INF &gt; 0)? INF: PHP_INT_MAX</code>
  4941. <code>INF</code>
  4942. <code>max($upload_max_filesize, $post_max_size)</code>
  4943. <code>min($upload_max_filesize, $post_max_size)</code>
  4944. </InvalidReturnStatement>
  4945. <InvalidReturnType occurrences="1">
  4946. <code>int</code>
  4947. </InvalidReturnType>
  4948. <InvalidScalarArgument occurrences="4">
  4949. <code>$includeExtStorage ? 'ext' : false</code>
  4950. <code>$path</code>
  4951. <code>$quota</code>
  4952. <code>'ext'</code>
  4953. </InvalidScalarArgument>
  4954. <RedundantCondition occurrences="1">
  4955. <code>count($obd_values) &gt; 0</code>
  4956. </RedundantCondition>
  4957. </file>
  4958. <file src="lib/private/legacy/OC_Image.php">
  4959. <ImplementedReturnTypeMismatch occurrences="1">
  4960. <code>null|string</code>
  4961. </ImplementedReturnTypeMismatch>
  4962. <InvalidArrayOffset occurrences="2">
  4963. <code>$data[floor($p)]</code>
  4964. <code>$data[floor($p)]</code>
  4965. </InvalidArrayOffset>
  4966. <InvalidReturnType occurrences="1">
  4967. <code>bool</code>
  4968. </InvalidReturnType>
  4969. <InvalidScalarArgument occurrences="4">
  4970. <code>$this-&gt;bitDepth</code>
  4971. <code>$x</code>
  4972. <code>$y</code>
  4973. <code>90</code>
  4974. </InvalidScalarArgument>
  4975. <MismatchingDocblockReturnType occurrences="1">
  4976. <code>bool</code>
  4977. </MismatchingDocblockReturnType>
  4978. <RedundantCondition occurrences="1">
  4979. <code>$isWritable</code>
  4980. </RedundantCondition>
  4981. </file>
  4982. <file src="lib/private/legacy/OC_User.php">
  4983. <UndefinedClass occurrences="1">
  4984. <code>\Test\Util\User\Dummy</code>
  4985. </UndefinedClass>
  4986. </file>
  4987. <file src="lib/private/legacy/OC_Util.php">
  4988. <InternalMethod occurrences="2">
  4989. <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($prevLogging)</code>
  4990. <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code>
  4991. </InternalMethod>
  4992. <InvalidReturnStatement occurrences="1">
  4993. <code>OC_Helper::computerFileSize($userQuota)</code>
  4994. </InvalidReturnStatement>
  4995. <InvalidReturnType occurrences="1">
  4996. <code>float</code>
  4997. </InvalidReturnType>
  4998. <RedundantCondition occurrences="1">
  4999. <code>is_string($expected)</code>
  5000. </RedundantCondition>
  5001. <TypeDoesNotContainType occurrences="3">
  5002. <code>is_bool($expected)</code>
  5003. <code>is_bool($setting[1])</code>
  5004. <code>is_int($expected)</code>
  5005. </TypeDoesNotContainType>
  5006. <UndefinedInterfaceMethod occurrences="1">
  5007. <code>clearCache</code>
  5008. </UndefinedInterfaceMethod>
  5009. </file>
  5010. <file src="lib/public/AppFramework/ApiController.php">
  5011. <NoInterfaceProperties occurrences="1">
  5012. <code>$this-&gt;request-&gt;server</code>
  5013. </NoInterfaceProperties>
  5014. </file>
  5015. <file src="lib/public/AppFramework/App.php">
  5016. <InternalMethod occurrences="1">
  5017. <code>new RouteConfig($this-&gt;container, $router, $routes)</code>
  5018. </InternalMethod>
  5019. </file>
  5020. <file src="lib/public/AppFramework/Bootstrap/IBootContext.php">
  5021. <InvalidThrow occurrences="1">
  5022. <code>ContainerExceptionInterface</code>
  5023. </InvalidThrow>
  5024. </file>
  5025. <file src="lib/public/AppFramework/Db/Entity.php">
  5026. <InvalidNullableReturnType occurrences="1">
  5027. <code>string</code>
  5028. </InvalidNullableReturnType>
  5029. <NullableReturnStatement occurrences="1">
  5030. <code>$column</code>
  5031. </NullableReturnStatement>
  5032. </file>
  5033. <file src="lib/public/AppFramework/Http/JSONResponse.php">
  5034. <InvalidReturnStatement occurrences="1">
  5035. <code>$this-&gt;data</code>
  5036. </InvalidReturnStatement>
  5037. <InvalidReturnType occurrences="1">
  5038. <code>array</code>
  5039. </InvalidReturnType>
  5040. </file>
  5041. <file src="lib/public/AppFramework/Http/ZipResponse.php">
  5042. <InvalidArrayAccess occurrences="5">
  5043. <code>$resource['internalName']</code>
  5044. <code>$resource['resource']</code>
  5045. <code>$resource['size']</code>
  5046. <code>$resource['size']</code>
  5047. <code>$resource['time']</code>
  5048. </InvalidArrayAccess>
  5049. <InvalidPropertyAssignmentValue occurrences="1">
  5050. <code>$this-&gt;resources</code>
  5051. </InvalidPropertyAssignmentValue>
  5052. </file>
  5053. <file src="lib/public/BackgroundJob/TimedJob.php">
  5054. <MoreSpecificImplementedParamType occurrences="1">
  5055. <code>$jobList</code>
  5056. </MoreSpecificImplementedParamType>
  5057. </file>
  5058. <file src="lib/public/Dashboard/Model/WidgetTemplate.php">
  5059. <InvalidNullableReturnType occurrences="1">
  5060. <code>WidgetSetting</code>
  5061. </InvalidNullableReturnType>
  5062. <NullableReturnStatement occurrences="1">
  5063. <code>null</code>
  5064. </NullableReturnStatement>
  5065. </file>
  5066. <file src="lib/public/Diagnostics/IQueryLogger.php">
  5067. <LessSpecificImplementedReturnType occurrences="1">
  5068. <code>mixed</code>
  5069. </LessSpecificImplementedReturnType>
  5070. </file>
  5071. <file src="lib/public/Files.php">
  5072. <FalsableReturnStatement occurrences="1">
  5073. <code>\OC_App::getStorage($app)</code>
  5074. </FalsableReturnStatement>
  5075. </file>
  5076. <file src="lib/public/Files/Storage.php">
  5077. <InvalidParamDefault occurrences="1">
  5078. <code>array</code>
  5079. </InvalidParamDefault>
  5080. </file>
  5081. <file src="lib/public/FullTextSearch/Model/ISearchRequest.php">
  5082. <InvalidClass occurrences="1">
  5083. <code>IsearchRequest</code>
  5084. </InvalidClass>
  5085. </file>
  5086. <file src="lib/public/IAddressBook.php">
  5087. <InvalidDocblock occurrences="1">
  5088. <code>public function getUri(): string;</code>
  5089. </InvalidDocblock>
  5090. </file>
  5091. <file src="lib/public/IAvatar.php">
  5092. <UndefinedDocblockClass occurrences="1">
  5093. <code>Color</code>
  5094. </UndefinedDocblockClass>
  5095. </file>
  5096. <file src="lib/public/IContainer.php">
  5097. <InvalidThrow occurrences="2">
  5098. <code>ContainerExceptionInterface</code>
  5099. <code>ContainerExceptionInterface</code>
  5100. </InvalidThrow>
  5101. </file>
  5102. <file src="lib/public/IDBConnection.php">
  5103. <InvalidClass occurrences="1">
  5104. <code>PreconditionNotMetException</code>
  5105. </InvalidClass>
  5106. </file>
  5107. <file src="lib/public/Search/SearchResult.php">
  5108. <InvalidArgument occurrences="1">
  5109. <code>$cursor</code>
  5110. </InvalidArgument>
  5111. </file>
  5112. <file src="lib/public/Share.php">
  5113. <InvalidReturnType occurrences="3">
  5114. <code>array</code>
  5115. <code>array|bool</code>
  5116. <code>mixed</code>
  5117. </InvalidReturnType>
  5118. </file>
  5119. <file src="lib/public/Util.php">
  5120. <InvalidReturnStatement occurrences="1">
  5121. <code>\OC_Helper::computerFileSize($str)</code>
  5122. </InvalidReturnStatement>
  5123. <InvalidReturnType occurrences="1">
  5124. <code>float</code>
  5125. </InvalidReturnType>
  5126. </file>
  5127. <file src="remote.php">
  5128. <InvalidScalarArgument occurrences="1">
  5129. <code>$e-&gt;getCode()</code>
  5130. </InvalidScalarArgument>
  5131. </file>
  5132. </files>