From a4a63aa4a993ce4092ef23e5903178dc27b7e2ca Mon Sep 17 00:00:00 2001 From: Les Peabody Date: Wed, 13 Apr 2016 11:12:54 -0400 Subject: [PATCH 1/2] Make data members protected so that extending classes have access to configuration and parameters. --- .../Context/RawScreenshotCompareContext.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Cevou/Behat/ScreenshotCompareExtension/Context/RawScreenshotCompareContext.php b/src/Cevou/Behat/ScreenshotCompareExtension/Context/RawScreenshotCompareContext.php index 22513ed..085500c 100644 --- a/src/Cevou/Behat/ScreenshotCompareExtension/Context/RawScreenshotCompareContext.php +++ b/src/Cevou/Behat/ScreenshotCompareExtension/Context/RawScreenshotCompareContext.php @@ -9,8 +9,8 @@ class RawScreenshotCompareContext extends RawMinkContext implements ScreenshotCompareAwareContext { - private $screenshotCompareConfigurations; - private $screenshotCompareParameters; + protected $screenshotCompareConfigurations; + protected $screenshotCompareParameters; /** * {@inheritdoc} @@ -93,4 +93,4 @@ public function compareScreenshot($sessionName, $fileName) throw new \ImagickException(sprintf("Files are not equal. Diff saved to %s", $diffFileName)); } } -} \ No newline at end of file +} From 0fd468919824677aaac522cfcd9702adbdbc16f3 Mon Sep 17 00:00:00 2001 From: Les Peabody Date: Wed, 13 Apr 2016 11:25:41 -0400 Subject: [PATCH 2/2] pecl/imagick requires PHP >= 5.4.0. Dropping support for 5.3. --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f85342f..6f14704 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: php php: - - 5.3 - 5.4 - 5.5 - 5.6