CRM-14106 - Regex targeting inline conditonal statements
authorColeman Watts <coleman@civicrm.org>
Wed, 22 Jan 2014 00:57:22 +0000 (16:57 -0800)
committerColeman Watts <coleman@civicrm.org>
Wed, 22 Jan 2014 01:00:44 +0000 (17:00 -0800)
commit0d8afee278524bae3856993b85abe3e4208ea065
tree3ff83761639800b3725b84ea820fd891e1baf112
parent5ede0a7dbc25d1d6c0cbbf281f3df2ec32f2cb8d
CRM-14106 - Regex targeting inline conditonal statements

Pattern used:
=\s*CRM_Utils_Array::value\s*\([ ]*(['"$0-9][^,]*),\s*(\$[^ )]*)\s*\)\s*\?
= \!empty\($2\[$1\]\) \?
35 files changed:
CRM/Admin/Form/Preferences.php
CRM/Campaign/Form/Survey/TabHeader.php
CRM/Contact/BAO/Query.php
CRM/Contact/Form/DedupeRules.php
CRM/Contact/Form/Relationship.php
CRM/Contribute/BAO/Contribution.php
CRM/Contribute/BAO/ContributionPage.php
CRM/Contribute/Form.php
CRM/Contribute/Form/ContributionPage/Amount.php
CRM/Contribute/Form/ContributionPage/Settings.php
CRM/Contribute/Form/ContributionPage/TabHeader.php
CRM/Core/BAO/FinancialTrxn.php
CRM/Core/BAO/Location.php
CRM/Core/Menu.php
CRM/Core/SelectValues.php
CRM/Event/Form/ManageEvent/Fee.php
CRM/Event/Form/ManageEvent/Registration.php
CRM/Event/Form/ManageEvent/TabHeader.php
CRM/Event/Form/Participant.php
CRM/Event/Form/Registration/Confirm.php
CRM/Logging/ReportSummary.php
CRM/Member/BAO/Membership.php
CRM/Member/Form/Membership.php
CRM/Member/Form/MembershipBlock.php
CRM/Pledge/BAO/PledgeBlock.php
CRM/Price/BAO/PriceField.php
CRM/Report/Form.php
CRM/Report/Form/Contribute/Summary.php
CRM/Report/Form/Pledge/Detail.php
CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php
CRM/Utils/OpenFlashChart.php
api/v3/Contact.php
api/v3/Contribution.php
api/v3/utils.php
bin/deprecated/EmailProcessor.php