123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588 |
- <?xml version="1.0" encoding="UTF-8"?>
- <files psalm-version="5.9.0@8b9ad1eb9e8b7d3101f949291da2b9f7767cd163">
- <file src="3rdparty/sabre/dav/lib/CalDAV/Calendar.php">
- <MoreSpecificImplementedParamType>
- <code>$data</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php">
- <MoreSpecificImplementedParamType>
- <code>$data</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="3rdparty/sabre/dav/lib/CalDAV/Principal/User.php">
- <MoreSpecificImplementedParamType>
- <code>$data</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBook.php">
- <MoreSpecificImplementedParamType>
- <code>$data</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBookHome.php">
- <InvalidPropertyAssignmentValue>
- <code>$principalUri</code>
- </InvalidPropertyAssignmentValue>
- <MoreSpecificImplementedParamType>
- <code>$data</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="3rdparty/sabre/dav/lib/CardDAV/Card.php">
- <MoreSpecificImplementedParamType>
- <code>$cardData</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="3rdparty/sabre/dav/lib/DAVACL/AbstractPrincipalCollection.php">
- <LessSpecificImplementedReturnType>
- <code>array</code>
- </LessSpecificImplementedReturnType>
- </file>
- <file src="apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/comments/lib/Listener/CommentsEntityEventListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/comments/lib/Listener/LoadAdditionalScripts.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/comments/lib/Listener/LoadSidebarScripts.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/comments/lib/Notification/Listener.php">
- <LessSpecificReturnStatement>
- <code>$uids</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[list<string>]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/dav/appinfo/v1/caldav.php">
- <UndefinedGlobalVariable>
- <code>$baseuri</code>
- </UndefinedGlobalVariable>
- </file>
- <file src="apps/dav/appinfo/v1/carddav.php">
- <UndefinedGlobalVariable>
- <code>$baseuri</code>
- </UndefinedGlobalVariable>
- </file>
- <file src="apps/dav/appinfo/v1/publicwebdav.php">
- <InternalMethod>
- <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog)</code>
- <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code>
- </InternalMethod>
- <UndefinedGlobalVariable>
- <code>$baseuri</code>
- </UndefinedGlobalVariable>
- </file>
- <file src="apps/dav/appinfo/v1/webdav.php">
- <UndefinedGlobalVariable>
- <code>$baseuri</code>
- </UndefinedGlobalVariable>
- </file>
- <file src="apps/dav/appinfo/v2/direct.php">
- <UndefinedGlobalVariable>
- <code>$baseuri</code>
- </UndefinedGlobalVariable>
- </file>
- <file src="apps/dav/appinfo/v2/remote.php">
- <UndefinedGlobalVariable>
- <code>$baseuri</code>
- </UndefinedGlobalVariable>
- </file>
- <file src="apps/dav/lib/CalDAV/BirthdayService.php">
- <UndefinedMethod>
- <code>setDateTime</code>
- <code>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>$calendarData</code>
- <code>$calendarData</code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/CalDAV/CalDavBackend.php">
- <InvalidNullableReturnType>
- <code>array</code>
- <code>array</code>
- </InvalidNullableReturnType>
- <LessSpecificReturnStatement>
- <code>Reader::read($objectData)</code>
- </LessSpecificReturnStatement>
- <MoreSpecificImplementedParamType>
- <code>$objectData</code>
- <code>$uris</code>
- <code>$uris</code>
- </MoreSpecificImplementedParamType>
- <MoreSpecificReturnType>
- <code>VCalendar</code>
- </MoreSpecificReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$this->atomic(function () use ($calendarId, $syncToken, $syncLevel, $limit, $calendarType, $table) {
- // Current synctoken
- $qb = $this->db->getQueryBuilder();
- $qb->select('synctoken')
- ->from($table)
- ->where(
- $qb->expr()->eq('id', $qb->createNamedParameter($calendarId))
- );
- $stmt = $qb->executeQuery();
- $currentToken = $stmt->fetchOne();
- if ($currentToken === false) {
- return null;
- }
- $result = [
- 'syncToken' => $currentToken,
- 'added' => [],
- 'modified' => [],
- 'deleted' => [],
- ];
- if ($syncToken) {
- $qb = $this->db->getQueryBuilder();
- $qb->select('uri', 'operation')
- ->from('calendarchanges')
- ->where(
- $qb->expr()->andX(
- $qb->expr()->gte('synctoken', $qb->createNamedParameter($syncToken)),
- $qb->expr()->lt('synctoken', $qb->createNamedParameter($currentToken)),
- $qb->expr()->eq('calendarid', $qb->createNamedParameter($calendarId)),
- $qb->expr()->eq('calendartype', $qb->createNamedParameter($calendarType))
- )
- )->orderBy('synctoken');
- if (is_int($limit) && $limit > 0) {
- $qb->setMaxResults($limit);
- }
- // Fetching all changes
- $stmt = $qb->executeQuery();
- $changes = [];
- // This loop ensures that any duplicates are overwritten, only the
- // last change on a node is relevant.
- while ($row = $stmt->fetch()) {
- $changes[$row['uri']] = $row['operation'];
- }
- $stmt->closeCursor();
- foreach ($changes as $uri => $operation) {
- switch ($operation) {
- case 1:
- $result['added'][] = $uri;
- break;
- case 2:
- $result['modified'][] = $uri;
- break;
- case 3:
- $result['deleted'][] = $uri;
- break;
- }
- }
- } else {
- // No synctoken supplied, this is the initial sync.
- $qb = $this->db->getQueryBuilder();
- $qb->select('uri')
- ->from('calendarobjects')
- ->where(
- $qb->expr()->andX(
- $qb->expr()->eq('calendarid', $qb->createNamedParameter($calendarId)),
- $qb->expr()->eq('calendartype', $qb->createNamedParameter($calendarType))
- )
- );
- $stmt = $qb->executeQuery();
- $result['added'] = $stmt->fetchAll(\PDO::FETCH_COLUMN);
- $stmt->closeCursor();
- }
- return $result;
- }, $this->db)]]></code>
- <code>null</code>
- </NullableReturnStatement>
- </file>
- <file src="apps/dav/lib/CalDAV/CalendarHome.php">
- <InvalidNullableReturnType>
- <code>INode</code>
- </InvalidNullableReturnType>
- <LessSpecificImplementedReturnType>
- <code>INode</code>
- </LessSpecificImplementedReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$calendarPlugin->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri)]]></code>
- </NullableReturnStatement>
- <UndefinedInterfaceMethod>
- <code>calendarSearch</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/dav/lib/CalDAV/CalendarRoot.php">
- <ParamNameMismatch>
- <code>$principal</code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/CalDAV/Plugin.php">
- <ImplementedReturnTypeMismatch>
- <code>string|null</code>
- </ImplementedReturnTypeMismatch>
- </file>
- <file src="apps/dav/lib/CalDAV/Principal/Collection.php">
- <ParamNameMismatch>
- <code>$principalInfo</code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/CalDAV/PublicCalendar.php">
- <MoreSpecificImplementedParamType>
- <code>$paths</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$vevent->DTEND]]></code>
- </LessSpecificReturnStatement>
- <UndefinedMethod>
- <code>hasTime</code>
- <code>isFloating</code>
- <code>isFloating</code>
- </UndefinedMethod>
- </file>
- <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php">
- <LessSpecificReturnStatement>
- <code>$emailAddresses</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[array<string, array{LANG?: string}>]]></code>
- </MoreSpecificReturnType>
- <UndefinedMethod>
- <code>getDateTime</code>
- <code>getDateTime</code>
- <code>isFloating</code>
- </UndefinedMethod>
- </file>
- <file src="apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php">
- <UndefinedConstant>
- <code>$provider::NOTIFICATION_TYPE</code>
- </UndefinedConstant>
- </file>
- <file src="apps/dav/lib/CalDAV/Reminder/Notifier.php">
- <TypeDoesNotContainType>
- <code>$diff === false</code>
- </TypeDoesNotContainType>
- </file>
- <file src="apps/dav/lib/CalDAV/Reminder/ReminderService.php">
- <LessSpecificReturnStatement>
- <code>$vevents</code>
- <code>VObject\Reader::read($calendarData,
- VObject\Reader::OPTION_FORGIVING)</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>VObject\Component\VCalendar|null</code>
- <code>VObject\Component\VEvent[]</code>
- </MoreSpecificReturnType>
- <UndefinedMethod>
- <code>getDateTime</code>
- <code>getDateTime</code>
- </UndefinedMethod>
- <UndefinedPropertyFetch>
- <code><![CDATA[$valarm->parent->UID]]></code>
- </UndefinedPropertyFetch>
- </file>
- <file src="apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php">
- <InvalidNullableReturnType>
- <code>array</code>
- </InvalidNullableReturnType>
- <InvalidReturnStatement>
- <code>$principals</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>string[]</code>
- </InvalidReturnType>
- <NullableReturnStatement>
- <code>null</code>
- <code>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>getNormalizedValue</code>
- <code>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>get</code>
- <code>getChildren</code>
- </UndefinedInterfaceMethod>
- <UndefinedMethod>
- <code>getDateTime</code>
- <code>hasTime</code>
- <code>isFloating</code>
- <code>isFloating</code>
- <code>principalSearch</code>
- </UndefinedMethod>
- </file>
- <file src="apps/dav/lib/CalDAV/Search/SearchPlugin.php">
- <InvalidNullableReturnType>
- <code>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>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>$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>Reader::read($cardData)</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>VCard</code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/dav/lib/CardDAV/AddressBookRoot.php">
- <ParamNameMismatch>
- <code>$principal</code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/CardDAV/CardDavBackend.php">
- <FalsableReturnStatement>
- <code>false</code>
- </FalsableReturnStatement>
- <LessSpecificReturnStatement>
- <code>Reader::read($cardData)</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>VCard</code>
- </MoreSpecificReturnType>
- <TypeDoesNotContainType>
- <code><![CDATA[$addressBooks[$row['id']][$readOnlyPropertyName] === 0]]></code>
- </TypeDoesNotContainType>
- </file>
- <file src="apps/dav/lib/CardDAV/MultiGetExportPlugin.php">
- <InvalidNullableReturnType>
- <code>bool</code>
- </InvalidNullableReturnType>
- </file>
- <file src="apps/dav/lib/CardDAV/PhotoCache.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[[
- 'Content-Type' => $type,
- 'body' => $val
- ]]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>false|array{body: string, Content-Type: string}</code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/dav/lib/CardDAV/Plugin.php">
- <ImplementedReturnTypeMismatch>
- <code>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/CardDAV/Xml/Groups.php">
- <InvalidPropertyAssignmentValue>
- <code>$groups</code>
- </InvalidPropertyAssignmentValue>
- </file>
- <file src="apps/dav/lib/Comments/CommentsPlugin.php">
- <UndefinedFunction>
- <code>\Sabre\HTTP\toDate($value)</code>
- </UndefinedFunction>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php">
- <InvalidNullableReturnType>
- <code>bool</code>
- </InvalidNullableReturnType>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/Auth.php">
- <LessSpecificReturnStatement>
- <code>$data</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>array{bool, string}</code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/BearerAuth.php">
- <UndefinedInterfaceMethod>
- <code>tryTokenLogin</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/Directory.php">
- <InvalidPropertyAssignmentValue>
- <code>$nodes</code>
- </InvalidPropertyAssignmentValue>
- <InvalidReturnStatement>
- <code><![CDATA[$this->dirContent]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>\Sabre\DAV\INode[]</code>
- </InvalidReturnType>
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->node]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>Folder</code>
- </MoreSpecificReturnType>
- <NullArgument>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- </NullArgument>
- <ParamNameMismatch>
- <code>$fullSourcePath</code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/File.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->node]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificImplementedParamType>
- <code>$data</code>
- </MoreSpecificImplementedParamType>
- <MoreSpecificReturnType>
- <code>\OCP\Files\File</code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/FilesReportPlugin.php">
- <InvalidArgument>
- <code>0</code>
- </InvalidArgument>
- <InvalidNullableReturnType>
- <code>bool</code>
- </InvalidNullableReturnType>
- <TooManyArguments>
- <code><![CDATA[new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)]]></code>
- </TooManyArguments>
- <UndefinedClass>
- <code>\OCA\Circles\Api\v1\Circles</code>
- </UndefinedClass>
- <UndefinedInterfaceMethod>
- <code>getById</code>
- <code>getPath</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/Node.php">
- <InvalidNullableReturnType>
- <code>int</code>
- <code>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>array</code>
- </InvalidNullableReturnType>
- <InvalidReturnStatement>
- <code>$principals</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>string[]</code>
- </InvalidReturnType>
- <InvalidScalarArgument>
- <code>$results</code>
- </InvalidScalarArgument>
- <NullableReturnStatement>
- <code><![CDATA[$this->circleToPrincipal($decodedName)
- ?: $this->circleToPrincipal($name)]]></code>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- </NullableReturnStatement>
- <UndefinedClass>
- <code>\OCA\Circles\Api\v1\Circles</code>
- <code>\OCA\Circles\Api\v1\Circles</code>
- </UndefinedClass>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/QuotaPlugin.php">
- <UndefinedInterfaceMethod>
- <code>getPath</code>
- <code>getPath</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/ServerFactory.php">
- <TooManyArguments>
- <code>new \OCA\DAV\Connector\Sabre\QuotaPlugin($view, true)</code>
- </TooManyArguments>
- </file>
- <file src="apps/dav/lib/Connector/Sabre/ShareTypeList.php">
- <InvalidArgument>
- <code>$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>null</code>
- </NullableReturnStatement>
- <UndefinedInterfaceMethod>
- <code>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>$whereValues</code>
- </InvalidArgument>
- </file>
- <file src="apps/dav/lib/DAV/GroupPrincipalBackend.php">
- <InvalidNullableReturnType>
- <code>array</code>
- <code>string</code>
- </InvalidNullableReturnType>
- <InvalidReturnStatement>
- <code>$principals</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>string[]</code>
- </InvalidReturnType>
- <MoreSpecificImplementedParamType>
- <code>$members</code>
- </MoreSpecificImplementedParamType>
- <NullableReturnStatement>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- </NullableReturnStatement>
- </file>
- <file src="apps/dav/lib/DAV/SystemPrincipalBackend.php">
- <InvalidNullableReturnType>
- <code>array</code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code>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>$value</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>?string</code>
- </InvalidReturnType>
- <ParamNameMismatch>
- <code>$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>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/Listener/ActivityUpdaterListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/dav/lib/Listener/AddressbookListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/dav/lib/Listener/BirthdayListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/dav/lib/Listener/CalendarContactInteractionListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/dav/lib/Listener/CalendarObjectReminderUpdaterListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/dav/lib/Listener/CalendarPublicationListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/dav/lib/Listener/CalendarShareUpdateListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/dav/lib/Listener/CardListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/dav/lib/Listener/ClearPhotoCacheListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/dav/lib/Listener/SubscriptionListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/dav/lib/Listener/TrustedServerRemovedListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/dav/lib/Listener/UserPreferenceListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php">
- <ParamNameMismatch>
- <code>$arguments</code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php">
- <ParamNameMismatch>
- <code>$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>string</code>
- </InvalidReturnType>
- <UndefinedMethod>
- <code>getDateTime</code>
- <code>getDateTime</code>
- <code>hasTime</code>
- <code>isFloating</code>
- <code>isFloating</code>
- </UndefinedMethod>
- </file>
- <file src="apps/dav/lib/Search/TasksSearchProvider.php">
- <InvalidOperand>
- <code><![CDATA[$query->getCursor()]]></code>
- </InvalidOperand>
- <UndefinedMethod>
- <code>getDateTime</code>
- <code>getDateTime</code>
- <code>hasTime</code>
- </UndefinedMethod>
- </file>
- <file src="apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php">
- <ParamNameMismatch>
- <code>$tagId</code>
- <code>$tagName</code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php">
- <ParamNameMismatch>
- <code>$objectName</code>
- </ParamNameMismatch>
- </file>
- <file src="apps/dav/lib/Traits/PrincipalProxyTrait.php">
- <MoreSpecificImplementedParamType>
- <code>$members</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="apps/dav/lib/Upload/AssemblyStream.php">
- <FalsableReturnStatement>
- <code>false</code>
- </FalsableReturnStatement>
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$this->currentStream]]></code>
- </InvalidPropertyAssignmentValue>
- <InvalidReturnStatement>
- <code>$context</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>array</code>
- </InvalidReturnType>
- <RedundantFunctionCall>
- <code>array_values</code>
- </RedundantFunctionCall>
- </file>
- <file src="apps/dav/lib/Upload/ChunkingV2Plugin.php">
- <UndefinedInterfaceMethod>
- <code>getId</code>
- <code>getId</code>
- <code>getId</code>
- <code>getInternalPath</code>
- <code>getNode</code>
- <code>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>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>$position</code>
- </ImplementedParamTypeMismatch>
- </file>
- <file src="apps/encryption/lib/KeyManager.php">
- <InvalidThrow>
- <code>throw $exception;</code>
- </InvalidThrow>
- </file>
- <file src="apps/encryption/lib/Session.php">
- <TooManyArguments>
- <code><![CDATA[new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0)]]></code>
- </TooManyArguments>
- </file>
- <file src="apps/encryption/lib/Util.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->files->getMount($path)->getStorage()]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>\OC\Files\Storage\Storage|null</code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/federatedfilesharing/lib/Controller/RequestHandlerController.php">
- <InvalidArgument>
- <code>$id</code>
- <code>$id</code>
- <code>$id</code>
- <code>$id</code>
- <code>$id</code>
- <code>$id</code>
- <code>$remoteId</code>
- </InvalidArgument>
- </file>
- <file src="apps/federatedfilesharing/lib/FederatedShareProvider.php">
- <InvalidArgument>
- <code>$shareId</code>
- <code>$shareId</code>
- <code>$shareId</code>
- <code>$shareId</code>
- <code><![CDATA[(int)$data['id']]]></code>
- </InvalidArgument>
- <LessSpecificReturnStatement>
- <code>$nodes[0]</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>\OCP\Files\File|\OCP\Files\Folder</code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/federatedfilesharing/lib/Listeners/LoadAdditionalScriptsListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/federatedfilesharing/lib/Notifications.php">
- <InvalidReturnType>
- <code>bool</code>
- <code>bool</code>
- <code>bool</code>
- </InvalidReturnType>
- </file>
- <file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php">
- <InvalidArgument>
- <code>$id</code>
- <code>$id</code>
- <code>$id</code>
- <code>$id</code>
- </InvalidArgument>
- <InvalidReturnStatement>
- <code>$shareId</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>string</code>
- </InvalidReturnType>
- <InvalidScalarArgument>
- <code><![CDATA[(int)$share['id']]]></code>
- </InvalidScalarArgument>
- </file>
- <file src="apps/federation/lib/DbHandler.php">
- <LessSpecificReturnStatement>
- <code>$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/federation/lib/Listener/SabrePluginAuthInitListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/federation/lib/TrustedServers.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->dbHandler->getAllServer()]]></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/ajax/download.php">
- <InvalidArgument>
- <code>$files_list</code>
- </InvalidArgument>
- </file>
- <file src="apps/files/lib/Activity/Provider.php">
- <FalsableReturnStatement>
- <code><![CDATA[$this->fileEncrypted[$fileId]]]></code>
- </FalsableReturnStatement>
- <LessSpecificReturnStatement>
- <code>$folder</code>
- <code><![CDATA[$this->fileEncrypted[$fileId]]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>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>null</code>
- <code>null</code>
- </NullArgument>
- </file>
- <file src="apps/files/lib/Controller/DirectEditingController.php">
- <InvalidArgument>
- <code>$templateId</code>
- </InvalidArgument>
- <UndefinedInterfaceMethod>
- <code>getTemplates</code>
- <code>open</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/files/lib/Helper.php">
- <UndefinedInterfaceMethod>
- <code>$file</code>
- <code>$i</code>
- <code>$i</code>
- <code>$i</code>
- <code>$i</code>
- <code>$i</code>
- <code>$i</code>
- <code>$i</code>
- <code>$i</code>
- <code>$i</code>
- <code>$i</code>
- <code>$i</code>
- <code>$i</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/files/lib/Listener/LoadSidebarListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/files/lib/Listener/RenderReferenceEventListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/files/lib/Service/OwnershipTransferService.php">
- <UndefinedInterfaceMethod>
- <code>isReadyForUser</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/files_external/appinfo/routes.php">
- <InvalidScope>
- <code>$this</code>
- </InvalidScope>
- </file>
- <file src="apps/files_external/lib/Controller/StoragesController.php">
- <RedundantCast>
- <code><![CDATA[(int)$e->getCode()]]></code>
- <code>(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>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>filetype</code>
- <code>fopen</code>
- </InvalidNullableReturnType>
- </file>
- <file src="apps/files_external/lib/Listener/GroupDeletedListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/files_external/lib/Listener/StorePasswordListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/files_external/lib/Listener/UserDeletedListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/files_external/lib/Migration/DummyUserSession.php">
- <InvalidReturnType>
- <code>login</code>
- </InvalidReturnType>
- </file>
- <file src="apps/files_external/lib/MountConfig.php">
- <InternalMethod>
- <code>decrypt</code>
- <code>encrypt</code>
- <code>setIV</code>
- <code>setIV</code>
- <code>setKey</code>
- </InternalMethod>
- <TooManyArguments>
- <code>test</code>
- </TooManyArguments>
- </file>
- <file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
- <RedundantCast>
- <code>(int)$code</code>
- <code>(int)$code</code>
- </RedundantCast>
- <UndefinedClass>
- <code>\OCA\Circles\Api\v1\Circles</code>
- <code>\OCA\Circles\Api\v1\Circles</code>
- </UndefinedClass>
- <UndefinedDocblockClass>
- <code><![CDATA[$this->getRoomShareHelper()]]></code>
- <code><![CDATA[$this->getRoomShareHelper()]]></code>
- <code><![CDATA[$this->getRoomShareHelper()]]></code>
- <code>\OCA\Talk\Share\Helper\ShareAPIController</code>
- </UndefinedDocblockClass>
- </file>
- <file src="apps/files_sharing/lib/Controller/ShareController.php">
- <InvalidArgument>
- <code>$files_list</code>
- </InvalidArgument>
- </file>
- <file src="apps/files_sharing/lib/External/Manager.php">
- <LessSpecificReturnStatement>
- <code>$mount</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>Mount</code>
- </MoreSpecificReturnType>
- </file>
- <file src="apps/files_sharing/lib/External/Scanner.php">
- <MoreSpecificImplementedParamType>
- <code>$cacheData</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="apps/files_sharing/lib/Listener/LoadAdditionalListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/files_sharing/lib/Listener/ShareInteractionListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/files_sharing/lib/Listener/UserAddedToGroupListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/files_sharing/lib/Listener/UserShareAcceptanceListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </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>array_values</code>
- </RedundantFunctionCall>
- </file>
- <file src="apps/files_sharing/lib/ShareBackend/File.php">
- <InvalidArgument>
- <code>$itemSource</code>
- <code>$itemSource</code>
- </InvalidArgument>
- <MoreSpecificImplementedParamType>
- <code>$shareWith</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="apps/files_sharing/lib/ShareBackend/Folder.php">
- <UndefinedInterfaceMethod>
- <code>fetchRow</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/files_sharing/lib/SharedMount.php">
- <InvalidReturnType>
- <code>bool</code>
- </InvalidReturnType>
- </file>
- <file src="apps/files_sharing/lib/SharedStorage.php">
- <FalsableReturnStatement>
- <code><![CDATA[$this->sourceRootInfo]]></code>
- </FalsableReturnStatement>
- <InvalidNullableReturnType>
- <code>ICacheEntry</code>
- </InvalidNullableReturnType>
- <InvalidReturnStatement>
- <code>new FailedCache()</code>
- </InvalidReturnStatement>
- <NullableReturnStatement>
- <code><![CDATA[$this->sourceRootInfo]]></code>
- </NullableReturnStatement>
- </file>
- <file src="apps/files_sharing/lib/Updater.php">
- <UndefinedMethod>
- <code>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/Listeners/LoadAdditionalScripts.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/files_trashbin/lib/Sabre/AbstractTrash.php">
- <InvalidNullableReturnType>
- <code>int</code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$this->data->getId()]]></code>
- </NullableReturnStatement>
- </file>
- <file src="apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php">
- <InvalidReturnStatement>
- <code>$entry</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>ITrash</code>
- </InvalidReturnType>
- </file>
- <file src="apps/files_trashbin/lib/Sabre/RestoreFolder.php">
- <InvalidNullableReturnType>
- <code>getChild</code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code>null</code>
- </NullableReturnStatement>
- </file>
- <file src="apps/files_trashbin/lib/Sabre/RootCollection.php">
- <MismatchingDocblockReturnType>
- <code>INode</code>
- </MismatchingDocblockReturnType>
- </file>
- <file src="apps/files_trashbin/lib/Sabre/TrashRoot.php">
- <InvalidReturnStatement>
- <code>$entry</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>ITrash</code>
- </InvalidReturnType>
- </file>
- <file src="apps/files_trashbin/lib/Trash/LegacyTrashBackend.php">
- <RedundantCondition>
- <code>$trashFiles</code>
- </RedundantCondition>
- <TypeDoesNotContainType>
- <code>null</code>
- </TypeDoesNotContainType>
- <UndefinedInterfaceMethod>
- <code>$file</code>
- <code>getById</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/files_trashbin/lib/Trashbin.php">
- <FalsableReturnStatement>
- <code>false</code>
- </FalsableReturnStatement>
- <InvalidArgument>
- <code>$timestamp</code>
- </InvalidArgument>
- <InvalidScalarArgument>
- <code>$timestamp</code>
- </InvalidScalarArgument>
- </file>
- <file src="apps/files_versions/appinfo/routes.php">
- <InvalidScope>
- <code>$this</code>
- <code>$this</code>
- </InvalidScope>
- </file>
- <file src="apps/files_versions/lib/Listener/FileEventsListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/files_versions/lib/Listener/LoadAdditionalListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/files_versions/lib/Listener/LoadSidebarListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/files_versions/lib/Sabre/RestoreFolder.php">
- <InvalidNullableReturnType>
- <code>getChild</code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code>null</code>
- </NullableReturnStatement>
- </file>
- <file src="apps/files_versions/lib/Sabre/VersionHome.php">
- <InvalidNullableReturnType>
- <code>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>$groupid === null</code>
- <code>$groupid === null</code>
- </TypeDoesNotContainNull>
- </file>
- <file src="apps/provisioning_api/lib/Listener/UserDeletedListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php">
- <InvalidReturnType>
- <code>Response</code>
- </InvalidReturnType>
- </file>
- <file src="apps/settings/lib/AppInfo/Application.php">
- <UndefinedInterfaceMethod>
- <code>getSettingsManager</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/settings/lib/Controller/AppSettingsController.php">
- <UndefinedInterfaceMethod>
- <code>ignoreNextcloudRequirementForApp</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/Listener/GroupRemovedListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/settings/lib/Listener/UserAddedToGroupActivityListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/settings/lib/Listener/UserRemovedFromGroupActivityListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/settings/lib/Settings/Admin/Security.php">
- <UndefinedInterfaceMethod>
- <code>isReady</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/settings/lib/Settings/Admin/Sharing.php">
- <NullArgument>
- <code>null</code>
- </NullArgument>
- </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/Jobs/MigrateBackgroundImages.php">
- <OverriddenInterfaceConstant>
- <code>TIME_SENSITIVE</code>
- </OverriddenInterfaceConstant>
- </file>
- <file src="apps/theming/lib/Listener/BeforePreferenceListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/theming/lib/Listener/BeforeTemplateRenderedListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/theming/lib/Util.php">
- <InvalidReturnStatement>
- <code><![CDATA[array_values($color->getRgb())]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>array{0: int, 1: int, 2: int}</code>
- </InvalidReturnType>
- </file>
- <file src="apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/twofactor_backupcodes/lib/Listener/UserDeleted.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/updatenotification/lib/Notification/BackgroundJob.php">
- <InvalidArgument>
- <code>false</code>
- </InvalidArgument>
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$this->users]]></code>
- </InvalidPropertyAssignmentValue>
- </file>
- <file src="apps/user_ldap/ajax/getNewServerConfigPrefix.php">
- <InvalidScalarArgument>
- <code>$ln + 1</code>
- </InvalidScalarArgument>
- </file>
- <file src="apps/user_ldap/appinfo/routes.php">
- <InvalidScope>
- <code>$this</code>
- </InvalidScope>
- </file>
- <file src="apps/user_ldap/lib/Access.php">
- <InvalidReturnStatement>
- <code>$uuid</code>
- <code>$values</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>string[]</code>
- </InvalidReturnType>
- <RedundantCast>
- <code><![CDATA[(int)$e->getCode()]]></code>
- </RedundantCast>
- </file>
- <file src="apps/user_ldap/lib/Connection.php">
- <NoValue>
- <code>$subj</code>
- </NoValue>
- <ParadoxicalCondition>
- <code>default:
- $subj = $key;
- break;</code>
- </ParadoxicalCondition>
- </file>
- <file src="apps/user_ldap/lib/Group_LDAP.php">
- <InvalidScalarArgument>
- <code>$groupID</code>
- </InvalidScalarArgument>
- </file>
- <file src="apps/user_ldap/lib/Group_Proxy.php">
- <ParamNameMismatch>
- <code>$gid</code>
- </ParamNameMismatch>
- </file>
- <file src="apps/user_ldap/lib/Jobs/Sync.php">
- <InvalidOperand>
- <code>$i</code>
- </InvalidOperand>
- <NullArgument>
- <code>null</code>
- </NullArgument>
- </file>
- <file src="apps/user_ldap/lib/Mapping/AbstractMapping.php">
- <RedundantCondition>
- <code>isset($qb)</code>
- </RedundantCondition>
- <TypeDoesNotContainNull>
- <code>isset($qb)</code>
- </TypeDoesNotContainNull>
- </file>
- <file src="apps/user_ldap/lib/User/Manager.php">
- <InvalidDocblock>
- <code>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>null</code>
- </InvalidReturnType>
- <RedundantCondition>
- <code><![CDATA[$aQuota && (count($aQuota) > 0)]]></code>
- </RedundantCondition>
- </file>
- <file src="apps/user_ldap/lib/User_LDAP.php">
- <ImplementedReturnTypeMismatch>
- <code>string|false</code>
- </ImplementedReturnTypeMismatch>
- <MoreSpecificImplementedParamType>
- <code>$limit</code>
- <code>$offset</code>
- </MoreSpecificImplementedParamType>
- <NullableReturnStatement>
- <code>null</code>
- </NullableReturnStatement>
- <RedundantCondition>
- <code><![CDATA[$displayName && (count($displayName) > 0)]]></code>
- <code>is_string($dn)</code>
- </RedundantCondition>
- </file>
- <file src="apps/user_ldap/lib/User_Proxy.php">
- <ParamNameMismatch>
- <code>$uid</code>
- </ParamNameMismatch>
- </file>
- <file src="apps/user_ldap/lib/Wizard.php">
- <InvalidArrayOffset>
- <code>$possibleAttrs[$i]</code>
- </InvalidArrayOffset>
- </file>
- <file src="apps/user_status/lib/AppInfo/Application.php">
- <UndefinedInterfaceMethod>
- <code>registerProvider</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/user_status/lib/Listener/UserDeletedListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/user_status/lib/Listener/UserLiveStatusListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/workflowengine/lib/Check/AbstractStringCheck.php">
- <NullArgument>
- <code>null</code>
- </NullArgument>
- </file>
- <file src="apps/workflowengine/lib/Check/FileSize.php">
- <FalsableReturnStatement>
- <code><![CDATA[$this->size]]></code>
- </FalsableReturnStatement>
- <InvalidPropertyAssignmentValue>
- <code>$size</code>
- </InvalidPropertyAssignmentValue>
- <InvalidReturnStatement>
- <code><![CDATA[$this->size]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>string</code>
- </InvalidReturnType>
- </file>
- <file src="apps/workflowengine/lib/Check/RequestRemoteAddress.php">
- <InvalidArgument>
- <code>$decodedValue[1]</code>
- <code>$decodedValue[1]</code>
- <code>$decodedValue[1]</code>
- <code>$decodedValue[1]</code>
- </InvalidArgument>
- </file>
- <file src="apps/workflowengine/lib/Check/RequestTime.php">
- <InvalidScalarArgument>
- <code>$hour1</code>
- <code>$minute1</code>
- </InvalidScalarArgument>
- </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>string</code>
- </InvalidReturnType>
- </file>
- <file src="apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="apps/workflowengine/lib/Manager.php">
- <InvalidArgument>
- <code>$missingCheck</code>
- </InvalidArgument>
- <InvalidOperand>
- <code>$result</code>
- </InvalidOperand>
- <InvalidReturnStatement>
- <code>$result</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>bool</code>
- </InvalidReturnType>
- </file>
- <file src="apps/workflowengine/lib/Service/RuleMatcher.php">
- <UndefinedInterfaceMethod>
- <code>getAllConfiguredScopesForOperation</code>
- <code>getChecks</code>
- <code>getOperations</code>
- <code>getOperations</code>
- <code>isUserScopeEnabled</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php">
- <ParamNameMismatch>
- <code>$arguments</code>
- </ParamNameMismatch>
- </file>
- <file src="core/BackgroundJobs/CheckForUserCertificates.php">
- <ParamNameMismatch>
- <code>$arguments</code>
- </ParamNameMismatch>
- </file>
- <file src="core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php">
- <ParamNameMismatch>
- <code>$arguments</code>
- </ParamNameMismatch>
- </file>
- <file src="core/Command/App/Install.php">
- <TypeDoesNotContainType>
- <code>$result === false</code>
- </TypeDoesNotContainType>
- </file>
- <file src="core/Command/App/ListApps.php">
- <LessSpecificImplementedReturnType>
- <code>array</code>
- </LessSpecificImplementedReturnType>
- </file>
- <file src="core/Command/App/Update.php">
- <RedundantCondition>
- <code>$result === true</code>
- </RedundantCondition>
- </file>
- <file src="core/Command/Config/Import.php">
- <InvalidScalarArgument>
- <code>0</code>
- <code>1</code>
- </InvalidScalarArgument>
- </file>
- <file src="core/Command/Config/ListConfigs.php">
- <FalsableReturnStatement>
- <code><![CDATA[$this->appConfig->getValues($app, false)]]></code>
- </FalsableReturnStatement>
- <TooManyArguments>
- <code>getFilteredValues</code>
- </TooManyArguments>
- </file>
- <file src="core/Command/Db/ConvertType.php">
- <InvalidScalarArgument>
- <code>0</code>
- <code>1</code>
- </InvalidScalarArgument>
- </file>
- <file src="core/Command/Encryption/Enable.php">
- <NullArgument>
- <code>null</code>
- </NullArgument>
- </file>
- <file src="core/Command/Log/File.php">
- <InvalidReturnStatement>
- <code>[0]</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>string[]</code>
- </InvalidReturnType>
- </file>
- <file src="core/Command/Log/Manage.php">
- <InvalidArgument>
- <code>$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>getAllMappings</code>
- <code>updateFilecache</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="core/Command/Maintenance/RepairShareOwnership.php">
- <LessSpecificReturnStatement>
- <code>$found</code>
- <code>$found</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>array{shareId: int, fileTarget: string, initiator: string, receiver: string, owner: string, mountOwner: string}[]</code>
- <code>array{shareId: int, fileTarget: string, initiator: string, receiver: string, owner: string, mountOwner: string}[]</code>
- </MoreSpecificReturnType>
- </file>
- <file src="core/Command/Preview/Repair.php">
- <UndefinedInterfaceMethod>
- <code>section</code>
- <code>section</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="core/Command/Preview/ResetRenderedTexts.php">
- <InvalidReturnStatement>
- <code>[]</code>
- </InvalidReturnStatement>
- </file>
- <file src="core/Controller/ClientFlowLoginV2Controller.php">
- <TypeDoesNotContainType>
- <code>!is_string($stateToken)</code>
- </TypeDoesNotContainType>
- </file>
- <file src="core/Controller/CollaborationResourcesController.php">
- <UndefinedInterfaceMethod>
- <code>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>findMatchingRoute</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="core/Listener/BeforeTemplateRenderedListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="core/Middleware/TwoFactorMiddleware.php">
- <NoInterfaceProperties>
- <code><![CDATA[$this->request->server]]></code>
- </NoInterfaceProperties>
- </file>
- <file src="core/routes.php">
- <InvalidScope>
- <code>$this</code>
- <code>$this</code>
- <code><![CDATA[$this->create('core_ajax_update', '/core/ajax/update.php')]]></code>
- </InvalidScope>
- </file>
- <file src="core/templates/layout.public.php">
- <UndefinedInterfaceMethod>
- <code>getIcon</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/autoloader.php">
- <RedundantCondition>
- <code><![CDATA[$this->memoryCache]]></code>
- </RedundantCondition>
- </file>
- <file src="lib/base.php">
- <InvalidArgument>
- <code>$restrictions</code>
- </InvalidArgument>
- </file>
- <file src="lib/private/Activity/Event.php">
- <ParamNameMismatch>
- <code>$affectedUser</code>
- </ParamNameMismatch>
- </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>ActivitySettings[]</code>
- </MoreSpecificReturnType>
- <TypeDoesNotContainType>
- <code><![CDATA[!is_string($currentUserId) && $currentUserId !== null]]></code>
- </TypeDoesNotContainType>
- </file>
- <file src="lib/private/AllConfig.php">
- <MoreSpecificImplementedParamType>
- <code>$key</code>
- </MoreSpecificImplementedParamType>
- <TypeDoesNotContainType>
- <code>!is_array($userIds)</code>
- </TypeDoesNotContainType>
- </file>
- <file src="lib/private/App/AppManager.php">
- <LessSpecificImplementedReturnType>
- <code>array</code>
- <code>array</code>
- </LessSpecificImplementedReturnType>
- </file>
- <file src="lib/private/App/AppStore/Fetcher/Fetcher.php">
- <TooManyArguments>
- <code>fetch</code>
- </TooManyArguments>
- </file>
- <file src="lib/private/App/DependencyAnalyzer.php">
- <InvalidNullableReturnType>
- <code>bool</code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code>version_compare($first, $second, $operator)</code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/App/InfoParser.php">
- <InvalidArrayOffset>
- <code>$array[$element][]</code>
- <code>$array[$element][]</code>
- </InvalidArrayOffset>
- <InvalidReturnStatement>
- <code>(string)$xml</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>array</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/AppConfig.php">
- <FalsableReturnStatement>
- <code>$values</code>
- </FalsableReturnStatement>
- <NullableReturnStatement>
- <code>$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>getName</code>
- </UndefinedMethod>
- </file>
- <file src="lib/private/AppFramework/DependencyInjection/DIContainer.php">
- <ImplementedReturnTypeMismatch>
- <code>boolean|null</code>
- </ImplementedReturnTypeMismatch>
- <InvalidReturnStatement>
- <code><![CDATA[$this->server]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>\OCP\IServerContainer</code>
- </InvalidReturnType>
- <UndefinedInterfaceMethod>
- <code>getAppDataDir</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/AppFramework/Http/Dispatcher.php">
- <NoInterfaceProperties>
- <code><![CDATA[$this->request->method]]></code>
- </NoInterfaceProperties>
- <NullArgument>
- <code>null</code>
- </NullArgument>
- </file>
- <file src="lib/private/AppFramework/Http/Output.php">
- <InvalidReturnStatement>
- <code>@readfile($path)</code>
- <code>http_response_code()</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>bool</code>
- <code>int</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/AppFramework/Http/Request.php">
- <MissingTemplateParam>
- <code>\ArrayAccess</code>
- </MissingTemplateParam>
- <NullableReturnStatement>
- <code>$name</code>
- <code>$remoteAddress</code>
- <code><![CDATA[$this->getOverwriteHost()]]></code>
- <code><![CDATA[$this->method]]></code>
- <code>$uri</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>\is_array($params)</code>
- </RedundantCondition>
- <UndefinedFunction>
- <code>\Sabre\HTTP\decodePath($pathInfo)</code>
- </UndefinedFunction>
- </file>
- <file src="lib/private/AppFramework/Logger.php">
- <InvalidReturnType>
- <code>log</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/AppFramework/Middleware/OCSMiddleware.php">
- <InternalMethod>
- <code>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>\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>$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>ArrayAccess</code>
- </MissingTemplateParam>
- <MoreSpecificReturnType>
- <code>\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/Listeners/UserDeletedFilesCleanupListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/Authentication/Listeners/UserDeletedWebAuthnCleanupListener.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/Authentication/LoginCredentials/Store.php">
- <RedundantCondition>
- <code>$trySession</code>
- </RedundantCondition>
- </file>
- <file src="lib/private/Authentication/Token/PublicKeyToken.php">
- <UndefinedMagicMethod>
- <code>getExpires</code>
- <code>getLastCheck</code>
- <code>getLoginName</code>
- <code>getName</code>
- <code>getPassword</code>
- <code>getRemember</code>
- <code>getScope</code>
- <code>setExpires</code>
- <code>setLastCheck</code>
- <code>setName</code>
- <code>setPassword</code>
- <code>setPasswordInvalid</code>
- <code>setScope</code>
- <code>setScope</code>
- <code>setToken</code>
- <code>setType</code>
- </UndefinedMagicMethod>
- </file>
- <file src="lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[array_map(function (array $row) {
- return [
- 'provider_id' => $row['provider_id'],
- 'uid' => $row['uid'],
- 'enabled' => 1 === (int) $row['enabled'],
- ];
- }, $rows)]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code><![CDATA[list<array{provider_id: string, uid: string, enabled: bool}>]]></code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php">
- <InvalidArgument>
- <code><![CDATA[$this->providers]]></code>
- </InvalidArgument>
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$this->providers]]></code>
- <code>[]</code>
- </InvalidPropertyAssignmentValue>
- <InvalidReturnStatement>
- <code><![CDATA[$this->providers]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>IProvider[]</code>
- </InvalidReturnType>
- <UndefinedInterfaceMethod>
- <code><![CDATA[$this->providers]]></code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/BackgroundJob/QueuedJob.php">
- <MoreSpecificImplementedParamType>
- <code>$jobList</code>
- <code>$jobList</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="lib/private/Cache/CappedMemoryCache.php">
- <MissingTemplateParam>
- <code>\ArrayAccess</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/Cache/File.php">
- <LessSpecificImplementedReturnType>
- <code>bool|mixed</code>
- <code>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>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>$serializedCallable</code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Command/ClosureJob.php">
- <InvalidArgument>
- <code>[LaravelClosure::class]</code>
- </InvalidArgument>
- </file>
- <file src="lib/private/Comments/Manager.php">
- <RedundantCast>
- <code>(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>$CONFIG</code>
- <code>$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>$searchOptions</code>
- </InvalidArgument>
- </file>
- <file src="lib/private/DB/AdapterMySQL.php">
- <InternalMethod>
- <code>getParams</code>
- </InternalMethod>
- <InvalidArrayOffset>
- <code><![CDATA[$params['collation']]]></code>
- </InvalidArrayOffset>
- </file>
- <file src="lib/private/DB/Connection.php">
- <InternalMethod>
- <code>getParams</code>
- </InternalMethod>
- <InvalidArgument>
- <code>$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>0</code>
- </TypeDoesNotContainType>
- </file>
- <file src="lib/private/DB/MigrationService.php">
- <LessSpecificReturnStatement>
- <code>$s</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>IMigrationStep</code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php">
- <ImplicitToStringCast>
- <code><![CDATA[$this->functionBuilder->lower($x)]]></code>
- </ImplicitToStringCast>
- <InvalidArgument>
- <code>$y</code>
- <code>$y</code>
- </InvalidArgument>
- </file>
- <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php">
- <InternalMethod>
- <code>getParams</code>
- </InternalMethod>
- <InvalidArrayOffset>
- <code><![CDATA[$params['collation']]]></code>
- </InvalidArrayOffset>
- </file>
- <file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
- <InvalidNullableReturnType>
- <code>string</code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code>$alias</code>
- </NullableReturnStatement>
- <ParamNameMismatch>
- <code>$selects</code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/DB/QueryBuilder/QuoteHelper.php">
- <InvalidNullableReturnType>
- <code>string</code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code>$string</code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/DateTimeFormatter.php">
- <FalsableReturnStatement>
- <code><![CDATA[$l->l($type, $timestamp, [
- 'width' => $format,
- ])]]></code>
- </FalsableReturnStatement>
- <InvalidDocblock>
- <code>public function formatDateSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
- <code>public function formatTimeSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
- </InvalidDocblock>
- <InvalidReturnStatement>
- <code><![CDATA[$l->l($type, $timestamp, [
- 'width' => $format,
- ])]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>string</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/DateTimeZone.php">
- <InvalidScalarArgument>
- <code>$timestamp</code>
- </InvalidScalarArgument>
- </file>
- <file src="lib/private/Diagnostics/Query.php">
- <ImplementedReturnTypeMismatch>
- <code>float</code>
- </ImplementedReturnTypeMismatch>
- </file>
- <file src="lib/private/Diagnostics/QueryLogger.php">
- <InvalidArgument>
- <code>microtime(true)</code>
- </InvalidArgument>
- <InvalidReturnType>
- <code>stopQuery</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/DirectEditing/Manager.php">
- <InvalidReturnStatement>
- <code><![CDATA[$query->execute()]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>TemplateResponse</code>
- <code>int</code>
- </InvalidReturnType>
- <UndefinedMethod>
- <code>$template</code>
- <code>$template</code>
- <code>$template</code>
- <code>$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>getShareForToken</code>
- </UndefinedMethod>
- </file>
- <file src="lib/private/Encryption/File.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[['users' => $uniqueUserIds, 'public' => $public]]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>array{users: string[], public: bool}</code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Encryption/Keys/Storage.php">
- <InvalidNullableReturnType>
- <code>deleteUserKey</code>
- </InvalidNullableReturnType>
- <NullArgument>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- </NullArgument>
- </file>
- <file src="lib/private/Encryption/Manager.php">
- <ImplementedReturnTypeMismatch>
- <code>bool</code>
- </ImplementedReturnTypeMismatch>
- </file>
- <file src="lib/private/Federation/CloudFederationProviderManager.php">
- <ParamNameMismatch>
- <code>$providerId</code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Files/AppData/AppData.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->folder]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>Folder</code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Files/Cache/Cache.php">
- <InvalidArgument>
- <code>$parentData</code>
- </InvalidArgument>
- <InvalidNullableReturnType>
- <code>array</code>
- </InvalidNullableReturnType>
- <InvalidScalarArgument>
- <code>$path</code>
- <code>\OC_Util::normalizeUnicode($path)</code>
- </InvalidScalarArgument>
- <NullableReturnStatement>
- <code>null</code>
- <code>null</code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/Files/Cache/FailedCache.php">
- <InvalidReturnStatement>
- <code>[]</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>getIncomplete</code>
- <code>insert</code>
- <code>put</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Cache/HomeCache.php">
- <FalsableReturnStatement>
- <code>$data</code>
- </FalsableReturnStatement>
- <MoreSpecificImplementedParamType>
- <code>$file</code>
- <code>$file</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="lib/private/Files/Cache/Scanner.php">
- <InvalidArgument>
- <code>self::SCAN_RECURSIVE_INCOMPLETE</code>
- </InvalidArgument>
- <InvalidReturnStatement>
- <code>$existingChildren</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>array[]</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Cache/Storage.php">
- <InvalidNullableReturnType>
- <code>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>array</code>
- <code>array</code>
- </LessSpecificImplementedReturnType>
- </file>
- <file src="lib/private/Files/Config/MountProviderCollection.php">
- <InvalidOperand>
- <code>$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>remoteStorageMounts</code>
- <code>removeUserStorageMount</code>
- </InvalidReturnType>
- <LessSpecificImplementedReturnType>
- <code>array</code>
- </LessSpecificImplementedReturnType>
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->cacheInfoCache[$fileId]]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>array{int, string, int}</code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Files/FileInfo.php">
- <MissingTemplateParam>
- <code>\ArrayAccess</code>
- </MissingTemplateParam>
- </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>Mount\MountPoint[]</code>
- <code>Mount\MountPoint[]</code>
- <code>\OC\Files\Storage\Storage|null</code>
- </MoreSpecificReturnType>
- <TooManyArguments>
- <code>addStorageWrapper</code>
- </TooManyArguments>
- </file>
- <file src="lib/private/Files/Mount/MountPoint.php">
- <UndefinedInterfaceMethod>
- <code>wrap</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Files/Mount/ObjectHomeMountProvider.php">
- <InvalidNullableReturnType>
- <code>\OCP\Files\Mount\IMountPoint</code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code>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>string</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Node/Folder.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->root->get($this->getFullPath($path))]]></code>
- <code><![CDATA[$this->root->getByIdInPath((int)$id, $this->getPath())]]></code>
- <code><![CDATA[array_map(function (FileInfo $file) {
- return $this->createNode($file->getPath(), $file);
- }, $files)]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificImplementedParamType>
- <code>$node</code>
- </MoreSpecificImplementedParamType>
- <MoreSpecificReturnType>
- <code>\OC\Files\Node\Node</code>
- <code>\OC\Files\Node\Node[]</code>
- <code>\OC\Files\Node\Node[]</code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Files/Node/HookConnector.php">
- <UndefinedInterfaceMethod>
- <code>emit</code>
- <code>emit</code>
- <code>emit</code>
- <code>emit</code>
- <code>emit</code>
- <code>emit</code>
- <code>emit</code>
- <code>emit</code>
- <code>emit</code>
- <code>emit</code>
- <code>emit</code>
- <code>emit</code>
- <code>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>$node</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>Folder</code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Files/Node/Node.php">
- <InvalidNullableReturnType>
- <code>FileInfo</code>
- </InvalidNullableReturnType>
- <InvalidReturnType>
- <code>getChecksum</code>
- </InvalidReturnType>
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->parent]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>INode|IRootFolder</code>
- </MoreSpecificReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$this->fileInfo]]></code>
- </NullableReturnStatement>
- <ParamNameMismatch>
- <code>$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>$folders</code>
- <code><![CDATA[$this->createNode($fullPath, $fileInfo, false)]]></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>MountPoint[]</code>
- <code>Node</code>
- <code>\OC\Files\Mount\MountPoint[]</code>
- <code>\OC\Files\Mount\MountPoint[]</code>
- <code>\OC\User\User</code>
- </MoreSpecificReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$this->user]]></code>
- </NullableReturnStatement>
- <UndefinedMethod>
- <code>remove</code>
- </UndefinedMethod>
- </file>
- <file src="lib/private/Files/ObjectStore/HomeObjectStoreStorage.php">
- <ImplementedReturnTypeMismatch>
- <code>false|string</code>
- </ImplementedReturnTypeMismatch>
- </file>
- <file src="lib/private/Files/ObjectStore/ObjectStoreStorage.php">
- <InvalidScalarArgument>
- <code>$source</code>
- </InvalidScalarArgument>
- </file>
- <file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php">
- <InternalClass>
- <code>ClientResolver::_default_signature_provider()</code>
- <code>ClientResolver::_default_signature_provider()</code>
- </InternalClass>
- <InternalMethod>
- <code>ClientResolver::_default_signature_provider()</code>
- </InternalMethod>
- <UndefinedFunction>
- <code>Promise\promise_for(
- new Credentials($key, $secret)
- )</code>
- <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>upload</code>
- </InternalMethod>
- <UndefinedFunction>
- <code>\Aws\serialize($command)</code>
- </UndefinedFunction>
- </file>
- <file src="lib/private/Files/ObjectStore/S3Signature.php">
- <NullArgument>
- <code>null</code>
- </NullArgument>
- </file>
- <file src="lib/private/Files/ObjectStore/StorageObjectStore.php">
- <InvalidReturnType>
- <code>string</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Storage/Common.php">
- <ImplementedReturnTypeMismatch>
- <code>string|false</code>
- </ImplementedReturnTypeMismatch>
- <InvalidOperand>
- <code>!$permissions</code>
- <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file)]]></code>
- </InvalidOperand>
- <NoInterfaceProperties>
- <code><![CDATA[$storage->cache]]></code>
- <code><![CDATA[$storage->cache]]></code>
- <code><![CDATA[$storage->propagator]]></code>
- <code><![CDATA[$storage->propagator]]></code>
- <code><![CDATA[$storage->scanner]]></code>
- <code><![CDATA[$storage->scanner]]></code>
- <code><![CDATA[$storage->updater]]></code>
- <code><![CDATA[$storage->updater]]></code>
- </NoInterfaceProperties>
- </file>
- <file src="lib/private/Files/Storage/DAV.php">
- <InvalidClass>
- <code>ArrayCache</code>
- <code>ArrayCache</code>
- </InvalidClass>
- <InvalidReturnStatement>
- <code><![CDATA[$response->getBody()]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>fopen</code>
- </InvalidReturnType>
- <NullableReturnStatement>
- <code>null</code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/Files/Storage/FailedStorage.php">
- <InvalidReturnStatement>
- <code>new FailedCache()</code>
- <code>true</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>getCache</code>
- <code>verifyPath</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Storage/Local.php">
- <TypeDoesNotContainNull>
- <code>$space === false || is_null($space)</code>
- <code>is_null($space)</code>
- </TypeDoesNotContainNull>
- <TypeDoesNotContainType>
- <code>$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>\Normalizer::FORM_C</code>
- <code>\Normalizer::FORM_C</code>
- <code>\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>$result</code>
- <code>$result</code>
- <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename)]]></code>
- </InvalidOperand>
- <InvalidReturnStatement>
- <code>$newUnencryptedSize</code>
- <code>$result</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>bool</code>
- <code>int</code>
- </InvalidReturnType>
- <InvalidScalarArgument>
- <code>$lastChunkPos</code>
- <code>$size</code>
- </InvalidScalarArgument>
- </file>
- <file src="lib/private/Files/Storage/Wrapper/Jail.php">
- <InvalidReturnStatement>
- <code><![CDATA[$this->getWrapperStorage()->filetype($this->getUnjailedPath($path))]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>bool</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Storage/Wrapper/Wrapper.php">
- <InvalidReturnStatement>
- <code><![CDATA[$this->getWrapperStorage()->test()]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>true</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Stream/SeekableHttpStream.php">
- <InvalidReturnType>
- <code>stream_close</code>
- <code>stream_flush</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Template/TemplateManager.php">
- <RedundantCondition>
- <code>!$isDefaultTemplates</code>
- </RedundantCondition>
- </file>
- <file src="lib/private/Files/Type/Detection.php">
- <ParamNameMismatch>
- <code>$mimetype</code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Files/Type/Loader.php">
- <InvalidReturnStatement>
- <code><![CDATA[$update->execute()]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>int</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Files/Utils/Scanner.php">
- <LessSpecificReturnStatement>
- <code>$mounts</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>\OC\Files\Mount\MountPoint[]</code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Files/View.php">
- <InvalidScalarArgument>
- <code>$mtime</code>
- </InvalidScalarArgument>
- <UndefinedInterfaceMethod>
- <code>acquireLock</code>
- <code>changeLock</code>
- <code>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/DisplayNameCache.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/Group/Group.php">
- <InvalidArgument>
- <code>bool</code>
- </InvalidArgument>
- <InvalidOperand>
- <code>$hide</code>
- </InvalidOperand>
- <LessSpecificReturnStatement>
- <code>$users</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>\OC\User\User[]</code>
- </MoreSpecificReturnType>
- <RedundantCondition>
- <code><![CDATA[$this->emitter]]></code>
- <code><![CDATA[$this->emitter]]></code>
- <code><![CDATA[$this->emitter]]></code>
- </RedundantCondition>
- <UndefinedMethod>
- <code>addToGroup</code>
- <code>countUsersInGroup</code>
- <code>deleteGroup</code>
- <code>removeFromGroup</code>
- </UndefinedMethod>
- </file>
- <file src="lib/private/Group/Manager.php">
- <LessSpecificReturnStatement>
- <code>$groups</code>
- <code>array_values($groups)</code>
- <code>array_values($groups)</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>\OC\Group\Group[]</code>
- <code>\OC\Group\Group[]</code>
- </MoreSpecificReturnType>
- <UndefinedInterfaceMethod>
- <code>createGroup</code>
- <code>getGroupDetails</code>
- <code>isAdmin</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Http/Client/Response.php">
- <InvalidNullableReturnType>
- <code>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">
- <FalsableReturnStatement>
- <code>false</code>
- </FalsableReturnStatement>
- <InvalidArgument>
- <code>false</code>
- <code>false</code>
- </InvalidArgument>
- <InvalidArrayOffset>
- <code><![CDATA[$app['path']]]></code>
- <code><![CDATA[$app['path']]]></code>
- </InvalidArrayOffset>
- <NullArgument>
- <code>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>getOnlyDefaultAliases</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php">
- <MissingTemplateParam>
- <code>ExcludeFileByNameFilterIterator</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/IntegrityCheck/Iterator/ExcludeFoldersByPathFilterIterator.php">
- <MissingTemplateParam>
- <code>ExcludeFoldersByPathFilterIterator</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/L10N/Factory.php">
- <ImplementedReturnTypeMismatch>
- <code>null|string</code>
- </ImplementedReturnTypeMismatch>
- <LessSpecificImplementedReturnType>
- <code>array|mixed</code>
- </LessSpecificImplementedReturnType>
- </file>
- <file src="lib/private/LargeFileHelper.php">
- <InvalidOperand>
- <code>$matches[1]</code>
- </InvalidOperand>
- </file>
- <file src="lib/private/Lockdown/Filesystem/NullCache.php">
- <InvalidNullableReturnType>
- <code>get</code>
- </InvalidNullableReturnType>
- <InvalidReturnStatement>
- <code>[]</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>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">
- <InvalidNullableReturnType>
- <code>getOwner</code>
- <code>getPermissions</code>
- </InvalidNullableReturnType>
- <InvalidReturnStatement>
- <code>new IteratorDirectory([])</code>
- <code>new NullCache()</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>getCache</code>
- <code>opendir</code>
- </InvalidReturnType>
- <NullableReturnStatement>
- <code>null</code>
- <code>null</code>
- </NullableReturnStatement>
- <TooManyArguments>
- <code>new IteratorDirectory([])</code>
- </TooManyArguments>
- </file>
- <file src="lib/private/Lockdown/LockdownManager.php">
- <InvalidFunctionCall>
- <code>$callback()</code>
- </InvalidFunctionCall>
- <InvalidPropertyAssignmentValue>
- <code>$sessionCallback</code>
- </InvalidPropertyAssignmentValue>
- </file>
- <file src="lib/private/Log.php">
- <RedundantCondition>
- <code>$request</code>
- </RedundantCondition>
- </file>
- <file src="lib/private/Log/File.php">
- <TypeDoesNotContainNull>
- <code>$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/Rotate.php">
- <ParamNameMismatch>
- <code>$dummy</code>
- </ParamNameMismatch>
- </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>bool</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Memcache/Cache.php">
- <LessSpecificImplementedReturnType>
- <code>mixed</code>
- <code>mixed</code>
- <code>mixed</code>
- <code>mixed</code>
- </LessSpecificImplementedReturnType>
- <MissingTemplateParam>
- <code>\ArrayAccess</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/Memcache/ProfilerWrapperCache.php">
- <MissingTemplateParam>
- <code>\ArrayAccess</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/Preview/BackgroundCleanupJob.php">
- <InvalidReturnStatement>
- <code>[]</code>
- </InvalidReturnStatement>
- </file>
- <file src="lib/private/Preview/Generator.php">
- <InvalidArgument>
- <code>$maxPreviewImage</code>
- </InvalidArgument>
- <LessSpecificReturnType>
- <code>null|string</code>
- </LessSpecificReturnType>
- <MismatchingDocblockParamType>
- <code>ISimpleFile</code>
- </MismatchingDocblockParamType>
- <UndefinedInterfaceMethod>
- <code>height</code>
- <code>height</code>
- <code>preciseResizeCopy</code>
- <code>resizeCopy</code>
- <code>valid</code>
- <code>width</code>
- <code>width</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Preview/ProviderV1Adapter.php">
- <InvalidReturnStatement>
- <code>$thumbnail === false ? null: $thumbnail</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>?IImage</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/RedisFactory.php">
- <InvalidArgument>
- <code>\RedisCluster::OPT_SLAVE_FAILOVER</code>
- </InvalidArgument>
- </file>
- <file src="lib/private/Remote/Api/OCS.php">
- <ImplementedReturnTypeMismatch>
- <code>array</code>
- </ImplementedReturnTypeMismatch>
- </file>
- <file src="lib/private/Remote/Instance.php">
- <InvalidReturnStatement>
- <code><![CDATA[$request->getBody()]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>bool|string</code>
- </InvalidReturnType>
- <InvalidScalarArgument>
- <code>$response</code>
- </InvalidScalarArgument>
- </file>
- <file src="lib/private/Repair/Owncloud/CleanPreviews.php">
- <InvalidArgument>
- <code>false</code>
- </InvalidArgument>
- </file>
- <file src="lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php">
- <ParamNameMismatch>
- <code>$arguments</code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php">
- <ParamNameMismatch>
- <code>$arguments</code>
- </ParamNameMismatch>
- <TypeDoesNotContainType>
- <code>$counter % 100 === 0</code>
- </TypeDoesNotContainType>
- </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>$out</code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Repair/RepairMimeTypes.php">
- <ParamNameMismatch>
- <code>$out</code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Route/Router.php">
- <InvalidClass>
- <code>\OC_APP</code>
- </InvalidClass>
- <InvalidNullableReturnType>
- <code>string</code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code><![CDATA[$this->collectionName]]></code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/Search.php">
- <RedundantCondition>
- <code>$provider instanceof Provider</code>
- </RedundantCondition>
- </file>
- <file src="lib/private/Search/Result/File.php">
- <InvalidPropertyAssignmentValue>
- <code><![CDATA[$data->getId()]]></code>
- <code><![CDATA[$data->getMtime()]]></code>
- <code><![CDATA[$data->getPermissions()]]></code>
- <code><![CDATA[$this->hasPreview($data)]]></code>
- </InvalidPropertyAssignmentValue>
- </file>
- <file src="lib/private/Security/Bruteforce/Throttler.php">
- <NullArgument>
- <code>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/CredentialsManager.php">
- <InvalidReturnStatement>
- <code><![CDATA[$qb->execute()]]></code>
- <code><![CDATA[$qb->execute()]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>int</code>
- <code>int</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/Security/Crypto.php">
- <InternalMethod>
- <code>decrypt</code>
- <code>encrypt</code>
- <code>setIV</code>
- <code>setIV</code>
- <code>setPassword</code>
- <code>setPassword</code>
- </InternalMethod>
- </file>
- <file src="lib/private/Server.php">
- <ImplementedReturnTypeMismatch>
- <code>\OCP\Calendar\Resource\IManager</code>
- <code>\OCP\Calendar\Room\IManager</code>
- <code>\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>\OC\Encryption\File</code>
- <code>\OC\Encryption\Manager</code>
- <code>\OC\Group\Manager</code>
- <code>\OC\NavigationManager</code>
- <code>\OC\User\Manager</code>
- <code>\OC\User\Session</code>
- </MoreSpecificReturnType>
- <UndefinedDocblockClass>
- <code>\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/CryptoSessionData.php">
- <MissingTemplateParam>
- <code>\ArrayAccess</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/Session/Internal.php">
- <MoreSpecificImplementedParamType>
- <code>$value</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="lib/private/Session/Memory.php">
- <MoreSpecificImplementedParamType>
- <code>$value</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="lib/private/Session/Session.php">
- <MissingTemplateParam>
- <code>\ArrayAccess</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/Setup.php">
- <RedundantCondition>
- <code><![CDATA[$content !== '']]></code>
- <code><![CDATA[$type === 'pdo']]></code>
- </RedundantCondition>
- <UndefinedVariable>
- <code>$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/Share/Share.php">
- <InvalidOperand>
- <code>!self::isResharingAllowed()</code>
- </InvalidOperand>
- <UndefinedInterfaceMethod>
- <code>getParents</code>
- <code>getParents</code>
- </UndefinedInterfaceMethod>
- </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>set</code>
- </TooManyArguments>
- <UndefinedInterfaceMethod>
- <code>getParent</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Share20/Manager.php">
- <InvalidArgument>
- <code>$id</code>
- </InvalidArgument>
- <TooManyArguments>
- <code>update</code>
- </TooManyArguments>
- <UndefinedClass>
- <code>\OCA\Circles\Api\v1\Circles</code>
- </UndefinedClass>
- <UndefinedInterfaceMethod>
- <code>getChildren</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Share20/ProviderFactory.php">
- <InvalidNullableReturnType>
- <code>FederatedShareProvider</code>
- <code>ShareByMailProvider</code>
- </InvalidNullableReturnType>
- <InvalidReturnStatement>
- <code>$provider</code>
- <code>$provider</code>
- <code><![CDATA[$this->shareByCircleProvider]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>getProviderForType</code>
- </InvalidReturnType>
- <NullableReturnStatement>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- <code>null</code>
- </NullableReturnStatement>
- <ParamNameMismatch>
- <code>$shareProviderClass</code>
- </ParamNameMismatch>
- <UndefinedClass>
- <code>\OCA\Circles\ShareByCircleProvider</code>
- </UndefinedClass>
- <UndefinedDocblockClass>
- <code>RoomShareProvider</code>
- <code>\OCA\Circles\ShareByCircleProvider</code>
- <code>\OCA\Talk\Share\RoomShareProvider</code>
- <code>private $roomShareProvider = null;</code>
- <code>private $shareByCircleProvider = null;</code>
- </UndefinedDocblockClass>
- <UndefinedInterfaceMethod>
- <code>getLazyRootFolder</code>
- <code>getLazyRootFolder</code>
- <code>getLazyRootFolder</code>
- <code>getLazyRootFolder</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Share20/Share.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->node]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>getNode</code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/Streamer.php">
- <UndefinedInterfaceMethod>
- <code>get</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/SubAdmin.php">
- <UndefinedInterfaceMethod>
- <code>listen</code>
- <code>listen</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/Support/Subscription/Registry.php">
- <UndefinedInterfaceMethod>
- <code>getSupportedApps</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/TagManager.php">
- <InvalidNullableReturnType>
- <code>\OCP\ITags</code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code>null</code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/Tags.php">
- <InvalidScalarArgument>
- <code>$from</code>
- <code>$names</code>
- </InvalidScalarArgument>
- <MoreSpecificImplementedParamType>
- <code>$tag</code>
- </MoreSpecificImplementedParamType>
- </file>
- <file src="lib/private/TempManager.php">
- <FalsableReturnStatement>
- <code>false</code>
- <code>false</code>
- </FalsableReturnStatement>
- </file>
- <file src="lib/private/Template/CSSResourceLocator.php">
- <ParamNameMismatch>
- <code>$style</code>
- <code>$style</code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Template/JSConfigHelper.php">
- <NullArgument>
- <code>null</code>
- <code>null</code>
- </NullArgument>
- </file>
- <file src="lib/private/Template/JSResourceLocator.php">
- <InvalidArgument>
- <code>false</code>
- </InvalidArgument>
- <ParamNameMismatch>
- <code>$script</code>
- <code>$script</code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/TemplateLayout.php">
- <InvalidParamDefault>
- <code>string</code>
- <code>string</code>
- </InvalidParamDefault>
- <InvalidScalarArgument>
- <code>$appName</code>
- <code>$appName</code>
- </InvalidScalarArgument>
- <UndefinedInterfaceMethod>
- <code>getInitialStates</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/URLGenerator.php">
- <InvalidReturnStatement>
- <code>$path</code>
- </InvalidReturnStatement>
- </file>
- <file src="lib/private/User/Database.php">
- <FalsableReturnStatement>
- <code>false</code>
- </FalsableReturnStatement>
- </file>
- <file src="lib/private/User/DisplayNameCache.php">
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/private/User/Manager.php">
- <ImplementedReturnTypeMismatch>
- <code>IUser|false</code>
- </ImplementedReturnTypeMismatch>
- <InvalidArgument>
- <code>$backend</code>
- </InvalidArgument>
- <UndefinedInterfaceMethod>
- <code>createUser</code>
- <code>getUsersForUserValueCaseInsensitive</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/User/Session.php">
- <ImplementedReturnTypeMismatch>
- <code>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>emit</code>
- <code>emit</code>
- <code>emit</code>
- <code>emit</code>
- <code>emit</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/legacy/OC_API.php">
- <InvalidNullableReturnType>
- <code>int</code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code>null</code>
- </NullableReturnStatement>
- </file>
- <file src="lib/private/legacy/OC_App.php">
- <InvalidArgument>
- <code>$groupsList</code>
- </InvalidArgument>
- <InvalidArrayOffset>
- <code><![CDATA[$dir['path']]]></code>
- <code><![CDATA[$dir['url']]]></code>
- </InvalidArrayOffset>
- <NullArgument>
- <code>null</code>
- </NullArgument>
- <NullableReturnStatement>
- <code>null</code>
- </NullableReturnStatement>
- <TypeDoesNotContainNull>
- <code>$appId === null</code>
- <code>$appId === null</code>
- </TypeDoesNotContainNull>
- </file>
- <file src="lib/private/legacy/OC_FileChunking.php">
- <UndefinedDocblockClass>
- <code>\OC\InsufficientStorageException</code>
- </UndefinedDocblockClass>
- </file>
- <file src="lib/private/legacy/OC_Files.php">
- <RedundantCondition>
- <code>$getType === self::ZIP_DIR</code>
- <code>$getType === self::ZIP_DIR</code>
- </RedundantCondition>
- <UndefinedInterfaceMethod>
- <code>get</code>
- <code>get</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/legacy/OC_Helper.php">
- <InvalidArrayOffset>
- <code>$matches[0][$last_match]</code>
- <code>$matches[1][$last_match]</code>
- </InvalidArrayOffset>
- <InvalidScalarArgument>
- <code>$path</code>
- </InvalidScalarArgument>
- <UndefinedInterfaceMethod>
- <code>getQuota</code>
- </UndefinedInterfaceMethod>
- </file>
- <file src="lib/private/legacy/OC_Template.php">
- <InvalidReturnType>
- <code>bool|string</code>
- </InvalidReturnType>
- </file>
- <file src="lib/private/legacy/OC_User.php">
- <UndefinedClass>
- <code>\Test\Util\User\Dummy</code>
- </UndefinedClass>
- </file>
- <file src="lib/private/legacy/OC_Util.php">
- <InvalidReturnType>
- <code>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/Db/Entity.php">
- <InvalidNullableReturnType>
- <code>string</code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code>$column</code>
- </NullableReturnStatement>
- </file>
- <file src="lib/public/AppFramework/Http/Response.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[array_merge($mergeWith, $this->headers)]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>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/Authentication/Token/IToken.php">
- <AmbiguousConstantInheritance>
- <code>DO_NOT_REMEMBER</code>
- <code>PERMANENT_TOKEN</code>
- <code>REMEMBER</code>
- <code>TEMPORARY_TOKEN</code>
- <code>WIPE_TOKEN</code>
- </AmbiguousConstantInheritance>
- </file>
- <file src="lib/public/Cache/CappedMemoryCache.php">
- <MissingTemplateParam>
- <code>\ArrayAccess</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/public/Color.php">
- <LessSpecificReturnStatement>
- <code>$step</code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>array{0: int, 1: int, 2: int}</code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/public/Diagnostics/IQueryLogger.php">
- <LessSpecificImplementedReturnType>
- <code>mixed</code>
- </LessSpecificImplementedReturnType>
- </file>
- <file src="lib/public/EventDispatcher/GenericEvent.php">
- <MissingTemplateParam>
- <code>ArrayAccess</code>
- <code>IteratorAggregate</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/public/Files.php">
- <FalsableReturnStatement>
- <code>\OC_App::getStorage($app)</code>
- </FalsableReturnStatement>
- </file>
- <file src="lib/public/Files/Cache/ICacheEntry.php">
- <MissingTemplateParam>
- <code>ArrayAccess</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/public/Files/Storage.php">
- <InvalidParamDefault>
- <code>array</code>
- </InvalidParamDefault>
- </file>
- <file src="lib/public/L10N/ILanguageIterator.php">
- <MissingTemplateParam>
- <code>\Iterator</code>
- </MissingTemplateParam>
- </file>
- <file src="lib/public/Preview/BeforePreviewFetchedEvent.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->mode]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>null|IPreview::MODE_FILL|IPreview::MODE_COVER</code>
- </MoreSpecificReturnType>
- </file>
- </files>
|