Added missing doc comments (coding standards)

This commit is contained in:
Marco Chiesi 2019-04-11 01:03:48 +02:00 committed by GitHub
parent cba442283c
commit 2a784a3003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 2 deletions

View File

@ -1,8 +1,12 @@
<?php
/**
* Unit tests for validation.
*
* @package WooCommerce\Tests\Util
*/
/**
* Class Validation.
* @package WooCommerce\Tests\Util
* Class WC_Tests_Validation.
* @since 2.3
*/
class WC_Tests_Validation extends WC_Unit_Test_Case {
@ -35,6 +39,9 @@ class WC_Tests_Validation extends WC_Unit_Test_Case {
/**
* Test is_phone().
*
* @param mixed $assert
* @param mixed $values
*
* @dataProvider data_provider_test_is_phone
* @since 2.3
*/
@ -97,6 +104,9 @@ class WC_Tests_Validation extends WC_Unit_Test_Case {
/**
* Test is_postcode().
*
* @param mixed $assert
* @param mixed $values
*
* @dataProvider data_provider_test_is_postcode
* @since 2.4
*/
@ -128,6 +138,9 @@ class WC_Tests_Validation extends WC_Unit_Test_Case {
/**
* Test is_gb_postcode().
*
* @param mixed $assert
* @param mixed $values
*
* @dataProvider data_provider_test_is_gb_postcode
* @since 2.4
*/
@ -154,6 +167,9 @@ class WC_Tests_Validation extends WC_Unit_Test_Case {
/**
* Test format_postcode().
*
* @param mixed $assert
* @param mixed $values
*
* @dataProvider data_provider_test_format_postcode
* @since 2.4
*/