psalm-baseline.xml 181 KB

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