From 586f20850cac2df48208ae12eeb801079b4e80f6 Mon Sep 17 00:00:00 2001 From: Jan Sorgalla Date: Wed, 3 Dec 2014 20:53:10 +0100 Subject: [PATCH] Conditionally require functions.php This allows a global version of React\Promise alongside a local version. Closes #23 --- composer.json | 2 +- src/functions_include.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 src/functions_include.php diff --git a/composer.json b/composer.json index b8ca9a54..c428b7ba 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "psr-4": { "React\\Promise\\": "src/" }, - "files": ["src/functions.php"] + "files": ["src/functions_include.php"] }, "extra": { "branch-alias": { diff --git a/src/functions_include.php b/src/functions_include.php new file mode 100644 index 00000000..c71decbf --- /dev/null +++ b/src/functions_include.php @@ -0,0 +1,5 @@ +