123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751 |
- <?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">
- <NoInterfaceProperties>
- <code><![CDATA[$this->request->method]]></code>
- </NoInterfaceProperties>
- <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/Updater.php">
- <RedundantCondition>
- <code><![CDATA[$this->cache instanceof Cache]]></code>
- </RedundantCondition>
- </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>
|