12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602 |
- <?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/FileSystemTags.php">
- <UndefinedDocblockClass>
- <code><![CDATA[$this->storage]]></code>
- </UndefinedDocblockClass>
- </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>
- <ParamNameMismatch>
- <code>$searchQuery</code>
- </ParamNameMismatch>
- </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>
- <ParamNameMismatch>
- <code>$searchQuery</code>
- </ParamNameMismatch>
- </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">
- <ImplicitToStringCast>
- <code>$file</code>
- </ImplicitToStringCast>
- <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">
- <InvalidArgument>
- <code>$stream</code>
- </InvalidArgument>
- <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>
- </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>
|