@@ -261,25 +261,25 @@ public function testGetBitset()
261
261
$ enum4 = Enum65::SIXTYFOUR ;
262
262
263
263
$ this ->assertNull ($ enumSet ->attach ($ enum1 ));
264
- $ this ->assertSame ('000000000000000001 ' , bin2hex ($ enumSet ->getBitset ()));
264
+ $ this ->assertSame ('000000000000000001 ' , \ bin2hex ($ enumSet ->getBitset ()));
265
265
$ this ->assertTrue ($ enumSet ->contains ($ enum1 ));
266
266
267
267
$ this ->assertNull ($ enumSet ->attach ($ enum2 ));
268
- $ this ->assertSame ('000000000000000003 ' , bin2hex ($ enumSet ->getBitset ()));
268
+ $ this ->assertSame ('000000000000000003 ' , \ bin2hex ($ enumSet ->getBitset ()));
269
269
$ this ->assertTrue ($ enumSet ->contains ($ enum2 ));
270
270
271
271
$ this ->assertNull ($ enumSet ->attach ($ enum3 ));
272
- $ this ->assertSame ('010000000000000003 ' , bin2hex ($ enumSet ->getBitset ()));
272
+ $ this ->assertSame ('010000000000000003 ' , \ bin2hex ($ enumSet ->getBitset ()));
273
273
$ this ->assertTrue ($ enumSet ->contains ($ enum3 ));
274
274
275
275
$ this ->assertNull ($ enumSet ->attach ($ enum4 ));
276
- $ this ->assertSame ('018000000000000003 ' , bin2hex ($ enumSet ->getBitset ()));
276
+ $ this ->assertSame ('018000000000000003 ' , \ bin2hex ($ enumSet ->getBitset ()));
277
277
$ this ->assertTrue ($ enumSet ->contains ($ enum4 ));
278
278
279
279
$ this ->assertSame (4 , $ enumSet ->count ());
280
280
281
281
$ this ->assertNull ($ enumSet ->detach ($ enum2 ));
282
- $ this ->assertSame ('018000000000000001 ' , bin2hex ($ enumSet ->getBitset ()));
282
+ $ this ->assertSame ('018000000000000001 ' , \ bin2hex ($ enumSet ->getBitset ()));
283
283
$ this ->assertFalse ($ enumSet ->contains ($ enum2 ));
284
284
285
285
$ this ->assertSame (3 , $ enumSet ->count ());
@@ -288,7 +288,7 @@ public function testGetBitset()
288
288
public function testSetBitset ()
289
289
{
290
290
$ enumSet = new EnumSet ('MabeEnumTest\TestAsset\Enum65 ' );
291
- $ enumSet ->setBitset (hex2bin ('018000000000000001 ' ));
291
+ $ enumSet ->setBitset (\ hex2bin ('018000000000000001 ' ));
292
292
293
293
$ this ->assertTrue ($ enumSet ->contains (Enum65::ONE ));
294
294
$ this ->assertFalse ($ enumSet ->contains (Enum65::TWO ));
@@ -300,15 +300,15 @@ public function testSetBitset()
300
300
public function testSetBitsetShort ()
301
301
{
302
302
$ enumSet = new EnumSet ('MabeEnumTest\TestAsset\Enum65 ' );
303
- $ enumSet ->setBitset (hex2bin ('0A ' ));
304
- $ this ->assertSame ('00000000000000000a ' , bin2hex ($ enumSet ->getBitset ()));
303
+ $ enumSet ->setBitset (\ hex2bin ('0A ' ));
304
+ $ this ->assertSame ('00000000000000000a ' , \ bin2hex ($ enumSet ->getBitset ()));
305
305
}
306
306
307
307
public function testSetBitsetLong ()
308
308
{
309
309
$ enumSet = new EnumSet ('MabeEnumTest\TestAsset\EnumBasic ' );
310
- $ enumSet ->setBitset (hex2bin ('FFFFFFFFFF0A ' ));
311
- $ this ->assertSame ('ff0a ' , bin2hex ($ enumSet ->getBitset ()));
310
+ $ enumSet ->setBitset (\ hex2bin ('FFFFFFFFFF0A ' ));
311
+ $ this ->assertSame ('ff0a ' , \ bin2hex ($ enumSet ->getBitset ()));
312
312
}
313
313
314
314
public function testFalseBitsetArgumentExceptionIfNotString ()
0 commit comments