Skip to content

Commit

Permalink
Closes #3: adds phpcs package, ruleset, and composer script, and cl…
Browse files Browse the repository at this point in the history
…eans up code according to errors and warnings
  • Loading branch information
nikkifurls committed Nov 23, 2023
1 parent 5ccb701 commit 2ecc5d7
Show file tree
Hide file tree
Showing 18 changed files with 3,238 additions and 3,019 deletions.
10 changes: 9 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{
"autoload": {
"psr-4": {
"PWA_Generator\\": "inc"
}
},
"require-dev": {
"phpstan/phpstan": "^1.10"
"phpstan/phpstan": "^1.10",
"squizlabs/php_codesniffer": "^3.7"
},
"scripts": {
"phpcbf": "vendor/bin/phpcbf ./",
"phpcs": "vendor/bin/phpcs ./",
"phpstan": "vendor/bin/phpstan analyze"
}
}
61 changes: 59 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2ecc5d7

Please sign in to comment.