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 = 8-9 lines in 3 locations

backend/protected/modules/menu/models/BFrontendMenu.php 1 location

@@ 100-108 (lines=9) @@
97
  /**
98
   * @return array
99
   */
100
  public function rules()
101
  {
102
    return array(
103
      array('name, sysname', 'required'),
104
      array('name, sysname', 'length', 'max' => 255),
105
      array('name, sysname, url', 'safe'),
106
107
    );
108
  }
109
110
  /**
111
   * @return array

backend/protected/modules/product/models/BProductParam.php 1 location

@@ 22-29 (lines=8) @@
19
 */
20
class BProductParam extends BActiveRecord
21
{
22
  public function rules()
23
  {
24
    return array(
25
      array('param_id, product_id', 'required'),
26
      array('param_id, product_id', 'length', 'max' => 10),
27
      array('variant_id, value', 'safe'),
28
    );
29
  }
30
31
  public function relations()
32
  {

protected/models/Callback.php 1 location

@@ 16-23 (lines=8) @@
13
 */
14
class Callback extends FActiveRecord
15
{
16
  public function rules()
17
  {
18
    return array(
19
      array('phone', 'required'),
20
      array('name', 'length', 'max' => 255),
21
      array('time, content', 'safe'),
22
    );
23
  }
24
25
  public function attributeLabels()
26
  {