Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Establish repo quality standards #43

Merged
merged 2 commits into from
Jun 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/