GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 21-34 lines in 3 locations

app/views/bugs/index.php 1 location

@@ 21-54 (lines=34) @@
18
                            <div class="row">
19
                                <div class="col-lg-12">
20
21
                                <?php if(empty(Session::get('report-bug-success'))){ ?>
22
                                <form action="<?php echo PUBLIC_ROOT; ?>User/reportBug" id="form-bug" method="post">
23
                                        <div class="form-group">
24
                                            <label>Subject <span class="text-danger">*</span></label>
25
											<input type="text" name="subject" class="form-control" required maxlength="80" placeholder="Write the subject">
26
                                        </div>
27
										
28
										<div class="form-group">
29
                                            <label>Bug, Feature or Enhancement? <span class="text-danger">*</span></label>
30
                                            <select name="label" class="form-control" size="1">
31
                                                <option value="bug">Bug</option>
32
                                                <option value="feature">Feature</option>
33
                                                <option value="enhancement">Enhancement</option>
34
                                            </select>
35
                                            <p class="help-block">Bug is an error you encountered</p>
36
                                            <p class="help-block">Feature is a new functionality you suggest to add</p>
37
                                            <p class="help-block">Enhancement is an existing feature, but you want to improve</p>
38
                                        </div>
39
										
40
										<div class="form-group">
41
											<label>Message <span class="text-danger">*</span></label>
42
											<textarea class="form-control" name="message" required rows="20" maxlength="1800"></textarea>
43
											<p class="help-block"><em>The maximum number of characters allowed is <strong>1800</strong></em></p>
44
                                        </div>
45
                                        <div class="form-group">
46
                                            <input type="hidden" name="csrf_token" value="<?= Session::generateCsrfToken(); ?>" />
47
                                        </div>
48
										<div class="form-group form-actions text-right">
49
											<button type="submit" name="submit" value="submit" class="btn btn-md btn-success">
50
												<i class="fa fa-check"></i> Send
51
											</button>
52
										</div>
53
                                    </form>
54
                                    <?php } else { echo $this->renderSuccess(Session::getAndDestroy('report-bug-success')); } ?>
55
                                    <?php 
56
                                        if(!empty(Session::get('report-bug-errors'))){
57
                                            echo $this->renderErrors(Session::getAndDestroy('report-bug-errors'));

app/views/login/index.php 1 location

@@ 54-74 (lines=21) @@
51
                            }
52
                        ?>
53
54
                        <?php if(empty(Session::get('forgot-password-success'))){ ?>
55
						<form action="<?php echo PUBLIC_ROOT; ?>Login/forgotPassword" id="form-forgot-password" method="post" 
56
                            <?php if($display_form !== "forgot-password"){ echo "class='display-none'"; } ?> >
57
                            <fieldset>
58
                                <div class="form-group">
59
                                    <input type="email" name="email" class="form-control" required placeholder="E-mail" autofocus >
60
                                </div>
61
								<div class="form-group">
62
                                    <input type="hidden" name="csrf_token" value="<?= Session::generateCsrfToken(); ?>" />
63
                                </div>
64
								<div class="form-group form-actions text-right">
65
                                   <button type="submit" name="submit" value="submit" class="btn btn-sm btn-success">
66
										<i class="fa fa-check"></i> Send
67
									</button>
68
                                </div>	
69
								<div class="form-group">
70
									Did you remember your password? <a id="link-login" href="javascript:void(0)">Login</a>
71
                                </div>
72
                            </fieldset>
73
                        </form>
74
						<?php } else { echo $this->renderSuccess(Session::getAndDestroy('forgot-password-success')); } ?>
75
                        <?php 
76
                            if(!empty(Session::get('forgot-password-errors'))){
77
                                echo $this->renderErrors(Session::getAndDestroy('forgot-password-errors'));

app/views/posts/newPost.php 1 location

@@ 21-41 (lines=21) @@
18
                            <div class="row">
19
                                <div class="col-lg-12">
20
21
                                    <?php if(empty(Session::get('posts-success'))){ ?>
22
                                    <form action="<?php echo PUBLIC_ROOT; ?>Posts/create" id="form-create-post" method="post">
23
                                        <div class="form-group">
24
                                            <label>Title <span class='text-danger'>*</span></label>
25
                                            <input dir="auto" type="text" name="title" class="form-control" required maxlength="60" placeholder="Title">
26
                                        </div>
27
										<div class="form-group">
28
                                            <label>Content <span class='text-danger'>*</span></label>
29
                                            <textarea dir="auto" class="form-control" name="content" required rows="20" maxlength="1800"></textarea>
30
											<p class="help-block"><em>The maximum number of characters allowed is <strong>1800</strong></em></p>
31
                                        </div>
32
                                        <div class="form-group">
33
                                            <input type="hidden" name="csrf_token" value="<?= Session::generateCsrfToken(); ?>" />
34
                                        </div>
35
										<div class="form-group form-actions text-right">
36
											 <button type="submit" name="submit" value="submit" class="btn btn-md btn-success">
37
												<i class="fa fa-check"></i> Post
38
											</button>
39
										</div>
40
                                    </form>
41
                                    <?php } else { echo $this->renderSuccess(Session::getAndDestroy('posts-success')); } ?>
42
                                    <?php 
43
                                        if(!empty(Session::get('posts-errors'))){
44
                                            echo $this->renderErrors(Session::getAndDestroy('posts-errors'));