@@ -107,7 +107,7 @@ public function testGetVin() : void
107107 {
108108 $ vin = new Vin (self ::TEST_VIN );
109109
110- $ this ->assertEquals (self ::TEST_VIN , $ vin ->getVin ());
110+ $ this ->assertSame (self ::TEST_VIN , $ vin ->getVin ());
111111 }
112112
113113 /**
@@ -117,7 +117,7 @@ public function testGetWmi() : void
117117 {
118118 $ vin = new Vin (self ::TEST_VIN );
119119
120- $ this ->assertEquals (\substr (self ::TEST_VIN , 0 , 3 ), $ vin ->getWmi ());
120+ $ this ->assertSame (\substr (self ::TEST_VIN , 0 , 3 ), $ vin ->getWmi ());
121121 }
122122
123123 /**
@@ -127,7 +127,7 @@ public function testGetVds() : void
127127 {
128128 $ vin = new Vin (self ::TEST_VIN );
129129
130- $ this ->assertEquals (\substr (self ::TEST_VIN , 3 , 6 ), $ vin ->getVds ());
130+ $ this ->assertSame (\substr (self ::TEST_VIN , 3 , 6 ), $ vin ->getVds ());
131131 }
132132
133133 /**
@@ -137,7 +137,7 @@ public function testGetVis() : void
137137 {
138138 $ vin = new Vin (self ::TEST_VIN );
139139
140- $ this ->assertEquals (\substr (self ::TEST_VIN , 9 , 8 ), $ vin ->getVis ());
140+ $ this ->assertSame (\substr (self ::TEST_VIN , 9 , 8 ), $ vin ->getVis ());
141141 }
142142
143143 /**
@@ -147,7 +147,7 @@ public function testGetRegion() : void
147147 {
148148 $ vin = new Vin (self ::TEST_VIN );
149149
150- $ this ->assertEquals ('Europe ' , $ vin ->getRegion ());
150+ $ this ->assertSame ('Europe ' , $ vin ->getRegion ());
151151 }
152152
153153 /**
@@ -157,7 +157,7 @@ public function testGetCountry() : void
157157 {
158158 $ vin = new Vin (self ::TEST_VIN );
159159
160- $ this ->assertEquals ('Germany ' , $ vin ->getCountry ());
160+ $ this ->assertSame ('Germany ' , $ vin ->getCountry ());
161161 }
162162
163163 /**
@@ -167,7 +167,7 @@ public function testGetManufacturer() : void
167167 {
168168 $ vin = new Vin (self ::TEST_VIN );
169169
170- $ this ->assertEquals ('Volkswagen ' , $ vin ->getManufacturer ());
170+ $ this ->assertSame ('Volkswagen ' , $ vin ->getManufacturer ());
171171 }
172172
173173 /**
@@ -177,7 +177,7 @@ public function testGetModelYear() : void
177177 {
178178 $ vin = new Vin (self ::TEST_VIN );
179179
180- $ this ->assertEquals ([2006 ], $ vin ->getModelYear ());
180+ $ this ->assertSame ([2006 ], $ vin ->getModelYear ());
181181 }
182182
183183 /**
@@ -187,7 +187,7 @@ public function testToArray() : void
187187 {
188188 $ vin = new Vin (self ::TEST_VIN );
189189
190- $ this ->assertEquals ([
190+ $ this ->assertSame ([
191191 'vin ' => self ::TEST_VIN ,
192192 'wmi ' => \substr (self ::TEST_VIN , 0 , 3 ),
193193 'vds ' => \substr (self ::TEST_VIN , 3 , 6 ),
@@ -248,7 +248,7 @@ public function testUnknownModelYear() : void
248248 {
249249 $ vin = new Vin (self ::TEST_VIN_WITH_UNKNOWN_MODEL_YEAR );
250250
251- $ this ->assertEquals ([], $ vin ->getModelYear ());
251+ $ this ->assertSame ([], $ vin ->getModelYear ());
252252 }
253253
254254 /**
@@ -258,7 +258,7 @@ public function testSingleModelYear() : void
258258 {
259259 $ vin = new Vin (self ::TEST_VIN_WITH_SINGLE_MODEL_YEAR );
260260
261- $ this ->assertEquals ([2006 ], $ vin ->getModelYear ());
261+ $ this ->assertSame ([2006 ], $ vin ->getModelYear ());
262262 }
263263
264264 /**
@@ -268,7 +268,7 @@ public function testMultipleModelYear() : void
268268 {
269269 $ vin = new Vin (self ::TEST_VIN_WITH_MULTIPLE_MODEL_YEAR );
270270
271- $ this ->assertEquals ([1980 , 2010 ], $ vin ->getModelYear ());
271+ $ this ->assertSame ([1980 , 2010 ], $ vin ->getModelYear ());
272272 }
273273
274274 /**
@@ -278,6 +278,6 @@ public function testFuturityModelYear() : void
278278 {
279279 $ vin = new Vin (self ::TEST_VIN_WITH_FUTURITY_MODEL_YEAR );
280280
281- $ this ->assertEquals ([2000 ], $ vin ->getModelYear ());
281+ $ this ->assertSame ([2000 ], $ vin ->getModelYear ());
282282 }
283283}
0 commit comments