<NME> validator.stub
<BEF> <?php

$NAMESPACE$

use \Prettus\Validator\Contracts\ValidatorInterface;
use \Prettus\Validator\LaravelValidator;

class $CLASS$Validator extends LaravelValidator {

    protected $rules = [
        ValidatorInterface::RULE_CREATE => $RULES$,
        ValidatorInterface::RULE_UPDATE => $RULES$,
   ];

}
     * Validation Rules
     *
     * @var array
     */
    protected $rules = [
        ValidatorInterface::RULE_CREATE => $RULES$,
        ValidatorInterface::RULE_UPDATE => $RULES$,
    ];
}

<MSG> Merge pull request #223 from CasperLaiTW/PSR-2-validator-stub

PSR-2 validator stub
<DFF> @@ -5,11 +5,11 @@ $NAMESPACE$
 use \Prettus\Validator\Contracts\ValidatorInterface;
 use \Prettus\Validator\LaravelValidator;
 
-class $CLASS$Validator extends LaravelValidator {
+class $CLASS$Validator extends LaravelValidator
+{
 
     protected $rules = [
         ValidatorInterface::RULE_CREATE => $RULES$,
         ValidatorInterface::RULE_UPDATE => $RULES$,
    ];
-
-}
\ No newline at end of file
+}

Merge pull request #223 from CasperLaiTW/PSR-2-validator-stub