11build :
22 environment :
3- php : 7.2.0
3+ php : 7.2.5
44 nodes :
55 analysis :
66 dependencies :
77 before :
8+ - mkdir -p $HOME/bin
9+ - curl -sS https://getcomposer.org/composer-2.phar -o $HOME/bin/composer
10+ - chmod +x $HOME/bin/composer
11+ - export PATH=$HOME/bin:$PATH
12+ - composer --version
13+ - composer global require squizlabs/php_codesniffer
814 - command : ' mkdir -p 3rdParty/buildCache && wget https://ftp.drupal.org/files/projects/drupal-6.38.tar.gz -O drupal-6.38.tar.gz && tar -C 3rdParty/buildCache/ -xzf drupal-6.38.tar.gz'
915 not_if : ' test -e 3rdParty/buildCache/drupal-6.38'
1016 cache :
@@ -30,136 +36,137 @@ filter:
3036 - ' drupal/sites/default/modules/boinc/*'
3137 - ' drupal/sites/default/themes/boinc/*'
3238 - ' tests/server-test/*'
39+ - ' 3rdParty/buildCache/*'
3340 dependency_paths :
3441 - ' html/inc/htmLawed.php'
3542 - ' drupal/sites/all/libraries/*'
3643 - ' drupal/sites/default/boinc/modules/contrib/*'
3744 - ' drupal/sites/default/boinc/modules/boincstats/includes/pchart/*'
3845 - ' drupal/sites/all/libraries/phpmailer/*'
3946 - ' 3rdParty/buildCache/drupal-6.38/*'
40- checks :
41- php :
42- fix_php_opening_tag : false
43- remove_php_closing_tag : false
44- one_class_per_file : false
45- side_effects_or_types : false
46- no_mixed_inline_html : false
47- require_braces_around_control_structures : false
48- php5_style_constructor : false
49- no_global_keyword : false
50- avoid_usage_of_logical_operators : false
51- psr2_class_declaration : false
52- no_underscore_prefix_in_properties : false
53- no_underscore_prefix_in_methods : false
54- blank_line_after_namespace_declaration : false
55- single_namespace_per_use : false
56- psr2_switch_declaration : false
57- psr2_control_structure_declaration : false
58- avoid_superglobals : false
59- security_vulnerabilities : false
60- no_exit : false
61- javascript : true
62- coding_style :
63- php :
64- indentation :
65- general :
66- use_tabs : false
67- size : 4
68- switch :
69- indent_case : false
70- spaces :
71- general :
72- linefeed_character : newline
73- before_parentheses :
74- function_declaration : false
75- closure_definition : false
76- function_call : false
77- if : true
78- for : true
79- while : true
80- switch : true
81- catch : true
82- array_initializer : false
83- around_operators :
84- assignment : true
85- logical : true
86- equality : true
87- relational : true
88- bitwise : false
89- additive : true
90- multiplicative : false
91- shift : true
92- unary_additive : false
93- concatenation : false
94- negation : false
95- before_left_brace :
96- class : true
97- function : true
98- if : true
99- else : true
100- for : true
101- while : true
102- do : true
103- switch : true
104- try : true
105- catch : true
106- finally : true
107- before_keywords :
108- else : true
109- while : true
110- catch : true
111- finally : true
112- within :
113- brackets : false
114- array_initializer : false
115- grouping : false
116- function_call : false
117- function_declaration : false
118- if : false
119- for : false
120- while : false
121- switch : false
122- catch : false
123- type_cast : false
124- ternary_operator :
125- before_condition : true
126- after_condition : true
127- before_alternative : true
128- after_alternative : true
129- in_short_version : false
130- other :
131- before_comma : false
132- after_comma : true
133- before_semicolon : false
134- after_semicolon : true
135- after_type_cast : false
136- braces :
137- classes_functions :
138- class : end-of-line
139- function : end-of-line
140- closure : end-of-line
141- if :
142- opening : end-of-line
143- always : false
144- else_on_new_line : false
145- for :
146- opening : end-of-line
147- always : true
148- while :
149- opening : end-of-line
150- always : true
151- do_while :
152- opening : end-of-line
153- always : true
154- while_on_new_line : false
155- switch :
156- opening : end-of-line
157- try :
158- opening : end-of-line
159- catch_on_new_line : false
160- finally_on_new_line : false
161- upper_lower_casing :
162- keywords :
163- general : lower
164- constants :
165- true_false_null : lower
47+ # checks:
48+ # php:
49+ # fix_php_opening_tag: false
50+ # remove_php_closing_tag: false
51+ # one_class_per_file: false
52+ # side_effects_or_types: false
53+ # no_mixed_inline_html: false
54+ # require_braces_around_control_structures: false
55+ # php5_style_constructor: false
56+ # no_global_keyword: false
57+ # avoid_usage_of_logical_operators: false
58+ # psr2_class_declaration: false
59+ # no_underscore_prefix_in_properties: false
60+ # no_underscore_prefix_in_methods: false
61+ # blank_line_after_namespace_declaration: false
62+ # single_namespace_per_use: false
63+ # psr2_switch_declaration: false
64+ # psr2_control_structure_declaration: false
65+ # avoid_superglobals: false
66+ # security_vulnerabilities: false
67+ # no_exit: false
68+ # javascript: true
69+ # coding_style:
70+ # php:
71+ # indentation:
72+ # general:
73+ # use_tabs: false
74+ # size: 4
75+ # switch:
76+ # indent_case: false
77+ # spaces:
78+ # general:
79+ # linefeed_character: newline
80+ # before_parentheses:
81+ # function_declaration: false
82+ # closure_definition: false
83+ # function_call: false
84+ # if: true
85+ # for: true
86+ # while: true
87+ # switch: true
88+ # catch: true
89+ # array_initializer: false
90+ # around_operators:
91+ # assignment: true
92+ # logical: true
93+ # equality: true
94+ # relational: true
95+ # bitwise: false
96+ # additive: true
97+ # multiplicative: false
98+ # shift: true
99+ # unary_additive: false
100+ # concatenation: false
101+ # negation: false
102+ # before_left_brace:
103+ # class: true
104+ # function: true
105+ # if: true
106+ # else: true
107+ # for: true
108+ # while: true
109+ # do: true
110+ # switch: true
111+ # try: true
112+ # catch: true
113+ # finally: true
114+ # before_keywords:
115+ # else: true
116+ # while: true
117+ # catch: true
118+ # finally: true
119+ # within:
120+ # brackets: false
121+ # array_initializer: false
122+ # grouping: false
123+ # function_call: false
124+ # function_declaration: false
125+ # if: false
126+ # for: false
127+ # while: false
128+ # switch: false
129+ # catch: false
130+ # type_cast: false
131+ # ternary_operator:
132+ # before_condition: true
133+ # after_condition: true
134+ # before_alternative: true
135+ # after_alternative: true
136+ # in_short_version: false
137+ # other:
138+ # before_comma: false
139+ # after_comma: true
140+ # before_semicolon: false
141+ # after_semicolon: true
142+ # after_type_cast: false
143+ # braces:
144+ # classes_functions:
145+ # class: end-of-line
146+ # function: end-of-line
147+ # closure: end-of-line
148+ # if:
149+ # opening: end-of-line
150+ # always: false
151+ # else_on_new_line: false
152+ # for:
153+ # opening: end-of-line
154+ # always: true
155+ # while:
156+ # opening: end-of-line
157+ # always: true
158+ # do_while:
159+ # opening: end-of-line
160+ # always: true
161+ # while_on_new_line: false
162+ # switch:
163+ # opening: end-of-line
164+ # try:
165+ # opening: end-of-line
166+ # catch_on_new_line: false
167+ # finally_on_new_line: false
168+ # upper_lower_casing:
169+ # keywords:
170+ # general: lower
171+ # constants:
172+ # true_false_null: lower
0 commit comments