Skip to content

Instantly share code, notes, and snippets.

@sunnysideup
Created October 12, 2015 00:26
Show Gist options
  • Save sunnysideup/6eb1727b1ce4a3a9a93e to your computer and use it in GitHub Desktop.
Save sunnysideup/6eb1727b1ce4a3a9a93e to your computer and use it in GitHub Desktop.
ReplacementDataExample.php
<?php
class ReplacementData {
//...
private function getData($to) {
//...
$array = array();
$array["3.2"]["php"] = array(
array('OldCodeSnippet',
'NewCodeSnippet'),
array('OldCodeSnippetThatNeedsManualAttention',
'NewCodeSnippetAfterManuAttention',
'Description of what needs doing to update to OldCodeSnippet to make it work in 3.2')
);
//...
}
//....
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment