Skip to content

Commit

Permalink
Add test.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Apr 12, 2022
1 parent 22b33a4 commit cf05334
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,10 @@
"squizlabs/php_codesniffer": "^3.6",
"wp-coding-standards/wpcs": "^2.3"
},
"prefer-stable": true
"prefer-stable": true,
"scripts": {
"test": [
"vendor/bin/phpcs --standard=PronamicWP tests/test.php"
]
}
}
8 changes: 8 additions & 0 deletions tests/test.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php
/**
* Test.
*
* @package PronamicWP
*/

$test = array();

0 comments on commit cf05334

Please sign in to comment.