Skip to content

Commit 083e721

Browse files
committed
2017-01-19:17:05:03 automated build changes.
0 parents  commit 083e721

File tree

236 files changed

+60089
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+60089
-0
lines changed

.php_cs

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
return Symfony\CS\Config::create()
4+
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
5+
->setUsingCache(true)
6+
->fixers(
7+
[
8+
'ordered_use',
9+
'phpdoc_order',
10+
'short_array_syntax',
11+
'strict',
12+
'strict_param'
13+
]
14+
)
15+
->finder(
16+
Symfony\CS\Finder\DefaultFinder::create()
17+
->in(__DIR__)
18+
);

.travis.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: php
2+
sudo: false
3+
php:
4+
- 5.6
5+
- 7.0
6+
- 7.1
7+
before_install: "composer install"
8+
script: "vendor/bin/phpunit"

README.md

+298
Large diffs are not rendered by default.

VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0.0-beta

autoload.php

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<?php
2+
3+
/**
4+
* Service API
5+
*
6+
* ConnectWise Service API
7+
*
8+
* OpenAPI spec version: 1.0.0
9+
* Contact: [email protected]
10+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
11+
*
12+
*/
13+
14+
/**
15+
* An example of a project-specific implementation.
16+
*
17+
* After registering this autoload function with SPL, the following line
18+
* would cause the function to attempt to load the \Spinen\ConnectWise\Clients\Service\Baz\Qux class
19+
* from /path/to/project/lib/Baz/Qux.php:
20+
*
21+
* new \Spinen\ConnectWise\Clients\Service\Baz\Qux;
22+
*
23+
* @param string $class The fully-qualified class name.
24+
*
25+
* @return void
26+
*/
27+
spl_autoload_register(function ($class) {
28+
29+
// project-specific namespace prefix
30+
$prefix = 'Spinen\\ConnectWise\\Clients\\Service\\';
31+
32+
// base directory for the namespace prefix
33+
$base_dir = __DIR__ . '/lib/';
34+
35+
// does the class use the namespace prefix?
36+
$len = strlen($prefix);
37+
if (strncmp($prefix, $class, $len) !== 0) {
38+
// no, move to the next registered autoloader
39+
return;
40+
}
41+
42+
// get the relative class name
43+
$relative_class = substr($class, $len);
44+
45+
// replace the namespace prefix with the base directory, replace namespace
46+
// separators with directory separators in the relative class name, append
47+
// with .php
48+
$file = $base_dir . str_replace('\\', '/', $relative_class) . '.php';
49+
50+
// if the file exists, require it
51+
if (file_exists($file)) {
52+
require $file;
53+
}
54+
});

composer.json

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"name": "spinen/connectwise-service-php-client",
3+
"version": "3.0.0-beta",
4+
"description": "Spinen&#39;s PHP ConnectWise Client for Service API generated by Swagger Code Generator.",
5+
"keywords": [
6+
"spinen",
7+
"connectwise",
8+
"client",
9+
"sdk",
10+
"api"
11+
],
12+
"homepage": "http://spinen.com",
13+
"license": "mit",
14+
"authors": [
15+
{
16+
"name": "Spinen",
17+
"homepage": "http://spinen.com"
18+
},
19+
{
20+
"name": "Swagger and contributors",
21+
"homepage": "https://github.com/swagger-api/swagger-codegen"
22+
}
23+
],
24+
"require": {
25+
"php": ">=5.6",
26+
"ext-curl": "*",
27+
"ext-json": "*",
28+
"ext-mbstring": "*"
29+
},
30+
"require-dev": {
31+
"phpunit/phpunit": "~4.8",
32+
"satooshi/php-coveralls": "~1.0",
33+
"squizlabs/php_codesniffer": "~2.6",
34+
"friendsofphp/php-cs-fixer": "~1.12"
35+
},
36+
"autoload": {
37+
"psr-4": { "Spinen\\ConnectWise\\Clients\\Service\\" : "lib/" }
38+
},
39+
"autoload-dev": {
40+
"psr-4": { "Spinen\\ConnectWise\\Clients\\Service\\" : "test/" }
41+
},
42+
"config": {
43+
"sort-packages": true
44+
},
45+
"minimum-stability": "dev",
46+
"prefer-stable": true
47+
}

0 commit comments

Comments
 (0)