@@ -91,7 +91,7 @@ discard block |
||
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 |
||
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 | { |
@@ -62,14 +62,14 @@ |
||
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)) { |
@@ -11,7 +11,7 @@ |
||
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 |
@@ -11,7 +11,7 @@ |
||
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 |
@@ -11,7 +11,7 @@ |
||
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 |
@@ -11,7 +11,7 @@ |
||
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 |
@@ -10,7 +10,7 @@ discard block |
||
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 |
||
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 | } |
@@ -11,7 +11,7 @@ |
||
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 |
@@ -11,7 +11,7 @@ |
||
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 |
@@ -11,7 +11,7 @@ |
||
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 |