mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #1998 from open-sausages/pulls/4/inspect-upgrade-warnings
Upgrading rules for new inspect/warning capabilities
This commit is contained in:
commit
8c9dd7d804
@ -148,3 +148,11 @@ mappings:
|
||||
RemoveOrphanedPagesTaskTest: SilverStripe\CMS\Tests\RemoveOrphanedPagesTaskTest
|
||||
excludedPaths:
|
||||
- '*/_config/legacy.yml'
|
||||
warnings:
|
||||
methods:
|
||||
'SilverStripe\CMS\Model\SiteTree::getIsAddedToStage()':
|
||||
message: 'Moved to Versioned->isOnDraftOnly()'
|
||||
'SilverStripe\CMS\Model\SiteTree::getIsModifiedOnStage()':
|
||||
message: 'Moved to Versioned->isModifiedOnDraft()'
|
||||
'SilverStripe\CMS\Model\SiteTree::getExistsOnLive()':
|
||||
message: 'Removed in favour of isPublished()'
|
||||
|
Loading…
Reference in New Issue
Block a user