File tree Expand file tree Collapse file tree 8 files changed +133
-13
lines changed Expand file tree Collapse file tree 8 files changed +133
-13
lines changed Original file line number Diff line number Diff line change
1
+ root = true
2
+
3
+ [* ]
4
+ charset = utf-8
5
+ end_of_line = lf
6
+ indent_size = 4
7
+ indent_style = space
8
+ insert_final_newline = true
9
+ max_line_length = 120
10
+ tab_width = 4
11
+ trim_trailing_whitespace = true
12
+
13
+ [* .md ]
14
+ trim_trailing_whitespace = false
15
+
16
+ [* .yml ]
17
+ indent_size = 2
Original file line number Diff line number Diff line change
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
+ and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
+
7
+ <!-- changelog-linker -->
8
+
9
+ ## Unreleased
10
+
11
+ ## [ 0.0.6] - 2020-10-05
12
+
13
+ ### Added
14
+
15
+ - [ #3 ] Add init command
16
+
17
+ ### Changed
18
+
19
+ - [ #2 ] improve test
20
+
21
+ ## [ 0.0.5] - 2020-10-03
22
+ - [ #1 ] Bump paambaati/codeclimate-action from v2.6.0 to v2.7.4
23
+
24
+ [ #3 ] : https://github.com/zingimmick/china-administrative-divisions-laravel/pull/3
25
+ [ #2 ] : https://github.com/zingimmick/china-administrative-divisions-laravel/pull/2
26
+ [ #1 ] : https://github.com/zingimmick/china-administrative-divisions-laravel/pull/1
27
+ [ 0.0.6 ] : https://github.com/zingimmick/china-administrative-divisions-laravel/compare/0.0.5...0.0.6
Original file line number Diff line number Diff line change
1
+ # CONTRIBUTING
2
+
3
+ Contributions are welcome, and are accepted via pull requests.
4
+ Please review these guidelines before submitting any pull requests.
5
+
6
+ ## Process
7
+
8
+ 1 . Fork the project
9
+ 1 . Create a new branch
10
+ 1 . Code, test, commit and push
11
+ 1 . Open a pull request detailing your changes. Make sure to follow the [ template] ( .github/PULL_REQUEST_TEMPLATE.md )
12
+
13
+ ## Guidelines
14
+
15
+ * Please ensure the coding style running ` composer lint ` .
16
+ * Send a coherent commit history, making sure each individual commit in your pull request is meaningful.
17
+ * You may need to [ rebase] ( https://git-scm.com/book/en/v2/Git-Branching-Rebasing ) to avoid merge conflicts.
18
+ * Please remember that we follow [ SemVer] ( http://semver.org/ ) .
19
+
20
+ ## Setup
21
+
22
+ Clone your fork, then install the dev dependencies:
23
+ ``` bash
24
+ composer install
25
+ ```
26
+
27
+ ## Lint
28
+
29
+ Lint your code:
30
+ ``` bash
31
+ composer lint
32
+ ```
33
+
34
+ ## Fix
35
+
36
+ Fix your coding style:
37
+ ``` bash
38
+ composer fix
39
+ ```
40
+
41
+ ## Tests
42
+
43
+ Run all tests:
44
+ ``` bash
45
+ composer test
46
+ ```
47
+
48
+ Check types:
49
+ ``` bash
50
+ composer test:types
51
+ ```
52
+
53
+ Unit tests:
54
+ ``` bash
55
+ composer test:unit
56
+ ```
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types=1 );
4
+
5
+ use Symfony \Component \DependencyInjection \Loader \Configurator \ContainerConfigurator ;
6
+ use Symplify \ChangelogLinker \ValueObject \Option ;
7
+
8
+ return static function (ContainerConfigurator $ containerConfigurator ): void {
9
+ $ parameters = $ containerConfigurator ->parameters ();
10
+
11
+ $ parameters ->set (
12
+ Option::AUTHORS_TO_IGNORE ,
13
+ [
14
+ 'zingimmick ' ,
15
+ 'dependabot[bot] ' ,
16
+ 'fossabot ' ,
17
+ 'renovate[bot] ' ,
18
+ ]
19
+ );
20
+ };
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 24
24
"require-dev" : {
25
25
"orchestra/testbench" : " ^4.0 || ^5.0 || ^6.0" ,
26
26
"phpunit/phpunit" : " ^8.0 || ^9.0" ,
27
- "zing/coding-standard" : " ^2.0.0 "
27
+ "zing/coding-standard" : " ^2.4 "
28
28
},
29
29
"autoload" : {
30
30
"psr-4" : {
Original file line number Diff line number Diff line change 23
23
$ parameters ->set (
24
24
Option::PATHS ,
25
25
[
26
- 'config ' ,
27
- 'src ' ,
28
- 'tests ' ,
29
- 'ecs.php ' ,
30
- 'rector.php ' ,
26
+ __DIR__ . '/config ' ,
27
+ __DIR__ . '/src ' ,
28
+ __DIR__ . '/tests ' ,
29
+ __DIR__ . '/changelog-linker.php ' ,
30
+ __DIR__ . '/ecs.php ' ,
31
+ __DIR__ . '/rector.php ' ,
31
32
]
32
33
);
33
34
};
Original file line number Diff line number Diff line change 39
39
$ parameters ->set (
40
40
Option::PATHS ,
41
41
[
42
- 'config ' ,
43
- 'src ' ,
44
- 'tests ' ,
45
- 'ecs.php ' ,
46
- 'rector.php ' ,
42
+ __DIR__ . '/config ' ,
43
+ __DIR__ . '/src ' ,
44
+ __DIR__ . '/tests ' ,
45
+ __DIR__ . '/changelog-linker.php ' ,
46
+ __DIR__ . '/ecs.php ' ,
47
+ __DIR__ . '/rector.php ' ,
47
48
]
48
49
);
49
50
};
You can’t perform that action at this time.
0 commit comments