2020 * @api
2121 * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2222 * @since 100.0.2
23+ * phpcs:disable Magento2.Annotation.ClassPropertyPHPDocFormatting
24+ * phpcs:disable Generic.CodeAnalysis.EmptyStatement.DetectedFunction
2325 */
2426class Address extends \Magento \Framework \App \Helper \AbstractHelper implements ResetAfterRequestInterface
2527{
@@ -83,7 +85,7 @@ class Address extends \Magento\Framework\App\Helper\AbstractHelper implements Re
8385 /**
8486 * @var CustomerMetadataInterface
8587 *
86- * @deprecated 101.0.0 @see nothing
88+ * @deprecated 101.0.0
8789 */
8890 protected $ _customerMetadataService ;
8991
@@ -126,7 +128,6 @@ public function __construct(
126128 /**
127129 * Addresses url
128130 *
129- * phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedFunction
130131 * @return void
131132 */
132133 public function getBookUrl ()
@@ -136,7 +137,6 @@ public function getBookUrl()
136137 /**
137138 * Retrieve edit url.
138139 *
139- * phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedFunction
140140 * @return void
141141 */
142142 public function getEditUrl ()
@@ -146,7 +146,6 @@ public function getEditUrl()
146146 /**
147147 * Retrieve delete url.
148148 *
149- * phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedFunction
150149 * @return void
151150 */
152151 public function getDeleteUrl ()
@@ -156,7 +155,6 @@ public function getDeleteUrl()
156155 /**
157156 * Retrieve create url.
158157 *
159- * phpcs:ignore Generic.CodeAnalysis.EmptyStatement
160158 * @return void
161159 */
162160 public function getCreateUrl ()
@@ -287,7 +285,7 @@ public function getAttributeValidationClass($attributeCode)
287285 : $ this ->_addressMetadataService ->getAttributeMetadata ($ attributeCode );
288286
289287 $ class = $ attribute ? $ attribute ->getFrontendClass () : '' ;
290- } catch (NoSuchEntityException $ e ) {
288+ } catch (NoSuchEntityException $ e ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCATCH
291289 // the attribute does not exist so just return an empty string
292290 }
293291
0 commit comments