Skip to content

Commit

Permalink
Additional code style rules
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdalpino committed Jun 20, 2020
1 parent bfb748f commit c59a0b0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,20 @@ return Config::create()->setRules([
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_spaces_around_offset' => true,
'no_superfluous_phpdoc_tags' => false,
'no_superfluous_elseif' => true,
'no_trailing_comma_in_list_call' => true,
'no_trailing_comma_in_singleline_array' => true,
'no_unneeded_control_parentheses' => true,
'no_unneeded_curly_braces' => true,
'no_unset_cast' => true,
'no_unused_imports' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'no_whitespace_before_comma_in_array' => true,
'no_whitespace_in_blank_line' => true,
'normalize_index_brace' => true,
'nullable_type_declaration_for_default_null_value' => true,
'object_operator_without_whitespace' => true,
'ordered_class_elements' => [
'order' => [
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Rubix ML Server
A library to serve your [Rubix ML](https://github.com/RubixML/RubixML) models in production quickly and effortlessly.
# Rubix Server
Effortlessly serve your trained [Rubix ML](https://github.com/RubixML/RubixML) estimators in production.

## Installation
Install Rubix Server using [Composer](https://getcomposer.org/):
Expand Down Expand Up @@ -697,7 +697,6 @@ use Rubix\Server\Responses\ServerStatusResponse;
$response = new ServerStatusResponse($requests, $memoryUsage, 16);
```

---
## Testing
Rubix utilizes a combination of static analysis and unit tests for quality assurance and to reduce the number of bugs. Rubix provides three [Composer](https://getcomposer.org/) scripts that can be run from the root directory to automate the testing process.

Expand All @@ -716,6 +715,5 @@ To run the unit tests:
$ composer test
```

---
## License
[MIT](https://github.com/RubixML/Server/blob/master/LICENSE.md)
The code is licensed [MIT](LICENSE.md) and the documentation is licensed [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/).
16 changes: 11 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
{
"name": "rubix/server",
"type": "library",
"description": "A library to serve your Rubix ML models quickly and effortlessly.",
"description": "Effortlessly serve your trained Rubix ML estimators in production.",
"homepage": "https://github.com/RubixML/Server",
"license": "MIT",
"readme": "README.md",
"keywords": [
"php", "machine-learning", "data-science", "model-serving", "server", "microservice",
"json-api", "api", "rest-api", "soa", "cloud", "infrastructure", "ai", "rubix-ml",
"distributed", "client", "rest", "messaging", "hive-mind", "rpc"
"api", "cloud", "distributed", "inference", "inference engine", "inference server",
"infrastructure", "json api", "machine learning", "microservice", "ml", "ml infrastructure",
"model server", "model deployment", "php", "php ml", "prediction", "rest api", "rest server",
"rpc client", "rpc server", "rubix ml", "rubixml", "server"
],
"authors": [
{
"name": "Andrew DalPino",
"email": "me@andrewdalpino.com",
"homepage": "https://andrewdalpino.com",
"role": "Lead Engineer"
},
{
"name": "Contributors",
"homepage": "https://github.com/RubixML/Server/graphs/contributors"
}
],
"require": {
Expand Down Expand Up @@ -62,7 +68,7 @@
"sort-packages": true
},
"support": {
"email": "contact@rubixml.com",
"email": "support@rubixml.com",
"issues": "https://github.com/RubixML/Server/issues",
"source": "https://github.com/RubixML/Server"
},
Expand Down

0 comments on commit c59a0b0

Please sign in to comment.