Source of file Ss4Lint.php
Size: 1,909 Bytes - Last Modified: 2020-07-03T12:08:09+00:00
/var/www/docs.ssmods.com/process/src/src/UpgradeRecipes/Ss4Lint.php
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 | <?php namespace Sunnysideup\UpgradeToSilverstripe4\UpgradeRecipes; class Ss4Lint extends BaseClass { /** * name of the branch to be created that we use a starter branch for upgrade * @var string branch name */ protected $nameOfUpgradeStarterBranch = 'upgrades/starting-point/linter'; /** * name of the branch created to do the upgrade * @var string branch name */ protected $nameOfTempBranch = 'upgrades/automatedbranch/linter'; /** * The default namespace for all tasks * @var string */ protected $defaultNamespaceForTasks = 'Sunnysideup\UpgradeToSilverstripe4\Tasks\IndividualTasks'; ######################################### # TASKS ######################################### /** * An array of all the 'taskNames of the tasks that you wish to run during the execution of this upgrader task. * This array can be overriden in the example-index.php file that you create. * You can enter a full name space if you need to. * The final -x will be removed. We add -1 or -2 to run the same task multiple times. * * @var array */ protected $listOfTasks = [ 'CheckThatFoldersAreReady' => [], 'ResetWebRootDir-1' => [], 'CheckoutDevMaster' => [ 'useGitClone' => true, ], 'AddUpgradeStarterBranch' => [], 'AddTempUpgradeBranch' => [], 'ResetWebRootDir-3' => [], //Step2: MoveToNewVersion 'ComposerInstallProject' => [ 'installModuleAsVendorModule' => true, ], 'AddDotEnvFile' => [], 'FinalDevBuild' => [], 'FixClassNamesWithUnderscores' => [], 'PHPCompatabilityCheck' => [], 'ApplyPSR2' => [], 'AddPHPDoc' => [], 'FinaliseUpgradeWithMergeIntoMaster' => [], ]; protected $frameworkComposerRestraint = '~4@stable'; } |