Skip to content

Commit

Permalink
fix ups
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnysideupdevs committed Oct 31, 2016
1 parent 7a844b4 commit 0f4fb32
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 68 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
@@ -0,0 +1,7 @@
/tests export-ignore
/docs export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/.scrutinizer.yml export-ignore
/_module_data
13 changes: 11 additions & 2 deletions .gitignore
@@ -1,2 +1,11 @@
*.svn
.svn
.sass-cache
.DS_Store
npm-debug.log
/.buildpath
/.project
/.settings
css/GridField_print.css
admin/thirdparty/chosen/node_modules
node_modules/
coverage/
/**/*.js.map
3 changes: 3 additions & 0 deletions .htaccess
@@ -0,0 +1,3 @@
<FilesMatch "\.(php|php3|php4|php5|phtml|inc)$">
Deny from all
</FilesMatch>
64 changes: 5 additions & 59 deletions .scrutinizer.yml
@@ -1,61 +1,7 @@
inherit: true
filter:
excluded_paths:
- 'thirdparty/*'
paths: { }
tools:
external_code_coverage:
timeout: 2500
php_analyzer:
enabled: true
config:
phpunit_checks:
enabled: true
php_mess_detector:
enabled: true
extensions:
- php
filter:
excluded_paths:
- 'thirdparty/*'
paths: { }
config:
ruleset: null
code_size_rules:
cyclomatic_complexity: true
npath_complexity: true
excessive_method_length: true
excessive_class_length: true
excessive_parameter_list: true
excessive_public_count: true
too_many_fields: true
too_many_methods: true
excessive_class_complexity: true
design_rules:
exit_expression: true
eval_expression: true
goto_statement: true
number_of_class_children: true
depth_of_inheritance: true
coupling_between_objects: false
unused_code_rules:
unused_private_field: false
unused_local_variable: true
unused_private_method: true
unused_formal_parameter: true
naming_rules:
short_variable: false
long_variable: false
short_method: false
constructor_conflict: true
constant_naming: true
boolean_method_name: false
controversial_rules:
superglobals: true
camel_case_class_name: false
camel_case_property_name: false
camel_case_method_name: false
camel_case_parameter_name: false
camel_case_variable_name: false

path_configs: { }
excluded_paths:
- thirdparty/*
- parsers/*
- docs/*
- images/*
11 changes: 8 additions & 3 deletions CONTRIBUTING.md
@@ -1,8 +1,13 @@
# Contributing to ecommerce

Please read the [generic write up for contributing](https://docs.silverstripe.org/en/4.0/contributing/) on silverstripe.org for some general information. In practice, we would be stoked with any feedback / help you can provide.
Please read the
[generic write up for contributing](https://docs.silverstripe.org/en/4.0/contributing/)
on silverstripe.org for some general information. In practice,
we would be stoked with any feedback / help you can provide.

## Copyright

By supplying code to this module in any form you agree to assign copyright of that code to Sunny Side Up Limited, on the condition that Sunny Side Up Limited releases that code under a form of open source license.

By supplying code to this module in any form you agree to assign
copyright of that code to Sunny Side Up Limited, on the condition
that Sunny Side Up Limited releases that code under a form of open
source license.
Empty file added _module_data/_manifest_exclude
Empty file.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -44,4 +44,4 @@
"extra": {
"installer-name": "ecommerce"
}
}
}
6 changes: 3 additions & 3 deletions docs/en/phpdox/phpdox.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<phpdox xmlns="http://phpdox.net/config">
<project name="Silverstripe E-commerce" source="${basedir}/../../.." workdir="${basedir}/xml">
<phpdox xmlns="http://xml.phpdox.net/config">
<project name="sunnysideup/silverstripe-ecommerce" source="${basedir}/../../.." workdir="${basedir}/xml">
<collector backend="parser" />
<generator output="${basedir}/../../">
<build engine="html" output="api" />
<build engine="html" enabled="true" output="api" />
</generator>
</project>
</phpdox>

0 comments on commit 0f4fb32

Please sign in to comment.