Skip to content

Commit

Permalink
3.7 PHP 7.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Carlino committed Sep 5, 2018
1 parent ede693a commit ca910ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 0 additions & 4 deletions _config.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<?php

define('DISPLAY_LOGIC_DIR', basename(dirname(__FILE__)));

// Ensure compatibility with PHP 7.2 ("object" is a reserved word),
// with SilverStripe 3.6 (using Object) and SilverStripe 3.7 (using SS_Object)
if (!class_exists('SS_Object')) class_alias('Object', 'SS_Object');
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
],
"require":
{
"silverstripe/framework": "3.1.*"
"silverstripe/framework": "~3.7"
},
"extra": {
"installer-name": "display_logic"
}

"installer-name": "display_logic"
}
}

0 comments on commit ca910ac

Please sign in to comment.