Skip to content

Instantly share code, notes, and snippets.

@DrewAPicture
Forked from ryanwelcher/gist:0738af9d078e354071ce
Last active September 11, 2015 01:50
Show Gist options
  • Save DrewAPicture/99cd115e02488d876017 to your computer and use it in GitHub Desktop.
Save DrewAPicture/99cd115e02488d876017 to your computer and use it in GitHub Desktop.
/**
* Data provider.
*
* Description.
*
* @since x.x.x
*
* @see {method name receiving data}
*
* @otherPHPUnitSpecificItems
*
* @return array {
* @type type $param_name_in_receiving_method Desciption.
* @type type $param_name_in_receiving_method Very long description that gets
* wrapped to the starting point.
* }
*/
EXAMPLE::
/**
* Data provider.
*
* Provides various post_args to induce error messages in the that can be
* compared to the expected_results.
*
* @since 4.3.0
*
* @see test_ajax_load_available_items_error_messages
*
* @return array {
* @type array $post_args The arguments that will merged with the $_POST array.
* @type array $expected_results The expected results from the ajax call.
* }
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment