Skip to content

Commit

Permalink
fix phpcs problem
Browse files Browse the repository at this point in the history
  • Loading branch information
aytackokus committed Apr 29, 2022
1 parent 5380a5a commit 19bfa9b
Show file tree
Hide file tree
Showing 5 changed files with 2,247 additions and 67 deletions.
18 changes: 18 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@
// Give access to tests_add_filter() function.
require_once "{$cybot_cookiebot_tests_dir}/includes/functions.php";

tests_add_filter( 'muplugins_loaded', function() {
require dirname( dirname( __FILE__ ) ) . '/cookiebot.php';
} );
tests_add_filter(
'muplugins_loaded',
function () {
require dirname( dirname( __FILE__ ) ) . '/cookiebot.php';
}
);

// Start up the WP testing environment.
require "{$cybot_cookiebot_tests_dir}/includes/bootstrap.php";
2 changes: 1 addition & 1 deletion tests/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "*",
"squizlabs/php_codesniffer": "^3.6",
"wp-coding-standards/wpcs": "^2.3",
"wp-coding-standards/wpcs": "*",
"phpcompatibility/php-compatibility": "^9.3",
"phpcompatibility/phpcompatibility-paragonie": "^1.3",
"phpcompatibility/phpcompatibility-wp": "^2.1"
Expand Down
Loading

0 comments on commit 19bfa9b

Please sign in to comment.