Skip to content

Commit 3d38d8e

Browse files
committed
[varnish] add @see comment to deprecated constants
1 parent 801be7b commit 3d38d8e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

app/code/Magento/PageCache/Model/Config.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,14 @@ class Config
5858

5959
/**
6060
* @deprecated Varnish 5 is EOL
61+
* @see VARNISH_6_CONFIGURATION_PATH
6162
* XML path to Varnish 5 config template path
6263
*/
6364
public const VARNISH_5_CONFIGURATION_PATH = 'system/full_page_cache/varnish5/path';
6465

6566
/**
6667
* @deprecated Varnish 4 is EOL
68+
* @see VARNISH_6_CONFIGURATION_PATH
6769
* XML path to Varnish 4 config template path
6870
*/
6971
public const VARNISH_4_CONFIGURATION_PATH = 'system/full_page_cache/varnish4/path';

app/code/Magento/PageCache/Model/Varnish/VclTemplateLocator.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,33 @@ class VclTemplateLocator implements VclTemplateLocatorInterface
2525

2626
/**
2727
* @deprecated Varnish 5 is EOL
28+
* @see VARNISH_6_CONFIGURATION_PATH
2829
* XML path to Varnish 5 config template path
2930
*/
3031
const VARNISH_5_CONFIGURATION_PATH = 'system/full_page_cache/varnish5/path';
3132

3233
/**
3334
* @deprecated Varnish 4 is EOL
35+
* @see VARNISH_6_CONFIGURATION_PATH
3436
* XML path to Varnish 4 config template path
3537
*/
3638
const VARNISH_4_CONFIGURATION_PATH = 'system/full_page_cache/varnish4/path';
3739

3840
/**
3941
* @deprecated Varnish 4 is EOL
42+
* @see VARNISH_SUPPORTED_VERSION_6
4043
*/
4144
const VARNISH_SUPPORTED_VERSION_4 = '4';
4245

4346
/**
4447
* @deprecated Varnish 5 is EOL
48+
* @see VARNISH_SUPPORTED_VERSION_6
4549
*/
4650
const VARNISH_SUPPORTED_VERSION_5 = '5';
4751

4852
/**
4953
* Varnish 6 supported version
54+
* @see VARNISH_SUPPORTED_VERSION_6
5055
*/
5156
const VARNISH_SUPPORTED_VERSION_6 = '6';
5257

0 commit comments

Comments
 (0)