Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@pixelpeter pixelpeter released this 15 Mar 17:06
· 6 commits to master since this release
  • Fix issue #8: missing function replaceVat
  • Laravel 5.8
  • Upgrade to phpunit 7.5.x
  • Add php 7.3 to travis-ci
  • Add support for arrays with dot notations to all validation methods
    $payload = [
        'data' => [
            [
                'country' => 'DE',
                'zipcode' => 63741
            ],
            [
                'country' => 'AT',
                'zipcode' => 1180
            ]
      ] 
    ];
    
    $validator = Validator::make($payload, [
        'data.*.zipcode' => 'zipcode:data.*.country'
    ]);
  • Refactor: fix scrutinizer issues
  • Refactor: add (external) fixtures to tests to reduce number of lines
  • Refactor: remove unused function params