1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655 |
- <?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>$calendarData</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>$vcardData</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/AppInfo/Application.php">
- <InvalidArgument>
- <code>CalendarDeletionDefaultUpdaterListener::class</code>
- </InvalidArgument>
- </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/CachedSubscription.php">
- <ParamNameMismatch>
- <code>$calendarData</code>
- </ParamNameMismatch>
- </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) {
- // Current synctoken
- $qb = $this->db->getQueryBuilder();
- $qb->select('synctoken')
- ->from('calendars')
- ->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>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>[$aclPlugin, 'propFind']</code>
- <code>[$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>!is_array($newProps['filters']['comps'])</code>
- <code>!is_array($newProps['filters']['params'])</code>
- <code>!is_array($newProps['filters']['props'])</code>
- <code>!isset($newProps['filters']['comps']) || !is_array($newProps['filters']['comps'])</code>
- <code>!isset($newProps['filters']['params']) || !is_array($newProps['filters']['params'])</code>
- <code>!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>$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">
- <InvalidNullableReturnType>
- <code>string</code>
- </InvalidNullableReturnType>
- <LessSpecificReturnStatement>
- <code><![CDATA[[
- 'Content-Type' => $type,
- 'body' => $val
- ]]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>false|array{body: string, Content-Type: string}</code>
- </MoreSpecificReturnType>
- <NullableReturnStatement>
- <code>$type</code>
- </NullableReturnStatement>
- </file>
- <file src="apps/dav/lib/CardDAV/Plugin.php">
- <ImplementedReturnTypeMismatch>
- <code>string|null</code>
- </ImplementedReturnTypeMismatch>
- </file>
- <file src="apps/dav/lib/CardDAV/SystemAddressbook.php">
- <InvalidNullableReturnType>
- <code>getChanges</code>
- </InvalidNullableReturnType>
- <NullableReturnStatement>
- <code>null</code>
- </NullableReturnStatement>
- </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>
- <code>200</code>
- </InvalidArgument>
- <InvalidNullableReturnType>
- <code>bool</code>
- </InvalidNullableReturnType>
- <TooManyArguments>
- <code>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>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>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>(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>(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">
- <TypeDoesNotContainType>
- <code>empty($encryptedFiles)</code>
- </TypeDoesNotContainType>
- <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>
- </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>$_['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">
- <InvalidArgument>
- <code>AppPasswordCreatedActivityListener::class</code>
- </InvalidArgument>
- <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>(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>
- <ParamNameMismatch>
- <code>$uid</code>
- </ParamNameMismatch>
- </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>
- <code>mixed</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>$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) {
- // 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/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/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, OpisClosure::class]</code>
- </InvalidArgument>
- <ParamNameMismatch>
- <code>$serializedCallable</code>
- </ParamNameMismatch>
- </file>
- <file src="lib/private/Command/CommandJob.php">
- <ParamNameMismatch>
- <code>$serializedCommand</code>
- </ParamNameMismatch>
- </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>$params['collation']</code>
- </InvalidArrayOffset>
- </file>
- <file src="lib/private/DB/Connection.php">
- <InternalMethod>
- <code>getParams</code>
- </InternalMethod>
- <InvalidArgument>
- <code>$params</code>
- </InvalidArgument>
- <InvalidArrayOffset>
- <code>$params['adapter']</code>
- <code>$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>$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>$groupBys</code>
- <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>get_class($provider) !== 'OCA\Files_Sharing\MountProvider'</code>
- </RedundantCondition>
- <TypeDoesNotContainType>
- <code>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>\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>
- <MoreSpecificImplementedParamType>
- <code>$user</code>
- </MoreSpecificImplementedParamType>
- <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>$app['path']</code>
- <code>$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>
- <code>$semId</code>
- </InvalidArgument>
- <InvalidReturnStatement>
- <code>$sem</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>false|resource</code>
- </InvalidReturnType>
- <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/Repair/SqliteAutoincrement.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>$content !== ''</code>
- <code>$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>(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>$dir['path']</code>
- <code>$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/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>
|