Skip to content

Commit

Permalink
Add missing use namespace statements
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #69

Differential Revision: D13466652

fbshipit-source-id: 2df32fb9e66c46f3855a1376c06598ab98215d20
  • Loading branch information
fredemmott authored and facebook-github-bot committed Dec 14, 2018
1 parent 48ec1ca commit 8066804
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions src/str/divide.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

namespace HH\Lib\Str;

use namespace HH\Lib\Str;

/**
* Returns a vec containing the string split into chunks of the given size.
*
Expand Down
2 changes: 1 addition & 1 deletion tests/HackLibTestForwardOnlyIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*/

use namespace HH\Lib\C;
use namespace HH\Lib\{C, Vec};

/**
* Iterator that implements the same behavior as generators when
Expand Down
2 changes: 1 addition & 1 deletion tests/c/CIntrospectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*/

use namespace HH\Lib\C;
use namespace HH\Lib\{C, Vec};
use function Facebook\FBExpect\expect;
use type Facebook\HackTest\{DataProvider, HackTest}; // @oss-enable

Expand Down
2 changes: 1 addition & 1 deletion tests/c/CSelectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*/

use namespace HH\Lib\{C, Str};
use namespace HH\Lib\{C, Str, Vec};
use function Facebook\FBExpect\expect;
use type Facebook\HackTest\{DataProvider, HackTest}; // @oss-enable
// @oss-disable: use InvariantViolationException as InvariantException;
Expand Down
2 changes: 1 addition & 1 deletion tests/dict/DictCombineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*/

use namespace HH\Lib\Dict;
use namespace HH\Lib\{Dict, Vec};
use function Facebook\FBExpect\expect;
use type Facebook\HackTest\{DataProvider, HackTest}; // @oss-enable

Expand Down
2 changes: 1 addition & 1 deletion tests/dict/DictOrderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*/

use namespace HH\Lib\{Dict, Str};
use namespace HH\Lib\{Dict, Str, Vec};
use function Facebook\FBExpect\expect;
use type Facebook\HackTest\{DataProvider, HackTest}; // @oss-enable

Expand Down
2 changes: 1 addition & 1 deletion tests/dict/DictSelectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*/

use namespace HH\Lib\{Dict, Str};
use namespace HH\Lib\{Dict, Str, Vec};
use function Facebook\FBExpect\expect;
use type Facebook\HackTest\{DataProvider, HackTest}; // @oss-enable

Expand Down
2 changes: 1 addition & 1 deletion tests/dict/DictTransformTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*/

use namespace HH\Lib\{Dict, Str};
use namespace HH\Lib\{Dict, Str, Vec};
use function Facebook\FBExpect\expect;
use type Facebook\HackTest\{DataProvider, HackTest}; // @oss-enable

Expand Down
2 changes: 1 addition & 1 deletion tests/keyset/KeysetDivideTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*/

use namespace HH\Lib\Keyset;
use namespace HH\Lib\{Keyset, Vec};
use function Facebook\FBExpect\expect;
use type Facebook\HackTest\{DataProvider, HackTest}; // @oss-enable

Expand Down
2 changes: 1 addition & 1 deletion tests/keyset/KeysetSelectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*/

use namespace HH\Lib\{Keyset, Str};
use namespace HH\Lib\{Keyset, Str, Vec};
use function Facebook\FBExpect\expect;
use type Facebook\HackTest\{DataProvider, HackTest}; // @oss-enable

Expand Down

0 comments on commit 8066804

Please sign in to comment.