Skip to content

Commit

Permalink
feat(schema): build schema json file (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthv authored Nov 29, 2021
1 parent f94434f commit 7e795d8
Show file tree
Hide file tree
Showing 40 changed files with 3,322 additions and 69 deletions.
50 changes: 50 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
version: "2"

checks:
argument-count:
enabled: true
config:
threshold: 4
complex-logic:
enabled: true
config:
threshold: 4
file-lines:
enabled: true
config:
threshold: 250
method-complexity:
enabled: true
config:
threshold: 5
method-count:
enabled: true
config:
threshold: 20
method-lines:
enabled: true
config:
threshold: 30
nested-control-flow:
enabled: true
config:
threshold: 4
return-statements:
enabled: true
config:
threshold: 4
similar-code:
enabled: true
config:
threshold: 28
identical-code:
enabled: true
config:
threshold: 28

exclude_patterns:
- "config/"
- "node_modules/"
- "script/"
- "src/Exceptions/"
- "src/Utils/ErrorMessages.php"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ vendor
# phpunit
.phpunit.result.cache
coverage
coverage.xml
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"guzzlehttp/guzzle": "^7.4",
"league/oauth2-client": "^2.6",
"firebase/php-jwt": "^5.4",
"ext-json": "*"
"ext-json": "*",
"composer/composer": "^2.1"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
Expand Down
Loading

0 comments on commit 7e795d8

Please sign in to comment.