This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include
, or for example
via PHP's auto-loading mechanism.
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | /** |
||
3 | * Slince shipment tracker library |
||
4 | * @author Tao <[email protected]> |
||
5 | */ |
||
6 | namespace Slince\ShipmentTracking\USPS; |
||
7 | |||
8 | use Slince\ShipmentTracking\Foundation\ShipmentEvent as BaseShipmentEvent; |
||
9 | |||
10 | class ShipmentEvent extends BaseShipmentEvent |
||
11 | { |
||
12 | /** |
||
13 | * @deprecated |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $day; |
||
17 | |||
18 | /** |
||
19 | * @deprecated |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $city; |
||
23 | |||
24 | /** |
||
25 | * @deprecated |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $state; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $zipCode; |
||
34 | |||
35 | /** |
||
36 | * @deprecated |
||
37 | * @var string |
||
38 | */ |
||
39 | protected $country; |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | * @deprecated |
||
44 | */ |
||
45 | public function getCity() |
||
46 | { |
||
47 | return $this->city; |
||
0 ignored issues
–
show
|
|||
48 | } |
||
49 | |||
50 | /** |
||
51 | * @param string $city |
||
52 | * @return ShipmentEvent |
||
53 | * @deprecated |
||
54 | */ |
||
55 | public function setCity($city) |
||
56 | { |
||
57 | $this->city = $city; |
||
0 ignored issues
–
show
The property
Slince\ShipmentTracking\USPS\ShipmentEvent::$city has been deprecated.
This property has been deprecated. The supplier of the class has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead. ![]() |
|||
58 | return $this; |
||
59 | } |
||
60 | |||
61 | /** |
||
62 | * @return string |
||
63 | * @deprecated |
||
64 | */ |
||
65 | public function getCountry() |
||
66 | { |
||
67 | return $this->country; |
||
0 ignored issues
–
show
The property
Slince\ShipmentTracking\...ShipmentEvent::$country has been deprecated.
This property has been deprecated. The supplier of the class has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead. ![]() |
|||
68 | } |
||
69 | |||
70 | /** |
||
71 | * @param string $country |
||
72 | * @return ShipmentEvent |
||
73 | * @deprecated |
||
74 | */ |
||
75 | public function setCountry($country) |
||
76 | { |
||
77 | $this->country = $country; |
||
0 ignored issues
–
show
The property
Slince\ShipmentTracking\...ShipmentEvent::$country has been deprecated.
This property has been deprecated. The supplier of the class has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead. ![]() |
|||
78 | return $this; |
||
79 | } |
||
80 | |||
81 | /** |
||
82 | * @return string |
||
83 | * @deprecated |
||
84 | */ |
||
85 | public function getDay() |
||
86 | { |
||
87 | return $this->day; |
||
0 ignored issues
–
show
The property
Slince\ShipmentTracking\USPS\ShipmentEvent::$day has been deprecated.
This property has been deprecated. The supplier of the class has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead. ![]() |
|||
88 | } |
||
89 | |||
90 | /** |
||
91 | * @param string $day |
||
92 | * @return ShipmentEvent |
||
93 | * @deprecated |
||
94 | */ |
||
95 | public function setDay($day) |
||
96 | { |
||
97 | $this->day = $day; |
||
0 ignored issues
–
show
The property
Slince\ShipmentTracking\USPS\ShipmentEvent::$day has been deprecated.
This property has been deprecated. The supplier of the class has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead. ![]() |
|||
98 | return $this; |
||
99 | } |
||
100 | |||
101 | /** |
||
102 | * @return string |
||
103 | */ |
||
104 | public function getState() |
||
105 | { |
||
106 | return $this->state; |
||
0 ignored issues
–
show
The property
Slince\ShipmentTracking\USPS\ShipmentEvent::$state has been deprecated.
This property has been deprecated. The supplier of the class has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead. ![]() |
|||
107 | } |
||
108 | |||
109 | /** |
||
110 | * @param string $state |
||
111 | * @return ShipmentEvent |
||
112 | * @deprecated |
||
113 | */ |
||
114 | public function setState($state) |
||
115 | { |
||
116 | $this->state = $state; |
||
0 ignored issues
–
show
The property
Slince\ShipmentTracking\USPS\ShipmentEvent::$state has been deprecated.
This property has been deprecated. The supplier of the class has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead. ![]() |
|||
117 | return $this; |
||
118 | } |
||
119 | |||
120 | /** |
||
121 | * @return string |
||
122 | */ |
||
123 | public function getZipCode() |
||
124 | { |
||
125 | return $this->zipCode; |
||
126 | } |
||
127 | |||
128 | /** |
||
129 | * @param string $zipCode |
||
130 | * @return ShipmentEvent |
||
131 | */ |
||
132 | public function setZipCode($zipCode) |
||
133 | { |
||
134 | $this->zipCode = $zipCode; |
||
135 | return $this; |
||
136 | } |
||
137 | } |
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.