Skip to content

Commit

Permalink
Update gitignore, composer.
Browse files Browse the repository at this point in the history
  • Loading branch information
BootWP committed Dec 24, 2023
1 parent 4b92b73 commit 6032e80
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
vendor
package-lock.json
composer.lock

phpcs-result.txt
phpcs-security-result.txt
10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"squizlabs/php_codesniffer": "^3.8",
"wp-coding-standards/wpcs": "^3.0",
"pheromone/phpcs-security-audit": "^2.0"
"wp-coding-standards/wpcs": "^3.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"pheromone/phpcs-security-audit": "^2.0"
},
"scripts": {
"phpcs": "phpcs --standard=phpcs.xml > phpcs-result.txt",
"phpcss": "phpcs --standard=security.xml > phpcs-security-result.txt"
}
}

0 comments on commit 6032e80

Please sign in to comment.