summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-07-18 00:56:06 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-07-18 00:56:06 -0700
commite30853303f6ef852e6d8f46ce07c9e8af14de63b (patch)
tree7a7c7c1351c86fffdedb34ce772d8d9867ea2c6f /scripts
parentdafc861fa3b0bf474524f04b9d9d1b7bfe67d27f (diff)
downloadbrdo-e30853303f6ef852e6d8f46ce07c9e8af14de63b.tar.gz
brdo-e30853303f6ef852e6d8f46ce07c9e8af14de63b.tar.bz2
Issue #348448 follow-up by jbrown: Coding standard fixes to E_STRICT tests.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/generate-d6-content.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/generate-d6-content.sh b/scripts/generate-d6-content.sh
index bba61caee..5079c2338 100644
--- a/scripts/generate-d6-content.sh
+++ b/scripts/generate-d6-content.sh
@@ -100,7 +100,7 @@ module_load_include('inc', 'node', 'node.pages');
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 < 24; $i++) {
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 @@ for ($i = 0; $i < 12; $i++) {
$uid = 6;
$user = user_load($uid);
-$node = new stdClass;
+$node = new stdClass();
$node->uid = $uid;
$node->type = 'broken';
$node->sticky = 0;