From ca370cb74b6995e93d5a4135e080710ed170b8c0 Mon Sep 17 00:00:00 2001 From: Noritaka Horio Date: Sun, 19 Feb 2017 02:29:42 +0900 Subject: [PATCH 1/2] fredemmott/definition-finder replace to facebook/definition-finder (#53) * fredemmott/definition-finder to facebook/definition-finder * change namespace to facebook --- composer.json | 2 +- src/Test/SuiteBuilder.php | 4 ++-- src/Util/Trace.php | 4 ++-- test/Test/InvalidParsing.php | 2 +- test/Test/ParserTest.php | 2 +- test/Test/ValidParsing.php | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 1314751..bb97d45 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "minimum-stability" : "dev", "require": { "hhvm": "^3.11", - "fredemmott/definition-finder": "^1.0" + "facebook/definition-finder": "^1.0" }, "autoload": { "psr-4": { diff --git a/src/Test/SuiteBuilder.php b/src/Test/SuiteBuilder.php index 3a6db74..83c874d 100644 --- a/src/Test/SuiteBuilder.php +++ b/src/Test/SuiteBuilder.php @@ -2,8 +2,8 @@ namespace HackPack\HackUnit\Test; -use FredEmmott\DefinitionFinder\FileParser; -use FredEmmott\DefinitionFinder\ScannedBasicClass; +use Facebook\DefinitionFinder\FileParser; +use Facebook\DefinitionFinder\ScannedBasicClass; use HackPack\HackUnit\Contract\Test\Parser; use HackPack\HackUnit\Contract\Test\Suite as SuiteInterface; use HackPack\HackUnit\Event\MalformedSuite; diff --git a/src/Util/Trace.php b/src/Util/Trace.php index 9605211..644828a 100644 --- a/src/Util/Trace.php +++ b/src/Util/Trace.php @@ -2,8 +2,8 @@ namespace HackPack\HackUnit\Util; -use FredEmmott\DefinitionFinder\ScannedBasicClass; -use FredEmmott\DefinitionFinder\ScannedMethod; +use Facebook\DefinitionFinder\ScannedBasicClass; +use Facebook\DefinitionFinder\ScannedMethod; use HackPack\HackUnit\Contract\Assertion\Assertion; type TraceItem = shape( diff --git a/test/Test/InvalidParsing.php b/test/Test/InvalidParsing.php index 8841a77..cce7124 100644 --- a/test/Test/InvalidParsing.php +++ b/test/Test/InvalidParsing.php @@ -4,7 +4,7 @@ use HackPack\HackUnit\Contract\Assert; use HackPack\HackUnit\Test\Parser; -use FredEmmott\DefinitionFinder\TreeParser; +use Facebook\DefinitionFinder\TreeParser; type ErrorSuite = shape( 'name' => string, diff --git a/test/Test/ParserTest.php b/test/Test/ParserTest.php index 91e113e..358132f 100644 --- a/test/Test/ParserTest.php +++ b/test/Test/ParserTest.php @@ -4,7 +4,7 @@ use HackPack\HackUnit\Contract\Assert; use HackPack\HackUnit\Test\Parser; -use FredEmmott\DefinitionFinder\TreeParser; +use Facebook\DefinitionFinder\TreeParser; abstract class ParserTest { diff --git a/test/Test/ValidParsing.php b/test/Test/ValidParsing.php index 4a00917..3c283a9 100644 --- a/test/Test/ValidParsing.php +++ b/test/Test/ValidParsing.php @@ -4,7 +4,7 @@ use HackPack\HackUnit\Contract\Assert; use HackPack\HackUnit\Test\Parser; -use FredEmmott\DefinitionFinder\TreeParser; +use Facebook\DefinitionFinder\TreeParser; class ValidParsing extends ParserTest { From 089b710077730613d595e83d84a4bc8b78bc43bd Mon Sep 17 00:00:00 2001 From: Isaac Riceweber Date: Sat, 4 Mar 2017 07:31:08 -0800 Subject: [PATCH 2/2] Release 1.1 --- src/Util/Options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/Options.php b/src/Util/Options.php index 03f2282..b45bac3 100644 --- a/src/Util/Options.php +++ b/src/Util/Options.php @@ -3,7 +3,7 @@ namespace HackPack\HackUnit\Util; final class Options { - const string VERSION = '1.0-dev'; + const string VERSION = '1.1'; public function __construct( public \ConstSet $includes,