Sunnysideup\ModuleChecks\BaseObject
Synopsis
class BaseObject
{
- // constants
- const CHECKS = ;
- const CHECKS_PATHS_METHODS = ;
- // members
- protected static $inst = NULL;
- private static array $core_classes = ;
- private static string $github_account_base_url = '';
- private static string $github_user_name = '';
- private static string $github_user_email = '';
- private static string $path_to_private_key = 'certs/id_rsa';
- private static string $packagist_user_name = '';
- private static string $scrutinizer_api_key = '';
- private static string $temp_folder_name = '.temp';
- private static string $license_type = 'BSD-3-Clause';
- private static string $tag_delay = '-1 weeks';
- private static string $tag_create_message = 'Auto-created tag.';
- private static string $logfolder = '/var/www/moduletools/log/';
- private static array $excluded_words = ;
- private static string $home_page = 'https://silverstripe.org';
- private static boolean $debug = true;
- // methods
- public static void inst()
- public void areWeReady()
- public static void absolute_path_to_private_key()
- public static string absolute_path_to_temp_folder()
- private void catchFopenWarning()
Hierarchy
Uses
- SilverStripe\Core\Extensible
- SilverStripe\Core\Injector\Injectable
- SilverStripe\Core\Config\Configurable
- Sunnysideup\Flush\FlushNow
Constants
Name | Value |
---|---|
CHECKS | |
CHECKS_PATHS_METHODS |
Members
private
- $core_classes
—
array
list of classes to run, in the right order - $debug
-
$excluded_words
Words to check for accross all files in test modules. Produces warnings when matches are found. Regex fomat. Leave empty not to do any checks - $github_account_base_url
—
string
e.g. - $github_user_email — string
- $github_user_name
—
string
e.g. boss - $home_page
- $license_type — string
- $logfolder
—
string
log folder is needed to write log file with unresolved problems, leave out not to write log file - $packagist_user_name — string
- $path_to_private_key — string
- $scrutinizer_api_key
- $tag_create_message
—
string
message for auto-created tags (git tag!) - $tag_delay
—
string
Auto tag creation delay, using strtotime format. defaults to a week ago if not set - $temp_folder_name
—
string
where the git module is temporary cloned and fixed up should be an name only
protected
- $inst
Methods
private
public
- absolute_path_to_private_key()
- absolute_path_to_temp_folder() — path to temp folder using
- areWeReady()
- inst()