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.
Test Failed
Push — master ( 47d764...311795 )
by Igor
02:54 queued 01:29
created
src/Route4Me/Exception/myErrorHandler.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 class myErrorHandler extends \Exception
6 6
 {
7
-    public function proc_error($errno, $errstr, $errfile, $errline)
8
-    {
9
-        echo "Error No: $errno,  line: $errline --- ".$errstr.'<br>';
10
-    }
7
+	public function proc_error($errno, $errstr, $errfile, $errline)
8
+	{
9
+		echo "Error No: $errno,  line: $errline --- ".$errstr.'<br>';
10
+	}
11 11
 }
Please login to merge, or discard this patch.
src/Route4Me/Geocoding.php 1 patch
Indentation   +78 added lines, -78 removed lines patch added patch discarded remove patch
@@ -6,109 +6,109 @@
 block discarded – undo
6 6
 
7 7
 class Geocoding extends Common
8 8
 {
9
-    public $strExportFormat;
10
-    public $format;
11
-    public $addresses;
12
-    public $pk;
13
-    public $offset;
14
-    public $limit;
15
-    public $housenumber;
16
-    public $zipcode;
9
+	public $strExportFormat;
10
+	public $format;
11
+	public $addresses;
12
+	public $pk;
13
+	public $offset;
14
+	public $limit;
15
+	public $housenumber;
16
+	public $zipcode;
17 17
 
18
-    public static function fromArray(array $params)
19
-    {
20
-        $geocoding = new self();
18
+	public static function fromArray(array $params)
19
+	{
20
+		$geocoding = new self();
21 21
 
22
-        foreach ($params as $key => $value) {
23
-            if (property_exists($geocoding, $key)) {
24
-                $geocoding->{$key} = $value;
25
-            }
26
-        }
22
+		foreach ($params as $key => $value) {
23
+			if (property_exists($geocoding, $key)) {
24
+				$geocoding->{$key} = $value;
25
+			}
26
+		}
27 27
 
28
-        return $geocoding;
29
-    }
28
+		return $geocoding;
29
+	}
30 30
 
31
-    public static function forwardGeocoding($params)
32
-    {
33
-        $allBodyFields = ['strExportFormat', 'addresses'];
31
+	public static function forwardGeocoding($params)
32
+	{
33
+		$allBodyFields = ['strExportFormat', 'addresses'];
34 34
 
35
-        $fgCoding = Route4Me::makeRequst([
36
-            'url'           => Endpoint::GEOCODER,
37
-            'method'        => 'POST',
38
-            'body'          => Route4Me::generateRequestParameters($allBodyFields, $params),
39
-            'HTTPHEADER'    => 'Content-Type: multipart/form-data',
40
-        ]);
35
+		$fgCoding = Route4Me::makeRequst([
36
+			'url'           => Endpoint::GEOCODER,
37
+			'method'        => 'POST',
38
+			'body'          => Route4Me::generateRequestParameters($allBodyFields, $params),
39
+			'HTTPHEADER'    => 'Content-Type: multipart/form-data',
40
+		]);
41 41
 
42
-        return $fgCoding;
43
-    }
42
+		return $fgCoding;
43
+	}
44 44
 
45
-    public static function reverseGeocoding($params)
46
-    {
47
-        $allQueryFields = ['format', 'addresses', 'detailed'];
45
+	public static function reverseGeocoding($params)
46
+	{
47
+		$allQueryFields = ['format', 'addresses', 'detailed'];
48 48
 
49
-        $fgcoding = Route4Me::makeRequst([
50
-            'url'       => Endpoint::GEOCODER,
51
-            'method'    => 'POST',
52
-            'query'     => Route4Me::generateRequestParameters($allQueryFields, $params),
53
-        ]);
49
+		$fgcoding = Route4Me::makeRequst([
50
+			'url'       => Endpoint::GEOCODER,
51
+			'method'    => 'POST',
52
+			'query'     => Route4Me::generateRequestParameters($allQueryFields, $params),
53
+		]);
54 54
 
55
-        return $fgcoding;
56
-    }
55
+		return $fgcoding;
56
+	}
57 57
 
58
-    public static function getStreetData($params)
59
-    {
60
-        Route4Me::setBaseUrl(Endpoint::STREET_DATA);
58
+	public static function getStreetData($params)
59
+	{
60
+		Route4Me::setBaseUrl(Endpoint::STREET_DATA);
61 61
 
62
-        $allPathFields = ['pk', 'offset', 'limit'];
62
+		$allPathFields = ['pk', 'offset', 'limit'];
63 63
 
64
-        $url_query = Route4Me::generateUrlPath($allPathFields, $params);
64
+		$url_query = Route4Me::generateUrlPath($allPathFields, $params);
65 65
 
66
-        $query = [];
66
+		$query = [];
67 67
 
68
-        $response = Route4Me::makeRequst([
69
-            'url'       => $url_query,
70
-            'method'    => 'GET',
71
-            'query'     => $query,
72
-        ]);
68
+		$response = Route4Me::makeRequst([
69
+			'url'       => $url_query,
70
+			'method'    => 'GET',
71
+			'query'     => $query,
72
+		]);
73 73
 
74
-        return $response;
75
-    }
74
+		return $response;
75
+	}
76 76
 
77
-    public static function getZipCode($params)
78
-    {
79
-        Route4Me::setBaseUrl(Endpoint::STREET_DATA_ZIPCODE);
77
+	public static function getZipCode($params)
78
+	{
79
+		Route4Me::setBaseUrl(Endpoint::STREET_DATA_ZIPCODE);
80 80
 
81
-        $allPathFields = ['zipcode', 'offset', 'limit'];
81
+		$allPathFields = ['zipcode', 'offset', 'limit'];
82 82
 
83
-        $url_query = Route4Me::generateUrlPath($allPathFields, $params);
83
+		$url_query = Route4Me::generateUrlPath($allPathFields, $params);
84 84
 
85
-        $query = [];
85
+		$query = [];
86 86
 
87
-        $response = Route4Me::makeRequst([
88
-            'url'       => $url_query,
89
-            'method'    => 'GET',
90
-            'query'     => $query,
91
-        ]);
87
+		$response = Route4Me::makeRequst([
88
+			'url'       => $url_query,
89
+			'method'    => 'GET',
90
+			'query'     => $query,
91
+		]);
92 92
 
93
-        return $response;
94
-    }
93
+		return $response;
94
+	}
95 95
 
96
-    public static function getService($params)
97
-    {
98
-        Route4Me::setBaseUrl(Endpoint::STREET_DATA_SERVICE);
96
+	public static function getService($params)
97
+	{
98
+		Route4Me::setBaseUrl(Endpoint::STREET_DATA_SERVICE);
99 99
 
100
-        $allPathFields = ['zipcode', 'housenumber', 'offset', 'limit'];
100
+		$allPathFields = ['zipcode', 'housenumber', 'offset', 'limit'];
101 101
 
102
-        $url_query = Route4Me::generateUrlPath($allPathFields, $params);
102
+		$url_query = Route4Me::generateUrlPath($allPathFields, $params);
103 103
 
104
-        $query = [];
104
+		$query = [];
105 105
 
106
-        $response = Route4Me::makeRequst([
107
-            'url'       => $url_query,
108
-            'method'    => 'GET',
109
-            'query'     => $query,
110
-        ]);
106
+		$response = Route4Me::makeRequst([
107
+			'url'       => $url_query,
108
+			'method'    => 'GET',
109
+			'query'     => $query,
110
+		]);
111 111
 
112
-        return $response;
113
-    }
112
+		return $response;
113
+	}
114 114
 }
Please login to merge, or discard this patch.
src/Route4Me/Schedule/ScheduleMonthly.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -11,27 +11,27 @@
 block discarded – undo
11 11
  */
12 12
 class ScheduleMonthly extends Common
13 13
 {
14
-    /**
15
-     * Repeat every month next 'Every' days.
16
-     * @var integer
17
-     */
18
-    public $every;
14
+	/**
15
+	 * Repeat every month next 'Every' days.
16
+	 * @var integer
17
+	 */
18
+	public $every;
19 19
 
20
-    /**
21
-     * Monthly schedule mode
22
-     * @var string
23
-     */
24
-    public $mode;
20
+	/**
21
+	 * Monthly schedule mode
22
+	 * @var string
23
+	 */
24
+	public $mode;
25 25
 
26
-    /**
27
-     * An array of month days for monthly schedule if the mode 'dates' was chosen.
28
-     * @var integer[]
29
-     */
30
-    public $dates = [];
26
+	/**
27
+	 * An array of month days for monthly schedule if the mode 'dates' was chosen.
28
+	 * @var integer[]
29
+	 */
30
+	public $dates = [];
31 31
 
32
-    /**
33
-     * Monthly schedule option if the mode 'nth' was chosen.
34
-     * @var ScheduleMonthlyNth
35
-     */
36
-    public $nth;
32
+	/**
33
+	 * Monthly schedule option if the mode 'nth' was chosen.
34
+	 * @var ScheduleMonthlyNth
35
+	 */
36
+	public $nth;
37 37
 }
38 38
\ No newline at end of file
Please login to merge, or discard this patch.
src/Route4Me/Schedule/Schedule.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -12,47 +12,47 @@
 block discarded – undo
12 12
  */
13 13
 class Schedule extends Common
14 14
 {
15
-    /**
16
-     * Gets or sets a value indicating whether this is enabled.
17
-     * @var Boolean
18
-     */
19
-    public $enabled;
20
-
21
-    /**
22
-     * When schedule will be started from.
23
-     * @var string
24
-     */
25
-    public $from;
26
-
27
-    /**
28
-     * Schedule mode<br>
29
-     * Available values:<br>
30
-     * daily, weekly, monthly, annually
31
-     * @var string
32
-     */
33
-    public $mode;
34
-
35
-    /**
36
-     * If schedule mode is daily, specifies daily schedule data.
37
-     * @var ScheduleDaily
38
-     */
39
-    public $daily;
40
-
41
-    /**
42
-     * If schedule mode is weekly, specifies weekly schedule data.
43
-     * @var ScheduleWeekly
44
-     */
45
-    public $weekly;
46
-
47
-    /**
48
-     * If schedule mode is monthly, specifies monthly schedule data.
49
-     * @var ScheduleMonthly
50
-     */
51
-    public $monthly;
52
-
53
-    /**
54
-     * If schedule mode is annually, specifies annually schedule data.
55
-     * @var ScheduleAnnually
56
-     */
57
-    public $annually;
15
+	/**
16
+	 * Gets or sets a value indicating whether this is enabled.
17
+	 * @var Boolean
18
+	 */
19
+	public $enabled;
20
+
21
+	/**
22
+	 * When schedule will be started from.
23
+	 * @var string
24
+	 */
25
+	public $from;
26
+
27
+	/**
28
+	 * Schedule mode<br>
29
+	 * Available values:<br>
30
+	 * daily, weekly, monthly, annually
31
+	 * @var string
32
+	 */
33
+	public $mode;
34
+
35
+	/**
36
+	 * If schedule mode is daily, specifies daily schedule data.
37
+	 * @var ScheduleDaily
38
+	 */
39
+	public $daily;
40
+
41
+	/**
42
+	 * If schedule mode is weekly, specifies weekly schedule data.
43
+	 * @var ScheduleWeekly
44
+	 */
45
+	public $weekly;
46
+
47
+	/**
48
+	 * If schedule mode is monthly, specifies monthly schedule data.
49
+	 * @var ScheduleMonthly
50
+	 */
51
+	public $monthly;
52
+
53
+	/**
54
+	 * If schedule mode is annually, specifies annually schedule data.
55
+	 * @var ScheduleAnnually
56
+	 */
57
+	public $annually;
58 58
 }
59 59
\ No newline at end of file
Please login to merge, or discard this patch.
src/Route4Me/Schedule/ScheduleAnnually.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -12,27 +12,27 @@
 block discarded – undo
12 12
  */
13 13
 class ScheduleAnnually extends Common
14 14
 {
15
-    /**
16
-     * Repeat every year next 'Every' months.
17
-     * @var integer
18
-     */
19
-    public $every;
15
+	/**
16
+	 * Repeat every year next 'Every' months.
17
+	 * @var integer
18
+	 */
19
+	public $every;
20 20
 
21
-    /**
22
-     * If true, use NTH mode.
23
-     * @var Boolean
24
-     */
25
-    public $use_nth;
21
+	/**
22
+	 * If true, use NTH mode.
23
+	 * @var Boolean
24
+	 */
25
+	public $use_nth;
26 26
 
27
-    /**
28
-     * An array of the month numbers.
29
-     * @var integer[]
30
-     */
31
-    public $months;
27
+	/**
28
+	 * An array of the month numbers.
29
+	 * @var integer[]
30
+	 */
31
+	public $months;
32 32
 
33
-    /**
34
-     * Annualy schedule option if 'UseNth' is true.
35
-     * @var ScheduleMonthlyNth
36
-     */
37
-    public $nth;
33
+	/**
34
+	 * Annualy schedule option if 'UseNth' is true.
35
+	 * @var ScheduleMonthlyNth
36
+	 */
37
+	public $nth;
38 38
 }
39 39
\ No newline at end of file
Please login to merge, or discard this patch.
src/Route4Me/Schedule/ScheduleWeekly.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -11,15 +11,15 @@
 block discarded – undo
11 11
  */
12 12
 class ScheduleWeekly extends Common
13 13
 {
14
-    /**
15
-     * Repeat every week next 'Every' days.
16
-     * @var integer
17
-     */
18
-    public $every;
14
+	/**
15
+	 * Repeat every week next 'Every' days.
16
+	 * @var integer
17
+	 */
18
+	public $every;
19 19
 
20
-    /**
21
-     * An array of the weekday numbers.
22
-     * @var integer[]
23
-     */
24
-    public $weekdays = [];
20
+	/**
21
+	 * An array of the weekday numbers.
22
+	 * @var integer[]
23
+	 */
24
+	public $weekdays = [];
25 25
 }
Please login to merge, or discard this patch.
src/Route4Me/Schedule/ScheduleMonthlyNth.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -11,17 +11,17 @@
 block discarded – undo
11 11
  */
12 12
 class ScheduleMonthlyNth
13 13
 {
14
-    /**
15
-     * Which day of the time period, 1: 1st, 2: 2nd, 3: 3rd, 4: 4th, 5: 5th, -1: Last
16
-     * @var integer
17
-     */
18
-    public $n;
14
+	/**
15
+	 * Which day of the time period, 1: 1st, 2: 2nd, 3: 3rd, 4: 4th, 5: 5th, -1: Last
16
+	 * @var integer
17
+	 */
18
+	public $n;
19 19
 
20
-    /**
21
-     * What time. Available values:<br>
22
-     * 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday,<br>
23
-     * 6: Saturday, 7: Sunday, 8: Day, 9: Working Day, 10: Weekend
24
-     * @var integer
25
-     */
26
-    public $what;
20
+	/**
21
+	 * What time. Available values:<br>
22
+	 * 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday,<br>
23
+	 * 6: Saturday, 7: Sunday, 8: Day, 9: Working Day, 10: Weekend
24
+	 * @var integer
25
+	 */
26
+	public $what;
27 27
 }
28 28
\ No newline at end of file
Please login to merge, or discard this patch.
src/Route4Me/Schedule/ScheduleDaily.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
  */
12 12
 class ScheduleDaily extends Common
13 13
 {
14
-    /**
15
-     * Repeat every next 'Every' days
16
-     * @var integer
17
-     */
18
-    public $every;
14
+	/**
15
+	 * Repeat every next 'Every' days
16
+	 * @var integer
17
+	 */
18
+	public $every;
19 19
 }
20 20
\ No newline at end of file
Please login to merge, or discard this patch.
src/Route4Me/DirectionStep.php 1 patch
Indentation   +61 added lines, -61 removed lines patch added patch discarded remove patch
@@ -11,76 +11,76 @@
 block discarded – undo
11 11
  */
12 12
 class DirectionStep extends Common
13 13
 {
14
-    /**
15
-     * Name (detailed)
16
-     * @var string
17
-     */
18
-    public $direction;
14
+	/**
15
+	 * Name (detailed)
16
+	 * @var string
17
+	 */
18
+	public $direction;
19 19
 
20
-    /**
21
-     * Name (brief)
22
-     * @var strng
23
-     */
24
-    public $directions;
20
+	/**
21
+	 * Name (brief)
22
+	 * @var strng
23
+	 */
24
+	public $directions;
25 25
 
26
-    /**
27
-     * Distance
28
-     * @var double
29
-     */
30
-    public $distance;
26
+	/**
27
+	 * Distance
28
+	 * @var double
29
+	 */
30
+	public $distance;
31 31
 
32
-    /**
33
-     * Distance unit
34
-     * @var string
35
-     */
36
-    public $distance_unit;
32
+	/**
33
+	 * Distance unit
34
+	 * @var string
35
+	 */
36
+	public $distance_unit;
37 37
 
38
-    /**
39
-     * Maneuver Type. Available values:
40
-     * - Head,Go Straight,Turn Left,Turn Right,Turn Slight Left,
41
-     * - Turn Slight Right,Turn Sharp Left,Turn Sharp Right,
42
-     * - Roundabout Left,Roundabout Right,Uturn Left,Uturn Right,
43
-     * - Ramp Left,Ramp Right,Fork Left,Fork Right,Keep Left,
44
-     * - Keep Right,Ferry,Ferry Train,Merge,Reached Your Destination.
45
-     * @var string
46
-     */
47
-    public $maneuverType;
38
+	/**
39
+	 * Maneuver Type. Available values:
40
+	 * - Head,Go Straight,Turn Left,Turn Right,Turn Slight Left,
41
+	 * - Turn Slight Right,Turn Sharp Left,Turn Sharp Right,
42
+	 * - Roundabout Left,Roundabout Right,Uturn Left,Uturn Right,
43
+	 * - Ramp Left,Ramp Right,Fork Left,Fork Right,Keep Left,
44
+	 * - Keep Right,Ferry,Ferry Train,Merge,Reached Your Destination.
45
+	 * @var string
46
+	 */
47
+	public $maneuverType;
48 48
 
49
-    /**
50
-     * Compass Direction. Available values:<br>
51
-     *  N, S, W, E, NW, NE, SW, SE
52
-     * @var string
53
-     */
54
-    public $compass_direction;
49
+	/**
50
+	 * Compass Direction. Available values:<br>
51
+	 *  N, S, W, E, NW, NE, SW, SE
52
+	 * @var string
53
+	 */
54
+	public $compass_direction;
55 55
 
56
-    /**
57
-     * UDU Distance (UDU: User Distance Unit).
58
-     * @var double
59
-     */
60
-    public $udu_distance;
56
+	/**
57
+	 * UDU Distance (UDU: User Distance Unit).
58
+	 * @var double
59
+	 */
60
+	public $udu_distance;
61 61
 
62
-    /**
63
-     * Direction step duration(seconds)
64
-     * @var integer
65
-     */
66
-    public $duration_sec;
62
+	/**
63
+	 * Direction step duration(seconds)
64
+	 * @var integer
65
+	 */
66
+	public $duration_sec;
67 67
 
68
-    /**
69
-     * Maneuver Point
70
-     * @var GeoPoint
71
-     */
72
-    public $maneuverPoint;
68
+	/**
69
+	 * Maneuver Point
70
+	 * @var GeoPoint
71
+	 */
72
+	public $maneuverPoint;
73 73
 
74
-    public static function fromArray(array $params)
75
-    {
76
-        $thisParams = new self();
74
+	public static function fromArray(array $params)
75
+	{
76
+		$thisParams = new self();
77 77
 
78
-        foreach ($params as $key => $value) {
79
-            if (property_exists($thisParams, $key)) {
80
-                $thisParams->{$key} = $value;
81
-            }
82
-        }
78
+		foreach ($params as $key => $value) {
79
+			if (property_exists($thisParams, $key)) {
80
+				$thisParams->{$key} = $value;
81
+			}
82
+		}
83 83
 
84
-        return $thisParams;
85
-    }
84
+		return $thisParams;
85
+	}
86 86
 }
87 87
\ No newline at end of file
Please login to merge, or discard this patch.