1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743 |
- <?xml version="1.0" encoding="UTF-8"?>
- <files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0">
- <file src="3rdparty/sabre/dav/lib/CalDAV/Calendar.php">
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$data]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php">
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$data]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="3rdparty/sabre/dav/lib/CalDAV/Principal/User.php">
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$data]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBook.php">
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$data]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBookHome.php">
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$principalUri]]></code>
- </InvalidPropertyAssignmentValue>
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$data]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="3rdparty/sabre/dav/lib/CardDAV/Card.php">
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$cardData]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="3rdparty/sabre/dav/lib/DAV/SimpleCollection.php">
- <NoValue>
- <code><![CDATA[$child]]></code>
- <code><![CDATA[$child]]></code>
- </NoValue>
- </file>
- <file src="3rdparty/sabre/dav/lib/DAVACL/AbstractPrincipalCollection.php">
- <LessSpecificImplementedReturnType>
- <code><![CDATA[array]]></code>
- </LessSpecificImplementedReturnType>
- </file>
- <file src="apps/dav/appinfo/v1/caldav.php">
- <UndefinedGlobalVariable>
- <code><![CDATA[$baseuri]]></code>
- </UndefinedGlobalVariable>
- </file>
- <file src="apps/dav/appinfo/v1/carddav.php">
- <UndefinedGlobalVariable>
- <code><![CDATA[$baseuri]]></code>
- </UndefinedGlobalVariable>
- </file>
- <file src="apps/dav/appinfo/v1/publicwebdav.php">
- <InternalMethod>
- <code><![CDATA[Filesystem::logWarningWhenAddingStorageWrapper($previousLog)]]></code>
- <code><![CDATA[Filesystem::logWarningWhenAddingStorageWrapper(false)]]></code>
- </InternalMethod>
- <UndefinedGlobalVariable>
- <code><![CDATA[$baseuri]]></code>
- </UndefinedGlobalVariable>
- </file>
- <file src="apps/dav/appinfo/v1/webdav.php">
- <UndefinedGlobalVariable>
- <code><![CDATA[$baseuri]]></code>
- </UndefinedGlobalVariable>
- </file>
- <file src="apps/dav/appinfo/v2/direct.php">
- <UndefinedGlobalVariable>
- <code><![CDATA[$baseuri]]></code>
- </UndefinedGlobalVariable>
- </file>
- <file src="apps/dav/appinfo/v2/remote.php">
- <UndefinedGlobalVariable>
- <code><![CDATA[$baseuri]]></code>
- </UndefinedGlobalVariable>
- </file>
- <file src="apps/dav/lib/AppInfo/Application.php">
- <InvalidArgument>
- <code><![CDATA[registerEventListener]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/dav/lib/CalDAV/BirthdayService.php">
- <UndefinedMethod>
- <code><![CDATA[setDateTime]]></code>
- <code><![CDATA[setDateTime]]></code>
- </UndefinedMethod>
- <UndefinedPropertyFetch>
- <code><![CDATA[$existingBirthday->VEVENT->DTSTART]]></code>
- <code><![CDATA[$existingBirthday->VEVENT->SUMMARY]]></code>
- <code><![CDATA[$newCalendarData->VEVENT->DTSTART]]></code>
- <code><![CDATA[$newCalendarData->VEVENT->SUMMARY]]></code>
- </UndefinedPropertyFetch>
- </file>
- <file src="apps/dav/lib/CalDAV/CachedSubscriptionObject.php">
- <NullableReturnStatement>
- <code><![CDATA[$this->objectData['calendardata']]]></code>
- </NullableReturnStatement>
- <ParamNameMismatch>
- <code><![CDATA[$calendarData]]></code>
- <code><![CDATA[$calendarData]]></code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/CalDAV/CalDavBackend.php">
- <InvalidNullableReturnType>
- <code><![CDATA[array]]></code>
- </InvalidNullableReturnType>
- <LessSpecificReturnStatement>
- <code><![CDATA[Reader::read($objectData)]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$objectData]]></code>
- <code><![CDATA[$uris]]></code>
- <code><![CDATA[$uris]]></code>
- </MoreSpecificImplementedParamType>
- <MoreSpecificReturnType>
- <code><![CDATA[VCalendar]]></code>
- </MoreSpecificReturnType>
- <NullableReturnStatement>
- <code><![CDATA[null]]></code>
- </NullableReturnStatement>
- </file>
- <file src="apps/dav/lib/CalDAV/CalendarHome.php">
- <InvalidNullableReturnType>
- <code><![CDATA[INode]]></code>
- </InvalidNullableReturnType>
- <LessSpecificImplementedReturnType>
- <code><![CDATA[INode]]></code>
- </LessSpecificImplementedReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$calendarPlugin->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri)]]></code>
- </NullableReturnStatement>
- <UndefinedInterfaceMethod>
- <code><![CDATA[calendarSearch]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/dav/lib/CalDAV/CalendarRoot.php">
- <ParamNameMismatch>
- <code><![CDATA[$principal]]></code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/CalDAV/Plugin.php">
- <ImplementedReturnTypeMismatch>
- <code><![CDATA[string|null]]></code>
- </ImplementedReturnTypeMismatch>
- </file>
- <file src="apps/dav/lib/CalDAV/Principal/Collection.php">
- <ParamNameMismatch>
- <code><![CDATA[$principalInfo]]></code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/CalDAV/PublicCalendar.php">
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$paths]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$vevent->DTEND]]></code>
- </LessSpecificReturnStatement>
- <UndefinedMethod>
- <code><![CDATA[hasTime]]></code>
- <code><![CDATA[isFloating]]></code>
- <code><![CDATA[isFloating]]></code>
- </UndefinedMethod>
- </file>
- <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$emailAddresses]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[array<string, array{LANG?: string}>]]></code>
- </MoreSpecificReturnType>
- <UndefinedMethod>
- <code><![CDATA[getDateTime]]></code>
- <code><![CDATA[getDateTime]]></code>
- <code><![CDATA[isFloating]]></code>
- </UndefinedMethod>
- </file>
- <file src="apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php">
- <UndefinedConstant>
- <code><![CDATA[$provider::NOTIFICATION_TYPE]]></code>
- </UndefinedConstant>
- </file>
- <file src="apps/dav/lib/CalDAV/Reminder/Notifier.php">
- <TypeDoesNotContainType>
- <code><![CDATA[$diff === false]]></code>
- </TypeDoesNotContainType>
- </file>
- <file src="apps/dav/lib/CalDAV/Reminder/ReminderService.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$vevents]]></code>
- <code><![CDATA[VObject\Reader::read($calendarData,
- VObject\Reader::OPTION_FORGIVING)]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[VObject\Component\VCalendar|null]]></code>
- <code><![CDATA[VObject\Component\VEvent[]]]></code>
- </MoreSpecificReturnType>
- <UndefinedMethod>
- <code><![CDATA[getDateTime]]></code>
- <code><![CDATA[getDateTime]]></code>
- </UndefinedMethod>
- <UndefinedPropertyFetch>
- <code><![CDATA[$valarm->parent->UID]]></code>
- </UndefinedPropertyFetch>
- </file>
- <file src="apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php">
- <InvalidNullableReturnType>
- <code><![CDATA[array]]></code>
- </InvalidNullableReturnType>
- <InvalidReturnStatement>
- <code><![CDATA[$principals]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[string[]]]></code>
- </InvalidReturnType>
- <NullableReturnStatement>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- </NullableReturnStatement>
- </file>
- <file src="apps/dav/lib/CalDAV/Schedule/IMipPlugin.php">
- <RedundantCast>
- <code><![CDATA[(string)$iTipMessage->recipientName]]></code>
- </RedundantCast>
- <RedundantCondition>
- <code><![CDATA[!empty($modified['old']) && is_array($modified['old'])]]></code>
- <code><![CDATA[is_array($modified['old'])]]></code>
- </RedundantCondition>
- </file>
- <file src="apps/dav/lib/CalDAV/Schedule/IMipService.php">
- <UndefinedMethod>
- <code><![CDATA[getNormalizedValue]]></code>
- <code><![CDATA[getNormalizedValue]]></code>
- </UndefinedMethod>
- </file>
- <file src="apps/dav/lib/CalDAV/Schedule/Plugin.php">
- <InvalidArgument>
- <code><![CDATA[[$aclPlugin, 'propFind']]]></code>
- <code><![CDATA[[$aclPlugin, 'propFind']]]></code>
- </InvalidArgument>
- <LessSpecificReturnStatement>
- <code><![CDATA[$vevent->DTEND]]></code>
- </LessSpecificReturnStatement>
- <UndefinedInterfaceMethod>
- <code><![CDATA[getChildren]]></code>
- </UndefinedInterfaceMethod>
- <UndefinedMethod>
- <code><![CDATA[getDateTime]]></code>
- <code><![CDATA[hasTime]]></code>
- <code><![CDATA[isFloating]]></code>
- <code><![CDATA[isFloating]]></code>
- <code><![CDATA[principalSearch]]></code>
- </UndefinedMethod>
- </file>
- <file src="apps/dav/lib/CalDAV/Search/SearchPlugin.php">
- <InvalidNullableReturnType>
- <code><![CDATA[bool]]></code>
- </InvalidNullableReturnType>
- </file>
- <file src="apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php">
- <InvalidReturnStatement>
- <code><![CDATA[[
- 'property' => $property,
- 'parameter' => $parameter,
- ]]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[string]]></code>
- </InvalidReturnType>
- </file>
- <file src="apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php">
- <TypeDoesNotContainType>
- <code><![CDATA[!is_array($newProps['filters']['comps'])]]></code>
- <code><![CDATA[!is_array($newProps['filters']['params'])]]></code>
- <code><![CDATA[!is_array($newProps['filters']['props'])]]></code>
- <code><![CDATA[!isset($newProps['filters']['comps']) || !is_array($newProps['filters']['comps'])]]></code>
- <code><![CDATA[!isset($newProps['filters']['params']) || !is_array($newProps['filters']['params'])]]></code>
- <code><![CDATA[!isset($newProps['filters']['props']) || !is_array($newProps['filters']['props'])]]></code>
- </TypeDoesNotContainType>
- </file>
- <file src="apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php">
- <InvalidArgument>
- <code><![CDATA[$webcalData]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/dav/lib/CardDAV/AddressBookImpl.php">
- <InvalidArgument>
- <code><![CDATA[$this->getKey()]]></code>
- <code><![CDATA[$this->getKey()]]></code>
- </InvalidArgument>
- <LessSpecificReturnStatement>
- <code><![CDATA[Reader::read($cardData)]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[VCard]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/dav/lib/CardDAV/AddressBookRoot.php">
- <ParamNameMismatch>
- <code><![CDATA[$principal]]></code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/CardDAV/CardDavBackend.php">
- <FalsableReturnStatement>
- <code><![CDATA[false]]></code>
- </FalsableReturnStatement>
- <LessSpecificReturnStatement>
- <code><![CDATA[Reader::read($cardData)]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[VCard]]></code>
- </MoreSpecificReturnType>
- <TypeDoesNotContainType>
- <code><![CDATA[$addressBooks[$row['id']][$readOnlyPropertyName] === 0]]></code>
- </TypeDoesNotContainType>
- </file>
- <file src="apps/dav/lib/CardDAV/MultiGetExportPlugin.php">
- <InvalidNullableReturnType>
- <code><![CDATA[bool]]></code>
- </InvalidNullableReturnType>
- </file>
- <file src="apps/dav/lib/CardDAV/Plugin.php">
- <ImplementedReturnTypeMismatch>
- <code><![CDATA[string|null]]></code>
- </ImplementedReturnTypeMismatch>
- </file>
- <file src="apps/dav/lib/CardDAV/UserAddressBooks.php">
- <InvalidArgument>
- <code><![CDATA[$this->principalUri]]></code>
- <code><![CDATA[$this->principalUri]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/dav/lib/Comments/CommentsPlugin.php">
- <UndefinedFunction>
- <code><![CDATA[\Sabre\HTTP\toDate($value)]]></code>
- </UndefinedFunction>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php">
- <InvalidNullableReturnType>
- <code><![CDATA[bool]]></code>
- </InvalidNullableReturnType>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/Auth.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$data]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[array{bool, string}]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/BearerAuth.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[tryTokenLogin]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/Directory.php">
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$nodes]]></code>
- </InvalidPropertyAssignmentValue>
- <InvalidReturnStatement>
- <code><![CDATA[$this->dirContent]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[\Sabre\DAV\INode[]]]></code>
- </InvalidReturnType>
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->node]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[Folder]]></code>
- </MoreSpecificReturnType>
- <NullArgument>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- </NullArgument>
- <ParamNameMismatch>
- <code><![CDATA[$fullSourcePath]]></code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/File.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->node]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[\OCP\Files\File]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/FilesReportPlugin.php">
- <InvalidArgument>
- <code><![CDATA[0]]></code>
- </InvalidArgument>
- <InvalidNullableReturnType>
- <code><![CDATA[bool]]></code>
- </InvalidNullableReturnType>
- <TooManyArguments>
- <code><![CDATA[new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)]]></code>
- </TooManyArguments>
- <UndefinedClass>
- <code><![CDATA[Circles]]></code>
- </UndefinedClass>
- <UndefinedInterfaceMethod>
- <code><![CDATA[getPath]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/Node.php">
- <InvalidNullableReturnType>
- <code><![CDATA[int]]></code>
- <code><![CDATA[integer]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$this->info->getId()]]></code>
- <code><![CDATA[$this->info->getId()]]></code>
- </NullableReturnStatement>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/Principal.php">
- <InvalidNullableReturnType>
- <code><![CDATA[array]]></code>
- </InvalidNullableReturnType>
- <InvalidReturnStatement>
- <code><![CDATA[$principals]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[string[]]]></code>
- </InvalidReturnType>
- <InvalidScalarArgument>
- <code><![CDATA[$results]]></code>
- </InvalidScalarArgument>
- <NullableReturnStatement>
- <code><![CDATA[$this->circleToPrincipal($decodedName)
- ?: $this->circleToPrincipal($name)]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- </NullableReturnStatement>
- <UndefinedClass>
- <code><![CDATA[Circles]]></code>
- <code><![CDATA[Circles]]></code>
- </UndefinedClass>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/ServerFactory.php">
- <TooManyArguments>
- <code><![CDATA[new QuotaPlugin($view, true)]]></code>
- </TooManyArguments>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/ShareTypeList.php">
- <InvalidArgument>
- <code><![CDATA[$shareType]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/ShareeList.php">
- <InvalidArgument>
- <code><![CDATA[$share->getShareType()]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/TagsPlugin.php">
- <NullableReturnStatement>
- <code><![CDATA[null]]></code>
- </NullableReturnStatement>
- <UndefinedInterfaceMethod>
- <code><![CDATA[getId]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/dav/lib/Controller/InvitationResponseController.php">
- <UndefinedPropertyAssignment>
- <code><![CDATA[$vEvent->DTSTAMP]]></code>
- </UndefinedPropertyAssignment>
- </file>
- <file src="apps/dav/lib/DAV/CustomPropertiesBackend.php">
- <InvalidArgument>
- <code><![CDATA[$whereValues]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/dav/lib/DAV/GroupPrincipalBackend.php">
- <InvalidNullableReturnType>
- <code><![CDATA[array]]></code>
- <code><![CDATA[string]]></code>
- </InvalidNullableReturnType>
- <InvalidReturnStatement>
- <code><![CDATA[$principals]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[string[]]]></code>
- </InvalidReturnType>
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$members]]></code>
- </MoreSpecificImplementedParamType>
- <NullableReturnStatement>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- </NullableReturnStatement>
- </file>
- <file src="apps/dav/lib/DAV/SystemPrincipalBackend.php">
- <InvalidNullableReturnType>
- <code><![CDATA[array]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[null]]></code>
- </NullableReturnStatement>
- </file>
- <file src="apps/dav/lib/Direct/Server.php">
- <UndefinedThisPropertyAssignment>
- <code><![CDATA[$this->enablePropfindDepthInfinityf]]></code>
- </UndefinedThisPropertyAssignment>
- </file>
- <file src="apps/dav/lib/Files/FileSearchBackend.php">
- <InvalidReturnStatement>
- <code><![CDATA[$value]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[?string]]></code>
- </InvalidReturnType>
- <ParamNameMismatch>
- <code><![CDATA[$search]]></code>
- </ParamNameMismatch>
- <RedundantCondition>
- <code><![CDATA[$date->getTimestamp() !== false]]></code>
- </RedundantCondition>
- <UndefinedPropertyFetch>
- <code><![CDATA[$operator->arguments[0]->name]]></code>
- <code><![CDATA[$operator->arguments[0]->name]]></code>
- </UndefinedPropertyFetch>
- </file>
- <file src="apps/dav/lib/Files/LazySearchBackend.php">
- <InvalidReturnStatement>
- <code><![CDATA[$this->backend->getArbiterPath()]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[bool]]></code>
- </InvalidReturnType>
- </file>
- <file src="apps/dav/lib/HookManager.php">
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$this->usersToDelete]]></code>
- <code><![CDATA[$this->usersToDelete]]></code>
- </InvalidPropertyAssignmentValue>
- </file>
- <file src="apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php">
- <ParamNameMismatch>
- <code><![CDATA[$arguments]]></code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php">
- <ParamNameMismatch>
- <code><![CDATA[$arguments]]></code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/Search/ContactsSearchProvider.php">
- <InvalidOperand>
- <code><![CDATA[$query->getCursor()]]></code>
- </InvalidOperand>
- </file>
- <file src="apps/dav/lib/Search/EventsSearchProvider.php">
- <FalsableReturnStatement>
- <code><![CDATA[$this->l10n->l('date', $startDateTime, ['width' => 'medium'])]]></code>
- </FalsableReturnStatement>
- <InvalidOperand>
- <code><![CDATA[$query->getCursor()]]></code>
- </InvalidOperand>
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[[
- 'ATTENDEE' => ['CN'],
- 'ORGANIZER' => ['CN'],
- ]]]></code>
- </InvalidPropertyAssignmentValue>
- <InvalidReturnStatement>
- <code><![CDATA[$this->l10n->l('date', $startDateTime, ['width' => 'medium'])]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[string]]></code>
- </InvalidReturnType>
- <UndefinedMethod>
- <code><![CDATA[getDateTime]]></code>
- <code><![CDATA[getDateTime]]></code>
- <code><![CDATA[hasTime]]></code>
- <code><![CDATA[isFloating]]></code>
- <code><![CDATA[isFloating]]></code>
- </UndefinedMethod>
- </file>
- <file src="apps/dav/lib/Search/TasksSearchProvider.php">
- <InvalidOperand>
- <code><![CDATA[$query->getCursor()]]></code>
- </InvalidOperand>
- <UndefinedMethod>
- <code><![CDATA[getDateTime]]></code>
- <code><![CDATA[getDateTime]]></code>
- <code><![CDATA[hasTime]]></code>
- </UndefinedMethod>
- </file>
- <file src="apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php">
- <ParamNameMismatch>
- <code><![CDATA[$tagId]]></code>
- <code><![CDATA[$tagName]]></code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php">
- <ParamNameMismatch>
- <code><![CDATA[$objectName]]></code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/Traits/PrincipalProxyTrait.php">
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$members]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="apps/dav/lib/Upload/AssemblyStream.php">
- <FalsableReturnStatement>
- <code><![CDATA[false]]></code>
- </FalsableReturnStatement>
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$this->currentStream]]></code>
- </InvalidPropertyAssignmentValue>
- <InvalidReturnStatement>
- <code><![CDATA[$context]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[array]]></code>
- </InvalidReturnType>
- <RedundantFunctionCall>
- <code><![CDATA[array_values]]></code>
- </RedundantFunctionCall>
- </file>
- <file src="apps/dav/lib/Upload/ChunkingV2Plugin.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[getId]]></code>
- <code><![CDATA[getId]]></code>
- <code><![CDATA[getId]]></code>
- <code><![CDATA[getInternalPath]]></code>
- <code><![CDATA[getNode]]></code>
- <code><![CDATA[getSize]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/dav/lib/UserMigration/ContactsMigrator.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[[
- 'name' => $addressBookNode->getName(),
- 'displayName' => $addressBookInfo['{DAV:}displayname'],
- 'description' => $addressBookInfo['{' . CardDAVPlugin::NS_CARDDAV . '}addressbook-description'],
- 'vCards' => $vCards,
- ]]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[array{name: string, displayName: string, description: ?string, vCards: VCard[]}]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/encryption/lib/Command/FixKeyLocation.php">
- <MoreSpecificReturnType>
- <code><![CDATA[\Generator<File>]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/encryption/lib/Crypto/Crypt.php">
- <TypeDoesNotContainType>
- <code><![CDATA[get_class($res) === 'OpenSSLAsymmetricKey']]></code>
- </TypeDoesNotContainType>
- </file>
- <file src="apps/encryption/lib/Crypto/Encryption.php">
- <ImplementedParamTypeMismatch>
- <code><![CDATA[$position]]></code>
- </ImplementedParamTypeMismatch>
- </file>
- <file src="apps/encryption/lib/KeyManager.php">
- <InvalidThrow>
- <code><![CDATA[throw $exception;]]></code>
- </InvalidThrow>
- </file>
- <file src="apps/encryption/lib/Session.php">
- <TooManyArguments>
- <code><![CDATA[new PrivateKeyMissingException('please try to log-out and log-in again', 0)]]></code>
- </TooManyArguments>
- </file>
- <file src="apps/federatedfilesharing/lib/Controller/RequestHandlerController.php">
- <InvalidArgument>
- <code><![CDATA[$id]]></code>
- <code><![CDATA[$id]]></code>
- <code><![CDATA[$id]]></code>
- <code><![CDATA[$id]]></code>
- <code><![CDATA[$id]]></code>
- <code><![CDATA[$id]]></code>
- <code><![CDATA[$remoteId]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/federatedfilesharing/lib/FederatedShareProvider.php">
- <InvalidArgument>
- <code><![CDATA[$shareId]]></code>
- <code><![CDATA[$shareId]]></code>
- <code><![CDATA[$shareId]]></code>
- <code><![CDATA[$shareId]]></code>
- <code><![CDATA[(int)$data['id']]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/federatedfilesharing/lib/Notifications.php">
- <InvalidReturnType>
- <code><![CDATA[bool]]></code>
- <code><![CDATA[bool]]></code>
- <code><![CDATA[bool]]></code>
- </InvalidReturnType>
- </file>
- <file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php">
- <InvalidArgument>
- <code><![CDATA[$id]]></code>
- <code><![CDATA[$id]]></code>
- <code><![CDATA[$id]]></code>
- <code><![CDATA[$id]]></code>
- </InvalidArgument>
- <InvalidReturnStatement>
- <code><![CDATA[$shareId]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[string]]></code>
- </InvalidReturnType>
- </file>
- <file src="apps/federation/lib/DbHandler.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$result]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[list<array{id: int, url: string, url_hash: string, shared_secret: ?string, status: int, sync_token: ?string}>]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/files/lib/Activity/Provider.php">
- <FalsableReturnStatement>
- <code><![CDATA[$this->fileEncrypted[$fileId]]]></code>
- </FalsableReturnStatement>
- <LessSpecificReturnStatement>
- <code><![CDATA[$folder]]></code>
- <code><![CDATA[$this->fileEncrypted[$fileId]]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[Folder]]></code>
- </MoreSpecificReturnType>
- <TypeDoesNotContainType>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- <code><![CDATA[$this->fileIsEncrypted]]></code>
- </TypeDoesNotContainType>
- </file>
- <file src="apps/files/lib/Command/ScanAppData.php">
- <NullArgument>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- </NullArgument>
- </file>
- <file src="apps/files/lib/Controller/DirectEditingController.php">
- <InvalidArgument>
- <code><![CDATA[$templateId]]></code>
- </InvalidArgument>
- <UndefinedInterfaceMethod>
- <code><![CDATA[getTemplates]]></code>
- <code><![CDATA[open]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/files/lib/Helper.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[$file]]></code>
- <code><![CDATA[$i]]></code>
- <code><![CDATA[$i]]></code>
- <code><![CDATA[$i]]></code>
- <code><![CDATA[$i]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/files/lib/Service/OwnershipTransferService.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[isReadyForUser]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/files_external/appinfo/routes.php">
- <InvalidScope>
- <code><![CDATA[$this]]></code>
- </InvalidScope>
- </file>
- <file src="apps/files_external/lib/Controller/StoragesController.php">
- <RedundantCast>
- <code><![CDATA[(int)$e->getCode()]]></code>
- <code><![CDATA[(int)$status]]></code>
- </RedundantCast>
- </file>
- <file src="apps/files_external/lib/Lib/Backend/Backend.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->storageClass]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[class-string<IStorage>]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/files_external/lib/Lib/Storage/SFTP.php">
- <InternalMethod>
- <code><![CDATA[put]]></code>
- </InternalMethod>
- </file>
- <file src="apps/files_external/lib/Lib/Storage/SMB.php">
- <RedundantCast>
- <code><![CDATA[(int)$e->getCode()]]></code>
- <code><![CDATA[(int)$e->getCode()]]></code>
- <code><![CDATA[(int)$e->getCode()]]></code>
- <code><![CDATA[(int)$e->getCode()]]></code>
- <code><![CDATA[(int)$e->getCode()]]></code>
- <code><![CDATA[(int)$e->getCode()]]></code>
- <code><![CDATA[(int)$e->getCode()]]></code>
- </RedundantCast>
- </file>
- <file src="apps/files_external/lib/Lib/Storage/Swift.php">
- <InvalidArgument>
- <code><![CDATA[$object->lastModified]]></code>
- </InvalidArgument>
- <InvalidNullableReturnType>
- <code><![CDATA[filetype]]></code>
- <code><![CDATA[fopen]]></code>
- </InvalidNullableReturnType>
- </file>
- <file src="apps/files_external/lib/Migration/DummyUserSession.php">
- <InvalidReturnType>
- <code><![CDATA[login]]></code>
- </InvalidReturnType>
- </file>
- <file src="apps/files_external/lib/MountConfig.php">
- <InternalMethod>
- <code><![CDATA[decrypt]]></code>
- <code><![CDATA[encrypt]]></code>
- <code><![CDATA[setIV]]></code>
- <code><![CDATA[setIV]]></code>
- <code><![CDATA[setKey]]></code>
- </InternalMethod>
- <TooManyArguments>
- <code><![CDATA[test]]></code>
- </TooManyArguments>
- </file>
- <file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
- <RedundantCast>
- <code><![CDATA[(int)$code]]></code>
- <code><![CDATA[(int)$code]]></code>
- </RedundantCast>
- <UndefinedClass>
- <code><![CDATA[Circles]]></code>
- <code><![CDATA[Circles]]></code>
- </UndefinedClass>
- <UndefinedDocblockClass>
- <code><![CDATA[$this->getRoomShareHelper()]]></code>
- <code><![CDATA[$this->getRoomShareHelper()]]></code>
- <code><![CDATA[$this->getRoomShareHelper()]]></code>
- <code><![CDATA[\OCA\Talk\Share\Helper\ShareAPIController]]></code>
- </UndefinedDocblockClass>
- </file>
- <file src="apps/files_sharing/lib/External/Manager.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$mount]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[Mount]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/files_sharing/lib/External/Scanner.php">
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$cacheData]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php">
- <InvalidArgument>
- <code><![CDATA[$exception->getMessage()]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/files_sharing/lib/MountProvider.php">
- <RedundantFunctionCall>
- <code><![CDATA[array_values]]></code>
- </RedundantFunctionCall>
- </file>
- <file src="apps/files_sharing/lib/ShareBackend/File.php">
- <InvalidArgument>
- <code><![CDATA[$itemSource]]></code>
- <code><![CDATA[$itemSource]]></code>
- </InvalidArgument>
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$shareWith]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="apps/files_sharing/lib/ShareBackend/Folder.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[fetchRow]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/files_sharing/lib/SharedMount.php">
- <InvalidReturnType>
- <code><![CDATA[bool]]></code>
- </InvalidReturnType>
- </file>
- <file src="apps/files_sharing/lib/SharedStorage.php">
- <FalsableReturnStatement>
- <code><![CDATA[$this->sourceRootInfo]]></code>
- </FalsableReturnStatement>
- <InvalidNullableReturnType>
- <code><![CDATA[ICacheEntry]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$this->sourceRootInfo]]></code>
- </NullableReturnStatement>
- </file>
- <file src="apps/files_sharing/lib/Updater.php">
- <UndefinedMethod>
- <code><![CDATA[moveMount]]></code>
- </UndefinedMethod>
- </file>
- <file src="apps/files_sharing/templates/public.php">
- <RedundantCondition>
- <code><![CDATA[$_['hideFileList'] !== true]]></code>
- <code><![CDATA[isset($_['hideFileList']) && $_['hideFileList'] !== true]]></code>
- </RedundantCondition>
- </file>
- <file src="apps/files_trashbin/lib/Sabre/AbstractTrash.php">
- <InvalidNullableReturnType>
- <code><![CDATA[int]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$this->data->getId()]]></code>
- </NullableReturnStatement>
- </file>
- <file src="apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php">
- <InvalidReturnStatement>
- <code><![CDATA[$entry]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[ITrash]]></code>
- </InvalidReturnType>
- </file>
- <file src="apps/files_trashbin/lib/Sabre/RestoreFolder.php">
- <InvalidNullableReturnType>
- <code><![CDATA[getChild]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[null]]></code>
- </NullableReturnStatement>
- </file>
- <file src="apps/files_trashbin/lib/Sabre/RootCollection.php">
- <MismatchingDocblockReturnType>
- <code><![CDATA[INode]]></code>
- </MismatchingDocblockReturnType>
- </file>
- <file src="apps/files_trashbin/lib/Sabre/TrashRoot.php">
- <InvalidReturnStatement>
- <code><![CDATA[$entry]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[ITrash]]></code>
- </InvalidReturnType>
- </file>
- <file src="apps/files_trashbin/lib/Trash/LegacyTrashBackend.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[$file]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/files_trashbin/lib/Trashbin.php">
- <InvalidArgument>
- <code><![CDATA[$timestamp]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/files_versions/appinfo/routes.php">
- <InvalidScope>
- <code><![CDATA[$this->create('files_versions_download', 'apps/files_versions/download.php')]]></code>
- </InvalidScope>
- </file>
- <file src="apps/files_versions/lib/Sabre/RestoreFolder.php">
- <InvalidNullableReturnType>
- <code><![CDATA[getChild]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[null]]></code>
- </NullableReturnStatement>
- </file>
- <file src="apps/files_versions/lib/Sabre/VersionHome.php">
- <InvalidNullableReturnType>
- <code><![CDATA[getChild]]></code>
- </InvalidNullableReturnType>
- </file>
- <file src="apps/files_versions/lib/Storage.php">
- <RedundantCondition>
- <code><![CDATA[$storage1->instanceOfStorage('\OC\Files\ObjectStore\ObjectStoreStorage')]]></code>
- </RedundantCondition>
- </file>
- <file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php">
- <InvalidArgument>
- <code><![CDATA[$this->retries + 1]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/oauth2/lib/Controller/OauthApiController.php">
- <NoInterfaceProperties>
- <code><![CDATA[$this->request->server]]></code>
- </NoInterfaceProperties>
- </file>
- <file src="apps/provisioning_api/lib/Controller/UsersController.php">
- <TypeDoesNotContainNull>
- <code><![CDATA[$groupid === null]]></code>
- <code><![CDATA[$groupid === null]]></code>
- </TypeDoesNotContainNull>
- </file>
- <file src="apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php">
- <InvalidReturnType>
- <code><![CDATA[Response]]></code>
- </InvalidReturnType>
- </file>
- <file src="apps/settings/lib/AppInfo/Application.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[getSettingsManager]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/settings/lib/Hooks.php">
- <InvalidArrayOffset>
- <code><![CDATA[[$user->getEMailAddress() => $user->getDisplayName()]]]></code>
- </InvalidArrayOffset>
- </file>
- <file src="apps/settings/lib/Settings/Admin/Security.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[isReady]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/sharebymail/lib/ShareByMailProvider.php">
- <InvalidArgument>
- <code><![CDATA[$share->getId()]]></code>
- <code><![CDATA[(int)$data['id']]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/systemtags/lib/Activity/Listener.php">
- <InvalidArgument>
- <code><![CDATA[$event->getObjectId()]]></code>
- <code><![CDATA[$event->getObjectId()]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/theming/lib/Util.php">
- <InvalidReturnStatement>
- <code><![CDATA[array_values($color->getRgb())]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[array{0: int, 1: int, 2: int}]]></code>
- </InvalidReturnType>
- </file>
- <file src="apps/user_ldap/appinfo/routes.php">
- <InvalidScope>
- <code><![CDATA[$this]]></code>
- </InvalidScope>
- </file>
- <file src="apps/user_ldap/lib/Access.php">
- <InvalidReturnStatement>
- <code><![CDATA[$uuid]]></code>
- <code><![CDATA[$values]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[string[]]]></code>
- </InvalidReturnType>
- <RedundantCast>
- <code><![CDATA[(int)$e->getCode()]]></code>
- </RedundantCast>
- </file>
- <file src="apps/user_ldap/lib/Connection.php">
- <NoValue>
- <code><![CDATA[$subj]]></code>
- </NoValue>
- <ParadoxicalCondition>
- <code><![CDATA[default:
- $subj = $key;
- break;]]></code>
- </ParadoxicalCondition>
- </file>
- <file src="apps/user_ldap/lib/Group_LDAP.php">
- <InvalidScalarArgument>
- <code><![CDATA[$groupID]]></code>
- </InvalidScalarArgument>
- </file>
- <file src="apps/user_ldap/lib/Group_Proxy.php">
- <ParamNameMismatch>
- <code><![CDATA[$gid]]></code>
- </ParamNameMismatch>
- </file>
- <file src="apps/user_ldap/lib/Jobs/Sync.php">
- <InvalidOperand>
- <code><![CDATA[$i]]></code>
- </InvalidOperand>
- </file>
- <file src="apps/user_ldap/lib/Mapping/AbstractMapping.php">
- <RedundantCondition>
- <code><![CDATA[isset($qb)]]></code>
- </RedundantCondition>
- <TypeDoesNotContainNull>
- <code><![CDATA[isset($qb)]]></code>
- </TypeDoesNotContainNull>
- </file>
- <file src="apps/user_ldap/lib/User/Manager.php">
- <InvalidDocblock>
- <code><![CDATA[public function setLdapAccess(Access $access) {]]></code>
- </InvalidDocblock>
- </file>
- <file src="apps/user_ldap/lib/User/User.php">
- <FalsableReturnStatement>
- <code><![CDATA[$this->avatarImage]]></code>
- </FalsableReturnStatement>
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$this->refreshedFeatures]]></code>
- </InvalidPropertyAssignmentValue>
- <InvalidReturnType>
- <code><![CDATA[null]]></code>
- </InvalidReturnType>
- <RedundantCondition>
- <code><![CDATA[$aQuota && (count($aQuota) > 0)]]></code>
- </RedundantCondition>
- </file>
- <file src="apps/user_ldap/lib/User_LDAP.php">
- <ImplementedReturnTypeMismatch>
- <code><![CDATA[string|false]]></code>
- </ImplementedReturnTypeMismatch>
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$limit]]></code>
- <code><![CDATA[$offset]]></code>
- </MoreSpecificImplementedParamType>
- <NullableReturnStatement>
- <code><![CDATA[null]]></code>
- </NullableReturnStatement>
- <RedundantCondition>
- <code><![CDATA[$displayName && (count($displayName) > 0)]]></code>
- <code><![CDATA[is_string($dn)]]></code>
- </RedundantCondition>
- </file>
- <file src="apps/user_ldap/lib/User_Proxy.php">
- <ParamNameMismatch>
- <code><![CDATA[$uid]]></code>
- </ParamNameMismatch>
- </file>
- <file src="apps/user_ldap/lib/Wizard.php">
- <InvalidArrayOffset>
- <code><![CDATA[$possibleAttrs[$i]]]></code>
- </InvalidArrayOffset>
- </file>
- <file src="apps/user_status/lib/AppInfo/Application.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[registerProvider]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/workflowengine/lib/Check/AbstractStringCheck.php">
- <NullArgument>
- <code><![CDATA[null]]></code>
- </NullArgument>
- </file>
- <file src="apps/workflowengine/lib/Check/FileSize.php">
- <FalsableReturnStatement>
- <code><![CDATA[$this->size]]></code>
- </FalsableReturnStatement>
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$size]]></code>
- </InvalidPropertyAssignmentValue>
- <InvalidReturnStatement>
- <code><![CDATA[$this->size]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[string]]></code>
- </InvalidReturnType>
- </file>
- <file src="apps/workflowengine/lib/Check/RequestRemoteAddress.php">
- <InvalidArgument>
- <code><![CDATA[$decodedValue[1]]]></code>
- <code><![CDATA[$decodedValue[1]]]></code>
- <code><![CDATA[$decodedValue[1]]]></code>
- <code><![CDATA[$decodedValue[1]]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/workflowengine/lib/Check/TFileCheck.php">
- <InvalidArgument>
- <code><![CDATA[['app' => Application::APP_ID, 'class' => get_class($subject)]]]></code>
- </InvalidArgument>
- </file>
- <file src="apps/workflowengine/lib/Entity/File.php">
- <InvalidReturnType>
- <code><![CDATA[string]]></code>
- </InvalidReturnType>
- </file>
- <file src="apps/workflowengine/lib/Manager.php">
- <InvalidArgument>
- <code><![CDATA[$missingCheck]]></code>
- </InvalidArgument>
- <InvalidOperand>
- <code><![CDATA[$result]]></code>
- </InvalidOperand>
- <InvalidReturnStatement>
- <code><![CDATA[$result]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[bool]]></code>
- </InvalidReturnType>
- </file>
- <file src="core/BackgroundJobs/CheckForUserCertificates.php">
- <ParamNameMismatch>
- <code><![CDATA[$arguments]]></code>
- </ParamNameMismatch>
- </file>
- <file src="core/Command/App/ListApps.php">
- <LessSpecificImplementedReturnType>
- <code><![CDATA[array]]></code>
- </LessSpecificImplementedReturnType>
- </file>
- <file src="core/Command/Config/Import.php">
- <InvalidScalarArgument>
- <code><![CDATA[0]]></code>
- <code><![CDATA[1]]></code>
- </InvalidScalarArgument>
- </file>
- <file src="core/Command/Config/ListConfigs.php">
- <FalsableReturnStatement>
- <code><![CDATA[$this->appConfig->getValues($app, false)]]></code>
- </FalsableReturnStatement>
- <TooManyArguments>
- <code><![CDATA[getFilteredValues]]></code>
- </TooManyArguments>
- </file>
- <file src="core/Command/Db/ConvertType.php">
- <InvalidScalarArgument>
- <code><![CDATA[0]]></code>
- <code><![CDATA[1]]></code>
- </InvalidScalarArgument>
- </file>
- <file src="core/Command/Encryption/Enable.php">
- <NullArgument>
- <code><![CDATA[null]]></code>
- </NullArgument>
- </file>
- <file src="core/Command/Log/File.php">
- <InvalidReturnStatement>
- <code><![CDATA[[0]]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[string[]]]></code>
- </InvalidReturnType>
- </file>
- <file src="core/Command/Log/Manage.php">
- <InvalidArgument>
- <code><![CDATA[$levelNum]]></code>
- </InvalidArgument>
- </file>
- <file src="core/Command/Maintenance/DataFingerprint.php">
- <InvalidScalarArgument>
- <code><![CDATA[$this->timeFactory->getTime()]]></code>
- </InvalidScalarArgument>
- </file>
- <file src="core/Command/Maintenance/Mimetype/UpdateDB.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[getAllMappings]]></code>
- <code><![CDATA[updateFilecache]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="core/Command/Preview/Repair.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[section]]></code>
- <code><![CDATA[section]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="core/Command/Preview/ResetRenderedTexts.php">
- <InvalidReturnStatement>
- <code><![CDATA[[]]]></code>
- </InvalidReturnStatement>
- </file>
- <file src="core/Controller/ClientFlowLoginV2Controller.php">
- <TypeDoesNotContainType>
- <code><![CDATA[!is_string($stateToken)]]></code>
- </TypeDoesNotContainType>
- </file>
- <file src="core/Controller/CollaborationResourcesController.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[searchCollections]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="core/Controller/LostController.php">
- <RedundantCast>
- <code><![CDATA[(int)$e->getCode()]]></code>
- </RedundantCast>
- </file>
- <file src="core/Controller/UnifiedSearchController.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[findMatchingRoute]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="core/Middleware/TwoFactorMiddleware.php">
- <NoInterfaceProperties>
- <code><![CDATA[$this->request->server]]></code>
- </NoInterfaceProperties>
- </file>
- <file src="lib/autoloader.php">
- <RedundantCondition>
- <code><![CDATA[$this->memoryCache]]></code>
- </RedundantCondition>
- </file>
- <file src="lib/base.php">
- <InvalidArgument>
- <code><![CDATA[$restrictions]]></code>
- </InvalidArgument>
- </file>
- <file src="lib/private/Activity/Manager.php">
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$this->filterClasses]]></code>
- <code><![CDATA[$this->providerClasses]]></code>
- <code><![CDATA[$this->settingsClasses]]></code>
- </InvalidPropertyAssignmentValue>
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->settings]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[ActivitySettings[]]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/AllConfig.php">
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$key]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="lib/private/App/AppStore/Fetcher/Fetcher.php">
- <TooManyArguments>
- <code><![CDATA[fetch]]></code>
- </TooManyArguments>
- </file>
- <file src="lib/private/App/DependencyAnalyzer.php">
- <InvalidNullableReturnType>
- <code><![CDATA[bool]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[version_compare($first, $second, $operator)]]></code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/App/InfoParser.php">
- <InvalidArrayOffset>
- <code><![CDATA[$array[$element][]]]></code>
- <code><![CDATA[$array[$element][]]]></code>
- </InvalidArrayOffset>
- <InvalidReturnStatement>
- <code><![CDATA[(string)$xml]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[array]]></code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/AppConfig.php">
- <NullableReturnStatement>
- <code><![CDATA[$this->fastCache[$app][$key] ?? $default]]></code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/AppFramework/Bootstrap/Coordinator.php">
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$this->bootedApps]]></code>
- </InvalidPropertyAssignmentValue>
- </file>
- <file src="lib/private/AppFramework/Bootstrap/FunctionInjector.php">
- <UndefinedMethod>
- <code><![CDATA[getName]]></code>
- </UndefinedMethod>
- </file>
- <file src="lib/private/AppFramework/DependencyInjection/DIContainer.php">
- <ImplementedReturnTypeMismatch>
- <code><![CDATA[boolean|null]]></code>
- </ImplementedReturnTypeMismatch>
- <InvalidReturnStatement>
- <code><![CDATA[$this->server]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[\OCP\IServerContainer]]></code>
- </InvalidReturnType>
- <UndefinedInterfaceMethod>
- <code><![CDATA[getAppDataDir]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/AppFramework/Http/Dispatcher.php">
- <NullArgument>
- <code><![CDATA[null]]></code>
- </NullArgument>
- </file>
- <file src="lib/private/AppFramework/Http/Output.php">
- <InvalidReturnStatement>
- <code><![CDATA[@readfile($path)]]></code>
- <code><![CDATA[http_response_code()]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[bool]]></code>
- <code><![CDATA[int]]></code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/AppFramework/Http/Request.php">
- <NullableReturnStatement>
- <code><![CDATA[$this->getOverwriteHost()]]></code>
- <code><![CDATA[isset($this->cookies[$key]) ? $this->cookies[$key] : null]]></code>
- <code><![CDATA[isset($this->env[$key]) ? $this->env[$key] : null]]></code>
- <code><![CDATA[isset($this->files[$key]) ? $this->files[$key] : null]]></code>
- </NullableReturnStatement>
- <RedundantCondition>
- <code><![CDATA[\is_array($params)]]></code>
- </RedundantCondition>
- <UndefinedFunction>
- <code><![CDATA[\Sabre\HTTP\decodePath($pathInfo)]]></code>
- </UndefinedFunction>
- </file>
- <file src="lib/private/AppFramework/Middleware/OCSMiddleware.php">
- <InternalMethod>
- <code><![CDATA[setOCSVersion]]></code>
- </InternalMethod>
- </file>
- <file src="lib/private/AppFramework/Middleware/Security/CORSMiddleware.php">
- <NoInterfaceProperties>
- <code><![CDATA[$this->request->server]]></code>
- <code><![CDATA[$this->request->server]]></code>
- </NoInterfaceProperties>
- </file>
- <file src="lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php">
- <NoInterfaceProperties>
- <code><![CDATA[$this->request->server]]></code>
- </NoInterfaceProperties>
- <UndefinedClass>
- <code><![CDATA[\OCA\Talk\Controller\PageController]]></code>
- </UndefinedClass>
- </file>
- <file src="lib/private/AppFramework/Routing/RouteConfig.php">
- <InvalidArrayOffset>
- <code><![CDATA[$action['url-postfix']]]></code>
- </InvalidArrayOffset>
- </file>
- <file src="lib/private/AppFramework/Services/AppConfig.php">
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$default]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="lib/private/AppFramework/Utility/SimpleContainer.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$class->newInstance()]]></code>
- <code><![CDATA[$class->newInstanceArgs(array_map(function (ReflectionParameter $parameter) {
- $parameterType = $parameter->getType();
- $resolveName = $parameter->getName();
- // try to find out if it is a class or a simple parameter
- if ($parameterType !== null && ($parameterType instanceof ReflectionNamedType) && !$parameterType->isBuiltin()) {
- $resolveName = $parameterType->getName();
- }
- try {
- $builtIn = $parameter->hasType() && ($parameter->getType() instanceof ReflectionNamedType)
- && $parameter->getType()->isBuiltin();
- return $this->query($resolveName, !$builtIn);
- } catch (QueryException $e) {
- // Service not found, use the default value when available
- if ($parameter->isDefaultValueAvailable()) {
- return $parameter->getDefaultValue();
- }
- if ($parameterType !== null && ($parameterType instanceof ReflectionNamedType) && !$parameterType->isBuiltin()) {
- $resolveName = $parameter->getName();
- try {
- return $this->query($resolveName);
- } catch (QueryException $e2) {
- // Pass null if typed and nullable
- if ($parameter->allowsNull() && ($parameterType instanceof ReflectionNamedType)) {
- return null;
- }
- // don't lose the error we got while trying to query by type
- throw new QueryException($e->getMessage(), (int)$e->getCode(), $e);
- }
- }
- throw $e;
- }
- }, $constructor->getParameters()))]]></code>
- </LessSpecificReturnStatement>
- <MissingTemplateParam>
- <code><![CDATA[ArrayAccess]]></code>
- </MissingTemplateParam>
- <MoreSpecificReturnType>
- <code><![CDATA[\stdClass]]></code>
- </MoreSpecificReturnType>
- <RedundantCast>
- <code><![CDATA[(int)$e->getCode()]]></code>
- </RedundantCast>
- </file>
- <file src="lib/private/Archive/TAR.php">
- <UndefinedDocblockClass>
- <code><![CDATA[$this->tar->extractInString($path)]]></code>
- </UndefinedDocblockClass>
- </file>
- <file src="lib/private/Authentication/LoginCredentials/Store.php">
- <RedundantCondition>
- <code><![CDATA[$trySession]]></code>
- </RedundantCondition>
- </file>
- <file src="lib/private/Authentication/Token/PublicKeyToken.php">
- <UndefinedMagicMethod>
- <code><![CDATA[getExpires]]></code>
- <code><![CDATA[getLastCheck]]></code>
- <code><![CDATA[getLoginName]]></code>
- <code><![CDATA[getName]]></code>
- <code><![CDATA[getPassword]]></code>
- <code><![CDATA[getRemember]]></code>
- <code><![CDATA[getScope]]></code>
- <code><![CDATA[setExpires]]></code>
- <code><![CDATA[setLastCheck]]></code>
- <code><![CDATA[setName]]></code>
- <code><![CDATA[setPassword]]></code>
- <code><![CDATA[setPasswordInvalid]]></code>
- <code><![CDATA[setScope]]></code>
- <code><![CDATA[setScope]]></code>
- <code><![CDATA[setToken]]></code>
- <code><![CDATA[setType]]></code>
- </UndefinedMagicMethod>
- </file>
- <file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php">
- <InvalidArgument>
- <code><![CDATA[$this->providers]]></code>
- </InvalidArgument>
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$this->providers]]></code>
- <code><![CDATA[[]]]></code>
- </InvalidPropertyAssignmentValue>
- <InvalidReturnStatement>
- <code><![CDATA[$this->providers]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[IProvider[]]]></code>
- </InvalidReturnType>
- <UndefinedInterfaceMethod>
- <code><![CDATA[$this->providers]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Cache/CappedMemoryCache.php">
- <MissingTemplateParam>
- <code><![CDATA[\ArrayAccess]]></code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/Cache/File.php">
- <LessSpecificImplementedReturnType>
- <code><![CDATA[bool|mixed]]></code>
- <code><![CDATA[bool|mixed]]></code>
- </LessSpecificImplementedReturnType>
- </file>
- <file src="lib/private/Calendar/Manager.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[array_merge(
- ...array_map(function ($registration) use ($principalUri, $calendarUris) {
- try {
- /** @var ICalendarProvider $provider */
- $provider = $this->container->get($registration->getService());
- } catch (Throwable $e) {
- $this->logger->error('Could not load calendar provider ' . $registration->getService() . ': ' . $e->getMessage(), [
- 'exception' => $e,
- ]);
- return [];
- }
- return $provider->getCalendars($principalUri, $calendarUris);
- }, $context->getCalendarProviders())
- )]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[ICreateFromString[]]]></code>
- </MoreSpecificReturnType>
- <NamedArgumentNotAllowed>
- <code><![CDATA[array_map(function ($registration) use ($principalUri, $calendarUris) {
- try {
- /** @var ICalendarProvider $provider */
- $provider = $this->container->get($registration->getService());
- } catch (Throwable $e) {
- $this->logger->error('Could not load calendar provider ' . $registration->getService() . ': ' . $e->getMessage(), [
- 'exception' => $e,
- ]);
- return [];
- }
- return $provider->getCalendars($principalUri, $calendarUris);
- }, $context->getCalendarProviders())]]></code>
- </NamedArgumentNotAllowed>
- </file>
- <file src="lib/private/Command/CallableJob.php">
- <ParamNameMismatch>
- <code><![CDATA[$serializedCallable]]></code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Command/ClosureJob.php">
- <InvalidArgument>
- <code><![CDATA[[LaravelClosure::class]]]></code>
- </InvalidArgument>
- </file>
- <file src="lib/private/Comments/Manager.php">
- <RedundantCast>
- <code><![CDATA[(string)$id]]></code>
- </RedundantCast>
- </file>
- <file src="lib/private/Config.php">
- <InvalidOperand>
- <code><![CDATA[$this->delete($key)]]></code>
- <code><![CDATA[$this->set($key, $value)]]></code>
- </InvalidOperand>
- <UndefinedVariable>
- <code><![CDATA[$CONFIG]]></code>
- <code><![CDATA[$CONFIG]]></code>
- </UndefinedVariable>
- </file>
- <file src="lib/private/Console/Application.php">
- <NoInterfaceProperties>
- <code><![CDATA[$this->request->server]]></code>
- </NoInterfaceProperties>
- </file>
- <file src="lib/private/ContactsManager.php">
- <InvalidArgument>
- <code><![CDATA[$searchOptions]]></code>
- </InvalidArgument>
- </file>
- <file src="lib/private/DB/AdapterMySQL.php">
- <InternalMethod>
- <code><![CDATA[getParams]]></code>
- </InternalMethod>
- <InvalidArrayOffset>
- <code><![CDATA[$params['collation']]]></code>
- </InvalidArrayOffset>
- </file>
- <file src="lib/private/DB/Connection.php">
- <InternalMethod>
- <code><![CDATA[getParams]]></code>
- </InternalMethod>
- <InvalidArgument>
- <code><![CDATA[$params]]></code>
- </InvalidArgument>
- <InvalidArrayOffset>
- <code><![CDATA[$params['adapter']]]></code>
- <code><![CDATA[$params['tablePrefix']]]></code>
- </InvalidArrayOffset>
- </file>
- <file src="lib/private/DB/Exceptions/DbalException.php">
- <RedundantCondition>
- <code><![CDATA[is_int($original->getCode())]]></code>
- </RedundantCondition>
- <TypeDoesNotContainType>
- <code><![CDATA[0]]></code>
- </TypeDoesNotContainType>
- </file>
- <file src="lib/private/DB/MigrationService.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$s]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[IMigrationStep]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php">
- <ImplicitToStringCast>
- <code><![CDATA[$this->functionBuilder->lower($x)]]></code>
- </ImplicitToStringCast>
- <InvalidArgument>
- <code><![CDATA[$y]]></code>
- <code><![CDATA[$y]]></code>
- </InvalidArgument>
- </file>
- <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php">
- <InternalMethod>
- <code><![CDATA[getParams]]></code>
- </InternalMethod>
- <InvalidArrayOffset>
- <code><![CDATA[$params['collation']]]></code>
- </InvalidArrayOffset>
- </file>
- <file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
- <InvalidNullableReturnType>
- <code><![CDATA[string]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$alias]]></code>
- </NullableReturnStatement>
- <ParamNameMismatch>
- <code><![CDATA[$selects]]></code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/DB/QueryBuilder/QuoteHelper.php">
- <InvalidNullableReturnType>
- <code><![CDATA[string]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$string]]></code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/DateTimeFormatter.php">
- <FalsableReturnStatement>
- <code><![CDATA[$l->l($type, $timestamp, [
- 'width' => $format,
- ])]]></code>
- </FalsableReturnStatement>
- <InvalidReturnStatement>
- <code><![CDATA[$l->l($type, $timestamp, [
- 'width' => $format,
- ])]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[string]]></code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/DateTimeZone.php">
- <InvalidScalarArgument>
- <code><![CDATA[$timestamp]]></code>
- </InvalidScalarArgument>
- </file>
- <file src="lib/private/Diagnostics/Query.php">
- <ImplementedReturnTypeMismatch>
- <code><![CDATA[float]]></code>
- </ImplementedReturnTypeMismatch>
- </file>
- <file src="lib/private/Diagnostics/QueryLogger.php">
- <InvalidArgument>
- <code><![CDATA[microtime(true)]]></code>
- </InvalidArgument>
- <InvalidReturnType>
- <code><![CDATA[stopQuery]]></code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/DirectEditing/Manager.php">
- <InvalidReturnType>
- <code><![CDATA[TemplateResponse]]></code>
- </InvalidReturnType>
- <UndefinedMethod>
- <code><![CDATA[$template]]></code>
- <code><![CDATA[$template]]></code>
- <code><![CDATA[$template]]></code>
- <code><![CDATA[$template]]></code>
- </UndefinedMethod>
- </file>
- <file src="lib/private/DirectEditing/Token.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->manager->getFileForToken($this->data['user_id'], $this->data['file_id'], $this->data['file_path'])]]></code>
- </LessSpecificReturnStatement>
- <UndefinedMethod>
- <code><![CDATA[getShareForToken]]></code>
- </UndefinedMethod>
- </file>
- <file src="lib/private/Encryption/Keys/Storage.php">
- <InvalidNullableReturnType>
- <code><![CDATA[deleteUserKey]]></code>
- </InvalidNullableReturnType>
- <NullArgument>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- </NullArgument>
- </file>
- <file src="lib/private/Encryption/Manager.php">
- <ImplementedReturnTypeMismatch>
- <code><![CDATA[bool]]></code>
- </ImplementedReturnTypeMismatch>
- </file>
- <file src="lib/private/Federation/CloudFederationProviderManager.php">
- <ParamNameMismatch>
- <code><![CDATA[$providerId]]></code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Files/AppData/AppData.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->folder]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[Folder]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Files/Cache/Cache.php">
- <InvalidArgument>
- <code><![CDATA[$parentData]]></code>
- </InvalidArgument>
- <InvalidNullableReturnType>
- <code><![CDATA[array]]></code>
- </InvalidNullableReturnType>
- <InvalidScalarArgument>
- <code><![CDATA[$path]]></code>
- <code><![CDATA[\OC_Util::normalizeUnicode($path)]]></code>
- </InvalidScalarArgument>
- <NullableReturnStatement>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/Files/Cache/FailedCache.php">
- <InvalidReturnStatement>
- <code><![CDATA[[]]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[getIncomplete]]></code>
- <code><![CDATA[insert]]></code>
- <code><![CDATA[put]]></code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Cache/HomeCache.php">
- <FalsableReturnStatement>
- <code><![CDATA[$data]]></code>
- </FalsableReturnStatement>
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$file]]></code>
- <code><![CDATA[$file]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="lib/private/Files/Cache/Scanner.php">
- <InvalidArgument>
- <code><![CDATA[self::SCAN_RECURSIVE_INCOMPLETE]]></code>
- </InvalidArgument>
- <InvalidReturnStatement>
- <code><![CDATA[$existingChildren]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[array[]]]></code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Cache/Storage.php">
- <InvalidNullableReturnType>
- <code><![CDATA[array]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[self::getGlobalCache()->getStorageInfo($storageId)]]></code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/Files/Cache/Wrapper/CacheWrapper.php">
- <LessSpecificImplementedReturnType>
- <code><![CDATA[array]]></code>
- <code><![CDATA[array]]></code>
- </LessSpecificImplementedReturnType>
- </file>
- <file src="lib/private/Files/Config/MountProviderCollection.php">
- <InvalidOperand>
- <code><![CDATA[$user]]></code>
- </InvalidOperand>
- <RedundantCondition>
- <code><![CDATA[get_class($provider) !== 'OCA\Files_Sharing\MountProvider']]></code>
- </RedundantCondition>
- <TypeDoesNotContainType>
- <code><![CDATA[get_class($provider) === 'OCA\Files_Sharing\MountProvider']]></code>
- </TypeDoesNotContainType>
- </file>
- <file src="lib/private/Files/Config/UserMountCache.php">
- <InvalidReturnType>
- <code><![CDATA[remoteStorageMounts]]></code>
- <code><![CDATA[removeUserStorageMount]]></code>
- </InvalidReturnType>
- <LessSpecificImplementedReturnType>
- <code><![CDATA[array]]></code>
- </LessSpecificImplementedReturnType>
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->cacheInfoCache[$fileId]]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[array{int, string, int}]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Files/Filesystem.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$mount->getStorage()]]></code>
- <code><![CDATA[self::getMountManager()->findByNumericId($id)]]></code>
- <code><![CDATA[self::getMountManager()->findByStorageId($id)]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[Mount\MountPoint[]]]></code>
- <code><![CDATA[Mount\MountPoint[]]]></code>
- <code><![CDATA[\OC\Files\Storage\Storage|null]]></code>
- </MoreSpecificReturnType>
- <TooManyArguments>
- <code><![CDATA[addStorageWrapper]]></code>
- </TooManyArguments>
- </file>
- <file src="lib/private/Files/Mount/MountPoint.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[wrap]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Files/Mount/ObjectHomeMountProvider.php">
- <InvalidNullableReturnType>
- <code><![CDATA[\OCP\Files\Mount\IMountPoint]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[null]]></code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/Files/Node/File.php">
- <InvalidReturnStatement>
- <code><![CDATA[$this->view->hash($type, $this->path, $raw)]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[string]]></code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Node/Folder.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[array_map(function (FileInfo $file) {
- return $this->createNode($file->getPath(), $file);
- }, $files)]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$node]]></code>
- </MoreSpecificImplementedParamType>
- <MoreSpecificReturnType>
- <code><![CDATA[\OC\Files\Node\Node[]]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Files/Node/HookConnector.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Files/Node/LazyFolder.php">
- <InvalidReturnStatement>
- <code><![CDATA[$this->__call(__FUNCTION__, func_get_args())]]></code>
- </InvalidReturnStatement>
- </file>
- <file src="lib/private/Files/Node/LazyUserFolder.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$node]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[Folder]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Files/Node/Node.php">
- <InvalidNullableReturnType>
- <code><![CDATA[FileInfo]]></code>
- </InvalidNullableReturnType>
- <InvalidReturnType>
- <code><![CDATA[getChecksum]]></code>
- </InvalidReturnType>
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->parent]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[INode|IRootFolder]]></code>
- </MoreSpecificReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$this->fileInfo]]></code>
- </NullableReturnStatement>
- <ParamNameMismatch>
- <code><![CDATA[$type]]></code>
- </ParamNameMismatch>
- <UndefinedInterfaceMethod>
- <code><![CDATA[$this->fileInfo]]></code>
- <code><![CDATA[$this->fileInfo]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Files/Node/Root.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$folders]]></code>
- <code><![CDATA[$this->mountManager->findByNumericId($numericId)]]></code>
- <code><![CDATA[$this->mountManager->findByStorageId($storageId)]]></code>
- <code><![CDATA[$this->mountManager->findIn($mountPoint)]]></code>
- <code><![CDATA[$this->user]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[MountPoint[]]]></code>
- <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code>
- <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code>
- <code><![CDATA[\OC\User\User]]></code>
- </MoreSpecificReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$this->user]]></code>
- </NullableReturnStatement>
- <UndefinedMethod>
- <code><![CDATA[remove]]></code>
- </UndefinedMethod>
- </file>
- <file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php">
- <InternalClass>
- <code><![CDATA[ClientResolver::_default_signature_provider()]]></code>
- <code><![CDATA[ClientResolver::_default_signature_provider()]]></code>
- </InternalClass>
- <InternalMethod>
- <code><![CDATA[ClientResolver::_default_signature_provider()]]></code>
- </InternalMethod>
- <UndefinedFunction>
- <code><![CDATA[\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())]]></code>
- </UndefinedFunction>
- </file>
- <file src="lib/private/Files/ObjectStore/S3ObjectTrait.php">
- <InternalMethod>
- <code><![CDATA[upload]]></code>
- </InternalMethod>
- <UndefinedFunction>
- <code><![CDATA[\Aws\serialize($command)]]></code>
- </UndefinedFunction>
- </file>
- <file src="lib/private/Files/Storage/Common.php">
- <InvalidOperand>
- <code><![CDATA[!$permissions]]></code>
- <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file)]]></code>
- </InvalidOperand>
- </file>
- <file src="lib/private/Files/Storage/DAV.php">
- <InvalidClass>
- <code><![CDATA[ArrayCache]]></code>
- <code><![CDATA[ArrayCache]]></code>
- </InvalidClass>
- <InvalidReturnStatement>
- <code><![CDATA[$response->getBody()]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[fopen]]></code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Storage/Local.php">
- <TypeDoesNotContainNull>
- <code><![CDATA[$space === false || is_null($space)]]></code>
- <code><![CDATA[is_null($space)]]></code>
- </TypeDoesNotContainNull>
- <TypeDoesNotContainType>
- <code><![CDATA[$stat === false]]></code>
- </TypeDoesNotContainType>
- </file>
- <file src="lib/private/Files/Storage/LocalRootStorage.php">
- <NoInterfaceProperties>
- <code><![CDATA[$storage->scanner]]></code>
- <code><![CDATA[$storage->scanner]]></code>
- </NoInterfaceProperties>
- </file>
- <file src="lib/private/Files/Storage/Wrapper/Encoding.php">
- <InvalidArgument>
- <code><![CDATA[\Normalizer::FORM_C]]></code>
- <code><![CDATA[\Normalizer::FORM_C]]></code>
- <code><![CDATA[\Normalizer::FORM_D]]></code>
- </InvalidArgument>
- <UndefinedInterfaceMethod>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- <code><![CDATA[$this->namesCache]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Files/Storage/Wrapper/Encryption.php">
- <InvalidOperand>
- <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename)]]></code>
- </InvalidOperand>
- <InvalidReturnStatement>
- <code><![CDATA[$result]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[int]]></code>
- </InvalidReturnType>
- <InvalidScalarArgument>
- <code><![CDATA[$lastChunkPos]]></code>
- <code><![CDATA[$size]]></code>
- </InvalidScalarArgument>
- </file>
- <file src="lib/private/Files/Stream/SeekableHttpStream.php">
- <InvalidReturnType>
- <code><![CDATA[stream_close]]></code>
- <code><![CDATA[stream_flush]]></code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Template/TemplateManager.php">
- <RedundantCondition>
- <code><![CDATA[!$isDefaultTemplates]]></code>
- </RedundantCondition>
- </file>
- <file src="lib/private/Files/Type/Detection.php">
- <ParamNameMismatch>
- <code><![CDATA[$mimetype]]></code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Files/Utils/Scanner.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$mounts]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Files/View.php">
- <InvalidScalarArgument>
- <code><![CDATA[$mtime]]></code>
- </InvalidScalarArgument>
- <UndefinedInterfaceMethod>
- <code><![CDATA[acquireLock]]></code>
- <code><![CDATA[changeLock]]></code>
- <code><![CDATA[releaseLock]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/FullTextSearch/Model/IndexDocument.php">
- <TypeDoesNotContainNull>
- <code><![CDATA[is_null($this->getContent())]]></code>
- </TypeDoesNotContainNull>
- </file>
- <file src="lib/private/Group/Group.php">
- <InvalidArgument>
- <code><![CDATA[bool]]></code>
- </InvalidArgument>
- <InvalidOperand>
- <code><![CDATA[$hide]]></code>
- </InvalidOperand>
- <LessSpecificReturnStatement>
- <code><![CDATA[$users]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[\OC\User\User[]]]></code>
- </MoreSpecificReturnType>
- <RedundantCondition>
- <code><![CDATA[$this->emitter]]></code>
- <code><![CDATA[$this->emitter]]></code>
- <code><![CDATA[$this->emitter]]></code>
- </RedundantCondition>
- <UndefinedMethod>
- <code><![CDATA[addToGroup]]></code>
- <code><![CDATA[countUsersInGroup]]></code>
- <code><![CDATA[deleteGroup]]></code>
- <code><![CDATA[removeFromGroup]]></code>
- </UndefinedMethod>
- </file>
- <file src="lib/private/Group/Manager.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$groups]]></code>
- <code><![CDATA[array_values($groups)]]></code>
- <code><![CDATA[array_values($groups)]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[\OC\Group\Group[]]]></code>
- <code><![CDATA[\OC\Group\Group[]]]></code>
- </MoreSpecificReturnType>
- <UndefinedInterfaceMethod>
- <code><![CDATA[createGroup]]></code>
- <code><![CDATA[getGroupDetails]]></code>
- <code><![CDATA[isAdmin]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Http/Client/Response.php">
- <InvalidNullableReturnType>
- <code><![CDATA[string|resource]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$this->stream ?
- $this->response->getBody()->detach():
- $this->response->getBody()->getContents()]]></code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/Installer.php">
- <InvalidArgument>
- <code><![CDATA[false]]></code>
- <code><![CDATA[false]]></code>
- </InvalidArgument>
- <NullArgument>
- <code><![CDATA[null]]></code>
- </NullArgument>
- </file>
- <file src="lib/private/IntegrityCheck/Checker.php">
- <InvalidArrayAccess>
- <code><![CDATA[$x509->getDN(X509::DN_OPENSSL)['CN']]]></code>
- <code><![CDATA[$x509->getDN(X509::DN_OPENSSL)['CN']]]></code>
- <code><![CDATA[$x509->getDN(true)['CN']]]></code>
- </InvalidArrayAccess>
- <UndefinedInterfaceMethod>
- <code><![CDATA[getOnlyDefaultAliases]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php">
- <MissingTemplateParam>
- <code><![CDATA[ExcludeFileByNameFilterIterator]]></code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/IntegrityCheck/Iterator/ExcludeFoldersByPathFilterIterator.php">
- <MissingTemplateParam>
- <code><![CDATA[ExcludeFoldersByPathFilterIterator]]></code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/L10N/Factory.php">
- <ImplementedReturnTypeMismatch>
- <code><![CDATA[null|string]]></code>
- </ImplementedReturnTypeMismatch>
- <LessSpecificImplementedReturnType>
- <code><![CDATA[array|mixed]]></code>
- </LessSpecificImplementedReturnType>
- </file>
- <file src="lib/private/LargeFileHelper.php">
- <InvalidOperand>
- <code><![CDATA[$matches[1]]]></code>
- </InvalidOperand>
- </file>
- <file src="lib/private/Lockdown/Filesystem/NullCache.php">
- <InvalidNullableReturnType>
- <code><![CDATA[get]]></code>
- </InvalidNullableReturnType>
- <InvalidReturnStatement>
- <code><![CDATA[[]]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[getIncomplete]]></code>
- </InvalidReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$file !== '' ? null :
- new CacheEntry([
- 'fileid' => -1,
- 'parent' => -1,
- 'name' => '',
- 'path' => '',
- 'size' => '0',
- 'mtime' => time(),
- 'storage_mtime' => time(),
- 'etag' => '',
- 'mimetype' => FileInfo::MIMETYPE_FOLDER,
- 'mimepart' => 'httpd',
- 'permissions' => Constants::PERMISSION_READ
- ])]]></code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/Lockdown/Filesystem/NullStorage.php">
- <TooManyArguments>
- <code><![CDATA[new IteratorDirectory([])]]></code>
- </TooManyArguments>
- </file>
- <file src="lib/private/Lockdown/LockdownManager.php">
- <InvalidFunctionCall>
- <code><![CDATA[$callback()]]></code>
- </InvalidFunctionCall>
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$sessionCallback]]></code>
- </InvalidPropertyAssignmentValue>
- </file>
- <file src="lib/private/Log/File.php">
- <TypeDoesNotContainNull>
- <code><![CDATA[$limit === null]]></code>
- </TypeDoesNotContainNull>
- </file>
- <file src="lib/private/Log/LogDetails.php">
- <RedundantCondition>
- <code><![CDATA[is_string($request->getMethod())]]></code>
- </RedundantCondition>
- </file>
- <file src="lib/private/Log/Systemdlog.php">
- <UndefinedFunction>
- <code><![CDATA[sd_journal_send('PRIORITY=' . $journal_level,
- 'SYSLOG_IDENTIFIER=' . $this->syslogId,
- 'MESSAGE=' . $this->logDetailsAsJSON($app, $message, $level))]]></code>
- </UndefinedFunction>
- </file>
- <file src="lib/private/Memcache/APCu.php">
- <InvalidReturnStatement>
- <code><![CDATA[apcu_add($this->getPrefix() . $key, $value, $ttl)]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[bool]]></code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Memcache/Cache.php">
- <LessSpecificImplementedReturnType>
- <code><![CDATA[mixed]]></code>
- <code><![CDATA[mixed]]></code>
- <code><![CDATA[mixed]]></code>
- <code><![CDATA[mixed]]></code>
- </LessSpecificImplementedReturnType>
- </file>
- <file src="lib/private/Preview/BackgroundCleanupJob.php">
- <InvalidReturnStatement>
- <code><![CDATA[[]]]></code>
- </InvalidReturnStatement>
- </file>
- <file src="lib/private/Preview/Generator.php">
- <InvalidArgument>
- <code><![CDATA[$maxPreviewImage]]></code>
- </InvalidArgument>
- <LessSpecificReturnType>
- <code><![CDATA[null|string]]></code>
- </LessSpecificReturnType>
- <MismatchingDocblockParamType>
- <code><![CDATA[ISimpleFile]]></code>
- </MismatchingDocblockParamType>
- <UndefinedInterfaceMethod>
- <code><![CDATA[height]]></code>
- <code><![CDATA[height]]></code>
- <code><![CDATA[preciseResizeCopy]]></code>
- <code><![CDATA[resizeCopy]]></code>
- <code><![CDATA[valid]]></code>
- <code><![CDATA[width]]></code>
- <code><![CDATA[width]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Preview/ProviderV1Adapter.php">
- <InvalidReturnStatement>
- <code><![CDATA[$thumbnail === false ? null: $thumbnail]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[?IImage]]></code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/RedisFactory.php">
- <InvalidArgument>
- <code><![CDATA[\RedisCluster::OPT_SLAVE_FAILOVER]]></code>
- </InvalidArgument>
- </file>
- <file src="lib/private/Remote/Api/OCS.php">
- <ImplementedReturnTypeMismatch>
- <code><![CDATA[array]]></code>
- </ImplementedReturnTypeMismatch>
- </file>
- <file src="lib/private/Remote/Instance.php">
- <InvalidReturnStatement>
- <code><![CDATA[$request->getBody()]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[bool|string]]></code>
- </InvalidReturnType>
- <InvalidScalarArgument>
- <code><![CDATA[$response]]></code>
- </InvalidScalarArgument>
- </file>
- <file src="lib/private/Repair/Owncloud/CleanPreviews.php">
- <InvalidArgument>
- <code><![CDATA[false]]></code>
- </InvalidArgument>
- </file>
- <file src="lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php">
- <ParamNameMismatch>
- <code><![CDATA[$arguments]]></code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php">
- <ParamNameMismatch>
- <code><![CDATA[$arguments]]></code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Repair/RemoveLinkShares.php">
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$this->userToNotify]]></code>
- </InvalidPropertyAssignmentValue>
- </file>
- <file src="lib/private/Repair/RepairInvalidShares.php">
- <ParamNameMismatch>
- <code><![CDATA[$out]]></code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Repair/RepairMimeTypes.php">
- <ParamNameMismatch>
- <code><![CDATA[$out]]></code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Route/Router.php">
- <InvalidClass>
- <code><![CDATA[\OC_APP]]></code>
- </InvalidClass>
- <InvalidNullableReturnType>
- <code><![CDATA[string]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$this->collectionName]]></code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/Security/Bruteforce/Throttler.php">
- <NullArgument>
- <code><![CDATA[null]]></code>
- </NullArgument>
- </file>
- <file src="lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php">
- <NoInterfaceProperties>
- <code><![CDATA[$this->request->server]]></code>
- </NoInterfaceProperties>
- </file>
- <file src="lib/private/Security/CSRF/CsrfToken.php">
- <InvalidArgument>
- <code><![CDATA[\strlen($this->value)]]></code>
- </InvalidArgument>
- </file>
- <file src="lib/private/Security/Crypto.php">
- <InternalMethod>
- <code><![CDATA[decrypt]]></code>
- <code><![CDATA[encrypt]]></code>
- <code><![CDATA[setIV]]></code>
- <code><![CDATA[setIV]]></code>
- <code><![CDATA[setPassword]]></code>
- <code><![CDATA[setPassword]]></code>
- </InternalMethod>
- </file>
- <file src="lib/private/Server.php">
- <ImplementedReturnTypeMismatch>
- <code><![CDATA[\OCP\Calendar\Resource\IManager]]></code>
- <code><![CDATA[\OCP\Calendar\Room\IManager]]></code>
- <code><![CDATA[\OCP\Files\Folder|null]]></code>
- </ImplementedReturnTypeMismatch>
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->get(IFile::class)]]></code>
- <code><![CDATA[$this->get(IGroupManager::class)]]></code>
- <code><![CDATA[$this->get(INavigationManager::class)]]></code>
- <code><![CDATA[$this->get(IUserManager::class)]]></code>
- <code><![CDATA[$this->get(IUserSession::class)]]></code>
- <code><![CDATA[$this->get(\OCP\Encryption\IManager::class)]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[\OC\Encryption\File]]></code>
- <code><![CDATA[\OC\Encryption\Manager]]></code>
- <code><![CDATA[\OC\Group\Manager]]></code>
- <code><![CDATA[\OC\NavigationManager]]></code>
- <code><![CDATA[\OC\User\Manager]]></code>
- <code><![CDATA[\OC\User\Session]]></code>
- </MoreSpecificReturnType>
- <UndefinedDocblockClass>
- <code><![CDATA[\OC\OCSClient]]></code>
- </UndefinedDocblockClass>
- </file>
- <file src="lib/private/ServerContainer.php">
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$this->hasNoAppContainer]]></code>
- </InvalidPropertyAssignmentValue>
- <NoValue>
- <code><![CDATA[return $this->appContainers[$namespace];]]></code>
- </NoValue>
- </file>
- <file src="lib/private/Session/Internal.php">
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$value]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="lib/private/Session/Memory.php">
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$value]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="lib/private/Setup.php">
- <RedundantCondition>
- <code><![CDATA[$type === 'pdo']]></code>
- </RedundantCondition>
- <UndefinedVariable>
- <code><![CDATA[$vendor]]></code>
- </UndefinedVariable>
- </file>
- <file src="lib/private/Setup/AbstractDatabase.php">
- <TypeDoesNotContainType>
- <code><![CDATA[ctype_digit($this->dbPort)]]></code>
- </TypeDoesNotContainType>
- <UndefinedThisPropertyFetch>
- <code><![CDATA[$this->dbprettyname]]></code>
- <code><![CDATA[$this->dbprettyname]]></code>
- <code><![CDATA[$this->dbprettyname]]></code>
- <code><![CDATA[$this->dbprettyname]]></code>
- </UndefinedThisPropertyFetch>
- </file>
- <file src="lib/private/Share20/DefaultShareProvider.php">
- <InvalidArgument>
- <code><![CDATA[$share->getId()]]></code>
- <code><![CDATA[$share->getId()]]></code>
- <code><![CDATA[(int)$data['id']]]></code>
- </InvalidArgument>
- <TooManyArguments>
- <code><![CDATA[set]]></code>
- </TooManyArguments>
- <UndefinedInterfaceMethod>
- <code><![CDATA[getParent]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Share20/Manager.php">
- <InvalidArgument>
- <code><![CDATA[$id]]></code>
- </InvalidArgument>
- <TooManyArguments>
- <code><![CDATA[update]]></code>
- </TooManyArguments>
- <UndefinedClass>
- <code><![CDATA[\OCA\Circles\Api\v1\Circles]]></code>
- </UndefinedClass>
- <UndefinedInterfaceMethod>
- <code><![CDATA[getChildren]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Share20/ProviderFactory.php">
- <InvalidNullableReturnType>
- <code><![CDATA[FederatedShareProvider]]></code>
- <code><![CDATA[ShareByMailProvider]]></code>
- </InvalidNullableReturnType>
- <InvalidReturnStatement>
- <code><![CDATA[$provider]]></code>
- <code><![CDATA[$provider]]></code>
- <code><![CDATA[$this->shareByCircleProvider]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code><![CDATA[getProviderForType]]></code>
- </InvalidReturnType>
- <NullableReturnStatement>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- </NullableReturnStatement>
- <ParamNameMismatch>
- <code><![CDATA[$shareProviderClass]]></code>
- </ParamNameMismatch>
- <UndefinedClass>
- <code><![CDATA[\OCA\Circles\ShareByCircleProvider]]></code>
- </UndefinedClass>
- <UndefinedDocblockClass>
- <code><![CDATA[RoomShareProvider]]></code>
- <code><![CDATA[\OCA\Circles\ShareByCircleProvider]]></code>
- <code><![CDATA[\OCA\Talk\Share\RoomShareProvider]]></code>
- <code><![CDATA[private $roomShareProvider = null;]]></code>
- <code><![CDATA[private $shareByCircleProvider = null;]]></code>
- </UndefinedDocblockClass>
- </file>
- <file src="lib/private/Share20/Share.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->node]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[getNode]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Streamer.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[get]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/SubAdmin.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[listen]]></code>
- <code><![CDATA[listen]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Support/Subscription/Registry.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[getSupportedApps]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/TagManager.php">
- <InvalidNullableReturnType>
- <code><![CDATA[\OCP\ITags]]></code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[null]]></code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/Tags.php">
- <InvalidScalarArgument>
- <code><![CDATA[$from]]></code>
- <code><![CDATA[$names]]></code>
- </InvalidScalarArgument>
- <MoreSpecificImplementedParamType>
- <code><![CDATA[$tag]]></code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="lib/private/TempManager.php">
- <FalsableReturnStatement>
- <code><![CDATA[false]]></code>
- <code><![CDATA[false]]></code>
- </FalsableReturnStatement>
- </file>
- <file src="lib/private/Template/CSSResourceLocator.php">
- <ParamNameMismatch>
- <code><![CDATA[$style]]></code>
- <code><![CDATA[$style]]></code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Template/JSConfigHelper.php">
- <NullArgument>
- <code><![CDATA[null]]></code>
- <code><![CDATA[null]]></code>
- </NullArgument>
- </file>
- <file src="lib/private/Template/JSResourceLocator.php">
- <InvalidArgument>
- <code><![CDATA[false]]></code>
- </InvalidArgument>
- <ParamNameMismatch>
- <code><![CDATA[$script]]></code>
- <code><![CDATA[$script]]></code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/TemplateLayout.php">
- <InvalidParamDefault>
- <code><![CDATA[string]]></code>
- <code><![CDATA[string]]></code>
- </InvalidParamDefault>
- <InvalidScalarArgument>
- <code><![CDATA[$appId]]></code>
- </InvalidScalarArgument>
- </file>
- <file src="lib/private/URLGenerator.php">
- <InvalidReturnStatement>
- <code><![CDATA[$path]]></code>
- </InvalidReturnStatement>
- </file>
- <file src="lib/private/User/Database.php">
- <FalsableReturnStatement>
- <code><![CDATA[false]]></code>
- </FalsableReturnStatement>
- </file>
- <file src="lib/private/User/Manager.php">
- <ImplementedReturnTypeMismatch>
- <code><![CDATA[IUser|false]]></code>
- </ImplementedReturnTypeMismatch>
- <InvalidArgument>
- <code><![CDATA[$backend]]></code>
- </InvalidArgument>
- <UndefinedInterfaceMethod>
- <code><![CDATA[createUser]]></code>
- <code><![CDATA[getUsersForUserValueCaseInsensitive]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/User/Session.php">
- <ImplementedReturnTypeMismatch>
- <code><![CDATA[boolean|null]]></code>
- </ImplementedReturnTypeMismatch>
- <NoInterfaceProperties>
- <code><![CDATA[$request->server]]></code>
- <code><![CDATA[$request->server]]></code>
- </NoInterfaceProperties>
- <RedundantCondition>
- <code><![CDATA[$this->manager instanceof PublicEmitter]]></code>
- </RedundantCondition>
- </file>
- <file src="lib/private/User/User.php">
- <UndefinedInterfaceMethod>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- <code><![CDATA[emit]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/legacy/OC_App.php">
- <InvalidArgument>
- <code><![CDATA[$groupsList]]></code>
- </InvalidArgument>
- <NullArgument>
- <code><![CDATA[null]]></code>
- </NullArgument>
- </file>
- <file src="lib/private/legacy/OC_Helper.php">
- <InvalidArrayOffset>
- <code><![CDATA[$matches[0][$last_match]]]></code>
- <code><![CDATA[$matches[1][$last_match]]]></code>
- </InvalidArrayOffset>
- <InvalidScalarArgument>
- <code><![CDATA[$path]]></code>
- </InvalidScalarArgument>
- <UndefinedInterfaceMethod>
- <code><![CDATA[getQuota]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/legacy/OC_Template.php">
- <InvalidReturnType>
- <code><![CDATA[bool|string]]></code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/legacy/OC_User.php">
- <UndefinedClass>
- <code><![CDATA[\Test\Util\User\Dummy]]></code>
- </UndefinedClass>
- </file>
- <file src="lib/private/legacy/OC_Util.php">
- <InvalidReturnType>
- <code><![CDATA[void]]></code>
- </InvalidReturnType>
- </file>
- <file src="lib/public/AppFramework/ApiController.php">
- <NoInterfaceProperties>
- <code><![CDATA[$this->request->server]]></code>
- </NoInterfaceProperties>
- </file>
- <file src="lib/public/AppFramework/App.php">
- <InternalMethod>
- <code><![CDATA[new RouteConfig($this->container, $router, $routes)]]></code>
- </InternalMethod>
- </file>
- <file src="lib/public/AppFramework/Http/Response.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[array_merge($mergeWith, $this->headers)]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[array{X-Request-Id: string, Cache-Control: string, Content-Security-Policy: string, Feature-Policy: string, X-Robots-Tag: string, Last-Modified?: string, ETag?: string, ...H}]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/public/Color.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$step]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[array{0: int, 1: int, 2: int}]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/public/Diagnostics/IQueryLogger.php">
- <LessSpecificImplementedReturnType>
- <code><![CDATA[mixed]]></code>
- </LessSpecificImplementedReturnType>
- </file>
- <file src="lib/public/EventDispatcher/GenericEvent.php">
- <MissingTemplateParam>
- <code><![CDATA[ArrayAccess]]></code>
- <code><![CDATA[IteratorAggregate]]></code>
- </MissingTemplateParam>
- </file>
- <file src="lib/public/Files.php">
- <FalsableReturnStatement>
- <code><![CDATA[\OC_App::getStorage($app)]]></code>
- </FalsableReturnStatement>
- </file>
- <file src="lib/public/L10N/ILanguageIterator.php">
- <MissingTemplateParam>
- <code><![CDATA[\Iterator]]></code>
- </MissingTemplateParam>
- </file>
- <file src="lib/public/Preview/BeforePreviewFetchedEvent.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->mode]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[null|IPreview::MODE_FILL|IPreview::MODE_COVER]]></code>
- </MoreSpecificReturnType>
- </file>
- </files>
|