Skip to content

Commit 9eac0b4

Browse files
committed
Fix code style errors
1 parent a981985 commit 9eac0b4

File tree

10 files changed

+0
-11
lines changed

10 files changed

+0
-11
lines changed

src/Model/Behavior/FilteredBehavior.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ protected function addFieldToFilter(Table $Table, Query $Query, $values, $field,
135135
}
136136

137137
if ($fieldOptions['required'] && !isset($values[$configurationModelName][$configurationFieldName])) {
138-
// TODO: implement a bit of a user friendly handling of this scenario..
139138
trigger_error(sprintf('No value present for required field "%s" and default value not present', $field));
140139

141140
return;

tests/TestCase/Controller/Component/FilterComponentTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
declare(strict_types=1);
32

43
namespace Filter\Test\TestCase\Controller\Component;
54

tests/TestCase/MockObjects/DocumentCategoriesTable.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
declare(strict_types=1);
32

43
namespace Filter\Test\TestCase\MockObjects;
54

tests/TestCase/MockObjects/DocumentTestsController.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
declare(strict_types=1);
32

43
namespace Filter\Test\TestCase\MockObjects;
54

@@ -42,7 +41,6 @@ public function index()
4241
/**
4342
* must override this or the tests never complete.
4443
*
45-
* @TODO: mock partial?
4644
* @param string|mixed[] $url
4745
* @param int|mixed[]|null|string $status
4846
* @param bool $exit

tests/TestCase/MockObjects/Documents2Table.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
declare(strict_types=1);
32

43
namespace Filter\Test\TestCase\MockObjects;
54

tests/TestCase/MockObjects/Documents3Table.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
declare(strict_types=1);
32

43
namespace Filter\Test\TestCase\MockObjects;
54

tests/TestCase/MockObjects/DocumentsTable.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
declare(strict_types=1);
32

43
namespace Filter\Test\TestCase\MockObjects;
54

tests/TestCase/MockObjects/ItemsTable.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
declare(strict_types=1);
32

43
namespace Filter\Test\TestCase\MockObjects;
54

tests/TestCase/MockObjects/MetadataTable.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
declare(strict_types=1);
32

43
namespace Filter\Test\TestCase\MockObjects;
54

tests/TestCase/Model/Behavior/FilteredBehaviorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
declare(strict_types=1);
32

43
namespace Filter\Test\TestCase\Model\Behavior;
54

0 commit comments

Comments
 (0)