Skip to content

Commit

Permalink
Establish repo quality standards (#43)
Browse files Browse the repository at this point in the history
Resolves #42
  • Loading branch information
carstingaxion authored Jun 28, 2023
2 parents d074668 + 426b0db commit 2343b95
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/build/
/node_modules
/vendor
composer.lock
*.sql
*.tar.gz
*.zip
/wiki
.vscode

# Generated via bin/transform-readme.php
/readme.txt
/.wp-env.override.json

# misc
.DS_Store
Thumbs.db
3 changes: 0 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,4 @@ All notable changes to this project will be documented in this file.
- Develop ([#33](https://github.com/figuren-theater/.github/pull/33))
- Develop ([#32](https://github.com/figuren-theater/.github/pull/32))


## 0.0.0 - 2023-06-27

No documentation until now.
12 changes: 12 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"require-dev": {
"figuren-theater/code-quality": "^0.4.3"
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
}
}
}
13 changes: 13 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#$ vendor/bin/phpstan analyze

parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
# bootstrapFiles:
# Missing constants, function and class stubs
paths:
- %currentWorkingDirectory%/plugin.php
- %currentWorkingDirectory%/inc/
# - %currentWorkingDirectory%/templates/
# excludePaths:
# - %currentWorkingDirectory%/vendor/

0 comments on commit 2343b95

Please sign in to comment.