NFC Fix DAO Style issues
authorSeamus Lee <seamuslee001@gmail.com>
Thu, 23 May 2019 01:47:43 +0000 (11:47 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Thu, 23 May 2019 06:27:36 +0000 (16:27 +1000)
Remove excess whitespace with Coleman's regex replace

Remove unneeded whitespace

33 files changed:
CRM/Batch/DAO/Batch.php
CRM/Campaign/DAO/Campaign.php
CRM/Contact/DAO/Contact.php
CRM/Contact/DAO/RelationshipType.php
CRM/Contribute/DAO/Contribution.php
CRM/Contribute/DAO/ContributionPage.php
CRM/Contribute/DAO/ContributionRecur.php
CRM/Contribute/DAO/ContributionSoft.php
CRM/Contribute/DAO/Product.php
CRM/Core/CodeGen/Specification.php
CRM/Core/DAO/Address.php
CRM/Core/DAO/Component.php
CRM/Core/DAO/MappingField.php
CRM/Event/DAO/Event.php
CRM/Event/DAO/Participant.php
CRM/Financial/DAO/EntityFinancialTrxn.php
CRM/Financial/DAO/FinancialAccount.php
CRM/Financial/DAO/FinancialItem.php
CRM/Financial/DAO/FinancialTrxn.php
CRM/Grant/DAO/Grant.php
CRM/Member/DAO/MembershipType.php
CRM/PCP/DAO/PCP.php
CRM/Pledge/DAO/Pledge.php
CRM/Pledge/DAO/PledgePayment.php
CRM/Price/DAO/LineItem.php
CRM/Price/DAO/PriceFieldValue.php
xml/schema/Contact/Contact.xml
xml/schema/Contact/RelationshipType.xml
xml/schema/Core/Address.xml
xml/schema/Core/Component.xml
xml/schema/Core/MappingField.xml
xml/schema/Event/Participant.xml
xml/templates/dao.tpl

index 500d32941cdb1780b722827ecf83fb037bc1ae28..26340d54ad15b2cb5df9088e82ee3dff2b383dab 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Batch/Batch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:88c016b0141ed596ac6fdbbef3e27a1e)
+ * (GenCodeChecksum:3e98e0127d48dfc44b2e6db904cd556f)
  */
 
 /**
@@ -364,7 +364,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'description' => ts('Total amount for this batch.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_batch.total',
           'table_name' => 'civicrm_batch',
index 2b9d027095122889e0abef54de0298151afcadc4..a3c496b315dbdeefb10a9fe70f7ae928cba0bf11 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/Campaign.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6df4e0d5c3320d87183db79f551d8c86)
+ * (GenCodeChecksum:5f32f92aafb04b54f15a47d07a2fe105)
  */
 
 /**
@@ -446,7 +446,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'description' => ts('The target revenue for this campaign.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_campaign.goal_revenue',
           'table_name' => 'civicrm_campaign',
index 42d53e908a54fda6dd121264dc735d32ea3ea567..139e0e71c02a1a8218e3c0766fc07dc54f9368a5 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Contact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8c2ea7bf40921f9f29eef33d717fd760)
+ * (GenCodeChecksum:e2181ea97a3e309b7e74b636757b6aac)
  */
 
 /**
@@ -586,8 +586,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'legal_identifier',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Legal Identifier'),
-          'description' => ts('May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.
-    '),
+          'description' => ts('May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.'),
           'maxlength' => 32,
           'size' => CRM_Utils_Type::MEDIUM,
           'import' => TRUE,
index 7b956aa9232426edca3954094d43d2b527574c0b..edb59a6b76d131d23bbd0608b2f16d9d982619d2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/RelationshipType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4c5acf774814091e403962a994b6c78e)
+ * (GenCodeChecksum:78a8cea89e73b1a409f7908ad08cf99e)
  */
 
 /**
@@ -262,8 +262,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
           'name' => 'contact_sub_type_a',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Contact Subtype A'),
-          'description' => ts('If defined, contact_sub_type_a in a relationship of this type must be a specific contact_sub_type.
-    '),
+          'description' => ts('If defined, contact_sub_type_a in a relationship of this type must be a specific contact_sub_type.'),
           'maxlength' => 64,
           'size' => CRM_Utils_Type::BIG,
           'where' => 'civicrm_relationship_type.contact_sub_type_a',
@@ -285,8 +284,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
           'name' => 'contact_sub_type_b',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Contact Subtype B'),
-          'description' => ts('If defined, contact_sub_type_b in a relationship of this type must be a specific contact_sub_type.
-    '),
+          'description' => ts('If defined, contact_sub_type_b in a relationship of this type must be a specific contact_sub_type.'),
           'maxlength' => 64,
           'size' => CRM_Utils_Type::BIG,
           'where' => 'civicrm_relationship_type.contact_sub_type_b',
@@ -322,8 +320,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
           'name' => 'is_active',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Relationship Type is Active'),
-          'description' => ts('Is this relationship type currently active (i.e. can be used when creating or editing relationships)?
-    '),
+          'description' => ts('Is this relationship type currently active (i.e. can be used when creating or editing relationships)?'),
           'where' => 'civicrm_relationship_type.is_active',
           'default' => '1',
           'table_name' => 'civicrm_relationship_type',
index 54b70dd9066b4aba2a00ac7a1373b2534dbdc17c..b628edef8cc62bb2e23c8986612da24f01f01951 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Contribution.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:67d7c56983261917119041820da97eb8)
+ * (GenCodeChecksum:7a81b495b5661ae881321938d4ee38c9)
  */
 
 /**
@@ -385,7 +385,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'description' => ts('Portion of total amount which is NOT tax deductible. Equal to total_amount for non-deductible financial types.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_contribution.non_deductible_amount',
@@ -409,7 +409,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_contribution.total_amount',
@@ -431,7 +431,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'description' => ts('actual processor fee if known - may be 0.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_contribution.fee_amount',
@@ -453,7 +453,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'description' => ts('actual funds transfer amount. total less fees. if processor does not report actual fee during transaction, this is set to total_amount.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_contribution.net_amount',
@@ -804,7 +804,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'description' => ts('Total tax amount of this contribution.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_contribution.tax_amount',
index c1b45382c7391523bc0f533ea29d742077e71fa3..e7d37109d37084c79482581a9981215832501733 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionPage.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c7122b219c06cf7e22ca2d5dfe8fd77c)
+ * (GenCodeChecksum:c6e11bf69550f2253d2a287e8ebeae3d)
  */
 
 /**
@@ -641,7 +641,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'description' => ts('Minimum initial amount for partial payment'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_contribution_page.min_initial_amount',
           'table_name' => 'civicrm_contribution_page',
@@ -679,7 +679,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'description' => ts('if other amounts allowed, user can configure minimum allowed.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_contribution_page.min_amount',
           'table_name' => 'civicrm_contribution_page',
@@ -694,7 +694,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'description' => ts('if other amounts allowed, user can configure maximum allowed.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_contribution_page.max_amount',
           'table_name' => 'civicrm_contribution_page',
@@ -709,7 +709,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'description' => ts('The target goal for this page, allows people to build a goal meter'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_contribution_page.goal_amount',
           'table_name' => 'civicrm_contribution_page',
index dbbbb137f02299162b005a30826cfdc4b627cdc2..3b5fcb2f66351a0653795d4f90fdc507eb6ebd0e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4af8fee211119c1b0184dd09932c546e)
+ * (GenCodeChecksum:02897f2c575bc43e915d0b7e8ee68fbb)
  */
 
 /**
@@ -298,7 +298,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_contribution_recur.amount',
           'table_name' => 'civicrm_contribution_recur',
index 812701f4e7c4cd5b5cdaeab9a3e5d4affdb095ea..129b3a32ada6b44e37414eeb9bf37f5de3981de9 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e14061776c0e1add8462e32454a01fe1)
+ * (GenCodeChecksum:12f49d75296e9500e850dd63741372ea)
  */
 
 /**
@@ -177,7 +177,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_contribution_soft.amount',
index a5fdc7f728c636e107ac1b1658430931ff115d44..ad147b0646de9c74880da19fc9d781618493aa1f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Product.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6bebe01d00d19465a5536aa561934fbc)
+ * (GenCodeChecksum:27002591d220b4bc2498b367bef17367)
  */
 
 /**
@@ -119,7 +119,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
 
   /**
    * Rolling means we set start/end based on current day, fixed means we set start/end for current year or month
-   (e.g. 1 year + fixed -> we would set start/end for 1/1/06 thru 12/31/06 for any premium chosen in 2006)
+   (e.g. 1 year + fixed -> we would set start/end for 1/1/06 thru 12/31/06 for any premium chosen in 2006)
    *
    * @var string
    */
@@ -284,7 +284,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'description' => ts('Sell price or market value for premiums. For tax-deductible contributions, this will be stored as non_deductible_amount in the contribution record.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_product.price',
           'table_name' => 'civicrm_product',
@@ -340,7 +340,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'description' => ts('Minimum contribution required to be eligible to select this premium.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_product.min_contribution',
           'table_name' => 'civicrm_product',
@@ -355,7 +355,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'description' => ts('Actual cost of this product. Useful to determine net return from sale or using this as an incentive.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_product.cost',
           'table_name' => 'civicrm_product',
index 101b3426b412d85fe2489bffab91f96f19092905..805cc733c4619e306e8633c691a9993c26204e41 100644 (file)
@@ -327,7 +327,7 @@ class CRM_Core_CodeGen_Specification {
         $field['sqlType'] = 'decimal(' . $length . ')';
         $field['phpType'] = 'float';
         $field['crmType'] = 'CRM_Utils_Type::T_MONEY';
-        $field['precision'] = $length;
+        $field['precision'] = $length . ',';
         break;
 
       case 'float':
index c7affaf7ffc41d7a2d7b85b215635851a5a1427b..50841dbee55325491e74f2daba06a743aaf50263 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Address.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2487d5f7de34dffd729bba2d3ea65ed6)
+ * (GenCodeChecksum:4999e79688aae8d0958e46cbd320ae3a)
  */
 
 /**
@@ -65,8 +65,8 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
 
   /**
    * Concatenation of all routable street address components (prefix, street number, street name, suffix, unit
-   number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail
-   delivery, etc.).
+   number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail
+   delivery, etc.).
    *
    * @var string
    */
@@ -345,8 +345,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'title' => ts('Street Address'),
           'description' => ts('Concatenation of all routable street address components (prefix, street number, street name, suffix, unit
       number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail
-      delivery, etc.).
-    '),
+      delivery, etc.).'),
           'maxlength' => 96,
           'size' => CRM_Utils_Type::HUGE,
           'import' => TRUE,
@@ -381,8 +380,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'name' => 'street_number_suffix',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Street Number Suffix'),
-          'description' => ts('Non-numeric portion of address number on the street, e.g. For 112A Main St, the street_number_suffix = A
-    '),
+          'description' => ts('Non-numeric portion of address number on the street, e.g. For 112A Main St, the street_number_suffix = A'),
           'maxlength' => 8,
           'size' => CRM_Utils_Type::EIGHT,
           'where' => 'civicrm_address.street_number_suffix',
index 22cbb9af7c0916d83f8c19084d6bee58b93cfbf7..77def7da10836da0e55ccf4bd63dc783c9149d01 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Component.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:71dfa95215b9ca0bdf22286815e2dae2)
+ * (GenCodeChecksum:3259789de86a7fb333ce0b11d35fe6aa)
  */
 
 /**
@@ -43,8 +43,7 @@ class CRM_Core_DAO_Component extends CRM_Core_DAO {
   public $name;
 
   /**
-   * Path to components main directory in a form of a class
-   namespace.
+   * Path to components main directory in a form of a class namespace.
    *
    * @var string
    */
@@ -96,9 +95,7 @@ class CRM_Core_DAO_Component extends CRM_Core_DAO {
           'name' => 'namespace',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Namespace reserved for component.'),
-          'description' => ts('Path to components main directory in a form of a class
-      namespace.
-    '),
+          'description' => ts('Path to components main directory in a form of a class namespace.'),
           'maxlength' => 128,
           'size' => CRM_Utils_Type::HUGE,
           'where' => 'civicrm_component.namespace',
index 947eced882092a145f8d5a14cbb4a5db40781900..afa1179d87f20aada969d7acc95a74358b5c3e0d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MappingField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d331bef376a07c449d95639eb42f7c31)
+ * (GenCodeChecksum:e18a4d7c43e3fded3e10bed98437577e)
  */
 
 /**
@@ -105,7 +105,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
 
   /**
    * Used to group mapping_field records into related sets (e.g. for criteria sets in search builder
-   mappings).
+   mappings).
    *
    * @var int
    */
@@ -312,8 +312,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Grouping'),
           'description' => ts('Used to group mapping_field records into related sets (e.g. for criteria sets in search builder
-      mappings).
-    '),
+      mappings).'),
           'where' => 'civicrm_mapping_field.grouping',
           'default' => '1',
           'table_name' => 'civicrm_mapping_field',
index 4688a7919f6da98caa0af197fe2cccee39b24b49..e5471649f0ab70f03e9a9a3a120b0ae76a4a222b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Event.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:02024f3f33a71a88e3206f5a48b3d14f)
+ * (GenCodeChecksum:887208d4102061a0f26eda2a6f84ea09)
  */
 
 /**
@@ -1281,7 +1281,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'description' => ts('Minimum initial amount for partial payment'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_event.min_initial_amount',
           'table_name' => 'civicrm_event',
index 946f2171e003713dbb9ba7c6be7c42875fe770e4..cba5311348d0fe7fdf9d13759b2a898bf785727a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Participant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fd601efb92a34d5c30814c5ea34b323f)
+ * (GenCodeChecksum:2c9fa9a933df6d5c4ec745b8031f9297)
  */
 
 /**
@@ -79,7 +79,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
 
   /**
    * Populate with the label (text) associated with a fee level for paid events with multiple levels. Note that
-   we store the label value and not the key
+   we store the label value and not the key
    *
    * @var text
    */
@@ -335,8 +335,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_TEXT,
           'title' => ts('Fee level'),
           'description' => ts('Populate with the label (text) associated with a fee level for paid events with multiple levels. Note that
-      we store the label value and not the key
-    '),
+      we store the label value and not the key'),
           'import' => TRUE,
           'where' => 'civicrm_participant.fee_level',
           'headerPattern' => '/^(f(ee\s)?level)$/i',
@@ -381,7 +380,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'description' => ts('actual processor fee if known - may be 0.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_participant.fee_amount',
index 2b014faa6f80536b85c79c35fd70bfde2235ef2a..5387669dafaccd14bbc7543a4e2768b2093b7b68 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c2c6d4183954c62f7119e9cf1eaa451b)
+ * (GenCodeChecksum:14582d82c08fe5e2c4242e4bafc146d4)
  */
 
 /**
@@ -149,7 +149,7 @@ class CRM_Financial_DAO_EntityFinancialTrxn extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_entity_financial_trxn.amount',
index 8251e66e2fa39fb5e6e309c65a26cafec2a784cf..5f0f5f1dc4e37a4b89d283ead2ab2f7461ec1e21 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialAccount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:eb74c4e8ee5b44cb65080b2b15f7e9c2)
+ * (GenCodeChecksum:be1c13919aa1ff84b28ef61832132842)
  */
 
 /**
@@ -319,7 +319,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'description' => ts('The percentage of the total_amount that is due for this tax.'),
           'precision' => [
             10,
-            8
+            8,
           ],
           'where' => 'civicrm_financial_account.tax_rate',
           'table_name' => 'civicrm_financial_account',
index 980651845d9aa938c10251c15b1c2c3e621760e4..d3fdc69d1d76c76d7168b719ebed4fcd02e681c5 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:48ab3768197dff98c1af1e337059f085)
+ * (GenCodeChecksum:49a455dafedd73005f06e17dcc99c365)
  */
 
 /**
@@ -207,7 +207,7 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_financial_item.amount',
           'headerPattern' => '/unit?.?amoun/i',
index f18ca991b15dbaa9eeb0e0ff4a8e8dab46845981..fefd72cbdbafff08244eadd7742753531da9d059 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialTrxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:11ae7954d4576a19382e63fffd31cdac)
+ * (GenCodeChecksum:e130935b88e96b99dc58cb9003666e18)
  */
 
 /**
@@ -253,7 +253,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_financial_trxn.total_amount',
           'table_name' => 'civicrm_financial_trxn',
@@ -268,7 +268,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'description' => ts('actual processor fee if known - may be 0.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_financial_trxn.fee_amount',
           'table_name' => 'civicrm_financial_trxn',
@@ -283,7 +283,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'description' => ts('actual funds transfer amount. total less fees. if processor does not report actual fee during transaction, this is set to total_amount.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_financial_trxn.net_amount',
           'table_name' => 'civicrm_financial_trxn',
index 6ced3f894522e0790e2fbbddccbaee75b314ddb2..d889f2ad6f48ea67d0e2b0544944335f1905ff82 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Grant/Grant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fd288094da473bd77ff23051ae826a72)
+ * (GenCodeChecksum:46934eeb5b7cc864460135cbbf1679ca)
  */
 
 /**
@@ -308,7 +308,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_grant.amount_total',
@@ -329,7 +329,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'description' => ts('Requested grant amount, in original currency (optional).'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_grant.amount_requested',
           'dataPattern' => '/^\d+(\.\d{2})?$/',
@@ -348,7 +348,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'description' => ts('Granted amount, in default currency.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_grant.amount_granted',
index 8a30d029e05cbcd6dc3ab4ca16692b2fbb4212a4..fb3cddba56e684927d635cb55b66e114ff629765 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fae17cb0df3f214ff3b3c1412771d53e)
+ * (GenCodeChecksum:371e68c0fca2803c9b273bb25991a060)
  */
 
 /**
@@ -306,7 +306,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'description' => ts('Minimum fee for this membership (0 for free/complimentary memberships).'),
           'precision' => [
             18,
-            9
+            9,
           ],
           'where' => 'civicrm_membership_type.minimum_fee',
           'default' => '0',
index 6229747297fef2bcdfb5ee34126a644c484e90f7..f6dc90a8d8d6aa87c6522f85ce7c859ad6158a6c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/PCP/PCP.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1e559645205e2e345feb591b14f7693c)
+ * (GenCodeChecksum:e130d04d9fad8bcec628fac504ff9da7)
  */
 
 /**
@@ -339,7 +339,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'description' => ts('Goal amount of this Personal Campaign Page.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_pcp.goal_amount',
           'table_name' => 'civicrm_pcp',
index db8f334b16e204df349ab9d20fd08e996083a14e..b18050474a2b9f8af77c02f7360da517bfee8185 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/Pledge.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8abf6ce03bebecdbd175b48fd6177b54)
+ * (GenCodeChecksum:877e6098c175e69f385b22f61958b70c)
  */
 
 /**
@@ -293,7 +293,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_pledge.amount',
@@ -314,7 +314,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_pledge.original_installment_amount',
           'export' => TRUE,
index 3beaeb0726097ecee8a4b9808334c0817c5c1af6..a43fade0541f57b32d21494e7bab0fa5bedd9451 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgePayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:549f97b304511abaf03fd8f4378dd123)
+ * (GenCodeChecksum:afb095a766df0f45f3aed1ff3b24e852)
  */
 
 /**
@@ -172,7 +172,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_pledge_payment.scheduled_amount',
@@ -189,7 +189,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'description' => ts('Actual amount that is paid as the Pledged installment amount.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_pledge_payment.actual_amount',
index 0308c354b4e95d41e3d3a38f7398f776346df09f..ea4e67719a266781169756c5c5b36150da726005 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/LineItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4d5b3e1656a90fd394f80dad0da0f57b)
+ * (GenCodeChecksum:6345c550c1c0605c0c25be1cc0382183)
  */
 
 /**
@@ -248,7 +248,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_line_item.qty',
           'table_name' => 'civicrm_line_item',
@@ -267,7 +267,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_line_item.unit_price',
           'table_name' => 'civicrm_line_item',
@@ -286,7 +286,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_line_item.line_total',
           'table_name' => 'civicrm_line_item',
@@ -351,7 +351,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_line_item.non_deductible_amount',
           'headerPattern' => '/non?.?deduct/i',
@@ -372,7 +372,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'description' => ts('tax of each item'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_line_item.tax_amount',
index 98776cb511f7c16944044f8048b475920ba823b7..0543497f1f10118d41f38d25721f80d7701e4715 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceFieldValue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fe5a14d18ba9a89882e7bc8008f7be54)
+ * (GenCodeChecksum:6c2bd575335eeb9915683296952b2c3e)
  */
 
 /**
@@ -303,7 +303,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             18,
-            9
+            9,
           ],
           'where' => 'civicrm_price_field_value.amount',
           'table_name' => 'civicrm_price_field_value',
@@ -446,7 +446,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_price_field_value.non_deductible_amount',
           'headerPattern' => '/non?.?deduct/i',
index b74654f4d50d111eaf2dd5ab7c3b5e62db341830..d197f6bf0838f304d8b1cc48bd2cc43af2ef44e1 100644 (file)
     <import>true</import>
     <headerPattern>/legal\s?id/i</headerPattern>
     <dataPattern>/\w+?\d{5,}/</dataPattern>
-    <comment>May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.
-    </comment>
+    <comment>May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.</comment>
     <add>1.1</add>
     <html>
       <type>Text</type>
index 6fa4b12709cbdc591c3defe1fe37931c953fdb4c..183c3594c79985e65310b1f64b4620d1998a530e 100644 (file)
     <title>Contact Subtype A</title>
     <type>varchar</type>
     <length>64</length>
-    <comment>If defined, contact_sub_type_a in a relationship of this type must be a specific contact_sub_type.
-    </comment>
+    <comment>If defined, contact_sub_type_a in a relationship of this type must be a specific contact_sub_type.</comment>
     <add>3.1</add>
     <html>
       <type>Select</type>
     <title>Contact Subtype B</title>
     <type>varchar</type>
     <length>64</length>
-    <comment>If defined, contact_sub_type_b in a relationship of this type must be a specific contact_sub_type.
-    </comment>
+    <comment>If defined, contact_sub_type_b in a relationship of this type must be a specific contact_sub_type.</comment>
     <add>3.1</add>
     <html>
       <type>Select</type>
     <title>Relationship Type is Active</title>
     <type>boolean</type>
     <default>1</default>
-    <comment>Is this relationship type currently active (i.e. can be used when creating or editing relationships)?
-    </comment>
+    <comment>Is this relationship type currently active (i.e. can be used when creating or editing relationships)?</comment>
     <html>
       <type>CheckBox</type>
     </html>
index c67aa09b0053f73da2c370d6e72e6885d6bb1f42..ba522711e2d1a48768fc9283231160168a0f5849 100644 (file)
@@ -95,8 +95,7 @@
     <dataPattern>/^(\d{1,5}( [0-9A-Za-z]+)+)$|^(P\.?O\.\? Box \d{1,5})$/i</dataPattern>
     <comment>Concatenation of all routable street address components (prefix, street number, street name, suffix, unit
       number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail
-      delivery, etc.).
-    </comment>
+      delivery, etc.).</comment>
     <add>1.1</add>
     <html>
       <type>Text</type>
     <type>varchar</type>
     <length>8</length>
     <export>true</export>
-    <comment>Non-numeric portion of address number on the street, e.g. For 112A Main St, the street_number_suffix = A
-    </comment>
+    <comment>Non-numeric portion of address number on the street, e.g. For 112A Main St, the street_number_suffix = A</comment>
     <add>1.1</add>
     <html>
       <type>Text</type>
index c5ceff329d92e6e0259561ec0eeeaa6b7544b6ff..8ccce97d865d16e1311909f25d0326ff5c47ce9f 100644 (file)
@@ -31,9 +31,7 @@
     <title>Namespace reserved for component.</title>
     <type>varchar</type>
     <length>128</length>
-    <comment>Path to components main directory in a form of a class
-      namespace.
-    </comment>
+    <comment>Path to components main directory in a form of a class namespace.</comment>
     <add>2.0</add>
   </field>
 </table>
index 30f58d69c90731594e856719a229d2ffe4f8b9f4..cfc0eb09c3b38753bc8be8252f200dcb547fb318 100644 (file)
     <type>int unsigned</type>
     <default>1</default>
     <comment>Used to group mapping_field records into related sets (e.g. for criteria sets in search builder
-      mappings).
-    </comment>
+      mappings).</comment>
     <add>1.5</add>
   </field>
   <field>
index 30f9a31720685fb6c8cb221071e1b711f737af60..8b267c84ebfce2b435c7a3553d81e20b65cecffb 100644 (file)
     <import>true</import>
     <serialize>SEPARATOR_BOOKEND</serialize>
     <comment>Populate with the label (text) associated with a fee level for paid events with multiple levels. Note that
-      we store the label value and not the key
-    </comment>
+      we store the label value and not the key</comment>
     <add>1.7</add>
   </field>
   <field>
index 8e634226a353ef342a5d97859825bc48121c11dd..14f15735dea13545474f6512dfc7366050aa39ed 100644 (file)
@@ -30,7 +30,7 @@ class {$table.className} extends CRM_Core_DAO {ldelim}
 {foreach from=$table.fields item=field}
     /**
 {if $field.comment}
-     * {$field.comment}
+     * {$field.comment|regex_replace:"/\n[ ]*/":"\n* "}
      *
 {/if}
      * @var {$field.phpType}