@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | public function run() |
| 20 | 20 | { |
| 21 | 21 | $data = |
| 22 | - [ |
|
| 22 | + [ |
|
| 23 | 23 | [ |
| 24 | 24 | 'id' => 1, |
| 25 | 25 | 'sort' => 1, |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | 'sort' => 17, |
| 106 | 106 | 'icon' => 'angry', |
| 107 | 107 | ] |
| 108 | - ]; |
|
| 108 | + ]; |
|
| 109 | 109 | |
| 110 | 110 | $table = $this->table('smilies'); |
| 111 | 111 | $table->insert($data)->save(); |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | use Saito\Exception\SaitoForbiddenException; |
| 16 | 16 | use Saito\Test\IntegrationTestCase; |
| 17 | 17 | |
| 18 | - /* |
|
| 18 | + /* |
|
| 19 | 19 | class SearchesMockController extends SearchesController |
| 20 | 20 | { |
| 21 | 21 | |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | 'app.User', |
| 29 | 29 | 'app.UserOnline', |
| 30 | 30 | 'plugin.Bookmarks.Bookmark' |
| 31 | - ]; |
|
| 31 | + ]; |
|
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * Test Bookmark table validation. |
@@ -108,7 +108,7 @@ |
||
| 108 | 108 | ->addType('audio/mp4') |
| 109 | 109 | ->addType('audio/webm') |
| 110 | 110 | ->addType('image/jpeg', '19MB') |
| 111 | - ->addType('image/png', '19MB') |
|
| 111 | + ->addType('image/png', '19MB') |
|
| 112 | 112 | ->addType('image/svg+xml') |
| 113 | 113 | ->addType('text/plain') |
| 114 | 114 | ->addType('video/mp4') |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | $this->addBehavior( |
| 78 | 78 | 'Proffer.Proffer', |
| 79 | 79 | [ |
| 80 | - 'avatar' => [ // The name of your upload field (filename) |
|
| 80 | + 'avatar' => [// The name of your upload field (filename) |
|
| 81 | 81 | 'root' => $avatarRootDir, |
| 82 | 82 | 'dir' => 'avatar_dir', // field for upload directory |
| 83 | 83 | 'thumbnailSizes' => [ |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | throw new \InvalidArgumentException( |
| 67 | 67 | 'Parent posting for creating a new answer not found.', |
| 68 | 68 | 1564756571 |
| 69 | - ) ; |
|
| 69 | + ); |
|
| 70 | 70 | } |
| 71 | 71 | $parentId = $parent->get('id'); |
| 72 | 72 | $categoryId = $parent->get('category_id'); |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | throw new \InvalidArgumentException( |
| 82 | 82 | 'New root posting requires a category.', |
| 83 | 83 | 1564756571 |
| 84 | - ) ; |
|
| 84 | + ); |
|
| 85 | 85 | } |
| 86 | 86 | $categoryId = (int)$data['category_id']; |
| 87 | 87 | } |