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

BBMSK-16 - Add category lookup to public get function #13

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
4 changes: 4 additions & 0 deletions .deployignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# phpunit
.phpunit.result.cache
phpunit.xml.dist
tests
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ build/

# build output map files
*.map

# phpunit cache
.phpunit.result.cache
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"require-dev": {
"bigbite/phpcs-config": "^2.0",
"phpstan/phpstan": "^1.11",
"szepeviktor/phpstan-wordpress": "^1.3"
"szepeviktor/phpstan-wordpress": "^1.3",
"phpunit/phpunit": "^9.6",
"brain/monkey": "2.6.1"
},
"require": {
"automattic/jetpack-autoloader": "^2.10.1"
Expand All @@ -25,9 +27,11 @@
"scripts": {
"phpcs": "./vendor/bin/phpcs --ignore=build/ .",
"phpstan": "./vendor/bin/phpstan analyse --memory-limit=640M",
"phpunit": "./vendor/bin/phpunit",
"pre-push": [
"@phpcs",
"@phpstan"
"@phpstan",
"@phpunit"
]
}
}
Loading