Update scrutinizer config
This commit is contained in:
@@ -3,6 +3,7 @@ filter:
|
|||||||
- 'vendor/*'
|
- 'vendor/*'
|
||||||
- 'tests/*'
|
- 'tests/*'
|
||||||
- 'app/Template/*'
|
- 'app/Template/*'
|
||||||
|
- 'scripts/*'
|
||||||
paths: { }
|
paths: { }
|
||||||
tools:
|
tools:
|
||||||
php_sim:
|
php_sim:
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
#!/usr/bin/env php
|
|
||||||
<?php
|
|
||||||
|
|
||||||
require 'vendor/JsonRPC/Client.php';
|
|
||||||
|
|
||||||
if ($argc !== 3) {
|
|
||||||
die('Usage: '.$argv[0].' <url> <token>'.PHP_EOL);
|
|
||||||
}
|
|
||||||
|
|
||||||
$client = new JsonRPC\Client($argv[1], 5, true);
|
|
||||||
$client->authentication('jsonrpc', $argv[2]);
|
|
||||||
|
|
||||||
|
|
||||||
$client->createProject('Test API');
|
|
||||||
|
|
||||||
|
|
||||||
$r = $client->getAllProjects();
|
|
||||||
|
|
||||||
var_dump($r);
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user