-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
59b980e
commit 78576d3
Showing
3 changed files
with
199 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
namespace SilverStripe\Dev\Tests\DeprecationTest; | ||
|
||
use SilverStripe\Dev\TestOnly; | ||
use SilverStripe\ORM\DataObject; | ||
|
||
class DeprecationTestObject extends DataObject implements TestOnly | ||
{ | ||
private static $db = [ | ||
"Name" => "Varchar" | ||
]; | ||
|
||
private static $table_name = 'DeprecatedTestObject'; | ||
|
||
/** | ||
* @deprecated 1.2.3 My first config message | ||
*/ | ||
private static $first_config = 'ABC'; | ||
|
||
/** | ||
* @deprecated My second config message | ||
*/ | ||
private static $second_config = 'DEF'; | ||
|
||
/** | ||
* @deprecated | ||
*/ | ||
private static $third_config = 'XYZ'; | ||
|
||
/** | ||
* @deprecated 1.2.3 My array config message | ||
*/ | ||
private static $array_config = ['lorem', 'ipsum']; | ||
} |