Test Failed
Push — master ( e3c39f...fe570d )
by Mihail
07:20
created

Apps/Controller/Api/Profile.php (6 issues)

php_analyzer.check_properties.missing_required_property.many

Unknown
1
<?php
2
3
namespace Apps\Controller\Api;
4
5
use Extend\Core\Arch\ApiController;
6
7
/**
8
 * Class Profile. Api controller provide ajax/json for user profile features
9
 * @package Apps\Controller\Api
10
 */
11
class Profile extends ApiController
12
{
13
    const ITEM_PER_PAGE = 10;
14
    const ANSWER_DELAY = 60; // in seconds
15
16
    const MSG_USER_LIST = 10;
17
    const MSG_TEXT_LIST = 20;
18
19
    // include actions from traits
20
    use Profile\ActionWallAnswerCount {
21
        wallAnswerCount as actionWallanswercount;
22
    }
23
24
    use Profile\ActionShowWallAnswers {
0 ignored issues
show
The trait Apps\Controller\Api\Profile\ActionShowWallAnswers requires some properties which are not provided by Apps\Controller\Api\Profile: $role, $color, $id, $profile, $created_at, $user
Loading history...
25
        showWallAnswers as actionShowwallanswers;
26
    }
27
28
    use Profile\ActionSendWallAnswer {
0 ignored issues
show
The trait Apps\Controller\Api\Profile\ActionSendWallAnswer requires some properties which are not provided by Apps\Controller\Api\Profile: $id, $created_at
Loading history...
29
        sendWallAnswer as actionSendwallanswer;
30
    }
31
32
    use Profile\ActionDeleteAnswerOwner {
0 ignored issues
show
The trait Apps\Controller\Api\Prof...ActionDeleteAnswerOwner requires some properties which are not provided by Apps\Controller\Api\Profile: $post, $id
Loading history...
33
        deleteAnswerOwner as actionDeleteanswerowner;
34
    }
35
36
    use Profile\ActionListMessageDialog {
0 ignored issues
show
The trait Apps\Controller\Api\Prof...ActionListMessageDialog requires some properties which are not provided by Apps\Controller\Api\Profile: $id, $profile
Loading history...
37
        listMessageDialog as actionListmessagedialog;
38
    }
39
40
    use Profile\ActionNotifications {
41
        notifications as actionNotifications;
42
    }
43
44
    use Profile\ActionMessageList {
0 ignored issues
show
The trait Apps\Controller\Api\Profile\ActionMessageList requires some properties which are not provided by Apps\Controller\Api\Profile: $id, $created_at
Loading history...
45
        messageList as actionMessageList;
46
    }
47
48
    use Profile\ActionMessageSend {
49
        messageSend as actionMessagesend;
50
    }
51
52
    use Profile\ActionChangeRating {
0 ignored issues
show
The trait Apps\Controller\Api\Profile\ActionChangeRating requires some properties which are not provided by Apps\Controller\Api\Profile: $profile, $rating
Loading history...
53
        changeRating as actionChangerating;
54
    }
55
}
56