# NC 14.0.1 bug list: "Deprecated file found" & "App is not compliant"

**URL:** <https://help.nextcloud.com/t/nc-14-0-1-bug-list-deprecated-file-found-app-is-not-compliant/38213>\
**Category:** ℹ️ Support\
**Tags:** update\_problems, nc14\
**Created:** [October 2, 2018, 11:54pm UTC](https://help.nextcloud.com/t/nc-14-0-1-bug-list-deprecated-file-found-app-is-not-compliant/38213 "2018-10-02T23:54:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanook](https://help.nextcloud.com/user_avatar/help.nextcloud.com/sanook/32/13847_2.png) [@Sanook](https://help.nextcloud.com/u/Sanook)\
**Post date:** [October 2, 2018, 11:54pm UTC](https://help.nextcloud.com/t/nc-14-0-1-bug-list-deprecated-file-found-app-is-not-compliant/38213/1 "2018-10-02T23:54:57Z")

</div>

I did not test all apps, but most of which were tested are affected.

The output of a 100% correct app should be

`App is compliant - awesome job!`  
&nbsp;

* * *

&nbsp;  
`occ app:check-code appname` ⇾ “Deprecated file found”

> <https://github.com/nextcloud/activity/issues/298>
>
> \`occ app:check-code activity\`
> 
> \`\`\`
> Deprecated file found: /var/www/html/apps/…activity/appinfo/update.php - please use repair steps
> App is compliant - awesome job!
> \`\`\`
> 
> What does this mean: "Please use repair steps"?
> Thank you!

> <https://github.com/nextcloud/survey_client/issues/82>
>
> \`occ app:check-code survey\_client\`
> 
> \`\`\`
> Deprecated file found: /var/www/html/…apps/survey\_client/appinfo/update.php - please use repair steps
> App is compliant - awesome job!
> \`\`\`
> 
> What does this mean: "please use repair steps"?
> Thank you!

&nbsp;  
`occ app:check-code appname` ⇾ “App is not compliant”

> <https://github.com/Rello/audioplayer/issues/349>
>
> \`occ app:check-code audioplayer\`
> 
> \`\`\`
> Invalid appinfo.xml file found: Element… 'owncloud': This element is not expected.
> 
> Invalid appinfo.xml file found: Element 'types': This element is not expected. Expected is one of ( background-jobs, repair-steps, two-factor-providers, commands, settings, activity, navigations, contactsmenu, collaboration, sabre ).
> 
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/bookmarks/issues/572>
>
> \`occ app:check-code bookmarks\`
> 
> \`\`\`
> Analysing /var/www/html/apps/bookmarks/co…ntroller/lib/bookmarks.php
> 18 errors
> line 99: != - is discouraged
> line 194: != - is discouraged
> line 196: == - is discouraged
> line 208: == - is discouraged
> line 229: == - is discouraged
> line 242: == - is discouraged
> line 248: != - is discouraged
> line 250: != - is discouraged
> line 281: == - is discouraged
> line 284: == - is discouraged
> line 292: == - is discouraged
> line 312: == - is discouraged
> line 479: == - is discouraged
> line 578: == - is discouraged
> line 582: == - is discouraged
> line 698: == - is discouraged
> line 700: == - is discouraged
> line 734: != - is discouraged
> Analysing /var/www/html/apps/bookmarks/controller/lib/previews/defaultpreviewservice.php
> 3 errors
> line 74: OCP\\Util::writeLog - Method of deprecated class must not be called
> line 139: OCP\\Util::writeLog - Method of deprecated class must not be called
> line 146: != - is discouraged
> Analysing /var/www/html/apps/bookmarks/controller/lib/previews/screenlypreviewservice.php
> 2 errors
> line 119: OCP\\Util::writeLog - Method of deprecated class must not be called
> line 124: != - is discouraged
> Analysing /var/www/html/apps/bookmarks/controller/lib/search.php
> 3 errors
> line 37: OCP\\User - Static method of deprecated class must not be called
> line 37: OCP\\User::getUser - Method of deprecated class must not be called
> line 45: OC\_Search\_Result - private class must not be instantiated
> Analysing /var/www/html/apps/bookmarks/controller/lib/linkexplorer.php
> 2 errors
> line 33: OCP\\Util::writeLog - Method of deprecated class must not be called
> line 39: OCP\\Util::writeLog - Method of deprecated class must not be called
> Analysing /var/www/html/apps/bookmarks/controller/rest/publiccontroller.php
> 6 errors
> line 46: == - is discouraged
> line 46: == - is discouraged
> line 60: != - is discouraged
> line 68: Util::writeLog - Method of deprecated class must not be called
> line 75: != - is discouraged
> line 82: == - is discouraged
> Analysing /var/www/html/apps/bookmarks/controller/rest/bookmarkcontroller.php
> 10 errors
> line 73: == - is discouraged
> line 82: != - is discouraged
> line 150: == - is discouraged
> line 180: == - is discouraged
> line 254: == - is discouraged
> line 332: == - is discouraged
> line 385: Util::writeLog - Method of deprecated class must not be called
> line 391: == - is discouraged
> line 428: OC\_Util - Static method of private class must not be called
> line 436: OC\_Util - Static method of private class must not be called
> Analysing /var/www/html/apps/bookmarks/controller/rest/tagscontroller.php
> 3 errors
> line 34: == - is discouraged
> line 57: == - is discouraged
> line 57: == - is discouraged
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!
> 
> \<bountysource-plugin\>
> 
> \---
> Want to back this issue? \*\*\[Post a bounty on it!\](https://www.bountysource.com/issues/64182374-nc14-0-1-bookmarks-0-13-0-app-is-not-compliant?utm\_campaign=plugin&utm\_content=tracker%2F216513&utm\_medium=issues&utm\_source=github)\*\* We accept bounties via \[Bountysource\](https://www.bountysource.com/?utm\_campaign=plugin&utm\_content=tracker%2F216513&utm\_medium=issues&utm\_source=github).
> \</bountysource-plugin\>

> <https://github.com/nextcloud/bookmarks_fulltextsearch/issues/2>
>
> \`occ app:check-code bookmarks\_fulltextsearch\`
> 
> \`\`\`
> Invalid appinfo.xml file f…ound: Element 'fulltextsearch': This element is not expected. Expected is one of ( activity, navigations, contactsmenu, collaboration, sabre ).
> 
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/circles/issues/240>
>
> \`occ app:check-code circles\`
> \`\`\`
> Analysing /var/www/html/apps/circles/files/li…st.php
> 2 errors
> line 3: OCP\\User - Static method of deprecated class must not be called
> line 3: OCP\\User::checkLoggedIn - Method of deprecated class must not be called
> Invalid language file found: l10n/zh\_CN.json: Control character error, possibly incorrectly encoded
> App is not compliant
> \`\`\`
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/contacts/issues/662>
>
> \`occ app:check-code contacts\`
> 
> \`\`\`
> Invalid appinfo.xml file found: Element '…licence': \[facet 'enumeration'\] The value 'AGPL' is not an element of the set {'agpl', 'mpl', 'apache'}.
> 
> Invalid appinfo.xml file found: Element 'licence': 'AGPL' is not a valid value of the atomic type 'licence'.
> 
> Invalid appinfo.xml file found: Element 'licence': Warning: No precomputed value available, the value was either invalid or something strange happend.
> 
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/ayselafsar/dicomviewer/issues/23>
>
> \`occ app:check-code dicomviewer\`
> 
> \`\`\`
> Invalid appinfo.xml file found: Element… 'licence': This element is not expected. Expected is one of ( description, version ).
> 
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/files_fulltextsearch/issues/20>
>
> \`occ app:check-code files\_fulltextsearch\`
> 
> \`\`\`
> Analysing /var/www/html/apps/f…iles\_fulltextsearch/lib/Service/ExternalFilesService.php
> 1 errors
> line 47: OCP\\App - deprecated class must not be imported with a use statement
> Invalid appinfo.xml file found: Element 'namespace': This element is not expected. Expected is one of ( documentation, category ).
> 
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/icewind1991/files_markdown/issues/103>
>
> \`occ app:check-code files\_markdown\`
> 
> \`\`\`
> Invalid appinfo.xml file found: Elem…ent 'licence': This element is not expected. Expected is one of ( description, version ).
> 
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/files_texteditor/issues/118>
>
> \`occ app:check-code files\_texteditor\`
> 
> \`\`\`
> Analysing /var/www/html/apps/files…\_texteditor/appinfo/app.php
> 1 errors
> line 19: OC\_Util - Static method of private class must not be called
> Invalid appinfo.xml file found: Element 'description': This element is not expected. Expected is one of ( name, summary ).
> 
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/files_videoplayer/issues/63>
>
> \`occ app:check-code files\_videoplayer\`
> 
> \`\`\`
> Invalid appinfo.xml file found: E…lement 'description': This element is not expected. Expected is one of ( name, summary ).
> 
> App is not compliant
> \`\`\`

> <https://github.com/e-alfred/flowupload/issues/40>
>
> \`occ app:check-code flowupload\`
> 
> \`\`\`
> Analysing /var/www/html/apps/flowupload/…index.php
> 2 errors
> line 3: OCP\\User - Static method of deprecated class must not be called
> line 3: OCP\\User::checkLoggedIn - Method of deprecated class must not be called
> Analysing /var/www/html/apps/flowupload/ajax/upload.php
> 2 errors
> line 12: OC\_User - Static method of private class must not be called
> line 12: OC\_User - Static method of private class must not be called
> Analysing /var/www/html/apps/flowupload/ajax/Flow/File.php
> 2 errors
> line 91: != - is discouraged
> line 132: == - is discouraged
> Analysing /var/www/html/apps/flowupload/ajax/Flow/Uploader.php
> 2 errors
> line 24: == - is discouraged
> line 24: == - is discouraged
> Invalid appinfo.xml file found: Element 'description': This element is not expected. Expected is one of ( name, summary ).
> 
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/fulltextsearch/issues/390>
>
> \`occ app:check-code fulltextsearch\`
> 
> \`\`\`
> Analysing /var/www/html/apps/fulltex…tsearch/lib/Service/ProviderService.php
> 3 errors
> line 31: OC\_App - private class must not be imported with a use statement
> line 239: OC\_App - Static method of private class must not be called
> line 239: OC\_App::getAppInfo - Method of deprecated class must not be called
> Analysing /var/www/html/apps/fulltextsearch/lib/Service/PlatformService.php
> 3 errors
> line 31: OC\_App - private class must not be imported with a use statement
> line 197: OC\_App - Static method of private class must not be called
> line 197: OC\_App::getAppInfo - Method of deprecated class must not be called
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/fulltextsearch_elasticsearch/issues/41>
>
> \`occ app:check-code fulltextsearch\_elasticsearch\`
> 
> \`\`\`
> Invalid appinfo.xml fi…le found: Element 'fulltextsearch': This element is not expected. Expected is one of ( activity, navigations, contactsmenu, collaboration, sabre ).
> 
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/gallery/issues/475>
>
> \`occ app:check-code gallery\`
> 
> \`\`\`
> Analysing /var/www/html/apps/gallery/lib/Ap…pInfo/Application.php
> 1 errors
> line 274: OCP\\App - Static method of deprecated class must not be called
> Analysing /var/www/html/apps/gallery/lib/Environment/EnvironmentException.php
> 1 errors
> line 28: Util::writeLog - Method of deprecated class must not be called
> Analysing /var/www/html/apps/gallery/lib/Middleware/CheckException.php
> 1 errors
> line 31: Util::writeLog - Method of deprecated class must not be called
> Analysing /var/www/html/apps/gallery/lib/Middleware/EnvCheckMiddleware.php
> 1 errors
> line 155: OC\_User - Static method of private class must not be called
> Analysing /var/www/html/apps/gallery/lib/Service/ServiceException.php
> 1 errors
> line 28: Util::writeLog - Method of deprecated class must not be called
> Analysing /var/www/html/apps/gallery/lib/Config/ConfigException.php
> 1 errors
> line 28: Util::writeLog - Method of deprecated class must not be called
> Invalid appinfo.xml file found: Element 'documentation': This element is not expected. Expected is one of ( background-jobs, repair-steps, two-factor-providers, commands, settings, activity, navigations, contactsmenu, collaboration, sabre ).
> 
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> **[Nextcloud 14.0.1 & gpxedit 0.0.9: "App is not compliant" (#47) · Issues ·...](https://gitlab.com/eneiluj/gpxedit-oc/-/issues/47)**
>
> occ app:check-code gpxpod Analysing /var/www/html/apps/gpxpod/controller/comparisoncontroller.php 1 errors

> <https://github.com/nextcloud/logreader/issues/76>
>
> \`occ app:check-code logreader\`
> 
> \`\`\`
> Invalid appinfo.xml file found: Element '…licence': \[facet 'enumeration'\] The value 'AGPL' is not an element of the set {'agpl', 'mpl', 'apache'}.
> 
> Invalid appinfo.xml file found: Element 'licence': 'AGPL' is not a valid value of the atomic type 'licence'.
> 
> Invalid appinfo.xml file found: Element 'licence': Warning: No precomputed value available, the value was either invalid or something strange happend.
> 
> Invalid appinfo.xml file found: Element 'settings': This element is not expected. Expected is one of ( types, documentation, category ).
> 
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/mail/issues/1186>
>
> \`occ app:check-code lookup\_server\_connector\`
> 
> \`\`\`
> Database schema error: Name… of table \*dbprefix\*mail\_collected\_addresses is too long (24), max. 27 characters (21 characters for tables with autoincrement) + \*dbprefix\* allowed
> Database schema error: Name of index mail\_collected\_addr\_userid\_index on table \*dbprefix\*mail\_collected\_addresses is too long (24), max. 27 characters + \*dbprefix\* allowed
> Database schema error: Name of index mail\_collected\_addr\_email\_index on table \*dbprefix\*mail\_collected\_addresses is too long (24), max. 27 characters + \*dbprefix\* allowed
> Database schema error: Name of index mail\_attachments\_userid\_index on table \*dbprefix\*mail\_attachments is too long (16), max. 27 characters + \*dbprefix\* allowed
> App is not compliant
> \`\`\`

> <https://github.com/gino0631/nextcloud-metadata/issues/23>
>
> \`occ app:check-code metadata\`
> 
> \`\`\`
> Analysing /var/www/html/apps/metadata/lib/…GetID3/Audio/getid3\_dts.php
> 4 errors
> line 124: == - is discouraged
> line 125: == - is discouraged
> line 138: == - is discouraged
> line 138: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/Audio/getid3\_ac3.php
> 21 errors
> line 104: == - is discouraged
> line 201: == - is discouraged
> line 216: == - is discouraged
> line 223: == - is discouraged
> line 248: == - is discouraged
> line 253: == - is discouraged
> line 264: == - is discouraged
> line 268: == - is discouraged
> line 270: == - is discouraged
> line 344: == - is discouraged
> line 354: == - is discouraged
> line 372: == - is discouraged
> line 385: == - is discouraged
> line 397: == - is discouraged
> line 397: != - is discouraged
> line 400: == - is discouraged
> line 401: != - is discouraged
> line 578: == - is discouraged
> line 579: == - is discouraged
> line 630: == - is discouraged
> line 690: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/Audio/getid3\_ogg.php
> 29 errors
> line 59: == - is discouraged
> line 65: == - is discouraged
> line 69: == - is discouraged
> line 71: == - is discouraged
> line 75: == - is discouraged
> line 127: == - is discouraged
> line 188: == - is discouraged
> line 221: == - is discouraged
> line 243: == - is discouraged
> line 249: == - is discouraged
> line 258: == - is discouraged
> line 258: != - is discouraged
> line 304: != - is discouraged
> line 328: == - is discouraged
> line 347: == - is discouraged
> line 358: == - is discouraged
> line 363: == - is discouraged
> line 368: == - is discouraged
> line 368: == - is discouraged
> line 400: == - is discouraged
> line 418: == - is discouraged
> line 422: == - is discouraged
> line 425: == - is discouraged
> line 456: == - is discouraged
> line 489: != - is discouraged
> line 551: == - is discouraged
> line 554: == - is discouraged
> line 676: == - is discouraged
> line 687: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/Audio/getid3\_mp3.php
> 89 errors
> line 51: != - is discouraged
> line 62: == - is discouraged
> line 64: == - is discouraged
> line 70: == - is discouraged
> line 93: == - is discouraged
> line 114: == - is discouraged
> line 132: == - is discouraged
> line 181: == - is discouraged
> line 256: == - is discouraged
> line 266: == - is discouraged
> line 282: == - is discouraged
> line 299: == - is discouraged
> line 306: == - is discouraged
> line 349: == - is discouraged
> line 349: != - is discouraged
> line 351: == - is discouraged
> line 351: != - is discouraged
> line 430: != - is discouraged
> line 477: == - is discouraged
> line 494: == - is discouraged
> line 502: == - is discouraged
> line 502: == - is discouraged
> line 509: == - is discouraged
> line 515: == - is discouraged
> line 526: == - is discouraged
> line 526: == - is discouraged
> line 544: != - is discouraged
> line 562: == - is discouraged
> line 604: == - is discouraged
> line 604: == - is discouraged
> line 669: == - is discouraged
> line 693: == - is discouraged
> line 756: == - is discouraged
> line 766: != - is discouraged
> line 784: != - is discouraged
> line 817: == - is discouraged
> line 819: == - is discouraged
> line 856: == - is discouraged
> line 873: == - is discouraged
> line 897: == - is discouraged
> line 906: != - is discouraged
> line 911: == - is discouraged
> line 918: == - is discouraged
> line 935: == - is discouraged
> line 936: == - is discouraged
> line 940: == - is discouraged
> line 958: == - is discouraged
> line 958: == - is discouraged
> line 960: == - is discouraged
> line 960: == - is discouraged
> line 960: == - is discouraged
> line 1105: != - is discouraged
> line 1188: == - is discouraged
> line 1188: == - is discouraged
> line 1191: == - is discouraged
> line 1191: == - is discouraged
> line 1195: == - is discouraged
> line 1195: == - is discouraged
> line 1247: != - is discouraged
> line 1249: == - is discouraged
> line 1281: == - is discouraged
> line 1337: != - is discouraged
> line 1342: == - is discouraged
> line 1410: == - is discouraged
> line 1422: == - is discouraged
> line 1446: == - is discouraged
> line 1467: == - is discouraged
> line 1477: == - is discouraged
> line 1478: == - is discouraged
> line 1480: == - is discouraged
> line 1482: == - is discouraged
> line 1485: == - is discouraged
> line 1516: == - is discouraged
> line 1544: == - is discouraged
> line 1576: != - is discouraged
> line 1580: == - is discouraged
> line 1708: != - is discouraged
> line 1743: == - is discouraged
> line 1795: != - is discouraged
> line 1821: != - is discouraged
> line 1823: == - is discouraged
> line 1825: == - is discouraged
> line 1841: == - is discouraged
> line 1847: == - is discouraged
> line 1975: == - is discouraged
> line 2016: == - is discouraged
> line 2017: == - is discouraged
> line 2019: == - is discouraged
> line 2021: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/Audio/getid3\_flac.php
> 6 errors
> line 35: != - is discouraged
> line 75: != - is discouraged
> line 161: == - is discouraged
> line 189: == - is discouraged
> line 261: == - is discouraged
> line 371: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/getID3.php
> 12 errors
> line 30: != - is discouraged
> line 36: != - is discouraged
> line 290: == - is discouraged
> line 290: == - is discouraged
> line 1048: == - is discouraged
> line 1121: == - is discouraged
> line 1149: == - is discouraged
> line 1196: == - is discouraged
> line 1198: == - is discouraged
> line 1216: == - is discouraged
> line 1218: == - is discouraged
> line 1347: != - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/Tags/getid3\_id3v2.php
> 163 errors
> line 60: == - is discouraged
> line 60: == - is discouraged
> line 159: == - is discouraged
> line 186: == - is discouraged
> line 246: != - is discouraged
> line 263: != - is discouraged
> line 272: == - is discouraged
> line 293: == - is discouraged
> line 303: == - is discouraged
> line 303: == - is discouraged
> line 303: == - is discouraged
> line 303: == - is discouraged
> line 305: == - is discouraged
> line 316: == - is discouraged
> line 316: == - is discouraged
> line 316: == - is discouraged
> line 325: != - is discouraged
> line 372: == - is discouraged
> line 431: == - is discouraged
> line 512: == - is discouraged
> line 563: == - is discouraged
> line 573: == - is discouraged
> line 614: != - is discouraged
> line 619: == - is discouraged
> line 632: == - is discouraged
> line 633: == - is discouraged
> line 633: == - is discouraged
> line 643: == - is discouraged
> line 644: == - is discouraged
> line 644: == - is discouraged
> line 655: == - is discouraged
> line 684: == - is discouraged
> line 693: == - is discouraged
> line 722: == - is discouraged
> line 737: == - is discouraged
> line 738: == - is discouraged
> line 738: == - is discouraged
> line 749: == - is discouraged
> line 788: == - is discouraged
> line 802: == - is discouraged
> line 802: == - is discouraged
> line 803: == - is discouraged
> line 803: == - is discouraged
> line 812: == - is discouraged
> line 825: == - is discouraged
> line 825: == - is discouraged
> line 825: == - is discouraged
> line 844: == - is discouraged
> line 853: == - is discouraged
> line 857: == - is discouraged
> line 882: == - is discouraged
> line 883: == - is discouraged
> line 883: == - is discouraged
> line 893: == - is discouraged
> line 894: == - is discouraged
> line 894: == - is discouraged
> line 919: == - is discouraged
> line 920: == - is discouraged
> line 920: == - is discouraged
> line 952: == - is discouraged
> line 953: == - is discouraged
> line 953: == - is discouraged
> line 967: == - is discouraged
> line 977: == - is discouraged
> line 978: == - is discouraged
> line 978: == - is discouraged
> line 990: == - is discouraged
> line 1019: == - is discouraged
> line 1020: == - is discouraged
> line 1020: == - is discouraged
> line 1038: == - is discouraged
> line 1067: == - is discouraged
> line 1067: != - is discouraged
> line 1079: == - is discouraged
> line 1080: == - is discouraged
> line 1080: == - is discouraged
> line 1098: == - is discouraged
> line 1133: == - is discouraged
> line 1174: == - is discouraged
> line 1174: == - is discouraged
> line 1175: == - is discouraged
> line 1175: == - is discouraged
> line 1217: == - is discouraged
> line 1263: == - is discouraged
> line 1293: == - is discouraged
> line 1293: == - is discouraged
> line 1294: == - is discouraged
> line 1294: == - is discouraged
> line 1324: == - is discouraged
> line 1325: == - is discouraged
> line 1325: == - is discouraged
> line 1355: == - is discouraged
> line 1356: == - is discouraged
> line 1356: == - is discouraged
> line 1371: == - is discouraged
> line 1376: == - is discouraged
> line 1378: == - is discouraged
> line 1387: == - is discouraged
> line 1421: == - is discouraged
> line 1500: == - is discouraged
> line 1501: == - is discouraged
> line 1501: == - is discouraged
> line 1514: == - is discouraged
> line 1556: == - is discouraged
> line 1557: == - is discouraged
> line 1557: == - is discouraged
> line 1567: == - is discouraged
> line 1568: == - is discouraged
> line 1568: == - is discouraged
> line 1590: == - is discouraged
> line 1591: == - is discouraged
> line 1591: == - is discouraged
> line 1608: == - is discouraged
> line 1608: == - is discouraged
> line 1635: == - is discouraged
> line 1636: == - is discouraged
> line 1636: == - is discouraged
> line 1661: == - is discouraged
> line 1662: == - is discouraged
> line 1662: == - is discouraged
> line 1672: == - is discouraged
> line 1695: == - is discouraged
> line 1707: == - is discouraged
> line 1717: == - is discouraged
> line 1734: == - is discouraged
> line 1744: == - is discouraged
> line 1768: == - is discouraged
> line 1785: == - is discouraged
> line 1850: == - is discouraged
> line 1872: == - is discouraged
> line 1895: == - is discouraged
> line 1914: == - is discouraged
> line 1926: == - is discouraged
> line 1935: == - is discouraged
> line 1960: == - is discouraged
> line 2002: == - is discouraged
> line 2019: != - is discouraged
> line 2024: != - is discouraged
> line 2071: == - is discouraged
> line 2071: == - is discouraged
> line 2072: == - is discouraged
> line 2074: == - is discouraged
> line 2098: == - is discouraged
> line 2168: == - is discouraged
> line 2168: == - is discouraged
> line 2169: == - is discouraged
> line 2171: == - is discouraged
> line 3615: == - is discouraged
> line 3617: == - is discouraged
> line 3617: == - is discouraged
> line 3628: != - is discouraged
> line 3637: == - is discouraged
> line 3637: == - is discouraged
> line 3637: == - is discouraged
> line 3646: == - is discouraged
> line 3646: == - is discouraged
> line 3646: == - is discouraged
> line 3646: == - is discouraged
> line 3649: == - is discouraged
> line 3656: == - is discouraged
> line 3734: == - is discouraged
> line 3735: == - is discouraged
> line 3735: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/Tags/getid3\_lyrics3.php
> 12 errors
> line 42: == - is discouraged
> line 49: == - is discouraged
> line 57: == - is discouraged
> line 65: == - is discouraged
> line 81: == - is discouraged
> line 90: == - is discouraged
> line 154: != - is discouraged
> line 176: == - is discouraged
> line 186: == - is discouraged
> line 244: == - is discouraged
> line 295: == - is discouraged
> line 297: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/Tags/getid3\_id3v1.php
> 7 errors
> line 37: == - is discouraged
> line 60: == - is discouraged
> line 110: == - is discouraged
> line 117: == - is discouraged
> line 119: == - is discouraged
> line 339: == - is discouraged
> line 362: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/Tags/getid3\_apetag.php
> 7 errors
> line 39: == - is discouraged
> line 45: == - is discouraged
> line 51: == - is discouraged
> line 61: == - is discouraged
> line 99: == - is discouraged
> line 204: == - is discouraged
> line 351: != - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/getid3\_handler.php
> 5 errors
> line 128: == - is discouraged
> line 130: == - is discouraged
> line 148: == - is discouraged
> line 178: != - is discouraged
> line 193: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/getid3\_lib.php
> 54 errors
> line 71: == - is discouraged
> line 114: == - is discouraged
> line 118: != - is discouraged
> line 118: != - is discouraged
> line 119: == - is discouraged
> line 140: != - is discouraged
> line 217: == - is discouraged
> line 232: == - is discouraged
> line 232: != - is discouraged
> line 235: == - is discouraged
> line 235: == - is discouraged
> line 236: == - is discouraged
> line 241: == - is discouraged
> line 241: == - is discouraged
> line 242: == - is discouraged
> line 248: == - is discouraged
> line 248: != - is discouraged
> line 251: == - is discouraged
> line 254: != - is discouraged
> line 256: == - is discouraged
> line 267: == - is discouraged
> line 320: != - is discouraged
> line 337: == - is discouraged
> line 346: == - is discouraged
> line 566: == - is discouraged
> line 666: == - is discouraged
> line 673: == - is discouraged
> line 679: == - is discouraged
> line 684: == - is discouraged
> line 709: == - is discouraged
> line 716: == - is discouraged
> line 722: == - is discouraged
> line 727: == - is discouraged
> line 752: == - is discouraged
> line 759: == - is discouraged
> line 765: == - is discouraged
> line 770: == - is discouraged
> line 793: == - is discouraged
> line 807: == - is discouraged
> line 821: == - is discouraged
> line 835: == - is discouraged
> line 850: == - is discouraged
> line 852: == - is discouraged
> line 861: == - is discouraged
> line 863: == - is discouraged
> line 871: == - is discouraged
> line 985: == - is discouraged
> line 990: == - is discouraged
> line 994: == - is discouraged
> line 1064: == - is discouraged
> line 1163: == - is discouraged
> line 1168: == - is discouraged
> line 1179: == - is discouraged
> line 1219: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/AudioVideo/getid3\_flv.php
> 17 errors
> line 100: != - is discouraged
> line 156: == - is discouraged
> line 160: == - is discouraged
> line 168: != - is discouraged
> line 175: == - is discouraged
> line 185: == - is discouraged
> line 244: == - is discouraged
> line 560: == - is discouraged
> line 577: == - is discouraged
> line 577: == - is discouraged
> line 597: == - is discouraged
> line 597: == - is discouraged
> line 657: == - is discouraged
> line 659: == - is discouraged
> line 674: == - is discouraged
> line 722: == - is discouraged
> line 736: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/AudioVideo/getid3\_quicktime.php
> 39 errors
> line 57: == - is discouraged
> line 70: == - is discouraged
> line 124: == - is discouraged
> line 126: == - is discouraged
> line 128: == - is discouraged
> line 132: == - is discouraged
> line 134: == - is discouraged
> line 136: == - is discouraged
> line 140: == - is discouraged
> line 142: == - is discouraged
> line 144: == - is discouraged
> line 149: == - is discouraged
> line 152: == - is discouraged
> line 155: == - is discouraged
> line 182: == - is discouraged
> line 241: != - is discouraged
> line 393: == - is discouraged
> line 406: == - is discouraged
> line 539: == - is discouraged
> line 863: != - is discouraged
> line 1009: == - is discouraged
> line 1111: == - is discouraged
> line 1111: == - is discouraged
> line 1127: == - is discouraged
> line 1241: == - is discouraged
> line 1286: == - is discouraged
> line 1357: == - is discouraged
> line 1359: == - is discouraged
> line 1377: == - is discouraged
> line 1516: == - is discouraged
> line 1516: == - is discouraged
> line 1593: == - is discouraged
> line 1593: == - is discouraged
> line 1600: == - is discouraged
> line 2177: == - is discouraged
> line 2184: == - is discouraged
> line 2378: != - is discouraged
> line 2384: == - is discouraged
> line 2400: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/AudioVideo/getid3\_matroska.php
> 21 errors
> line 343: == - is discouraged
> line 343: == - is discouraged
> line 352: != - is discouraged
> line 356: == - is discouraged
> line 356: == - is discouraged
> line 362: == - is discouraged
> line 365: == - is discouraged
> line 454: != - is discouraged
> line 490: == - is discouraged
> line 492: == - is discouraged
> line 544: != - is discouraged
> line 576: != - is discouraged
> line 1210: == - is discouraged
> line 1246: == - is discouraged
> line 1322: == - is discouraged
> line 1396: == - is discouraged
> line 1405: == - is discouraged
> line 1416: != - is discouraged
> line 1418: == - is discouraged
> line 1427: == - is discouraged
> line 1430: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/AudioVideo/getid3\_riff.php
> 50 errors
> line 82: == - is discouraged
> line 86: != - is discouraged
> line 91: == - is discouraged
> line 103: == - is discouraged
> line 113: == - is discouraged
> line 114: == - is discouraged
> line 151: == - is discouraged
> line 153: == - is discouraged
> line 166: == - is discouraged
> line 199: == - is discouraged
> line 208: == - is discouraged
> line 266: != - is discouraged
> line 266: != - is discouraged
> line 271: != - is discouraged
> line 271: != - is discouraged
> line 394: != - is discouraged
> line 558: == - is discouraged
> line 576: == - is discouraged
> line 588: == - is discouraged
> line 588: == - is discouraged
> line 588: == - is discouraged
> line 602: == - is discouraged
> line 607: == - is discouraged
> line 609: != - is discouraged
> line 671: == - is discouraged
> line 757: == - is discouraged
> line 855: == - is discouraged
> line 858: == - is discouraged
> line 971: == - is discouraged
> line 971: == - is discouraged
> line 1031: == - is discouraged
> line 1294: == - is discouraged
> line 1362: != - is discouraged
> line 1365: != - is discouraged
> line 1387: != - is discouraged
> line 1391: != - is discouraged
> line 1396: != - is discouraged
> line 1400: != - is discouraged
> line 1433: == - is discouraged
> line 1463: == - is discouraged
> line 1463: != - is discouraged
> line 1467: != - is discouraged
> line 1486: == - is discouraged
> line 1587: == - is discouraged
> line 1587: == - is discouraged
> line 1643: == - is discouraged
> line 1674: == - is discouraged
> line 1720: == - is discouraged
> line 1813: != - is discouraged
> line 2592: == - is discouraged
> Analysing /var/www/html/apps/metadata/lib/GetID3/AudioVideo/getid3\_mpeg.php
> 7 errors
> line 79: == - is discouraged
> line 133: == - is discouraged
> line 200: == - is discouraged
> line 208: == - is discouraged
> line 266: == - is discouraged
> line 495: == - is discouraged
> line 513: == - is discouraged
> App is not compliant
> \`\`\`

> <https://github.com/jsxc/jsxc/issues/732>
>
> \`occ app:check-code ojsxc\`
> 
> \`\`\`
> Analysing /var/www/html/apps/ojsxc/appinfo/ap…p.php
> 2 errors
> line 6: OCP\\App - Static method of deprecated class must not be called
> line 6: OCP\\App::registerPersonal - Method of deprecated class must not be called
> Analysing /var/www/html/apps/ojsxc/lib/Controller/SettingsController.php
> 2 errors
> line 279: OCP\\User - Static method of deprecated class must not be called
> line 279: OCP\\User::isLoggedIn - Method of deprecated class must not be called
> Analysing /var/www/html/apps/ojsxc/settings/personal.php
> 2 errors
> line 7: OCP\\User - Static method of deprecated class must not be called
> line 7: OCP\\User::checkLoggedIn - Method of deprecated class must not be called
> App is not compliant
> \`\`\`

> <https://github.com/nextcloud/previewgenerator/issues/132>
>
> \`occ app:check-code previewgenerator\`
> 
> \`\`\`
> Analysing /var/www/html/apps/previ…ewgenerator/lib/Command/DeleteOld.php
> 2 errors
> line 92: OC\_Util - Static method of private class must not be called
> line 93: OC\_Util - Static method of private class must not be called
> Analysing /var/www/html/apps/previewgenerator/lib/Command/Generate.php
> 2 errors
> line 134: OC\_Util - Static method of private class must not be called
> line 135: OC\_Util - Static method of private class must not be called
> Invalid appinfo.xml file found: Element 'licence': This element is not expected. Expected is one of ( description, version ).
> 
> App is not compliant
> \`\`\`

> <https://github.com/nextcloud/quota_warning/issues/38>
>
> \`occ app:check-code quota\_warning\`
> 
> \`\`\`
> Analysing /var/www/html/apps/quota\_wa…rning/lib/CheckQuota.php
> 3 errors
> line 321: OC\_Util - Static method of private class must not be called
> line 322: OC\_Util - Static method of private class must not be called
> line 323: OC\_Helper - Static method of private class must not be called
> Invalid appinfo.xml file found: Element 'name': This element is not expected. Expected is ( id ).
> 
> App is not compliant
> \`\`\`

> [@Bug: "App is not compliant"](https://help.nextcloud.com/t/bug-app-is-not-compliant/38214):
>
> occ app:check-code radio ↓ Analysing /var/www/html/apps/radio/index.php 2 errors line 27: OCP\User - Static method of deprecated class must not be called line 27: OCP\User::checkLoggedIn - Method of deprecated class must not be called Analysing /var/www/html/apps/radio/ajax/seturl.php 3 errors line 9: OCP\User - Static method of deprecated class must not be called line 9: OCP\User::checkAdminUser - Method of deprecated class must not be called line 10: OCP\JSO…

> <https://github.com/nextcloud/richdocuments/issues/269>
>
> \`occ app:check-code richdocuments\`
> 
> \`\`\`
> Analysing /var/www/html/apps/richdocu…ments/appinfo/app.php
> 1 errors
> line 54: OC\_Helper - Static method of private class must not be called
> Analysing /var/www/html/apps/richdocuments/templates/admin.php
> 4 errors
> line 33: != - is discouraged
> line 35: == - is discouraged
> line 45: != - is discouraged
> line 47: == - is discouraged
> Analysing /var/www/html/apps/richdocuments/lib/Controller/DocumentController.php
> 1 errors
> line 367: OC\_Helper - Static method of private class must not be called
> Analysing /var/www/html/apps/richdocuments/lib/Controller/WopiController.php
> 6 errors
> line 132: OC\_User - Static method of private class must not be called
> line 177: OC\_User - Static method of private class must not be called
> line 267: != - is discouraged
> line 279: OC\_Util - Static method of private class must not be called
> line 281: OC\_Util - Static method of private class must not be called
> line 283: OC\_Util - Static method of private class must not be called
> App is not compliant
> \`\`\`

> <https://github.com/nextcloud/tasks/issues/204>
>
> \`occ app:check-code tasks\`
> 
> \`\`\`
> Invalid appinfo.xml file found: Element 'lice…nce': This element is not expected. Expected is one of ( description, version ).
> 
> Invalid language file found: l10n/af.json: Control character error, possibly incorrectly encoded
> App is not compliant
> \`\`\`

> <https://github.com/nextcloud/user_external/issues/6>
>
> \`occ app:check-code user\_external\`
> 
> \`\`\`
> Analysing /var/www/html/apps/user\_ext…ernal/lib/smb.php
> 3 errors
> line 45: OCP\\Util::writeLog - Method of deprecated class must not be called
> line 56: != - is discouraged
> line 58: OCP\\Util::writeLog - Method of deprecated class must not be called
> Analysing /var/www/html/apps/user\_external/lib/base.php
> 8 errors
> line 9: OC\_DB - private class must not be imported with a use statement
> line 43: OC\_DB - Static method of private class must not be called
> line 58: OC\_DB - Static method of private class must not be called
> line 77: OC\_DB - Static method of private class must not be called
> line 102: OC\_DB - Static method of private class must not be called
> line 139: OC\_DB - Static method of private class must not be called
> line 157: OC\_DB - Static method of private class must not be called
> line 173: OC\_DB - Static method of private class must not be called
> Analysing /var/www/html/apps/user\_external/lib/webdavauth.php
> 3 errors
> line 31: OCP\\Util::writeLog - Method of deprecated class must not be called
> line 37: == - is discouraged
> line 38: OCP\\Util::writeLog - Method of deprecated class must not be called
> Analysing /var/www/html/apps/user\_external/lib/imap.php
> 6 errors
> line 45: OCP\\Util::writeLog - Method of deprecated class must not be called
> line 55: OC\_DB - Static method of private class must not be called
> line 69: != - is discouraged
> line 71: == - is discouraged
> line 73: == - is discouraged
> line 73: == - is discouraged
> Analysing /var/www/html/apps/user\_external/lib/ftp.php
> 1 errors
> line 49: OCP\\Util::writeLog - Method of deprecated class must not be called
> Invalid appinfo.xml file found: Element 'description': This element is not expected. Expected is one of ( name, summary ).
> 
> App is not compliant
> \`\`\`

> <https://github.com/nextcloud/server/issues/11560>
>
> \`occ app:check-code accessibility\`
> 
> \`\`\`
> Invalid appinfo.xml file found: Eleme…nt 'category': \[facet 'enumeration'\] The value 'accessibility' is not an element of the set {'security', 'customization', 'files', 'integration', 'monitoring', 'multimedia', 'office', 'organization', 'social', 'tools', 'games'}.
> 
> Invalid appinfo.xml file found: Element 'category': 'accessibility' is not a valid value of the atomic type 'category'.
> 
> Invalid appinfo.xml file found: Element 'category': Warning: No precomputed value available, the value was either invalid or something strange happend.
> 
> Invalid appinfo.xml file found: Element 'default\_enable': This element is not expected. Expected is one of ( category, website, discussion, bugs ).
> 
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/server/issues/11561>
>
> \`occ app:check-code dav\`
> 
> \`\`\`
> Analysing /var/www/html/apps/dav/appinfo/v2/rem…ote.php
> 1 errors
> line 31: OC\_Util - Static method of private class must not be called
> Analysing /var/www/html/apps/dav/appinfo/v2/direct.php
> 1 errors
> line 32: OC\_Util - Static method of private class must not be called
> Analysing /var/www/html/apps/dav/appinfo/v1/publicwebdav.php
> 4 errors
> line 34: OC\_App - Static method of private class must not be called
> line 36: OC\_Util - Static method of private class must not be called
> line 85: OC\_Util - Static method of private class must not be called
> line 86: OC\_Util - Static method of private class must not be called
> Analysing /var/www/html/apps/dav/appinfo/v1/webdav.php
> 1 errors
> line 37: OC\_Util - Static method of private class must not be called
> Analysing /var/www/html/apps/dav/lib/AppInfo/PluginManager.php
> 1 errors
> line 108: OC\_App - Static method of private class must not be called
> Analysing /var/www/html/apps/dav/lib/CardDAV/PhotoCache.php
> 1 errors
> line 130: OC\_Image - private class must not be instantiated
> Analysing /var/www/html/apps/dav/lib/Files/Sharing/FilesDropPlugin.php
> 1 errors
> line 80: OC\_Helper - Static method of private class must not be called
> Analysing /var/www/html/apps/dav/lib/Files/BrowserErrorPagePlugin.php
> 2 errors
> line 27: OC\_Template - private class must not be imported with a use statement
> line 94: OC\_Template - private class must not be instantiated
> Analysing /var/www/html/apps/dav/lib/Connector/PublicAuth.php
> 1 errors
> line 96: OC\_User - Static method of private class must not be called
> Analysing /var/www/html/apps/dav/lib/Connector/Sabre/Auth.php
> 5 errors
> line 124: OC\_Util - Static method of private class must not be called
> line 128: OC\_Util - Static method of private class must not be called
> line 131: OC\_Util - Static method of private class must not be called
> line 231: OC\_User - Static method of private class must not be called
> line 238: OC\_Util - Static method of private class must not be called
> Analysing /var/www/html/apps/dav/lib/Connector/Sabre/BearerAuth.php
> 2 errors
> line 64: OC\_Util - Static method of private class must not be called
> line 73: OC\_Util - Static method of private class must not be called
> Analysing /var/www/html/apps/dav/lib/Connector/Sabre/Directory.php
> 1 errors
> line 333: OC\_Helper - Static method of private class must not be called
> Analysing /var/www/html/apps/dav/lib/Connector/Sabre/File.php
> 8 errors
> line 174: OC\_Helper - Static method of private class must not be called
> line 293: OC\_Hook - Static method of private class must not be called
> line 298: OC\_Hook - Static method of private class must not be called
> line 303: OC\_Hook - Static method of private class must not be called
> line 319: OC\_Hook - Static method of private class must not be called
> line 323: OC\_Hook - Static method of private class must not be called
> line 327: OC\_Hook - Static method of private class must not be called
> line 413: OCP\\App - Static method of deprecated class must not be called
> Analysing /var/www/html/apps/dav/lib/Connector/Sabre/Node.php
> 1 errors
> line 223: OC\_Util - Static method of private class must not be called
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/server/issues/11562>
>
> \`occ app:check-code federatedfilesharing\`
> 
> \`\`\`
> Analysing /var/www/html/apps/f…ederatedfilesharing/lib/Controller/RequestHandlerController.php
> 1 errors
> line 380: OCP\\App - Static method of deprecated class must not be called
> Analysing /var/www/html/apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php
> 3 errors
> line 197: Util::isValidFileName - Method of deprecated class must not be called
> line 215: OC\_Util - Static method of private class must not be called
> line 759: OC\_Util - Static method of private class must not be called
> Analysing /var/www/html/apps/federatedfilesharing/lib/Notifications.php
> 1 errors
> line 123: OC\_Hook - Static method of private class must not be called
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/server/issues/11563>
>
> \`occ app:check-code files\`
> 
> \`\`\`
> Analysing /var/www/html/apps/files/appinfo/ap…p.php
> 1 errors
> line 36: OC\_Helper - Static method of private class must not be called
> Analysing /var/www/html/apps/files/recentlist.php
> 2 errors
> line 25: OCP\\User - Static method of deprecated class must not be called
> line 25: OCP\\User::checkLoggedIn - Method of deprecated class must not be called
> Analysing /var/www/html/apps/files/templates/appnavigation.php
> 1 errors
> line 88: == - is discouraged
> Analysing /var/www/html/apps/files/lib/Controller/ViewController.php
> 4 errors
> line 106: OC\_App - Static method of private class must not be called
> line 128: OC\_Helper - Static method of private class must not be called
> line 212: OC\_Helper - Static method of private class must not be called
> line 216: OC\_Helper - Static method of private class must not be called
> Analysing /var/www/html/apps/files/lib/Controller/SettingsController.php
> 1 errors
> line 41: OC\_Files - Static method of private class must not be called
> Analysing /var/www/html/apps/files/lib/BackgroundJob/ScanFiles.php
> 1 errors
> line 92: OC\_Util - Static method of private class must not be called
> Analysing /var/www/html/apps/files/lib/Helper.php
> 1 errors
> line 49: OC\_Helper - Static method of private class must not be called
> Analysing /var/www/html/apps/files/ajax/list.php
> 5 errors
> line 30: OC\_JSON - Static method of deprecated class must not be called
> line 82: OC\_JSON - Static method of deprecated class must not be called
> line 85: OC\_JSON - Static method of deprecated class must not be called
> line 93: OC\_JSON - Static method of deprecated class must not be called
> line 101: OC\_JSON - Static method of deprecated class must not be called
> Analysing /var/www/html/apps/files/ajax/download.php
> 3 errors
> line 32: OCP\\User - Static method of deprecated class must not be called
> line 32: OCP\\User::checkLoggedIn - Method of deprecated class must not be called
> line 64: OC\_Files - Static method of private class must not be called
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/server/issues/11564>
>
> \`occ app:check-code files\_external\`
> 
> \`\`\`
> Analysing /var/www/html/apps/files\_…external/list.php
> 2 errors
> line 24: OCP\\User - Static method of deprecated class must not be called
> line 24: OCP\\User::checkLoggedIn - Method of deprecated class must not be called
> Analysing /var/www/html/apps/files\_external/lib/config.php
> 2 errors
> line 232: OCP\\User - Static method of deprecated class must not be called
> line 232: OCP\\User::getUser - Method of deprecated class must not be called
> Analysing /var/www/html/apps/files\_external/lib/Lib/Storage/SFTP.php
> 2 errors
> line 214: OCP\\Files - Static method of deprecated class must not be called
> line 214: OCP\\Files::getStorage - Method of deprecated class must not be called
> Analysing /var/www/html/apps/files\_external/lib/Lib/Storage/SMB.php
> 1 errors
> line 566: OC\_Helper - Static method of private class must not be called
> Analysing /var/www/html/apps/files\_external/ajax/oauth2.php
> 3 errors
> line 25: OC\_JSON - Static method of deprecated class must not be called
> line 26: OC\_JSON - Static method of deprecated class must not be called
> line 27: OC\_JSON - Static method of deprecated class must not be called
> Analysing /var/www/html/apps/files\_external/ajax/applicable.php
> 4 errors
> line 24: OC\_JSON - Static method of deprecated class must not be called
> line 25: OC\_JSON - Static method of deprecated class must not be called
> line 27: OC\_JSON - Static method of deprecated class must not be called
> line 54: OC\_JSON - Static method of deprecated class must not be called
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/server/issues/11565>
>
> \`occ app:check-code files\_sharing\`
> 
> \`\`\`
> Analysing /var/www/html/apps/files\_sh…aring/list.php
> 2 errors
> line 23: OCP\\User - Static method of deprecated class must not be called
> line 23: OCP\\User::checkLoggedIn - Method of deprecated class must not be called
> Analysing /var/www/html/apps/files\_sharing/templates/public.php
> 1 errors
> line 51: == - is discouraged
> Analysing /var/www/html/apps/files\_sharing/lib/External/Manager.php
> 5 errors
> line 38: OCP\\Files - deprecated class must not be imported with a use statement
> line 189: Files::buildNotExistingFileName - Method of deprecated class must not be called
> line 274: OC\_Util - Static method of private class must not be called
> line 276: Files::buildNotExistingFileName - Method of deprecated class must not be called
> line 304: OC\_Hook - Static method of private class must not be called
> Analysing /var/www/html/apps/files\_sharing/lib/Cache.php
> 1 errors
> line 161: OC\_User - Static method of private class must not be called
> Analysing /var/www/html/apps/files\_sharing/lib/Controller/ShareController.php
> 9 errors
> line 38: OC\_Files - private class must not be imported with a use statement
> line 39: OC\_Util - private class must not be imported with a use statement
> line 231: OC\_Hook - Static method of private class must not be called
> line 265: OC\_User - Static method of private class must not be called
> line 450: OC\_User - Static method of private class must not be called
> line 514: OC\_Util - Static method of private class must not be called
> line 515: OC\_Util - Static method of private class must not be called
> line 545: OC\_Files - Static method of private class must not be called
> line 550: OC\_Files - Static method of private class must not be called
> Analysing /var/www/html/apps/files\_sharing/lib/Controller/RemoteController.php
> 2 errors
> line 117: OC\_User - Static method of private class must not be called
> line 180: OC\_User - Static method of private class must not be called
> Analysing /var/www/html/apps/files\_sharing/lib/Updater.php
> 6 errors
> line 94: OCP\\User - Static method of deprecated class must not be called
> line 94: OCP\\User::getUser - Method of deprecated class must not be called
> line 95: OCP\\User - Static method of deprecated class must not be called
> line 95: OCP\\User::getUser - Method of deprecated class must not be called
> line 98: OCP\\User - Static method of deprecated class must not be called
> line 98: OCP\\User::getUser - Method of deprecated class must not be called
> Analysing /var/www/html/apps/files\_sharing/lib/Helper.php
> 1 errors
> line 35: OCP\\User - deprecated class must not be imported with a use statement
> Analysing /var/www/html/apps/files\_sharing/public.php
> 1 errors
> line 32: == - is discouraged
> App is not compliant
> \`\`\`
> 
> What does this mean?
> Thank you!

> <https://github.com/nextcloud/server/issues/11567>
>
> \`occ app:check-code firstrunwizard\`
> 
> \`\`\`
> Analysing /var/www/html/apps/firstru…nwizard/templates/wizard.php
> 1 errors
> line 34: OC\_User - Static method of private class must not be called
> Analysing /var/www/html/apps/firstrunwizard/lib/AppInfo/Application.php
> 4 errors
> line 55: OC\_Util - Static method of private class must not be called
> line 56: OC\_Util - Static method of private class must not be called
> line 57: OC\_Util - Static method of private class must not be called
> line 77: OC\_Util - Static method of private class must not be called
> Invalid appinfo.xml file found: Element 'default\_enable': This element is not expected. Expected is one of ( category, website, discussion, bugs ).
> 
> App is not compliant
> \`\`\`

---

<div class="post-metadata">

**Author:** ![Sanook](https://help.nextcloud.com/user_avatar/help.nextcloud.com/sanook/32/13847_2.png) [@Sanook](https://help.nextcloud.com/u/Sanook)\
**Post date:** [October 5, 2018, 10:06am UTC](https://help.nextcloud.com/t/nc-14-0-1-bug-list-deprecated-file-found-app-is-not-compliant/38213/2 "2018-10-05T10:06:35Z")

</div>

Partially explanation of the occ app:check-code command:

> <https://github.com/nextcloud/survey_client/issues/82#issuecomment-427010261>

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 7:55am UTC](https://help.nextcloud.com/t/nc-14-0-1-bug-list-deprecated-file-found-app-is-not-compliant/38213/3 "2024-12-04T07:55:24Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 3:22pm UTC](https://help.nextcloud.com/t/nc-14-0-1-bug-list-deprecated-file-found-app-is-not-compliant/38213/4 "2024-12-09T15:22:01Z")

</div>


