Skip to content

Commit

Permalink
Normalize composer json (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloKowalczyk authored Jun 11, 2022
1 parent 986e4bd commit 6c7eb7d
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 55 deletions.
3 changes: 0 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@ trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[composer.json]
indent_size = 2
111 changes: 59 additions & 52 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,63 @@
{
"name": "jsonapiphp/jsonapi",
"description": "Framework agnostic JSON API (jsonapi.org) implementation",
"keywords": [
"jsonapi.org",
"json-api",
"jsonapi",
"neomerx",
"json",
"api"
],
"homepage": "https://github.com/jsonapiphp/jsonapi",
"support": {
"issues": "https://github.com/jsonapiphp/jsonapi/issues"
},
"license": "Apache-2.0",
"authors": [
{
"name": "neomerx",
"email": "info@neomerx.com"
}
],
"require": {
"php": ">=7.1.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0",
"mockery/mockery": "^1.0",
"scrutinizer/ocular": "^1.4",
"squizlabs/php_codesniffer": "^2.9",
"phpmd/phpmd": "^2.6",
"friendsofphp/php-cs-fixer": "^2.14"
},
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"Neomerx\\JsonApi\\": "src/"
"name": "jsonapiphp/jsonapi",
"description": "Framework agnostic JSON API (jsonapi.org) implementation",
"license": "Apache-2.0",
"keywords": [
"jsonapi.org",
"json-api",
"jsonapi",
"neomerx",
"json",
"api"
],
"authors": [
{
"name": "neomerx",
"email": "info@neomerx.com"
}
],
"homepage": "https://github.com/jsonapiphp/jsonapi",
"support": {
"issues": "https://github.com/jsonapiphp/jsonapi/issues"
},
"require": {
"php": ">=7.1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.14",
"mockery/mockery": "^1.0",
"phpmd/phpmd": "^2.6",
"phpunit/phpunit": "^7.0",
"scrutinizer/ocular": "^1.4",
"squizlabs/php_codesniffer": "^2.9"
},
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"Neomerx\\JsonApi\\": "src/"
},
"files": [
"src/I18n/format.php"
]
},
"autoload-dev": {
"psr-4": {
"Neomerx\\Tests\\JsonApi\\": "tests/",
"Neomerx\\Samples\\JsonApi\\": "sample/"
}
},
"files": ["src/I18n/format.php"]
},
"autoload-dev": {
"psr-4": {
"Neomerx\\Tests\\JsonApi\\": "tests/",
"Neomerx\\Samples\\JsonApi\\": "sample/"
"scripts": {
"cs-fixer": "./vendor/bin/php-cs-fixer fix --diff -v --ansi",
"test": [
"@test-unit",
"@test-cs",
"@test-md",
"@test-cs-fixer"
],
"test-cs": "./vendor/bin/phpcs -p -s --standard=PSR2 ./src ./tests",
"test-cs-fixer": "./vendor/bin/php-cs-fixer fix --diff --dry-run -v",
"test-md": "./vendor/bin/phpmd ./src text codesize,controversial,cleancode,design,unusedcode,naming",
"test-unit": "./vendor/phpunit/phpunit/phpunit --coverage-text",
"test-unit-phpdbg": "phpdbg -qrr ./vendor/bin/phpunit --coverage-text"
}
},
"scripts": {
"test": ["@test-unit", "@test-cs", "@test-md", "@test-cs-fixer"],
"test-unit": "./vendor/phpunit/phpunit/phpunit --coverage-text",
"test-unit-phpdbg": "phpdbg -qrr ./vendor/bin/phpunit --coverage-text",
"test-cs": "./vendor/bin/phpcs -p -s --standard=PSR2 ./src ./tests",
"test-md": "./vendor/bin/phpmd ./src text codesize,controversial,cleancode,design,unusedcode,naming",
"test-cs-fixer": "./vendor/bin/php-cs-fixer fix --diff --dry-run -v",
"cs-fixer": "./vendor/bin/php-cs-fixer fix --diff -v --ansi"
}
}

0 comments on commit 6c7eb7d

Please sign in to comment.