Hi!

Just a few coding standards improvements.

I hope to help.

Thanks.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gmaltoni created an issue. See original summary.

gmaltoni’s picture

Patch with fixes.

gg24’s picture

Category: Bug report » Support request

Changed Category as PHP is a loosely typed language.

gmaltoni’s picture

Assigned: gmaltoni » Unassigned
cebasqueira’s picture

More Coding Standards fixes

gmaltoni’s picture

Status: Needs review » Reviewed & tested by the community

@cebasqueira, I applied your patch and it worked cleanly.

navneet0693’s picture

Category: Support request » Task
  1. +++ b/sharethis.module
    @@ -184,7 +186,7 @@ function sharethis_theme($existing, $type, $theme, $path) {
    +function sharethis_get_light_options(array $data_options) {
    

    Type hinting is good :)

  2. +++ b/sharethis.module
    @@ -367,7 +369,7 @@ function theme_sharethis($variables) {
    -        '#value' => '', //It's an empty span tag.
    

    I see no reason of removing a comment.

Updating category, I am not changing the status as I will leave with maintainers to decide.

purushotam.rai’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.