vindi/vindi-woocommerce

View on GitHub
src/validators/FieldValidator.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
* Vindi Validators
*
* Validates the fields that will be sent to the api.
*
* @since 1.0.0
*
* @return void
*/
 
Each class must be in a namespace of at least one level (a top-level vendor name)
Opening brace of a class must be on the line after the definition
class FieldValidator {
 
Line indented incorrectly; expected 4 spaces, found 2
Opening brace should be on a new line
public function customer() {
 
 
 
Function closing brace must go on the next line following the body; found 3 blank lines before brace
Line indented incorrectly; expected 4 spaces, found 2
}
}