Skip to content

Commit

Permalink
Update scrutinizer.yml, .gitignore and add .gitmodules
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIII committed Apr 28, 2016
1 parent b06c5f3 commit 35768fe
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 38 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@
*.txt -binary text eol=lf conflict-marker-size=100
*.vcproj -binary text eol=crlf
*.xml -binary text eol=lf
*.yml -binary text eol=lf

libs/* -whitespace

Changelog -binary text eol=lf
.gitignore -binary text
.gitattributes -binary text
.gitmodules -binary text
composer.lock -binary text
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "libraries/lithium"]
path = libraries/lithium
url = git://github.com/UnionOfRAD/lithium.git
80 changes: 42 additions & 38 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,49 @@
build:
dependencies:
# Overwrites inferred commands
override:
- 'composer install --no-interaction --no-dev --prefer-source --no-scripts'
environment:
php:
version: 5.5.14
checks:
php:
avoid_closing_tag: false
avoid_multiple_statements_on_same_line: true
avoid_perl_style_comments: true
avoid_superglobals: false
avoid_usage_of_logical_operators: true
blank_line_after_namespace_declaration: true
classes_in_camel_caps: true
code_rating: true
duplication: true
encourage_postdec_operator: true
encourage_single_quotes: true
fix_php_opening_tag: false
function_in_camel_caps: true
newline_at_end_of_file: true
no_exit: false
no_global_keyword: false
no_mixed_inline_html: false
no_short_method_names:
minimum: '3'
no_short_variable_names:
minimum: '3'
no_underscore_prefix_in_methods: true
no_underscore_prefix_in_properties: true
one_class_per_file: true
optional_parameters_at_the_end: true
param_doc_comment_if_not_inferrable: true
php5_style_constructor: true
properties_in_camelcaps: true
psr2_class_declaration: false
psr2_control_structure_declaration: false
psr2_switch_declaration: false
remove_php_closing_tag: false
require_braces_around_control_structures: false
security_vulnerabilities: false
side_effects_or_types: false
single_namespace_per_use: false
checks:
php:
avoid_closing_tag: false
avoid_multiple_statements_on_same_line: true
avoid_perl_style_comments: true
avoid_superglobals: false
avoid_usage_of_logical_operators: true
blank_line_after_namespace_declaration: true
classes_in_camel_caps: true
code_rating: true
duplication: true
encourage_postdec_operator: true
encourage_single_quotes: true
fix_php_opening_tag: false
function_in_camel_caps: true
newline_at_end_of_file: true
no_exit: false
no_global_keyword: false
no_mixed_inline_html: false
no_short_method_names:
minimum: '3'
no_short_variable_names:
minimum: '3'
no_underscore_prefix_in_methods: true
no_underscore_prefix_in_properties: true
one_class_per_file: true
optional_parameters_at_the_end: true
param_doc_comment_if_not_inferrable: true
php5_style_constructor: true
properties_in_camelcaps: true
psr2_class_declaration: false
psr2_control_structure_declaration: false
psr2_switch_declaration: false
remove_php_closing_tag: false
require_braces_around_control_structures: false
security_vulnerabilities: false
side_effects_or_types: false
single_namespace_per_use: false

coding_style:
php:
Expand Down
2 changes: 2 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
2016-04-28 DariusIII
* Upd: Update scrutinizer.yml, .gitignore and add .gitmodules
2016-04-27 DariusIII
* Upd: Scrutinizer.yml
* Upd: Update composer, add more scripts to be managed by composer and remove scripts not used.
Expand Down

0 comments on commit 35768fe

Please sign in to comment.