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

fix: Update WPCS to 3.0.0; updated related dependencies #85

Closed
wants to merge 9 commits into from
7 changes: 5 additions & 2 deletions class-terraso.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ public static function remove_fontawesome() {
* @param array $custom_logo_attr Custom logo image attributes.
* @param int $custom_logo_id Custom logo attachment ID.
* @param int $blog_id ID of the blog to get the custom logo for.
*
* @return array
*/
public static function get_custom_logo_image_attributes( $custom_logo_attr, $custom_logo_id, $blog_id ) {
public static function get_custom_logo_image_attributes( $custom_logo_attr, $custom_logo_id, $blog_id ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
$custom_logo_attr['width'] = 145;
$custom_logo_attr['height'] = 41;

Expand All @@ -129,8 +130,10 @@ public static function zakra_header_search_icon_data_attrs() {
* @param string $form The search form HTML output.
* @param array $args The array of arguments for building the search form.
* See get_search_form() for information on accepted arguments.
*
* @return string
*/
public static function zakra_search_placeholder( $form, $args ) {
public static function zakra_search_placeholder( $form, $args ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
return str_replace( 'Type & hit Enter …', 'Search …', $form );
}

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"pablo-sg-pacheco/wp-namespace-autoloader": "dev-master"
},
"require-dev": {
"automattic/vipwpcs": "^2.3",
"wp-coding-standards/wpcs": "^2.3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
"phpcompatibility/phpcompatibility-wp": "^2.1.3"
"automattic/vipwpcs": "dev-develop#64aa799",
"wp-coding-standards/wpcs": "^3.0.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"phpcompatibility/phpcompatibility-wp": "^2.1.4"
},
"license": "GPL-2.0-or-later",
"config": {
Expand Down
Loading