mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix CS
This commit is contained in:
parent
ace30fdd8a
commit
ca93bbcd15
2 changed files with 12 additions and 4 deletions
|
@ -33,6 +33,9 @@ require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
|||
*/
|
||||
class MockPDO extends PDO {
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
public function __construct() {
|
||||
}
|
||||
|
||||
|
@ -1416,7 +1419,7 @@ class DboSourceTest extends CakeTestCase {
|
|||
/**
|
||||
* Test defaultConditions()
|
||||
*
|
||||
* @return
|
||||
* @return void
|
||||
*/
|
||||
public function testDefaultConditions() {
|
||||
$this->loadFixtures('Article');
|
||||
|
|
|
@ -6371,6 +6371,11 @@ class ModelWriteTest extends BaseModelTest {
|
|||
$this->assertEquals(array(6, 4, 5, 2), $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* testToggleBoolFields method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testToggleBoolFields() {
|
||||
$this->loadFixtures('CounterCacheUser', 'CounterCachePost');
|
||||
$Post = new CounterCachePost();
|
||||
|
@ -7266,7 +7271,7 @@ class ModelWriteTest extends BaseModelTest {
|
|||
* Test that Model::save() doesn't generate a query with WHERE 1 = 1 on race condition.
|
||||
*
|
||||
* @link https://github.com/cakephp/cakephp/issues/3857
|
||||
* @return
|
||||
* @return void
|
||||
*/
|
||||
public function testSafeUpdateMode() {
|
||||
$this->loadFixtures('User');
|
||||
|
@ -7303,8 +7308,8 @@ class ModelWriteTest extends BaseModelTest {
|
|||
/**
|
||||
* Emulates race condition
|
||||
*
|
||||
* @param $event
|
||||
* @return
|
||||
* @param CakeEvent $event containing the Model
|
||||
* @return void
|
||||
*/
|
||||
public function deleteMe($event) {
|
||||
$Model = $event->subject;
|
||||
|
|
Loading…
Reference in a new issue