Completed
Push — master ( 93e228...4a53d5 )
by Eric
03:31
created
src/Validate.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      * Processes the validation group
92 92
      * 
93 93
      * @param array $data            
94
-     * @return \Valitron\boolean
94
+     * @return boolean
95 95
      */
96 96
     public function val(array $data)
97 97
     {
@@ -143,8 +143,8 @@  discard block
 block discarded – undo
143 143
     /**
144 144
      * Sets the regular expression engine
145 145
      * 
146
-     * @param \mithra62\Regex $regex            
147
-     * @return \mithra62\Validate
146
+     * @param Regex $regex            
147
+     * @return Validate
148 148
      */
149 149
     public function setRegex(\JaegerApp\Regex $regex)
150 150
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,14 +62,14 @@
 block discarded – undo
62 62
         $old_cwd = getcwd();
63 63
         chdir(__DIR__);
64 64
         $path = 'Validate' . DIRECTORY_SEPARATOR . 'Rules';
65
-        if (! is_dir($path)) {
65
+        if (!is_dir($path)) {
66 66
             throw new ValidateException("Rules Directory " . $path . " isn't a directory...");
67 67
         }
68 68
         
69 69
         $files = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path), \RecursiveIteratorIterator::LEAVES_ONLY);
70 70
         
71 71
         foreach ($files as $file) {
72
-            if (! $file->isDir()) {
72
+            if (!$file->isDir()) {
73 73
                 $name = '\\JaegerApp\\' . str_replace('/', '\\', str_replace('.php', '', $file->getPathname()));
74 74
                 $class = $name;
75 75
                 if (class_exists($class)) {
Please login to merge, or discard this patch.
src/Validate/Rules/Filesystem/Dir.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 use JaegerApp\Validate\AbstractRule;
13 13
 
14
-if (! class_exists('\\JaegerApp\\Validate\\Rules\\Filesystem\\Dir')) {
14
+if (!class_exists('\\JaegerApp\\Validate\\Rules\\Filesystem\\Dir')) {
15 15
 
16 16
     /**
17 17
      * Jaeger - Directory Validation Rule
Please login to merge, or discard this patch.
src/Validate/Rules/Filesystem/Writable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 use JaegerApp\Validate\AbstractRule;
13 13
 
14
-if (! class_exists('\\JaegerApp\\Validate\\Filesystem\\Writable')) {
14
+if (!class_exists('\\JaegerApp\\Validate\\Filesystem\\Writable')) {
15 15
 
16 16
     /**
17 17
      * Jaeger - Writable Validation Rule
Please login to merge, or discard this patch.
src/Validate/Rules/Filesystem/Readable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 use JaegerApp\Validate\AbstractRule;
13 13
 
14
-if (! class_exists('\\JaegerApp\\Validate\\Filesystem\\Readable')) {
14
+if (!class_exists('\\JaegerApp\\Validate\\Filesystem\\Readable')) {
15 15
 
16 16
     /**
17 17
      * Jaeger - Readable Validation Rule
Please login to merge, or discard this patch.
src/Validate/Rules/Filesystem/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 use JaegerApp\Validate\AbstractRule;
13 13
 
14
-if (! class_exists('\\JaegerApp\\Validate\\Filesystem\\File')) {
14
+if (!class_exists('\\JaegerApp\\Validate\\Filesystem\\File')) {
15 15
 
16 16
     /**
17 17
      * Jaeger - File Validation Rule
Please login to merge, or discard this patch.
src/Validate/Rules/Filesystem/DirEmpty.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 namespace JaegerApp\Validate\Rules\Filesystem;
11 11
 
12 12
 use JaegerApp\Validate\AbstractRule;
13
-if (! class_exists('\\JaegerApp\\Validate\\Rules\\Filesystem\\DirEmpty')) {
13
+if (!class_exists('\\JaegerApp\\Validate\\Rules\\Filesystem\\DirEmpty')) {
14 14
 
15 15
     /**
16 16
      * Jaeger - Empty Directory Validation Rule
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                     return false;
54 54
                 }
55 55
             } else {
56
-                if (! is_dir($input)) {
56
+                if (!is_dir($input)) {
57 57
                     return false;
58 58
                 }
59 59
             }
Please login to merge, or discard this patch.
src/Validate/Rules/License.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 use JaegerApp\Validate\AbstractRule;
13 13
 use JaegerApp\License as m62License;
14
-if (! class_exists('\\mithra62\\Validate\\Rules\\License')) {
14
+if (!class_exists('\\mithra62\\Validate\\Rules\\License')) {
15 15
 
16 16
     /**
17 17
      * mithra62 - License Key Rule
Please login to merge, or discard this patch.
src/Validate/Rules/ForceFalse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 use JaegerApp\Validate\AbstractRule;
13 13
 
14
-if (! class_exists('\\JaegerApp\\Validate\\Rules\\ForceFalse')) {
14
+if (!class_exists('\\JaegerApp\\Validate\\Rules\\ForceFalse')) {
15 15
 
16 16
     /**
17 17
      * Jaeger - Force False Rule
Please login to merge, or discard this patch.
src/Validate/Rules/Host.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 use JaegerApp\Validate\AbstractRule;
13 13
 
14
-if (! class_exists('\\JaegerApp\\Validate\\Rules\\Host')) {
14
+if (!class_exists('\\JaegerApp\\Validate\\Rules\\Host')) {
15 15
 
16 16
     /**
17 17
      * Jaeger - Host Rule
Please login to merge, or discard this patch.