Development

#7692 ([PATCH] [sfPropelMigrationsLightPlugin] Multiple static modifiers in sfMigrator)

You must first sign up to be able to contribute.

Ticket #7692 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

[PATCH] [sfPropelMigrationsLightPlugin] Multiple static modifiers in sfMigrator

Reported by: tuebernickel Assigned to: Stefan.Koopmanschap
Priority: minor Milestone:
Component: plugins Version: 1.2.9
Keywords: php5.3 Cc:
Qualification: Accepted

Description

Problem on PHP 5.3

[ havvgbook ~/Web Development/Megacomplex (master) ] php symfony propel:init-migration AddBasicUnitReferences

Fatal error: Multiple static modifiers are not allowed in /Users/havvg/Web Development/Megacomplex/plugins/sfPropelMigrationsLightPlugin/lib/sfMigrator.class.php on line 50

PATCH

sfMigrator.class.php
@@ -47,7 +47,7 @@ class sfMigrator
    *
    * @return  mixed
    */
-  static public static function executeQuery($sql, $fetchmode = null)
+  static public function executeQuery($sql, $fetchmode = null)
   {
     $con = Propel::getConnection();

Change History

01/19/10 13:08:58 changed by Stefan.Koopmanschap

  • owner changed from fabien to Stefan.Koopmanschap.
  • status changed from new to assigned.

01/19/10 13:10:04 changed by Stefan.Koopmanschap

  • status changed from assigned to closed.
  • resolution set to fixed.
  • qualification changed from Unreviewed to Accepted.

Patch has been implemented in Subversion.