lib/Ajde/Social/Provider/Google/Google/Service/Plus.php

Summary

Maintainability
F
2 wks
Test Coverage

File Plus.php has 2926 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
/*
 * Copyright 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
Severity: Major
Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php - About 1 wk to fix

    Google_Service_Plus_ItemScope has 110 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class Google_Service_Plus_ItemScope extends Google_Collection
    {
        protected $aboutType = 'Google_Service_Plus_ItemScope';
        protected $aboutDataType = '';
        public $additionalName;
    Severity: Major
    Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php - About 2 days to fix

      Method __construct has 294 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function __construct(Google_Client $client)
          {
              parent::__construct($client);
              $this->servicePath = 'plus/v1/';
              $this->version = 'v1';
      Severity: Major
      Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php - About 1 day to fix

        Google_Service_Plus_Person has 52 functions (exceeds 20 allowed). Consider refactoring.
        Open

        class Google_Service_Plus_Person extends Google_Collection
        {
            public $aboutMe;
            protected $ageRangeType = 'Google_Service_Plus_PersonAgeRange';
            protected $ageRangeDataType = '';
        Severity: Major
        Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php - About 7 hrs to fix

          Google_Service_Plus_Activity has 40 functions (exceeds 20 allowed). Consider refactoring.
          Open

          class Google_Service_Plus_Activity extends Google_Model
          {
              protected $accessType = 'Google_Service_Plus_Acl';
              protected $accessDataType = '';
              protected $actorType = 'Google_Service_Plus_ActivityActor';
          Severity: Minor
          Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php - About 5 hrs to fix

            The class Google_Service_Plus_Person has an overall complexity of 52 which is very high. The configured complexity threshold is 50.
            Open

            class Google_Service_Plus_Person extends Google_Collection
            {
                public $aboutMe;
                protected $ageRangeType = 'Google_Service_Plus_PersonAgeRange';
                protected $ageRangeDataType = '';

            The class Google_Service_Plus_ItemScope has an overall complexity of 110 which is very high. The configured complexity threshold is 50.
            Open

            class Google_Service_Plus_ItemScope extends Google_Collection
            {
                protected $aboutType = 'Google_Service_Plus_ItemScope';
                protected $aboutDataType = '';
                public $additionalName;

            Google_Service_Plus_Comment has 22 functions (exceeds 20 allowed). Consider refactoring.
            Open

            class Google_Service_Plus_Comment extends Google_Collection
            {
                protected $actorType = 'Google_Service_Plus_CommentActor';
                protected $actorDataType = '';
                public $etag;
            Severity: Minor
            Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php - About 2 hrs to fix

              The class Google_Service_Plus_Person has 33 fields. Consider redesigning Google_Service_Plus_Person to keep the number of fields under 15.
              Open

              class Google_Service_Plus_Person extends Google_Collection
              {
                  public $aboutMe;
                  protected $ageRangeType = 'Google_Service_Plus_PersonAgeRange';
                  protected $ageRangeDataType = '';

              TooManyFields

              Since: 0.1

              Classes that have too many fields could be redesigned to have fewer fields, possibly through some nested object grouping of some of the information. For example, a class with city/state/zip fields could instead have one Address field.

              Example

              class Person {
                 protected $one;
                 private $two;
                 private $three;
                 [... many more fields ...]
              }

              Source https://phpmd.org/rules/codesize.html#toomanyfields

              The class Google_Service_Plus_ItemScope has 70 fields. Consider redesigning Google_Service_Plus_ItemScope to keep the number of fields under 15.
              Open

              class Google_Service_Plus_ItemScope extends Google_Collection
              {
                  protected $aboutType = 'Google_Service_Plus_ItemScope';
                  protected $aboutDataType = '';
                  public $additionalName;

              TooManyFields

              Since: 0.1

              Classes that have too many fields could be redesigned to have fewer fields, possibly through some nested object grouping of some of the information. For example, a class with city/state/zip fields could instead have one Address field.

              Example

              class Person {
                 protected $one;
                 private $two;
                 private $three;
                 [... many more fields ...]
              }

              Source https://phpmd.org/rules/codesize.html#toomanyfields

              The class Google_Service_Plus_Activity has 25 fields. Consider redesigning Google_Service_Plus_Activity to keep the number of fields under 15.
              Open

              class Google_Service_Plus_Activity extends Google_Model
              {
                  protected $accessType = 'Google_Service_Plus_Acl';
                  protected $accessDataType = '';
                  protected $actorType = 'Google_Service_Plus_ActivityActor';

              TooManyFields

              Since: 0.1

              Classes that have too many fields could be redesigned to have fewer fields, possibly through some nested object grouping of some of the information. For example, a class with city/state/zip fields could instead have one Address field.

              Example

              class Person {
                 protected $one;
                 private $two;
                 private $three;
                 [... many more fields ...]
              }

              Source https://phpmd.org/rules/codesize.html#toomanyfields

              The class Google_Service_Plus_Activity has 55 public methods and attributes. Consider reducing the number of public items to less than 45.
              Open

              class Google_Service_Plus_Activity extends Google_Model
              {
                  protected $accessType = 'Google_Service_Plus_Acl';
                  protected $accessDataType = '';
                  protected $actorType = 'Google_Service_Plus_ActivityActor';

              ExcessivePublicCount

              Since: 0.1

              A large number of public methods and attributes declared in a class can indicate the class may need to be broken up as increased effort will be required to thoroughly test it.

              Example

              public class Foo {
                  public $value;
                  public $something;
                  public $var;
                  // [... more more public attributes ...]
              
                  public function doWork() {}
                  public function doMoreWork() {}
                  public function doWorkAgain() {}
                  // [... more more public methods ...]
              }

              Source https://phpmd.org/rules/codesize.html#excessivepubliccount

              The class Google_Service_Plus_Person has 71 public methods and attributes. Consider reducing the number of public items to less than 45.
              Open

              class Google_Service_Plus_Person extends Google_Collection
              {
                  public $aboutMe;
                  protected $ageRangeType = 'Google_Service_Plus_PersonAgeRange';
                  protected $ageRangeDataType = '';

              ExcessivePublicCount

              Since: 0.1

              A large number of public methods and attributes declared in a class can indicate the class may need to be broken up as increased effort will be required to thoroughly test it.

              Example

              public class Foo {
                  public $value;
                  public $something;
                  public $var;
                  // [... more more public attributes ...]
              
                  public function doWork() {}
                  public function doMoreWork() {}
                  public function doWorkAgain() {}
                  // [... more more public methods ...]
              }

              Source https://phpmd.org/rules/codesize.html#excessivepubliccount

              The class Google_Service_Plus_ItemScope has 150 public methods and attributes. Consider reducing the number of public items to less than 45.
              Open

              class Google_Service_Plus_ItemScope extends Google_Collection
              {
                  protected $aboutType = 'Google_Service_Plus_ItemScope';
                  protected $aboutDataType = '';
                  public $additionalName;

              ExcessivePublicCount

              Since: 0.1

              A large number of public methods and attributes declared in a class can indicate the class may need to be broken up as increased effort will be required to thoroughly test it.

              Example

              public class Foo {
                  public $value;
                  public $something;
                  public $var;
                  // [... more more public attributes ...]
              
                  public function doWork() {}
                  public function doMoreWork() {}
                  public function doWorkAgain() {}
                  // [... more more public methods ...]
              }

              Source https://phpmd.org/rules/codesize.html#excessivepubliccount

              The method __construct() has 301 lines of code. Current threshold is set to 100. Avoid really long methods.
              Open

                  public function __construct(Google_Client $client)
                  {
                      parent::__construct($client);
                      $this->servicePath = 'plus/v1/';
                      $this->version = 'v1';

              Missing class import via use statement (line '63', column '33').
              Open

                      $this->activities = new Google_Service_Plus_Activities_Resource(

              MissingImport

              Since: 2.7.0

              Importing all external classes in a file through use statements makes them clearly visible.

              Example

              function make() {
                  return new \stdClass();
              }

              Source http://phpmd.org/rules/cleancode.html#MissingImport

              Missing class import via use statement (line '177', column '30').
              Open

                      $this->moments = new Google_Service_Plus_Moments_Resource(

              MissingImport

              Since: 2.7.0

              Importing all external classes in a file through use statements makes them clearly visible.

              Example

              function make() {
                  return new \stdClass();
              }

              Source http://phpmd.org/rules/cleancode.html#MissingImport

              Missing class import via use statement (line '249', column '29').
              Open

                      $this->people = new Google_Service_Plus_People_Resource(

              MissingImport

              Since: 2.7.0

              Importing all external classes in a file through use statements makes them clearly visible.

              Example

              function make() {
                  return new \stdClass();
              }

              Source http://phpmd.org/rules/cleancode.html#MissingImport

              Missing class import via use statement (line '134', column '31').
              Open

                      $this->comments = new Google_Service_Plus_Comments_Resource(

              MissingImport

              Since: 2.7.0

              Importing all external classes in a file through use statements makes them clearly visible.

              Example

              function make() {
                  return new \stdClass();
              }

              Source http://phpmd.org/rules/cleancode.html#MissingImport

              Similar blocks of code found in 2 locations. Consider refactoring.
              Open

              class Google_Service_Plus_CommentActor extends Google_Model
              {
                  public $displayName;
                  public $id;
                  protected $imageType = 'Google_Service_Plus_CommentActorImage';
              Severity: Major
              Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php and 1 other location - About 2 hrs to fix
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 1274..1321

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 138.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 2 locations. Consider refactoring.
              Open

              class Google_Service_Plus_ActivityObjectActor extends Google_Model
              {
                  public $displayName;
                  public $id;
                  protected $imageType = 'Google_Service_Plus_ActivityObjectActorImage';
              Severity: Major
              Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php and 1 other location - About 2 hrs to fix
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 1875..1922

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 138.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 3 locations. Consider refactoring.
              Open

              class Google_Service_Plus_ActivityObjectAttachmentsFullImage extends Google_Model
              {
                  public $height;
                  public $type;
                  public $url;
              Severity: Major
              Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php and 2 other locations - About 2 hrs to fix
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 1519..1565
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 1605..1651

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 127.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 3 locations. Consider refactoring.
              Open

              class Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage extends Google_Model
              {
                  public $height;
                  public $type;
                  public $url;
              Severity: Major
              Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php and 2 other locations - About 2 hrs to fix
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 1471..1517
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 1519..1565

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 127.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 3 locations. Consider refactoring.
              Open

              class Google_Service_Plus_ActivityObjectAttachmentsImage extends Google_Model
              {
                  public $height;
                  public $type;
                  public $url;
              Severity: Major
              Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php and 2 other locations - About 2 hrs to fix
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 1471..1517
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 1605..1651

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 127.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 2 locations. Consider refactoring.
              Open

                                  'listByActivity' => [
                                      'path'       => 'activities/{activityId}/people/{collection}',
                                      'httpMethod' => 'GET',
                                      'parameters' => [
                                          'activityId' => [
              Severity: Major
              Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php and 1 other location - About 1 hr to fix
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 80..103

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 102.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 2 locations. Consider refactoring.
              Open

                                  'list'   => [
                                      'path'       => 'people/{userId}/activities/{collection}',
                                      'httpMethod' => 'GET',
                                      'parameters' => [
                                          'userId'     => [
              Severity: Major
              Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php and 1 other location - About 1 hr to fix
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 294..317

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 102.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 4 locations. Consider refactoring.
              Open

              class Google_Service_Plus_PersonUrls extends Google_Model
              {
                  public $label;
                  public $type;
                  public $value;
              Severity: Major
              Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php and 3 other locations - About 50 mins to fix
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 2058..2093
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 3369..3404
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 3748..3783

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 97.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 4 locations. Consider refactoring.
              Open

              class Google_Service_Plus_PersonCoverCoverPhoto extends Google_Model
              {
                  public $height;
                  public $url;
                  public $width;
              Severity: Major
              Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php and 3 other locations - About 50 mins to fix
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 2058..2093
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 3620..3655
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 3748..3783

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 97.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 4 locations. Consider refactoring.
              Open

              class Google_Service_Plus_PlusAclentryResource extends Google_Model
              {
                  public $displayName;
                  public $id;
                  public $type;
              Severity: Major
              Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php and 3 other locations - About 50 mins to fix
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 2058..2093
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 3369..3404
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 3620..3655

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 97.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 4 locations. Consider refactoring.
              Open

              class Google_Service_Plus_CommentObject extends Google_Model
              {
                  public $content;
                  public $objectType;
                  public $originalContent;
              Severity: Major
              Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php and 3 other locations - About 50 mins to fix
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 3369..3404
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 3620..3655
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 3748..3783

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 97.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 2 locations. Consider refactoring.
              Open

                                  'list' => [
                                      'path'       => 'activities/{activityId}/comments',
                                      'httpMethod' => 'GET',
                                      'parameters' => [
                                          'activityId' => [
              Severity: Minor
              Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php and 1 other location - About 40 mins to fix
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 318..340

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 94.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 2 locations. Consider refactoring.
              Open

                                  'search'         => [
                                      'path'       => 'people',
                                      'httpMethod' => 'GET',
                                      'parameters' => [
                                          'query'      => [
              Severity: Minor
              Found in lib/Ajde/Social/Provider/Google/Google/Service/Plus.php and 1 other location - About 40 mins to fix
              lib/Ajde/Social/Provider/Google/Google/Service/Plus.php on lines 151..173

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 94.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Avoid excessively long class names like Google_Service_Plus_ActivityObjectAttachmentsFullImage. Keep class name length under 40.
              Open

              class Google_Service_Plus_ActivityObjectAttachmentsFullImage extends Google_Model
              {
                  public $height;
                  public $type;
                  public $url;

              LongClassName

              Since: 2.9

              Detects when classes or interfaces are declared with excessively long names.

              Example

              class ATooLongClassNameThatHintsAtADesignProblem {
              
              }
              
              interface ATooLongInterfaceNameThatHintsAtADesignProblem {
              
              }

              Source https://phpmd.org/rules/naming.html#longclassname

              Avoid excessively long class names like Google_Service_Plus_ActivityObjectAttachmentsImage. Keep class name length under 40.
              Open

              class Google_Service_Plus_ActivityObjectAttachmentsImage extends Google_Model
              {
                  public $height;
                  public $type;
                  public $url;

              LongClassName

              Since: 2.9

              Detects when classes or interfaces are declared with excessively long names.

              Example

              class ATooLongClassNameThatHintsAtADesignProblem {
              
              }
              
              interface ATooLongInterfaceNameThatHintsAtADesignProblem {
              
              }

              Source https://phpmd.org/rules/naming.html#longclassname

              Avoid excessively long class names like Google_Service_Plus_ActivityObjectReplies. Keep class name length under 40.
              Open

              class Google_Service_Plus_ActivityObjectReplies extends Google_Model
              {
                  public $selfLink;
                  public $totalItems;
              
              

              LongClassName

              Since: 2.9

              Detects when classes or interfaces are declared with excessively long names.

              Example

              class ATooLongClassNameThatHintsAtADesignProblem {
              
              }
              
              interface ATooLongInterfaceNameThatHintsAtADesignProblem {
              
              }

              Source https://phpmd.org/rules/naming.html#longclassname

              Avoid excessively long class names like Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage. Keep class name length under 40.
              Open

              class Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage extends Google_Model
              {
                  public $height;
                  public $type;
                  public $url;

              LongClassName

              Since: 2.9

              Detects when classes or interfaces are declared with excessively long names.

              Example

              class ATooLongClassNameThatHintsAtADesignProblem {
              
              }
              
              interface ATooLongInterfaceNameThatHintsAtADesignProblem {
              
              }

              Source https://phpmd.org/rules/naming.html#longclassname

              Avoid excessively long class names like Google_Service_Plus_ActivityObjectActorImage. Keep class name length under 40.
              Open

              class Google_Service_Plus_ActivityObjectActorImage extends Google_Model
              {
                  public $url;
              
                  public function setUrl($url)

              LongClassName

              Since: 2.9

              Detects when classes or interfaces are declared with excessively long names.

              Example

              class ATooLongClassNameThatHintsAtADesignProblem {
              
              }
              
              interface ATooLongInterfaceNameThatHintsAtADesignProblem {
              
              }

              Source https://phpmd.org/rules/naming.html#longclassname

              Avoid excessively long variable names like $partOfTVSeriesDataType. Keep variable name length under 20.
              Open

                  protected $partOfTVSeriesDataType = '';

              LongVariable

              Since: 0.2

              Detects when a field, formal or local variable is declared with a long name.

              Example

              class Something {
                  protected $reallyLongIntName = -3; // VIOLATION - Field
                  public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
                      $otherReallyLongName = -5; // VIOLATION - Local
                      for ($interestingIntIndex = 0; // VIOLATION - For
                           $interestingIntIndex < 10;
                           $interestingIntIndex++ ) {
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#longvariable

              Avoid excessively long class names like Google_Service_Plus_ActivityObjectResharers. Keep class name length under 40.
              Open

              class Google_Service_Plus_ActivityObjectResharers extends Google_Model
              {
                  public $selfLink;
                  public $totalItems;
              
              

              LongClassName

              Since: 2.9

              Detects when classes or interfaces are declared with excessively long names.

              Example

              class ATooLongClassNameThatHintsAtADesignProblem {
              
              }
              
              interface ATooLongInterfaceNameThatHintsAtADesignProblem {
              
              }

              Source https://phpmd.org/rules/naming.html#longclassname

              Avoid excessively long class names like Google_Service_Plus_ActivityObjectAttachments. Keep class name length under 40.
              Open

              class Google_Service_Plus_ActivityObjectAttachments extends Google_Collection
              {
                  public $content;
                  public $displayName;
                  protected $embedType = 'Google_Service_Plus_ActivityObjectAttachmentsEmbed';

              LongClassName

              Since: 2.9

              Detects when classes or interfaces are declared with excessively long names.

              Example

              class ATooLongClassNameThatHintsAtADesignProblem {
              
              }
              
              interface ATooLongInterfaceNameThatHintsAtADesignProblem {
              
              }

              Source https://phpmd.org/rules/naming.html#longclassname

              Avoid excessively long variable names like $organizationsDataType. Keep variable name length under 20.
              Open

                  protected $organizationsDataType = 'array';

              LongVariable

              Since: 0.2

              Detects when a field, formal or local variable is declared with a long name.

              Example

              class Something {
                  protected $reallyLongIntName = -3; // VIOLATION - Field
                  public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
                      $otherReallyLongName = -5; // VIOLATION - Local
                      for ($interestingIntIndex = 0; // VIOLATION - For
                           $interestingIntIndex < 10;
                           $interestingIntIndex++ ) {
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#longvariable

              Avoid excessively long class names like Google_Service_Plus_ActivityObjectAttachmentsThumbnails. Keep class name length under 40.
              Open

              class Google_Service_Plus_ActivityObjectAttachmentsThumbnails extends Google_Model
              {
                  public $description;
                  protected $imageType = 'Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage';
                  protected $imageDataType = '';

              LongClassName

              Since: 2.9

              Detects when classes or interfaces are declared with excessively long names.

              Example

              class ATooLongClassNameThatHintsAtADesignProblem {
              
              }
              
              interface ATooLongInterfaceNameThatHintsAtADesignProblem {
              
              }

              Source https://phpmd.org/rules/naming.html#longclassname

              Avoid excessively long class names like Google_Service_Plus_ActivityObjectPlusoners. Keep class name length under 40.
              Open

              class Google_Service_Plus_ActivityObjectPlusoners extends Google_Model
              {
                  public $selfLink;
                  public $totalItems;
              
              

              LongClassName

              Since: 2.9

              Detects when classes or interfaces are declared with excessively long names.

              Example

              class ATooLongClassNameThatHintsAtADesignProblem {
              
              }
              
              interface ATooLongInterfaceNameThatHintsAtADesignProblem {
              
              }

              Source https://phpmd.org/rules/naming.html#longclassname

              Avoid excessively long variable names like $associated_mediaDataType. Keep variable name length under 20.
              Open

                  protected $associated_mediaDataType = 'array';

              LongVariable

              Since: 0.2

              Detects when a field, formal or local variable is declared with a long name.

              Example

              class Something {
                  protected $reallyLongIntName = -3; // VIOLATION - Field
                  public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
                      $otherReallyLongName = -5; // VIOLATION - Local
                      for ($interestingIntIndex = 0; // VIOLATION - For
                           $interestingIntIndex < 10;
                           $interestingIntIndex++ ) {
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#longvariable

              Avoid excessively long class names like Google_Service_Plus_ActivityObjectAttachmentsEmbed. Keep class name length under 40.
              Open

              class Google_Service_Plus_ActivityObjectAttachmentsEmbed extends Google_Model
              {
                  public $type;
                  public $url;
              
              

              LongClassName

              Since: 2.9

              Detects when classes or interfaces are declared with excessively long names.

              Example

              class ATooLongClassNameThatHintsAtADesignProblem {
              
              }
              
              interface ATooLongInterfaceNameThatHintsAtADesignProblem {
              
              }

              Source https://phpmd.org/rules/naming.html#longclassname

              Avoid excessively long class names like Google_Service_Plus_PersonCoverCoverPhoto. Keep class name length under 40.
              Open

              class Google_Service_Plus_PersonCoverCoverPhoto extends Google_Model
              {
                  public $height;
                  public $url;
                  public $width;

              LongClassName

              Since: 2.9

              Detects when classes or interfaces are declared with excessively long names.

              Example

              class ATooLongClassNameThatHintsAtADesignProblem {
              
              }
              
              interface ATooLongInterfaceNameThatHintsAtADesignProblem {
              
              }

              Source https://phpmd.org/rules/naming.html#longclassname

              The class Google_Service_Plus_Moments_Resource is not named in CamelCase.
              Open

              class Google_Service_Plus_Moments_Resource extends Google_Service_Resource
              {
                  /**
                   * Record a moment representing a user's activity such as making a purchase or
                   * commenting on a blog. (moments.insert).

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function remove($id, $optParams = [])

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_ActivityActorName is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityActorName extends Google_Model
              {
                  public $familyName;
                  public $givenName;
              
              

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_CommentActor is not named in CamelCase.
              Open

              class Google_Service_Plus_CommentActor extends Google_Model
              {
                  public $displayName;
                  public $id;
                  protected $imageType = 'Google_Service_Plus_CommentActorImage';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_CommentFeed is not named in CamelCase.
              Open

              class Google_Service_Plus_CommentFeed extends Google_Collection
              {
                  public $etag;
                  public $id;
                  protected $itemsType = 'Google_Service_Plus_Comment';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_PlacePosition is not named in CamelCase.
              Open

              class Google_Service_Plus_PlacePosition extends Google_Model
              {
                  public $latitude;
                  public $longitude;
              
              

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_ActivityActorImage is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityActorImage extends Google_Model
              {
                  public $url;
              
                  public function setUrl($url)

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_Place is not named in CamelCase.
              Open

              class Google_Service_Plus_Place extends Google_Model
              {
                  protected $addressType = 'Google_Service_Plus_PlaceAddress';
                  protected $addressDataType = '';
                  public $displayName;

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_ActivityObjectAttachmentsEmbed is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityObjectAttachmentsEmbed extends Google_Model
              {
                  public $type;
                  public $url;
              
              

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The property $associated_mediaDataType is not named in camelCase.
              Open

              class Google_Service_Plus_ItemScope extends Google_Collection
              {
                  protected $aboutType = 'Google_Service_Plus_ItemScope';
                  protected $aboutDataType = '';
                  public $additionalName;

              CamelCasePropertyName

              Since: 0.2

              It is considered best practice to use the camelCase notation to name attributes.

              Example

              class ClassName {
                  protected $property_name;
              }

              Source

              The class Google_Service_Plus_PersonImage is not named in CamelCase.
              Open

              class Google_Service_Plus_PersonImage extends Google_Model
              {
                  public $url;
              
                  public function setUrl($url)

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_People_Resource is not named in CamelCase.
              Open

              class Google_Service_Plus_People_Resource extends Google_Service_Resource
              {
                  /**
                   * Get a person's profile. If your app uses scope
                   * https://www.googleapis.com/auth/plus.login, this method is guaranteed to

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_Acl is not named in CamelCase.
              Open

              class Google_Service_Plus_Acl extends Google_Collection
              {
                  public $description;
                  protected $itemsType = 'Google_Service_Plus_PlusAclentryResource';
                  protected $itemsDataType = 'array';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_PersonCover is not named in CamelCase.
              Open

              class Google_Service_Plus_PersonCover extends Google_Model
              {
                  protected $coverInfoType = 'Google_Service_Plus_PersonCoverCoverInfo';
                  protected $coverInfoDataType = '';
                  protected $coverPhotoType = 'Google_Service_Plus_PersonCoverCoverPhoto';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_Activities_Resource is not named in CamelCase.
              Open

              class Google_Service_Plus_Activities_Resource extends Google_Service_Resource
              {
                  /**
                   * Get an activity. (activities.get).
                   *

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_ActivityObjectAttachments is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityObjectAttachments extends Google_Collection
              {
                  public $content;
                  public $displayName;
                  protected $embedType = 'Google_Service_Plus_ActivityObjectAttachmentsEmbed';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_ActivityObjectReplies is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityObjectReplies extends Google_Model
              {
                  public $selfLink;
                  public $totalItems;
              
              

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_Comments_Resource is not named in CamelCase.
              Open

              class Google_Service_Plus_Comments_Resource extends Google_Service_Resource
              {
                  /**
                   * Get a comment. (comments.get).
                   *

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_CommentInReplyTo is not named in CamelCase.
              Open

              class Google_Service_Plus_CommentInReplyTo extends Google_Model
              {
                  public $id;
                  public $url;
              
              

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The parameter $associated_media is not named in camelCase.
              Open

                  public function setAssociated_media($associated_media)
                  {
                      $this->associated_media = $associated_media;
                  }

              CamelCaseParameterName

              Since: 0.2

              It is considered best practice to use the camelCase notation to name parameters.

              Example

              class ClassName {
                  public function doSomething($user_name) {
                  }
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_MomentsFeed is not named in CamelCase.
              Open

              class Google_Service_Plus_MomentsFeed extends Google_Collection
              {
                  public $etag;
                  protected $itemsType = 'Google_Service_Plus_Moment';
                  protected $itemsDataType = 'array';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_PlaceAddress is not named in CamelCase.
              Open

              class Google_Service_Plus_PlaceAddress extends Google_Model
              {
                  public $formatted;
              
                  public function setFormatted($formatted)

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_ActivityObject is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityObject extends Google_Collection
              {
                  protected $actorType = 'Google_Service_Plus_ActivityObjectActor';
                  protected $actorDataType = '';
                  protected $attachmentsType = 'Google_Service_Plus_ActivityObjectAttachments';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The property $associated_mediaType is not named in camelCase.
              Open

              class Google_Service_Plus_ItemScope extends Google_Collection
              {
                  protected $aboutType = 'Google_Service_Plus_ItemScope';
                  protected $aboutDataType = '';
                  public $additionalName;

              CamelCasePropertyName

              Since: 0.2

              It is considered best practice to use the camelCase notation to name attributes.

              Example

              class ClassName {
                  protected $property_name;
              }

              Source

              The class Google_Service_Plus_PersonOrganizations is not named in CamelCase.
              Open

              class Google_Service_Plus_PersonOrganizations extends Google_Model
              {
                  public $department;
                  public $description;
                  public $endDate;

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_ActivityObjectActor is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityObjectActor extends Google_Model
              {
                  public $displayName;
                  public $id;
                  protected $imageType = 'Google_Service_Plus_ActivityObjectActorImage';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_ActivityObjectPlusoners is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityObjectPlusoners extends Google_Model
              {
                  public $selfLink;
                  public $totalItems;
              
              

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_ActivityProvider is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityProvider extends Google_Model
              {
                  public $title;
              
                  public function setTitle($title)

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_PersonPlacesLived is not named in CamelCase.
              Open

              class Google_Service_Plus_PersonPlacesLived extends Google_Model
              {
                  public $primary;
                  public $value;
              
              

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_ActivityActor is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityActor extends Google_Model
              {
                  public $displayName;
                  public $id;
                  protected $imageType = 'Google_Service_Plus_ActivityActorImage';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_ActivityFeed is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityFeed extends Google_Collection
              {
                  public $etag;
                  public $id;
                  protected $itemsType = 'Google_Service_Plus_Activity';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_PeopleFeed is not named in CamelCase.
              Open

              class Google_Service_Plus_PeopleFeed extends Google_Collection
              {
                  public $etag;
                  protected $itemsType = 'Google_Service_Plus_Person';
                  protected $itemsDataType = 'array';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_PlusAclentryResource is not named in CamelCase.
              Open

              class Google_Service_Plus_PlusAclentryResource extends Google_Model
              {
                  public $displayName;
                  public $id;
                  public $type;

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_ActivityObjectAttachmentsThumbnails is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityObjectAttachmentsThumbnails extends Google_Model
              {
                  public $description;
                  protected $imageType = 'Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage';
                  protected $imageDataType = '';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_Activity is not named in CamelCase.
              Open

              class Google_Service_Plus_Activity extends Google_Model
              {
                  protected $accessType = 'Google_Service_Plus_Acl';
                  protected $accessDataType = '';
                  protected $actorType = 'Google_Service_Plus_ActivityActor';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_ActivityObjectResharers is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityObjectResharers extends Google_Model
              {
                  public $selfLink;
                  public $totalItems;
              
              

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_CommentObject is not named in CamelCase.
              Open

              class Google_Service_Plus_CommentObject extends Google_Model
              {
                  public $content;
                  public $objectType;
                  public $originalContent;

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_ItemScope is not named in CamelCase.
              Open

              class Google_Service_Plus_ItemScope extends Google_Collection
              {
                  protected $aboutType = 'Google_Service_Plus_ItemScope';
                  protected $aboutDataType = '';
                  public $additionalName;

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_Moment is not named in CamelCase.
              Open

              class Google_Service_Plus_Moment extends Google_Model
              {
                  public $id;
                  public $kind;
                  protected $resultType = 'Google_Service_Plus_ItemScope';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_Person is not named in CamelCase.
              Open

              class Google_Service_Plus_Person extends Google_Collection
              {
                  public $aboutMe;
                  protected $ageRangeType = 'Google_Service_Plus_PersonAgeRange';
                  protected $ageRangeDataType = '';

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_PersonCoverCoverInfo is not named in CamelCase.
              Open

              class Google_Service_Plus_PersonCoverCoverInfo extends Google_Model
              {
                  public $leftImageOffset;
                  public $topImageOffset;
              
              

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_PersonCoverCoverPhoto is not named in CamelCase.
              Open

              class Google_Service_Plus_PersonCoverCoverPhoto extends Google_Model
              {
                  public $height;
                  public $url;
                  public $width;

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus is not named in CamelCase.
              Open

              class Google_Service_Plus extends Google_Service
              {
                  public $activities;
                  public $comments;
                  public $moments;

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_ActivityObjectAttachmentsFullImage is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityObjectAttachmentsFullImage extends Google_Model
              {
                  public $height;
                  public $type;
                  public $url;

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage extends Google_Model
              {
                  public $height;
                  public $type;
                  public $url;

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_Comment is not named in CamelCase.
              Open

              class Google_Service_Plus_Comment extends Google_Collection
              {
                  protected $actorType = 'Google_Service_Plus_CommentActor';
                  protected $actorDataType = '';
                  public $etag;

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_PersonAgeRange is not named in CamelCase.
              Open

              class Google_Service_Plus_PersonAgeRange extends Google_Model
              {
                  public $max;
                  public $min;
              
              

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_ActivityObjectAttachmentsImage is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityObjectAttachmentsImage extends Google_Model
              {
                  public $height;
                  public $type;
                  public $url;

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public function setId($id)

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_PersonName is not named in CamelCase.
              Open

              class Google_Service_Plus_PersonName extends Google_Model
              {
                  public $familyName;
                  public $formatted;
                  public $givenName;

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_PersonUrls is not named in CamelCase.
              Open

              class Google_Service_Plus_PersonUrls extends Google_Model
              {
                  public $label;
                  public $type;
                  public $value;

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_ActivityObjectActorImage is not named in CamelCase.
              Open

              class Google_Service_Plus_ActivityObjectActorImage extends Google_Model
              {
                  public $url;
              
                  public function setUrl($url)

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The class Google_Service_Plus_CommentActorImage is not named in CamelCase.
              Open

              class Google_Service_Plus_CommentActorImage extends Google_Model
              {
                  public $url;
              
                  public function setUrl($url)

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              Avoid variables with short names like $id. Configured minimum length is 3.
              Open

                  public $id;

              ShortVariable

              Since: 0.2

              Detects when a field, local, or parameter has a very short name.

              Example

              class Something {
                  private $q = 15; // VIOLATION - Field
                  public static function main( array $as ) { // VIOLATION - Formal
                      $r = 20 + $this->q; // VIOLATION - Local
                      for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                          $r += $this->q;
                      }
                  }
              }

              Source https://phpmd.org/rules/naming.html#shortvariable

              The class Google_Service_Plus_CommentPlusoners is not named in CamelCase.
              Open

              class Google_Service_Plus_CommentPlusoners extends Google_Model
              {
                  public $totalItems;
              
                  public function setTotalItems($totalItems)

              CamelCaseClassName

              Since: 0.2

              It is considered best practice to use the CamelCase notation to name classes.

              Example

              class class_name {
              }

              Source

              The variable $associated_media is not named in camelCase.
              Open

                  public function setAssociated_media($associated_media)
                  {
                      $this->associated_media = $associated_media;
                  }

              CamelCaseVariableName

              Since: 0.2

              It is considered best practice to use the camelCase notation to name variables.

              Example

              class ClassName {
                  public function doSomething() {
                      $data_module = new DataModule();
                  }
              }

              Source

              The method getAssociated_media is not named in camelCase.
              Open

                  public function getAssociated_media()
                  {
                      return $this->associated_media;
                  }

              CamelCaseMethodName

              Since: 0.2

              It is considered best practice to use the camelCase notation to name methods.

              Example

              class ClassName {
                  public function get_name() {
                  }
              }

              Source

              The method setAssociated_media is not named in camelCase.
              Open

                  public function setAssociated_media($associated_media)
                  {
                      $this->associated_media = $associated_media;
                  }

              CamelCaseMethodName

              Since: 0.2

              It is considered best practice to use the camelCase notation to name methods.

              Example

              class ClassName {
                  public function get_name() {
                  }
              }

              Source

              There are no issues that match your filters.

              Category
              Status