You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -91,9 +91,9 @@ public static function getPhpFastCacheVersion($fallbackOnChangelog = true, $cach
91
91
return$version;
92
92
}
93
93
}
94
-
thrownewphpFastCacheLogicException('Unable to retrieve the PhpFastCache version through the CHANGELOG.md as no valid string were found in it.');
94
+
thrownewPhpfastcacheLogicException('Unable to retrieve the PhpFastCache version through the CHANGELOG.md as no valid string were found in it.');
95
95
}
96
-
thrownewphpFastCacheLogicException('shell_exec being disabled we attempted to retrieve the PhpFastCache version through the CHANGELOG.md file but it is not readable or has been removed.');
96
+
thrownewPhpfastcacheLogicException('shell_exec being disabled we attempted to retrieve the PhpFastCache version through the CHANGELOG.md file but it is not readable or has been removed.');
97
97
}
98
98
99
99
/**
@@ -122,8 +122,8 @@ public static function getPhpFastCacheGitHeadHash($cacheable = true): string
122
122
/**
123
123
* Return the API changelog, as a string.
124
124
* @return string
125
-
* @throws phpFastCacheLogicException
126
-
* @throws phpFastCacheIOException
125
+
* @throws PhpfastcacheLogicException
126
+
* @throws PhpfastcacheIOException
127
127
*/
128
128
publicstaticfunctiongetChangelog(): string
129
129
{
@@ -133,16 +133,16 @@ public static function getChangelog(): string
133
133
if($string){
134
134
return$string;
135
135
}
136
-
thrownewphpFastCacheLogicException('Unable to retrieve the PhpFastCache API changelog as it seems to be empty.');
136
+
thrownewPhpfastcacheLogicException('Unable to retrieve the PhpFastCache API changelog as it seems to be empty.');
137
137
}
138
-
thrownewphpFastCacheIOException('The CHANGELOG_API.md file is not readable or has been removed.');
138
+
thrownewPhpfastcacheIOException('The CHANGELOG_API.md file is not readable or has been removed.');
thrownewphpFastCacheDriverNotFoundException(sprintf('The driver "%s" does not exists', $driver));
128
+
thrownewPhpfastcacheDriverNotFoundException(sprintf('The driver "%s" does not exists', $driver));
129
129
}
130
-
} catch (phpFastCacheDriverCheckException$e) {
130
+
} catch (PhpfastcacheDriverCheckException$e) {
131
131
if ($config->getFallback()) {
132
132
try {
133
133
134
134
$fallback = $config->getFallback();
135
135
$config->setFallback('');
136
136
trigger_error(sprintf('The "%s" driver is unavailable at the moment, the fallback driver "%s" has been used instead.', $driver, $fallback), E_USER_WARNING);
0 commit comments