Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2018-05-03 20:28:35 +0300
committerScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2018-05-03 20:28:35 +0300
commit74e880d4076eecbc0ec9ead3f1e81cf559a238e1 (patch)
tree7ca018adc14c5bcd25284142b3e30c7a6da1d00f /tests/Unit
parentac7765a37c85b25080e272b8445319d356383ae4 (diff)
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'tests/Unit')
-rw-r--r--tests/Unit/Factories/CommentFactory.php2
-rw-r--r--tests/Unit/Factories/EventFactory.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/Unit/Factories/CommentFactory.php b/tests/Unit/Factories/CommentFactory.php
index f4148751..02dc6d5d 100644
--- a/tests/Unit/Factories/CommentFactory.php
+++ b/tests/Unit/Factories/CommentFactory.php
@@ -28,7 +28,7 @@ use League\FactoryMuffin\Faker\Facade as Faker;
*/
$fm->define('OCA\Polls\Db\Comment')->setDefinitions([
'userId' => Faker::firstNameMale(),
- 'dt' => function () {
+ 'dt' => function() {
$date = new DateTime('today');
return $date->format('Y-m-d H:i:s');
},
diff --git a/tests/Unit/Factories/EventFactory.php b/tests/Unit/Factories/EventFactory.php
index 2cb91c9b..030cf409 100644
--- a/tests/Unit/Factories/EventFactory.php
+++ b/tests/Unit/Factories/EventFactory.php
@@ -31,12 +31,12 @@ $fm->define('OCA\Polls\Db\Event')->setDefinitions([
'title' => Faker::sentence(10),
'description' => Faker::text(255),
'owner' => Faker::firstNameMale(),
- 'created' => function () {
+ 'created' => function() {
$date = new DateTime('today');
return $date->format('Y-m-d H:i:s');
},
'access' => 'registered',
- 'expire' => function () {
+ 'expire' => function() {
$date = new DateTime('tomorrow');
return $date->format('Y-m-d H:i:s');
},