owncloud-archive / files_locking

3 stars 5 forks source link

files_locking app does not pass occ app:check-code #18

Closed jnfrmarks closed 9 years ago

jnfrmarks commented 9 years ago

Steps to reproduce

  1. Install 8.1 enterprise
  2. invoke occ app:check-code

    Expected behaviour

The app passes the check

Actual behaviour

The app fails the check:


Analysing /var/www/html/owncloud/apps/files_locking/tests/LockingWrapperTest.php
 5 errors
    line   36: OC_User - static method call on private class
    line   37: OC_User - static method call on private class
    line   40: OC_User - static method call on private class
    line   41: OC_User - static method call on private class
    line   42: OC_User - static method call on private class
Analysing /var/www/html/owncloud/apps/files_locking/tests/LockTest.php
 0 errors
Analysing /var/www/html/owncloud/apps/files_locking/tests/bootstrap.php
 1 errors
    line   11: OC_Hook - static method call on private class
Analysing /var/www/html/owncloud/apps/files_locking/lib/lock.php
 46 errors
    line   78: OC_Log - static method call on private class
    line   78: OC_Log - used to fetch a const from
    line   92: OC_Log - used to fetch a const from
    line   92: OC_Log - static method call on private class
    line   97: OC_Log - used to fetch a const from
    line   97: OC_Log - static method call on private class
    line  104: OC_Log - static method call on private class
    line  104: OC_Log - used to fetch a const from
    line  111: OC_Log - used to fetch a const from
    line  111: OC_Log - static method call on private class
    line  126: OC_Log - used to fetch a const from
    line  126: OC_Log - static method call on private class
    line  142: OC_Log - used to fetch a const from
    line  142: OC_Log - static method call on private class
    line  158: OC_Log - used to fetch a const from
    line  158: OC_Log - static method call on private class
    line  164: OC_Log - used to fetch a const from
    line  164: OC_Log - static method call on private class
    line  170: OC_Log - static method call on private class
    line  170: OC_Log - used to fetch a const from
    line  185: OC_Log - used to fetch a const from
    line  185: OC_Log - static method call on private class
    line  189: OC_Log - used to fetch a const from
    line  189: OC_Log - static method call on private class
    line  194: OC_Log - static method call on private class
    line  194: OC_Log - used to fetch a const from
    line  197: OC_Log - used to fetch a const from
    line  197: OC_Log - static method call on private class
    line  206: OC_Log - used to fetch a const from
    line  206: OC_Log - static method call on private class
    line  211: OC_Log - used to fetch a const from
    line  211: OC_Log - static method call on private class
    line  215: OC_Log - used to fetch a const from
    line  215: OC_Log - static method call on private class
    line  250: OC_Log - used to fetch a const from
    line  250: OC_Log - static method call on private class
    line  327: OC_Log - static method call on private class
    line  327: OC_Log - used to fetch a const from
    line  331: OC_Log - used to fetch a const from
    line  331: OC_Log - static method call on private class
    line  340: OC_Log - used to fetch a const from
    line  340: OC_Log - static method call on private class
    line  343: OC_Log - static method call on private class
    line  343: OC_Log - used to fetch a const from
    line  350: OC_Log - used to fetch a const from
    line  350: OC_Log - static method call on private class
Analysing /var/www/html/owncloud/apps/files_locking/lib/lockingwrapper.php
 0 errors
Analysing /var/www/html/owncloud/apps/files_locking/appinfo/app.php
 0 errors
App is not compliant

Server configuration

Ubuntu 14.04 PHP 5.5.9 ownCloud Enterprise Edition 8.1 alpha 1 (daily) Build:2015-04-16T03:08:13+00:00 f50798a674bf223e1c8015b9a27287b2ac6c9f1a

DeepDiver1975 commented 9 years ago

@th3fallen some spare time left :speak_no_evil: THX

th3fallen commented 9 years ago

:see_no_evil: :sob: