Skip to content

Commit 1aa462e

Browse files
committed
AC-479: Input validation for File Upload in Customer Address
* Jenkins: Semantic Test failure fixes
1 parent 265871c commit 1aa462e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/internal/Magento/Framework/File/Uploader.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,28 +149,28 @@ class Uploader
149149
/**#@+
150150
* File upload type (multiple or single)
151151
*/
152-
private const SINGLE_STYLE = 0;
152+
public const SINGLE_STYLE = 0;
153153

154-
private const MULTIPLE_STYLE = 1;
154+
public const MULTIPLE_STYLE = 1;
155155

156156
/**#@-*/
157157

158158
/**
159159
* Temp file name empty code
160160
*/
161-
private const TMP_NAME_EMPTY = 666;
161+
public const TMP_NAME_EMPTY = 666;
162162

163163
/**
164164
* Maximum Image Width resolution in pixels. For image resizing on client side
165165
* @deprecated @see \Magento\Framework\Image\Adapter\UploadConfigInterface::getMaxWidth()
166166
*/
167-
private const MAX_IMAGE_WIDTH = 1920;
167+
public const MAX_IMAGE_WIDTH = 1920;
168168

169169
/**
170170
* Maximum Image Height resolution in pixels. For image resizing on client side
171171
* @deprecated @see \Magento\Framework\Image\Adapter\UploadConfigInterface::getMaxHeight()
172172
*/
173-
private const MAX_IMAGE_HEIGHT = 1200;
173+
public const MAX_IMAGE_HEIGHT = 1200;
174174

175175
/**
176176
* Resulting of uploaded file

0 commit comments

Comments
 (0)