Checkout Config
build:
environment:
php:
version: "7.1.11"
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
coverage:
tests:
override:
- command: ./vendor/bin/phpunit --group=default,timerServicesApiCalls --coverage-clover build/coverage.xml
coverage:
file: build/coverage.xml
format: clover
filter:
excluded_paths: [tests/*]
checks:
php:
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
order_alphabetically: true
fix_php_opening_tag: true
fix_linefeed: true
fix_line_ending: true
fix_identation_4spaces: true
fix_doc_comments: true
Repository Config
checks:
php:
fix_php_opening_tag: false
remove_php_closing_tag: false
one_class_per_file: false
side_effects_or_types: false
no_mixed_inline_html: false
require_braces_around_control_structures: false
php5_style_constructor: false
no_global_keyword: false
avoid_usage_of_logical_operators: false
psr2_class_declaration: false
no_underscore_prefix_in_properties: false
no_underscore_prefix_in_methods: false
blank_line_after_namespace_declaration: false
single_namespace_per_use: false
psr2_switch_declaration: false
psr2_control_structure_declaration: false
avoid_superglobals: false
security_vulnerabilities: false
no_exit: false
filter: { }
coding_style:
php:
indentation:
general:
use_tabs: false
size: 4
switch:
indent_case: true
spaces:
general:
linefeed_character: newline
before_parentheses:
function_declaration: false
closure_definition: true
function_call: false
if: true
for: true
while: true
switch: true
catch: true
array_initializer: false
around_operators:
assignment: true
logical: true
equality: true
relational: true
bitwise: true
additive: true
multiplicative: true
shift: true
unary_additive: false
concatenation: true
negation: false
before_left_brace:
class: true
function: true
if: true
else: true
for: true
while: true
do: true
switch: true
try: true
catch: true
finally: true
before_keywords:
else: true
while: true
catch: true
finally: true
within:
brackets: false
array_initializer: false
grouping: false
function_call: false
function_declaration: false
if: false
for: false
while: false
switch: false
catch: false
type_cast: false
ternary_operator:
before_condition: true
after_condition: true
before_alternative: true
after_alternative: true
in_short_version: false
other:
before_comma: false
after_comma: true
before_semicolon: false
after_semicolon: true
after_type_cast: true
braces:
classes_functions:
class: undefined
function: undefined
closure: undefined
if:
opening: undefined
always: true
else_on_new_line: false
for:
opening: undefined
always: true
while:
opening: undefined
always: true
do_while:
opening: undefined
always: true
while_on_new_line: false
switch:
opening: undefined
try:
opening: undefined
catch_on_new_line: false
finally_on_new_line: false
upper_lower_casing:
keywords:
general: undefined
constants:
true_false_null: undefined
build:
environment:
variables:
TOGGL_APIKEY: "8a23f5559f8df6ac6e77936c96b9ee67"
TOGGL_PROJECT_ID: 35673866
TOGGL_PROJECT_NAME: "Alfred-Time"
TOGGL_DELETED_PROJECT_ID: 148606045
TOGGL_DELETED_PROJECT_NAME: "Alfred-Timer-Test"
TOGGL_TAG_ID: 2755832
TOGGL_TAG_NAME: "All Included Package"
HARVEST_ACCOUNT_ID: 719698
HARVEST_APIKEY: "1153865.pt.Vjxherj4YPfPiEhTp3jORa3OZYEK15VD2wkAPmrA1Y7uOBUzsi-WtFznKGxJIuc2rnnFDxWV-lj946fGI42hNQ"
HARVEST_PROJECT_ID: 14521651
HARVEST_PROJECT_NAME: "Plethora of Projects"
HARVEST_TAG_ID: 6960835
HARVEST_TAG_NAME: "All Included Package"
HARVEST_TAG_ID_FROM_OTHER_PROJET: 6962184
EVERHOUR_APIKEY: "507f-ef41-c355b1-992023-06d0dee4"
EVERHOUR_PROJECT_ID: "ev:184846371498563"
EVERHOUR_PROJECT_NAME: "Getting Started with Everhour"
EVERHOUR_TAG_ID: "ev:184846371498567"
EVERHOUR_TAG_NAME: "Sample task"