Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .editorconfig file #491

Merged
merged 3 commits into from
Jun 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
codecov:
notify:
after_n_builds: 2
notify:
after_n_builds: 2

coverage:
round: nearest
Expand Down
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[{*.json,*.yml}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
126 changes: 68 additions & 58 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,64 +1,74 @@
{
"name": "rmccue/requests",
"description": "A HTTP library written in PHP, for human beings.",
"homepage": "https://requests.ryanmccue.info/",
"license": "ISC",
"keywords": ["http", "idna", "iri", "ipv6", "curl", "sockets", "fsockopen"],
"authors": [
{
"name": "Ryan McCue",
"homepage": "https://rmccue.io/"
},
{
"name" : "Alain Schlesser",
"homepage" : "https://github.com/schlessera"
},
{
"name" : "Juliette Reinders Folmer",
"homepage" : "https://github.com/jrfnl"
},
{
"name" : "Contributors",
"homepage" : "https://github.com/WordPress/Requests/graphs/contributors"
}
],
"support" : {
"issues" : "https://github.com/WordPress/Requests/issues",
"source" : "https://github.com/WordPress/Requests",
"docs" : "https://requests.ryanmccue.info/"
},
"require": {
"php": ">=5.6"
"name": "rmccue/requests",
"description": "A HTTP library written in PHP, for human beings.",
"homepage": "https://requests.ryanmccue.info/",
"license": "ISC",
"keywords": [
"http",
"idna",
"iri",
"ipv6",
"curl",
"sockets",
"fsockopen"
],
"authors": [
{
"name": "Ryan McCue",
"homepage": "https://rmccue.io/"
},
"require-dev": {
"requests/test-server": "dev-master",
"phpunit/phpunit": "^5.7 || ^6.5 || ^7.5",
"squizlabs/php_codesniffer": "^3.5",
"phpcompatibility/php-compatibility": "^9.0",
"wp-coding-standards/wpcs": "^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"php-parallel-lint/php-parallel-lint": "^1.3",
"php-parallel-lint/php-console-highlighter": "^0.5.0"
{
"name": "Alain Schlesser",
"homepage": "https://github.com/schlessera"
},
"type": "library",
"autoload": {
"psr-0": {"Requests": "library/"}
{
"name": "Juliette Reinders Folmer",
"homepage": "https://github.com/jrfnl"
},
"scripts" : {
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
],
"checkcs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs"
],
"fixcs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
],
"test": [
"@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
],
"coverage": [
"@php ./vendor/phpunit/phpunit/phpunit"
]
{
"name": "Contributors",
"homepage": "https://github.com/WordPress/Requests/graphs/contributors"
}
],
"support": {
"issues": "https://github.com/WordPress/Requests/issues",
"source": "https://github.com/WordPress/Requests",
"docs": "https://requests.ryanmccue.info/"
},
"require": {
"php": ">=5.6"
},
"require-dev": {
"requests/test-server": "dev-master",
"phpunit/phpunit": "^5.7 || ^6.5 || ^7.5",
"squizlabs/php_codesniffer": "^3.5",
"phpcompatibility/php-compatibility": "^9.0",
"wp-coding-standards/wpcs": "^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"php-parallel-lint/php-parallel-lint": "^1.3",
"php-parallel-lint/php-console-highlighter": "^0.5.0"
},
"type": "library",
"autoload": {
"psr-0": {
"Requests": "library/"
}
},
"scripts": {
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
],
"checkcs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs"
],
"fixcs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
],
"test": [
"@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
],
"coverage": [
"@php ./vendor/phpunit/phpunit/phpunit"
]
}
}