File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ Changelog
3
3
4
4
See also the [ GitHub releases page] ( https://github.com/FriendsOfSymfony/FOSHttpCache/releases ) .
5
5
6
+ 2.14.2
7
+ ------
8
+
9
+ * Fixed varnish configuration examples to say ` Authorization ` and not ` Autorization ` .
10
+
6
11
2.14.1
7
12
------
8
13
Original file line number Diff line number Diff line change 11
11
12
12
namespace FOS \HttpCache \SymfonyCache ;
13
13
14
- use function class_alias ;
15
- use function class_exists ;
16
-
17
14
use Symfony \Component \HttpKernel \HttpKernelInterface ;
18
15
use Symfony \Component \HttpKernel \Kernel ;
19
16
25
22
* Symfony 6 introduced a BC break in the signature of the protected method HttpKernelInterface::fetch.
26
23
* Load the correct interface to match the signature.
27
24
*/
28
- if (class_exists (Kernel::class) && Kernel::MAJOR_VERSION >= 6 ) {
25
+ if (\ class_exists (Kernel::class) && Kernel::MAJOR_VERSION >= 6 ) {
29
26
// Load class for Symfony >=6.0
30
- class_alias (
27
+ \ class_alias (
31
28
Compatibility \CacheInvalidationS6::class,
32
29
CacheInvalidation::class
33
30
);
34
31
} else {
35
32
// Load class for any other cases
36
- class_alias (
33
+ \ class_alias (
37
34
Compatibility \CacheInvalidationLegacy::class,
38
35
CacheInvalidation::class
39
36
);
You can’t perform that action at this time.
0 commit comments