Skip to content

Commit 82722e4

Browse files
author
igor-chepurnoi
committed
Merge branch 'master' of github.com:yii2mod/yii2-cron-log
Conflicts: .php_cs
2 parents 4207c10 + 729f3ff commit 82722e4

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.php_cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ $finder = PhpCsFixer\Finder::create()
77
$config = PhpCsFixer\Config::create()
88
->setUsingCache(false)
99
->setRules([
10+
<<<<<<< HEAD
1011
'@Symfony' => true,
12+
=======
13+
>>>>>>> 729f3ff516db2509cc5e7ac88dace9ce50189f26
1114
'phpdoc_align' => false,
1215
'phpdoc_summary' => false,
1316
'phpdoc_inline_tag' => false,
@@ -18,6 +21,18 @@ $config = PhpCsFixer\Config::create()
1821
'phpdoc_no_package' => false,
1922
'concat_space' => ['spacing' => 'one'],
2023
'ordered_imports' => true,
24+
<<<<<<< HEAD
25+
=======
26+
'single_quote' => true,
27+
'no_empty_comment' => true,
28+
'no_empty_phpdoc' => true,
29+
'no_empty_statement' => true,
30+
'no_spaces_inside_parenthesis' => true,
31+
'no_trailing_whitespace' => true,
32+
'no_trailing_whitespace_in_comment' => true,
33+
'phpdoc_order' => true,
34+
'trim_array_spaces' => true,
35+
>>>>>>> 729f3ff516db2509cc5e7ac88dace9ce50189f26
2136
'array_syntax' => ['syntax' => 'short'],
2237
])
2338
->setFinder($finder);

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"yii2mod/yii2-enum": ">=1.4"
2424
},
2525
"require-dev": {
26-
"friendsofphp/php-cs-fixer": "~1.7"
26+
"friendsofphp/php-cs-fixer": "~2.0"
2727
},
2828
"autoload": {
2929
"psr-4": {

migrations/m160804_101551_drop_dateSheduled_and_dateExecuted_columns.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ class m160804_101551_drop_dateSheduled_and_dateExecuted_columns extends Migratio
66
{
77
public function up()
88
{
9+
$this->dropIndex('idx-CronSchedule-dateScheduled-status', '{{%CronSchedule}}');
10+
911
$this->dropColumn('{{%CronSchedule}}', 'dateScheduled');
1012
$this->dropColumn('{{%CronSchedule}}', 'dateExecuted');
1113

12-
$this->dropIndex('idx-CronSchedule-dateScheduled-status', '{{%CronSchedule}}');
1314
$this->createIndex('idx-CronSchedule-status', '{{%CronSchedule}}', 'status');
1415
}
1516

0 commit comments

Comments
 (0)