title: Laravel do not validate if field is not required
body: <p>I've got the following request validation:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Requests;
  
  use Illuminate\Foundation\Http\FormRequest;
  
  class OwnerEstate extends FormRequest
  {
      /**
       * Determine if the user is authorized to make this request.
       *
       * @return bool
       */
      public function authorize()
      {
          return true;
      }
  
      /**
       * Get the validation rules that apply to the request.
       *
       * @return array
       */
      public function rules()
      {
          return [
              'firstname' =&gt; 'required_if:type,individual',
              'secondname'=&gt; 'required_if:type,individual',
              'lastname' =&gt; 'required_if:type,individual',
              'pin' =&gt; 'required_if:type,individual|digits:10',
  
              'name' =&gt; 'required_if:type,legal-entity',
              'eik' =&gt; 'required_if:type,legal-entity|digits:9'
          ];
      }
  }
  </code></pre>
  
  <p>And when the type is not individual it still checks for the <strong>'digits:10'</strong> validation of the pin and returns an error. How do I disable the other validation if required_if validation does not require the field. <strong>(I'm using Laravel  5.5)</strong></p>