summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.scrutinizer.yml1
-rwxr-xr-xscripts/api-client.php20
2 files changed, 1 insertions, 20 deletions
diff --git a/.scrutinizer.yml b/.scrutinizer.yml
index 34f9a173..aad0420a 100644
--- a/.scrutinizer.yml
+++ b/.scrutinizer.yml
@@ -3,6 +3,7 @@ filter:
- 'vendor/*'
- 'tests/*'
- 'app/Template/*'
+ - 'scripts/*'
paths: { }
tools:
php_sim:
diff --git a/scripts/api-client.php b/scripts/api-client.php
deleted file mode 100755
index 0fb45117..00000000
--- a/scripts/api-client.php
+++ /dev/null
@@ -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);
-