Skip to content

Commit

Permalink
Merge pull request #25 from omnisend/fix-custom-property-validation
Browse files Browse the repository at this point in the history
Fix custom contact's name property validation and add tests.
  • Loading branch information
nerijuszaniauskas authored Feb 13, 2024
2 parents 8df7e0e + 4558020 commit 5733fb2
Show file tree
Hide file tree
Showing 10 changed files with 1,731 additions and 61 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,11 @@ A second `phpcbf` script can be run to automatically correct coding standard vio
```shell
./vendor/squizlabs/php_codesniffer/bin/phpcbf --ignore=.js --standard=WordPress omnisend-connect
```

## Testing

Run test locally:

```shell
./vendor/bin/phpunit
```
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"php": ">=7.1.0",
"wp-coding-standards/wpcs": "^3.0",
"squizlabs/php_codesniffer": "^3.7.1",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0"
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpunit/phpunit": "^10"
}
}
Loading

0 comments on commit 5733fb2

Please sign in to comment.