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.
Passed
Push — master ( 6a121b...8b886b )
by Jens
02:50
created

config.example.php (4 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
// CONFIG
4
5
// DNS name of Fritz!Box or IP address
6
$config['fritzbox_ip'] = 'fritz.box';
7
$config['fritzbox_ip_ftp'] = 'fritz.box';
8
9
// user name/password to access Fritz!Box
10
$config['fritzbox_user'] = 'fb_username';
11
$config['fritzbox_pw'] = 'fb_password';
12
//$config['fritzbox_force_local_login'] = true;
0 ignored issues
show
Unused Code Comprehensibility introduced by
67% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
13
14
// number of the internal phone book and its name
15
// 0    - main phone book
16
// 1..n - additional phone books
17
$config['phonebook_number'] = '0';
18
$config['phonebook_name'] = 'Telefonbuch';
19
20
// Fullname format options
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
21
// 'only if exist and switched to true here in config'
22
// 0: "Prefix Lastname, Firstname AdditionalNames Suffix (orgname)"
23
// 1: "Prefix Firstname Lastname AdditionalNames Suffix (orgname)"
24
// 2: "Prefix Firstname AdditionalNames Lastname Suffix (orgname)"
25
$config['fullname_format'] = 0;
26
27
// Fullname parts
28
$config['prefix'] = false; // include prefix in fullname if existing
29
$config['suffix'] = false; // include suffix in fullname if existing
30
$config['addnames'] = false; // include additionalnames in fullname if existing
31
$config['orgname'] = false; // include organisation (company) in fullname if existing
32
33
// Quickdial starting keyword in notes
34
//$config['quickdial_keyword'] = 'Quickdial:'; // once activated you may add 'Quickdial:+49030123456:**709' to the contact note field and the number will set as quickdialnumber. You may add more quickdials for a single contact each in a new line
35
36
// optional: write output to file instead of sending it to the Fritz!Box
37
//$config['output_file'] = '/media/usbdisk/share/phonebook.xml';
38
39
// optional: import only contacts of the given groups
0 ignored issues
show
Unused Code Comprehensibility introduced by
56% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
40
//$config['group_filter'] = array('Arzt','Familie','Freunde','Friseur','Geschäftlich','Hotline','Notruf','Restaurant','Shops');
41
42
// group name of 'important' callers
43
$config['group_vip'] = 'VIP';
44
45
// base path of USB storage of Fritz!Box under which the path 'FRITZ\fonpix' could be found
46
// '' -> use internal fritzbox storage
47
//$config['usb_disk'] = 'Generic-FlashDisk-01';
48
49
// many version Fritz!Box use 'file:///var/media/ftp/' others 'file:///var/InternerSpeicher/' to check just export an your current phonebook and have a look at any imageURL tag `<imageURL>file:///var/media/ftp/(HERE_config_from:usb_disk)/FRITZ/fonpix/9.jpg</imageURL>`. 
50
//$config['fritzbox_path'] = 'file:///var/media/ftp/';
51
52
// multiple carddav adressbooks could be specified and will be merged together.
53
54
// first
55
$config['carddav'][0] = array(
56
  // URL of first CardDAV address book on cloud storage
57
  'url' => 'https://raspserver/owncloud/remote.php/carddav/addressbooks/fritzbox/fb_contacts',
58
  // user name/password for CardDAV access
59
  'user' => 'oc_username',
60
  'pw' => 'oc_password',
61
  // vcf extension
62
  'extension' => '.vcf'
63
);
64
65
// second
0 ignored issues
show
Unused Code Comprehensibility introduced by
54% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
66
//$config['carddav'][1] = array(
67
//  'url' => 'https://raspserver/owncloud/remote.php/carddav/addressbooks/fritzbox/fb_contacts_second',
68
//  'user' => 'oc_username',
69
//  'pw' => 'oc_password',
70
//  'extension' => '.vcf'
71
//);
72