psalm-baseline.xml 192 KB

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