mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
Fixing whitespacing and formatting of doc blocks.
This commit is contained in:
parent
a9e1d0d7ff
commit
b377905741
1 changed files with 16 additions and 8 deletions
|
@ -194,6 +194,7 @@ class SanitizeTest extends CakeTestCase {
|
|||
$result = Sanitize::clean($string);
|
||||
$this->assertEqual($string, $expected);
|
||||
}
|
||||
|
||||
/**
|
||||
* testHtml method
|
||||
*
|
||||
|
@ -211,6 +212,7 @@ class SanitizeTest extends CakeTestCase {
|
|||
$result = Sanitize::html($string);
|
||||
$this->assertEqual($result, $expected);
|
||||
}
|
||||
|
||||
/**
|
||||
* testStripWhitespace method
|
||||
*
|
||||
|
@ -223,6 +225,7 @@ class SanitizeTest extends CakeTestCase {
|
|||
$result = Sanitize::stripWhitespace($string);
|
||||
$this->assertEqual($result, $expected);
|
||||
}
|
||||
|
||||
/**
|
||||
* testParanoid method
|
||||
*
|
||||
|
@ -264,6 +267,7 @@ class SanitizeTest extends CakeTestCase {
|
|||
$result = Sanitize::paranoid($string);
|
||||
$this->assertEqual($result, $expected);
|
||||
}
|
||||
|
||||
/**
|
||||
* testStripImages method
|
||||
*
|
||||
|
@ -291,6 +295,7 @@ class SanitizeTest extends CakeTestCase {
|
|||
$result = Sanitize::stripImages($string);
|
||||
$this->assertEqual($result, $expected);
|
||||
}
|
||||
|
||||
/**
|
||||
* testStripScripts method
|
||||
*
|
||||
|
@ -328,6 +333,7 @@ class SanitizeTest extends CakeTestCase {
|
|||
$result = Sanitize::stripScripts($string);
|
||||
$this->assertEqual($result, $expected);
|
||||
}
|
||||
|
||||
/**
|
||||
* testStripAll method
|
||||
*
|
||||
|
@ -359,6 +365,7 @@ class SanitizeTest extends CakeTestCase {
|
|||
$this->assertEqual($result, $expected);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* testStripTags method
|
||||
*
|
||||
|
@ -401,6 +408,7 @@ class SanitizeTest extends CakeTestCase {
|
|||
$result = Sanitize::stripTags($string, 'h2', 'a', 'img');
|
||||
$this->assertEqual($result, $expected);
|
||||
}
|
||||
|
||||
/**
|
||||
* testFormatColumns method
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue