mirror of
https://github.com/Intervention/image.git
synced 2025-08-19 12:11:26 +02:00
chore: Added PHPCS and config
This commit is contained in:
14
.editorconfig
Normal file
14
.editorconfig
Normal file
@@ -0,0 +1,14 @@
|
||||
# editorconfig.org
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.php]
|
||||
indent_size = 4
|
@@ -19,7 +19,9 @@
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9",
|
||||
"mockery/mockery": "^1.6",
|
||||
"phpstan/phpstan": "^1"
|
||||
"phpstan/phpstan": "^1",
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
|
||||
"squizlabs/php_codesniffer": "^3.8"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-exif": "Recommended to be able to read EXIF data properly."
|
||||
@@ -34,5 +36,10 @@
|
||||
"psr-4": {
|
||||
"Intervention\\Image\\Tests\\": "tests"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user