From 75602918028aba2033b0e896b36852a1fdf59359 Mon Sep 17 00:00:00 2001 From: germanow Date: Sun, 11 Mar 2018 17:12:20 +0200 Subject: [PATCH] Fix symfony notice --- src/InstagramScraper/Instagram.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/InstagramScraper/Instagram.php b/src/InstagramScraper/Instagram.php index 76f89ed3..159b6833 100644 --- a/src/InstagramScraper/Instagram.php +++ b/src/InstagramScraper/Instagram.php @@ -51,6 +51,7 @@ public static function withCredentials($username, $password, $sessionFolder = nu if (is_string($sessionFolder)) { CacheManager::setDefaultConfig([ 'path' => $sessionFolder, + 'ignoreSymfonyNotice' => true, ]); static::$instanceCache = CacheManager::getInstance('files'); } else {