File tree Expand file tree Collapse file tree 4 files changed +73
-12
lines changed Expand file tree Collapse file tree 4 files changed +73
-12
lines changed Original file line number Diff line number Diff line change
1
+ # Ignore all test and documentation for archive
2
+ /.editorconfig export-ignore
3
+ /.gitattributes export-ignore
4
+ /.gitignore export-ignore
5
+ /.php_cs export-ignore
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ $ header = <<<EOF
4
+ This file is part of the light/yii2-lock-form.
5
+
6
+ (c) lichunqiang <[email protected] >
7
+
8
+ This source file is subject to the MIT license that is bundled
9
+ with this source code in the file LICENSE.
10
+ EOF ;
11
+
12
+ Symfony \CS \Fixer \Contrib \HeaderCommentFixer::setHeader ($ header );
13
+
14
+ return Symfony \CS \Config \Config::create ()
15
+ // use default SYMFONY_LEVEL and extra fixers:
16
+ ->fixers (array (
17
+ '@PSR2 ' ,
18
+ 'header_comment ' ,
19
+ 'short_array_syntax ' ,
20
+ 'ordered_use ' ,
21
+ 'php_unit_construct ' ,
22
+ 'php_unit_strict ' ,
23
+ 'phpdoc_order ' ,
24
+ // 'strict_param',
25
+ 'align_double_arrow ' ,
26
+ 'align_equals '
27
+ ))
28
+ ->finder (
29
+ Symfony \CS \Finder \DefaultFinder::create ()
30
+ ->exclude ('vendor ' )
31
+ ->exclude ('assets ' )
32
+ ->in (__DIR__ )
33
+ )
34
+ ;
Original file line number Diff line number Diff line change 1
- <?php namespace light \widgets ;
1
+ <?php
2
+
3
+ /*
4
+ * This file is part of the light/yii2-lock-form.
5
+ *
6
+ * (c) lichunqiang <[email protected] >
7
+ *
8
+ * This source file is subject to the MIT license that is bundled
9
+ * with this source code in the file LICENSE.
10
+ */
11
+
12
+ namespace light \widgets ;
2
13
3
14
use yii \web \AssetBundle ;
4
15
5
16
/**
6
- * Asset bundle for the widget
17
+ * Asset bundle for the widget.
7
18
*
8
19
* Use this bundle when you have install yii2-bootstrap
9
20
*
10
- * @package light\widgets
11
21
* @version 1.0.0
22
+ *
12
23
* @author lichunqiang <[email protected] >
13
24
* @license MIT
14
25
*/
15
26
class LockBsFormAsset extends AssetBundle
16
27
{
17
28
/**
18
- * @inheritdoc
29
+ * { @inheritdoc}
19
30
*/
20
31
public $ js = ['assets/lock.js ' ];
21
32
22
33
/**
23
- * @inheritdoc
34
+ * { @inheritdoc}
24
35
*/
25
36
public $ sourcePath = __DIR__ ;
26
37
27
38
/**
28
- * @inheritdoc
39
+ * { @inheritdoc}
29
40
*/
30
41
public $ depends = [
31
42
'yii\web\YiiAsset ' ,
Original file line number Diff line number Diff line change 1
- <?php namespace light \widgets ;
1
+ <?php
2
+
3
+ /*
4
+ * This file is part of the light/yii2-lock-form.
5
+ *
6
+ * (c) lichunqiang <[email protected] >
7
+ *
8
+ * This source file is subject to the MIT license that is bundled
9
+ * with this source code in the file LICENSE.
10
+ */
11
+
12
+ namespace light \widgets ;
2
13
3
14
use yii \web \AssetBundle ;
4
15
5
16
/**
6
- * Asset bundle for the widget
17
+ * Asset bundle for the widget.
7
18
*
8
- * @package light\widgets
9
19
* @version 1.0.0
20
+ *
10
21
* @author lichunqiang <[email protected] >
11
22
* @license MIT
12
23
*/
13
24
class LockFormAsset extends AssetBundle
14
25
{
15
26
/**
16
- * @inheritdoc
27
+ * { @inheritdoc}
17
28
*/
18
29
public $ js = ['assets/lock.bootstrap.js ' ];
19
30
20
31
/**
21
- * @inheritdoc
32
+ * { @inheritdoc}
22
33
*/
23
34
public $ sourcePath = __DIR__ ;
24
35
25
36
/**
26
- * @inheritdoc
37
+ * { @inheritdoc}
27
38
*/
28
39
public $ depends = [
29
40
'yii\web\YiiAsset ' ,
You can’t perform that action at this time.
0 commit comments