Skip to content

Commit

Permalink
changing CI configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
dmill-bz committed Sep 19, 2015
1 parent abe9ea6 commit 31a8cd3
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 4 deletions.
61 changes: 61 additions & 0 deletions .scrutinizer.yml
@@ -0,0 +1,61 @@
checks:
php:
use_self_instead_of_fqcn: true
uppercase_constants: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
properties_in_camelcaps: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
no_new_line_at_end_of_file: true
no_goto: true
more_specific_types_in_doc_comments: true
function_in_camel_caps: true
parameters_in_camelcaps: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: true
classes_in_camel_caps: true
avoid_perl_style_comments: true
avoid_multiple_statements_on_same_line: true

filter:
paths:
- src/*

coding_style:
php:
spaces:
before_parentheses:
if: false
for: false
while: false
switch: false
catch: false
braces:
classes_functions:
class: new-line
function: new-line
closure: new-line
if:
opening: new-line
else_on_new_line: true
for:
opening: new-line
while:
opening: new-line
do_while:
opening: new-line
while_on_new_line: true
switch:
opening: new-line
try:
opening: new-line
catch_on_new_line: true
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: upper
6 changes: 3 additions & 3 deletions CHANGELOG.md
@@ -1,5 +1,5 @@
2.0
===
2.0.0
=====
2.0 supports TP 3.0.1 with authentication features. There was a major overhaul of the code in order to make the API clearer and to stick to PSR-4 namespaces. Bellow are the BC breaking changes you will need to make if you are upgrading from v1.0 :

- Namespaces currently changed from `\brightzone\rexpro\*` to `\Brightzone\GremlinDriver\*` and so forth all in CamelCase. You will need to change these in your code to reflect the change.
Expand All @@ -21,7 +21,7 @@
]);
$db->open();
```
This is reflected in README.md examples.
This is reflected in the [README](README.md) examples.


1.0
Expand Down
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -30,14 +30,18 @@ Or add:

to the `require` section of your `composer.json` file

Upgrading
=========
BC breaking changes are introduced between major version changes. So if you're upgrading to `2.0.0` from `1.0`. Please read the [CHANGELOG](CHANGELOG.md)

Usage
=========

The Connection class exists within the `rexpro` namespace. (history: rexpro used to be the old protocol used by the driver in Tinkerpop2).

```php
require_once('vendor/autoload.php');
use \brightzone\rexpro\Connection;
use \Brightzone\GremlinDriver\Connection;

$db = new Connection;
```
Expand Down

0 comments on commit 31a8cd3

Please sign in to comment.