Skip to content

Commit 06fe28e

Browse files
committed
build: add editorconfig
1 parent 7622364 commit 06fe28e

File tree

5 files changed

+43
-4
lines changed

5 files changed

+43
-4
lines changed

.cache/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
end_of_line = lf
9+
indent_size = 4
10+
indent_style = space
11+
insert_final_newline = true
12+
max_line_length = 120
13+
tab_width = 4
14+
trim_trailing_whitespace = true
15+
16+
[*.{js, json}]
17+
indent_size = 2
18+
tab_width = 2

.gitattributes

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes
2+
# https://medium.com/@pablorsk/be-a-git-ninja-the-gitattributes-file-e58c07c9e915
3+
4+
# A list of files and folders those will be excluded from archives and the
5+
# Composer package (for purposes of making it smaller).
6+
/build export-ignore
7+
/docs export-ignore
8+
/tests export-ignore
9+
.editorconfig export-ignore
10+
.gitattributes export-ignore
11+
.gitignore export-ignore
12+
.php_cs export-ignore
13+
.composer.phar export-ignore
14+
*.xml export-ignore
15+
*.neon export-ignore
16+
*.md export-ignore
17+
18+
composer.lock -diff
19+
20+
*.php text eol=lf

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,10 @@
1212
_ide_helper.php
1313
.phpstorm.meta.php
1414
.env
15-
/storage/
15+
/storage
1616
/vendor
1717
/node_modules
1818

1919
# Languages
2020
*.pyc
2121
*.pyo
22-
.php_cs.cache
23-
.phpstan
24-
.psalm

src/LaravelQueueRabbitMQServiceProvider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
use Illuminate\Support\ServiceProvider;
77
use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\Connectors\RabbitMQConnector;
88

9+
/**
10+
* Laravel provider for RMQ.
11+
*/
912
class LaravelQueueRabbitMQServiceProvider extends ServiceProvider
1013
{
1114
/**

0 commit comments

Comments
 (0)