Skip to content

Commit c59a0b0

Browse files
committed
Additional code style rules
1 parent bfb748f commit c59a0b0

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

.php_cs.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,20 @@ return Config::create()->setRules([
5454
'no_short_bool_cast' => true,
5555
'no_singleline_whitespace_before_semicolons' => true,
5656
'no_spaces_around_offset' => true,
57+
'no_superfluous_phpdoc_tags' => false,
5758
'no_superfluous_elseif' => true,
5859
'no_trailing_comma_in_list_call' => true,
5960
'no_trailing_comma_in_singleline_array' => true,
6061
'no_unneeded_control_parentheses' => true,
62+
'no_unneeded_curly_braces' => true,
63+
'no_unset_cast' => true,
6164
'no_unused_imports' => true,
6265
'no_useless_else' => true,
6366
'no_useless_return' => true,
6467
'no_whitespace_before_comma_in_array' => true,
6568
'no_whitespace_in_blank_line' => true,
6669
'normalize_index_brace' => true,
70+
'nullable_type_declaration_for_default_null_value' => true,
6771
'object_operator_without_whitespace' => true,
6872
'ordered_class_elements' => [
6973
'order' => [

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Rubix ML Server
2-
A library to serve your [Rubix ML](https://github.com/RubixML/RubixML) models in production quickly and effortlessly.
1+
# Rubix Server
2+
Effortlessly serve your trained [Rubix ML](https://github.com/RubixML/RubixML) estimators in production.
33

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

700-
---
701700
## Testing
702701
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.
703702

@@ -716,6 +715,5 @@ To run the unit tests:
716715
$ composer test
717716
```
718717

719-
---
720718
## License
721-
[MIT](https://github.com/RubixML/Server/blob/master/LICENSE.md)
719+
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/).

composer.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
{
22
"name": "rubix/server",
33
"type": "library",
4-
"description": "A library to serve your Rubix ML models quickly and effortlessly.",
4+
"description": "Effortlessly serve your trained Rubix ML estimators in production.",
55
"homepage": "https://github.com/RubixML/Server",
66
"license": "MIT",
7+
"readme": "README.md",
78
"keywords": [
8-
"php", "machine-learning", "data-science", "model-serving", "server", "microservice",
9-
"json-api", "api", "rest-api", "soa", "cloud", "infrastructure", "ai", "rubix-ml",
10-
"distributed", "client", "rest", "messaging", "hive-mind", "rpc"
9+
"api", "cloud", "distributed", "inference", "inference engine", "inference server",
10+
"infrastructure", "json api", "machine learning", "microservice", "ml", "ml infrastructure",
11+
"model server", "model deployment", "php", "php ml", "prediction", "rest api", "rest server",
12+
"rpc client", "rpc server", "rubix ml", "rubixml", "server"
1113
],
1214
"authors": [
1315
{
1416
"name": "Andrew DalPino",
1517
"email": "[email protected]",
1618
"homepage": "https://andrewdalpino.com",
1719
"role": "Lead Engineer"
20+
},
21+
{
22+
"name": "Contributors",
23+
"homepage": "https://github.com/RubixML/Server/graphs/contributors"
1824
}
1925
],
2026
"require": {
@@ -62,7 +68,7 @@
6268
"sort-packages": true
6369
},
6470
"support": {
65-
"email": "contact@rubixml.com",
71+
"email": "support@rubixml.com",
6672
"issues": "https://github.com/RubixML/Server/issues",
6773
"source": "https://github.com/RubixML/Server"
6874
},

0 commit comments

Comments
 (0)