-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from pluginkollektiv/develop
Release 1.4.0
- Loading branch information
Showing
33 changed files
with
7,090 additions
and
486 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Directories | ||
/.git | ||
/.github | ||
/.wordpress-org | ||
/bin | ||
/node_modules | ||
/tests | ||
/vendor | ||
|
||
# Files | ||
/.distignore | ||
/.editorconfig | ||
/.eslintrc.json | ||
/.gitattributes | ||
/.gitignore | ||
/.stylelintrc.json | ||
/.travis.yml | ||
/clover.xml | ||
/composer.json | ||
/package.json | ||
/package-lock.json | ||
/composer.lock | ||
/phpcs.xml | ||
/phpunit.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
# General | ||
.DS_Store | ||
composer.lock | ||
package-lock.json | ||
|
||
# Dependencies (e.g. Composer, npm, etc.) | ||
vendor | ||
!vendor/.gitkeep | ||
node_modules | ||
.idea/ | ||
css/*.min.css | ||
js/*.min.js | ||
vendor/ | ||
node_modules/ | ||
.phpunit.result.cache | ||
clover.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": "stylelint-config-wordpress", | ||
"rules": { | ||
"selector-id-pattern": null | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,35 @@ | ||
language: php | ||
|
||
php: | ||
- 5.2 | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- hhvm | ||
|
||
matrix: | ||
allow_failures: | ||
- php: 7.0 | ||
- php: hhvm | ||
- '7.3' | ||
- '7.4' | ||
- '8.0' | ||
- nightly | ||
|
||
env: | ||
- WP_VERSION=nightly WP_MULTISITE=0 | ||
- WP_VERSION=nightly WP_MULTISITE=1 | ||
global: | ||
- XDEBUG_MODE=coverage | ||
|
||
jobs: | ||
allow_failures: | ||
- php: nightly | ||
|
||
before_install: | ||
- nvm install 14 | ||
|
||
# Clones WordPress and configures our testing environment. | ||
before_script: | ||
# Setup Coveralls | ||
- phpenv local 5.5 | ||
- composer install --no-interaction | ||
- phpenv local --unset | ||
|
||
- npm install | ||
|
||
- bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 $WP_VERSION | ||
|
||
script: | ||
- vendor/bin/phpcs -n --report=emacs --standard=phpcs.ruleset.xml antivirus.php | ||
- phpunit --coverage-clover clover.xml | ||
- npx eslint js/script.js | ||
- composer build | ||
- composer lint-all | ||
- composer test | ||
|
||
after_script: | ||
# Push coverage off to Codecov | ||
- bash <(curl -s https://codecov.io/bash) | ||
|
||
notifications: | ||
email: false |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,58 @@ | ||
{ | ||
"name": "pluginkollektiv/antivirus", | ||
"description": "Security plugin to protect your blog or website against exploits and spam injections.", | ||
"version": "1.3.10", | ||
"type": "wordpress-plugin", | ||
"license": "GPL-2.0+", | ||
"license": "GPL-2.0-or-later", | ||
"require": { | ||
"composer/installers": "~1.0", | ||
"php": ">=5.2", | ||
"ext-json": "*" | ||
}, | ||
"require-dev": { | ||
"dealerdirect/phpcodesniffer-composer-installer": "^0.4", | ||
"lipemat/wp-unit": "^1.5", | ||
"php": ">=7.3", | ||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7", | ||
"10up/wp_mock": "^0.4", | ||
"matthiasmullie/minify": "^1.3", | ||
"phpcompatibility/php-compatibility": "^9.3", | ||
"phpunit/phpunit": "^7.0", | ||
"phpcompatibility/phpcompatibility-wp": "^2.1", | ||
"phpunit/phpunit": "^9", | ||
"squizlabs/php_codesniffer": "^3.5", | ||
"wp-coding-standards/wpcs": "^2.3" | ||
}, | ||
"scripts": { | ||
"post-install-cmd": [ | ||
"@build" | ||
], | ||
"post-update-cmd": [ | ||
"@build" | ||
], | ||
"build": [ | ||
"@minify" | ||
], | ||
"cs": [ | ||
"@lint-php" | ||
], | ||
"csfix": [ | ||
"phpcbf --standard=phpcs.xml" | ||
], | ||
"lint-all": [ | ||
"@lint-php", | ||
"@lint-js", | ||
"@lint-css" | ||
], | ||
"lint-css": [ | ||
"npx stylelint css/style.css" | ||
], | ||
"lint-js": [ | ||
"npx eslint js/script.js" | ||
], | ||
"lint-php": [ | ||
"phpcs --standard=phpcs.xml -s" | ||
], | ||
"minify": [ | ||
"minifycss css/style.css > css/style.min.css", | ||
"minifyjs js/script.js > js/script.min.js" | ||
], | ||
"lint": "phpcs" | ||
"test": [ | ||
"phpunit --coverage-clover clover.xml" | ||
] | ||
} | ||
} |
Oops, something went wrong.