diff --git a/modules/filter/filter.test b/modules/filter/filter.test
index a3d1bde40573aeb6555e1f9fe6e48405a0c97ba9..67d08333dc7d98d0084871564ae457410355c0d8 100644
--- a/modules/filter/filter.test
+++ b/modules/filter/filter.test
@@ -792,7 +792,7 @@ class FilterUnitTestCase extends DrupalUnitTestCase {
    */
   function testLineBreakFilter() {
     // Setup dummy filter object.
-    $filter = new stdClass;
+    $filter = new stdClass();
     $filter->callback = '_filter_autop';
 
     // Since the line break filter naturally needs plenty of newlines in test
@@ -1156,7 +1156,7 @@ class FilterUnitTestCase extends DrupalUnitTestCase {
    */
   function testHtmlEscapeFilter() {
     // Setup dummy filter object.
-    $filter = new stdClass;
+    $filter = new stdClass();
     $filter->callback = '_filter_html_escape';
 
     $tests = array(
@@ -1174,7 +1174,7 @@ class FilterUnitTestCase extends DrupalUnitTestCase {
    */
   function testUrlFilter() {
     // Setup dummy filter object.
-    $filter = new stdClass;
+    $filter = new stdClass();
     $filter->callback = '_filter_url';
     $filter->settings = array(
       'filter_url_length' => 496,
@@ -1509,7 +1509,7 @@ www.example.com with a newline in comments -->
    */
   function testUrlFilterContent() {
     // Setup dummy filter object.
-    $filter = new stdClass;
+    $filter = new stdClass();
     $filter->settings = array(
       'filter_url_length' => 496,
     );
diff --git a/modules/node/node.install b/modules/node/node.install
index e322e81c0a41ce190e2325143ca1e311cfb1d498..3f732a487ebc452bc4b32482901987c4c68c42cf 100644
--- a/modules/node/node.install
+++ b/modules/node/node.install
@@ -456,7 +456,7 @@ function _update_7000_node_get_types() {
   $extra_types = array_diff($all_types, array_keys($node_types));
 
   foreach ($extra_types as $type) {
-    $type_object = new stdClass;
+    $type_object = new stdClass();
     $type_object->type = $type;
     // In Drupal 6, whether you have a body field or not is a flag in the node
     // type table. If it's enabled, nodes may or may not have an empty string
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index 561e160c4bb39ebc358b0bda1e96bfa732506cfa..861969573df542ef4fa88ceffaa496a6ea7bbca9 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -486,7 +486,7 @@ function poll_load($nodes) {
     $poll = db_query("SELECT runtime, active FROM {poll} WHERE nid = :nid", array(':nid' => $node->nid))->fetchObject();
 
     if (empty($poll)) {
-      $poll = new stdClass;
+      $poll = new stdClass();
     }
 
     // Load the appropriate choices into the $poll object.
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 1da4c6f47b8ee47abd926b6aa57be43fb93d31bf..8cac6d797ff7caf81363649c74d315684ef11fe6 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -544,7 +544,7 @@ function template_preprocess_profile_block(&$variables) {
   // Supply filtered version of $fields that have values.
   foreach ($variables['fields'] as $field) {
     if ($field->value) {
-      $variables['profile'][$field->name] = new stdClass;
+      $variables['profile'][$field->name] = new stdClass();
       $variables['profile'][$field->name]->title = check_plain($field->title);
       $variables['profile'][$field->name]->value = $field->value;
       $variables['profile'][$field->name]->type = $field->type;
diff --git a/scripts/generate-d6-content.sh b/scripts/generate-d6-content.sh
index bba61caee066d757611d6c2343c925a5ac1a8112..5079c2338526b46a774eb31765f0cc98a1097dbd 100644
--- a/scripts/generate-d6-content.sh
+++ b/scripts/generate-d6-content.sh
@@ -100,7 +100,7 @@
 for ($i = 0; $i < 24; $i++) {
   $uid = intval($i / 8) + 3;
   $user = user_load($uid);
-  $node = new stdClass;
+  $node = new stdClass();
   $node->uid = $uid;
   $node->type = $i < 12 ? 'page' : 'story';
   $node->sticky = 0;
@@ -148,7 +148,7 @@
 for ($i = 0; $i < 12; $i++) {
   $uid = intval($i / 4) + 3;
   $user = user_load($uid);
-  $node = new stdClass;
+  $node = new stdClass();
   $node->uid = $uid;
   $node->type = 'poll';
   $node->sticky = 0;
@@ -187,7 +187,7 @@
 
 $uid = 6;
 $user = user_load($uid);
-$node = new stdClass;
+$node = new stdClass();
 $node->uid = $uid;
 $node->type = 'broken';
 $node->sticky = 0;