From 113fcf1c945f1632b44e8df371773c29e3698bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rk=20S=C3=A1gi-Kaz=C3=A1r?= Date: Thu, 12 May 2016 11:13:13 +0200 Subject: [PATCH] Fix Puli issue on PHP 5.6 --- CHANGELOG.md | 5 +++++ Tests/autoload.php | 10 ++++++++++ phpunit.xml.dist | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 Tests/autoload.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 5791a289..d29537b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ - Client factories for Buzz. +### Fixed + +- Puli autoload issue on >=PHP 5.6, see [puli/issues#190](https://github.com/puli/issues/issues/190) + + ## 1.0.0 - 2016-03-04 ### Added diff --git a/Tests/autoload.php b/Tests/autoload.php new file mode 100644 index 00000000..96959c78 --- /dev/null +++ b/Tests/autoload.php @@ -0,0 +1,10 @@ += 50600) { + $loader->addClassMap([ + 'Puli\\GeneratedPuliFactory' => __DIR__.'/../.puli/GeneratedPuliFactory.php', + ]); +} diff --git a/phpunit.xml.dist b/phpunit.xml.dist index b548381d..ca9b6a9c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,6 +1,6 @@ -