mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fix whitespace errors.
This commit is contained in:
parent
66b296527f
commit
162d3bcb29
2 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ class TranslateBehavior extends ModelBehavior {
|
|||
);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
$this->settings[$Model->alias] = array();
|
||||
$this->runtime[$Model->alias] = array('fields' => array());
|
||||
$this->translateModel($Model);
|
||||
|
|
|
@ -1785,7 +1785,7 @@ class ValidationTest extends CakeTestCase {
|
|||
$this->assertTrue(Validation::url('http://underscore_subdomain.example.org'));
|
||||
$this->assertTrue(Validation::url('http://_jabber._tcp.gmail.com'));
|
||||
$this->assertFalse(Validation::url('http://www.underscore_domain.org'));
|
||||
$this->assertFalse(Validation::url('http://_jabber._tcp.g_mail.com'));
|
||||
$this->assertFalse(Validation::url('http://_jabber._tcp.g_mail.com'));
|
||||
|
||||
$this->assertTrue(Validation::url('http://example.com/~userdir/subdir/index.html'));
|
||||
$this->assertTrue(Validation::url('http://www.zwischenraume.de'));
|
||||
|
|
Loading…
Add table
Reference in a new issue