Skip to content

Commit

Permalink
Issue #24: Ensure code meets latest standards
Browse files Browse the repository at this point in the history
- Add development tool to normalize composer configuration, php_codesniffer, and phpstan.
- Uplift code to PSR12 standards.
- Address code smells identified by php_codesniffer and phpstan.
  • Loading branch information
sprak3000 committed Jul 28, 2023
1 parent 0cb4455 commit fb36148
Show file tree
Hide file tree
Showing 16 changed files with 715 additions and 66 deletions.
10 changes: 9 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,20 @@
"guzzlehttp/guzzle-services": "1.4.0"
},
"require-dev": {
"phpunit/phpunit": "10.2.6"
"ergebnis/composer-normalize": "2.33.0",
"phpunit/phpunit": "10.2.6",
"squizlabs/php_codesniffer": "3.5.4",
"phpstan/phpstan": "1.10.19"
},
"autoload": {
"psr-4": {
"sprak3000\\AnimeNewsNetworkDataAPI\\": "src",
"sprak3000\\AnimeNewsNetworkDataAPI\\Test\\": "test/phpunit/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
}
}
}
Loading

0 comments on commit fb36148

Please sign in to comment.