1
0
Fork 0
forked from lino/radar-wp

Upgrading to 1.0.0-beta1 version of the API PHP implementation.

This commit is contained in:
ekes 2017-06-09 13:30:20 +01:00
parent 4424f09f06
commit 4ed51243b5
56 changed files with 1330 additions and 824 deletions

View file

@ -13,9 +13,7 @@
namespace Composer\Autoload;
/**
* ClassLoader implements a PSR-0 class loader
*
* See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
*
* $loader = new \Composer\Autoload\ClassLoader();
*
@ -39,6 +37,8 @@ namespace Composer\Autoload;
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Jordi Boggiano <j.boggiano@seld.be>
* @see http://www.php-fig.org/psr/psr-0/
* @see http://www.php-fig.org/psr/psr-4/
*/
class ClassLoader
{
@ -147,7 +147,7 @@ class ClassLoader
* appending or prepending to the ones previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param array|string $paths The PSR-0 base directories
* @param array|string $paths The PSR-4 base directories
* @param bool $prepend Whether to prepend the directories
*
* @throws \InvalidArgumentException

21
vendor/composer/LICENSE vendored Normal file
View file

@ -0,0 +1,21 @@
Copyright (c) 2016 Nils Adermann, Jordi Boggiano
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View file

@ -6,7 +6,6 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Symfony\\Component\\EventDispatcher\\' => array($vendorDir . '/symfony/event-dispatcher'),
'Guzzle\\Stream' => array($vendorDir . '/guzzle/stream'),
'Guzzle\\Plugin\\Cache' => array($vendorDir . '/guzzle/plugin-cache'),
'Guzzle\\Parser' => array($vendorDir . '/guzzle/parser'),

View file

@ -6,5 +6,6 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Symfony\\Component\\EventDispatcher\\' => array($vendorDir . '/symfony/event-dispatcher'),
'Radar\\Connect\\' => array($vendorDir . '/events-radar/radar-api-php/src'),
);

View file

@ -23,19 +23,26 @@ class ComposerAutoloaderInit0602dde9fe6a3b6e770da50fa17cf0fd
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit0602dde9fe6a3b6e770da50fa17cf0fd', 'loadClassLoader'));
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
$loader->set($namespace, $path);
}
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION');
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';
$map = require __DIR__ . '/autoload_psr4.php';
foreach ($map as $namespace => $path) {
$loader->setPsr4($namespace, $path);
}
call_user_func(\Composer\Autoload\ComposerStaticInit0602dde9fe6a3b6e770da50fa17cf0fd::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
$loader->set($namespace, $path);
}
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
$loader->addClassMap($classMap);
$map = require __DIR__ . '/autoload_psr4.php';
foreach ($map as $namespace => $path) {
$loader->setPsr4($namespace, $path);
}
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
$loader->addClassMap($classMap);
}
}
$loader->register(true);
@ -43,8 +50,3 @@ class ComposerAutoloaderInit0602dde9fe6a3b6e770da50fa17cf0fd
return $loader;
}
}
function composerRequire0602dde9fe6a3b6e770da50fa17cf0fd($file)
{
require $file;
}

82
vendor/composer/autoload_static.php vendored Normal file
View file

@ -0,0 +1,82 @@
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit0602dde9fe6a3b6e770da50fa17cf0fd
{
public static $prefixLengthsPsr4 = array (
'S' =>
array (
'Symfony\\Component\\EventDispatcher\\' => 34,
),
'R' =>
array (
'Radar\\Connect\\' => 14,
),
);
public static $prefixDirsPsr4 = array (
'Symfony\\Component\\EventDispatcher\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/event-dispatcher',
),
'Radar\\Connect\\' =>
array (
0 => __DIR__ . '/..' . '/events-radar/radar-api-php/src',
),
);
public static $prefixesPsr0 = array (
'G' =>
array (
'Guzzle\\Stream' =>
array (
0 => __DIR__ . '/..' . '/guzzle/stream',
),
'Guzzle\\Plugin\\Cache' =>
array (
0 => __DIR__ . '/..' . '/guzzle/plugin-cache',
),
'Guzzle\\Parser' =>
array (
0 => __DIR__ . '/..' . '/guzzle/parser',
),
'Guzzle\\Http' =>
array (
0 => __DIR__ . '/..' . '/guzzle/http',
),
'Guzzle\\Common' =>
array (
0 => __DIR__ . '/..' . '/guzzle/common',
),
'Guzzle\\Cache' =>
array (
0 => __DIR__ . '/..' . '/guzzle/cache',
),
),
'D' =>
array (
'Doctrine\\Common' =>
array (
0 => __DIR__ . '/..' . '/doctrine/common/lib',
),
),
);
public static $classMap = array (
'geoPHP' => __DIR__ . '/..' . '/phayes/geophp/geoPHP.inc',
);
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit0602dde9fe6a3b6e770da50fa17cf0fd::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit0602dde9fe6a3b6e770da50fa17cf0fd::$prefixDirsPsr4;
$loader->prefixesPsr0 = ComposerStaticInit0602dde9fe6a3b6e770da50fa17cf0fd::$prefixesPsr0;
$loader->classMap = ComposerStaticInit0602dde9fe6a3b6e770da50fa17cf0fd::$classMap;
}, null, ClassLoader::class);
}
}

View file

@ -116,12 +116,12 @@
"target-dir": "Guzzle/Common",
"source": {
"type": "git",
"url": "https://github.com/guzzle/common.git",
"url": "https://github.com/Guzzle3/common.git",
"reference": "2e36af7cf2ce3ea1f2d7c2831843b883a8e7b7dc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/common/zipball/2e36af7cf2ce3ea1f2d7c2831843b883a8e7b7dc",
"url": "https://api.github.com/repos/Guzzle3/common/zipball/2e36af7cf2ce3ea1f2d7c2831843b883a8e7b7dc",
"reference": "2e36af7cf2ce3ea1f2d7c2831843b883a8e7b7dc",
"shasum": ""
},
@ -153,7 +153,8 @@
"common",
"event",
"exception"
]
],
"abandoned": "guzzle/guzzle"
},
{
"name": "guzzle/cache",
@ -162,12 +163,12 @@
"target-dir": "Guzzle/Cache",
"source": {
"type": "git",
"url": "https://github.com/guzzle/cache.git",
"url": "https://github.com/Guzzle3/cache.git",
"reference": "9d20d5afd4203f84893e809777ffa01e47bd4ea7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/cache/zipball/9d20d5afd4203f84893e809777ffa01e47bd4ea7",
"url": "https://api.github.com/repos/Guzzle3/cache/zipball/9d20d5afd4203f84893e809777ffa01e47bd4ea7",
"reference": "9d20d5afd4203f84893e809777ffa01e47bd4ea7",
"shasum": ""
},
@ -207,7 +208,8 @@
"cache",
"doctrine",
"zf"
]
],
"abandoned": "guzzle/guzzle"
},
{
"name": "guzzle/stream",
@ -216,12 +218,12 @@
"target-dir": "Guzzle/Stream",
"source": {
"type": "git",
"url": "https://github.com/guzzle/stream.git",
"url": "https://github.com/Guzzle3/stream.git",
"reference": "60c7fed02e98d2c518dae8f97874c8f4622100f0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/stream/zipball/60c7fed02e98d2c518dae8f97874c8f4622100f0",
"url": "https://api.github.com/repos/Guzzle3/stream/zipball/60c7fed02e98d2c518dae8f97874c8f4622100f0",
"reference": "60c7fed02e98d2c518dae8f97874c8f4622100f0",
"shasum": ""
},
@ -262,7 +264,8 @@
"Guzzle",
"component",
"stream"
]
],
"abandoned": "guzzle/guzzle"
},
{
"name": "guzzle/parser",
@ -271,12 +274,12 @@
"target-dir": "Guzzle/Parser",
"source": {
"type": "git",
"url": "https://github.com/guzzle/parser.git",
"url": "https://github.com/Guzzle3/parser.git",
"reference": "6874d171318a8e93eb6d224cf85e4678490b625c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/parser/zipball/6874d171318a8e93eb6d224cf85e4678490b625c",
"url": "https://api.github.com/repos/Guzzle3/parser/zipball/6874d171318a8e93eb6d224cf85e4678490b625c",
"reference": "6874d171318a8e93eb6d224cf85e4678490b625c",
"shasum": ""
},
@ -308,7 +311,8 @@
"http",
"message",
"url"
]
],
"abandoned": "guzzle/guzzle"
},
{
"name": "guzzle/http",
@ -317,12 +321,12 @@
"target-dir": "Guzzle/Http",
"source": {
"type": "git",
"url": "https://github.com/guzzle/http.git",
"url": "https://github.com/Guzzle3/http.git",
"reference": "1e8dd1e2ba9dc42332396f39fbfab950b2301dc5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/http/zipball/1e8dd1e2ba9dc42332396f39fbfab950b2301dc5",
"url": "https://api.github.com/repos/Guzzle3/http/zipball/1e8dd1e2ba9dc42332396f39fbfab950b2301dc5",
"reference": "1e8dd1e2ba9dc42332396f39fbfab950b2301dc5",
"shasum": ""
},
@ -367,7 +371,8 @@
"curl",
"http",
"http client"
]
],
"abandoned": "guzzle/guzzle"
},
{
"name": "guzzle/plugin-cache",
@ -376,12 +381,12 @@
"target-dir": "Guzzle/Plugin/Cache",
"source": {
"type": "git",
"url": "https://github.com/guzzle/plugin-cache.git",
"url": "https://github.com/Guzzle3/plugin-cache.git",
"reference": "152bc4fa58e1578d01d501a97cbeee1c34edecb6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/plugin-cache/zipball/152bc4fa58e1578d01d501a97cbeee1c34edecb6",
"url": "https://api.github.com/repos/Guzzle3/plugin-cache/zipball/152bc4fa58e1578d01d501a97cbeee1c34edecb6",
"reference": "152bc4fa58e1578d01d501a97cbeee1c34edecb6",
"shasum": ""
},
@ -419,23 +424,83 @@
"keywords": [
"Guzzle",
"plugin"
]
],
"abandoned": "guzzle/guzzle"
},
{
"name": "events-radar/radar-api-php",
"version": "0.1.0-alpha3",
"version_normalized": "0.1.0.0-alpha3",
"name": "symfony/event-dispatcher",
"version": "v3.3.2",
"version_normalized": "3.3.2.0",
"source": {
"type": "git",
"url": "https://github.com/events-radar/radar-api-php.git",
"reference": "20e0b5c7d268f413fc1705bb81c46bce99b5ec1d"
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "4054a102470665451108f9b59305c79176ef98f0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/events-radar/radar-api-php/zipball/20e0b5c7d268f413fc1705bb81c46bce99b5ec1d",
"reference": "20e0b5c7d268f413fc1705bb81c46bce99b5ec1d",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/4054a102470665451108f9b59305c79176ef98f0",
"reference": "4054a102470665451108f9b59305c79176ef98f0",
"shasum": ""
},
"require": {
"php": ">=5.5.9"
},
"conflict": {
"symfony/dependency-injection": "<3.3"
},
"require-dev": {
"psr/log": "~1.0",
"symfony/config": "~2.8|~3.0",
"symfony/dependency-injection": "~3.3",
"symfony/expression-language": "~2.8|~3.0",
"symfony/stopwatch": "~2.8|~3.0"
},
"suggest": {
"symfony/dependency-injection": "",
"symfony/http-kernel": ""
},
"time": "2017-06-04 18:15:29",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.3-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"Symfony\\Component\\EventDispatcher\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com"
},
{
"name": "events-radar/radar-api-php",
"version": "0.1.0-beta1",
"version_normalized": "0.1.0.0-beta1",
"source": {
"type": "git",
"url": "https://0xacab.org/radar/radar-api-php",
"reference": "e272465d34853ffb781b3ea99bad53f40e567f82"
},
"require": {
"doctrine/common": "2.3.0",
"guzzle/cache": "3.9.2",
@ -447,9 +512,9 @@
"guzzle/guzzle": "3.9.2",
"phpunit/phpunit": "~4.5"
},
"time": "2015-02-24 20:52:50",
"time": "2017-04-27 15:31:59",
"type": "library",
"installation-source": "dist",
"installation-source": "source",
"autoload": {
"psr-4": {
"Radar\\Connect\\": "src"
@ -458,71 +523,6 @@
"license": [
"GPL-2.0+"
],
"description": "Radar API connect",
"support": {
"source": "https://github.com/events-radar/radar-api-php/tree/0.1.0-alpha3",
"issues": "https://github.com/events-radar/radar-api-php/issues"
}
},
{
"name": "symfony/event-dispatcher",
"version": "v2.6.5",
"version_normalized": "2.6.5.0",
"target-dir": "Symfony/Component/EventDispatcher",
"source": {
"type": "git",
"url": "https://github.com/symfony/EventDispatcher.git",
"reference": "70f7c8478739ad21e3deef0d977b38c77f1fb284"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/70f7c8478739ad21e3deef0d977b38c77f1fb284",
"reference": "70f7c8478739ad21e3deef0d977b38c77f1fb284",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"require-dev": {
"psr/log": "~1.0",
"symfony/config": "~2.0,>=2.0.5",
"symfony/dependency-injection": "~2.6",
"symfony/expression-language": "~2.6",
"symfony/phpunit-bridge": "~2.7",
"symfony/stopwatch": "~2.3"
},
"suggest": {
"symfony/dependency-injection": "",
"symfony/http-kernel": ""
},
"time": "2015-03-13 17:37:22",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.6-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-0": {
"Symfony\\Component\\EventDispatcher\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
},
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
}
],
"description": "Symfony EventDispatcher Component",
"homepage": "http://symfony.com"
"description": "Radar API connect"
}
]