Changeset 2626794
- Timestamp:
- 11/09/2021 03:34:11 PM (4 years ago)
- Location:
- cocolis
- Files:
-
- 121 added
- 8 deleted
- 12 edited
-
tags/1.0.11 (added)
-
tags/1.0.11/class (added)
-
tags/1.0.11/class/wc-cocolis-payment.php (added)
-
tags/1.0.11/class/wc-cocolis-webhooks.php (added)
-
tags/1.0.11/languages (added)
-
tags/1.0.11/languages/cocolis-fr_FR.mo (added)
-
tags/1.0.11/languages/cocolis-fr_FR.po (added)
-
tags/1.0.11/readme.txt (added)
-
tags/1.0.11/vendor (added)
-
tags/1.0.11/vendor/autoload.php (added)
-
tags/1.0.11/vendor/cocolis (added)
-
tags/1.0.11/vendor/cocolis/php (added)
-
tags/1.0.11/vendor/cocolis/php/.nvmrc (added)
-
tags/1.0.11/vendor/cocolis/php/.php_cs (added)
-
tags/1.0.11/vendor/cocolis/php/.stoplight.json (added)
-
tags/1.0.11/vendor/cocolis/php/CHANGELOG.md (added)
-
tags/1.0.11/vendor/cocolis/php/README.md (added)
-
tags/1.0.11/vendor/cocolis/php/bootstrap.php (added)
-
tags/1.0.11/vendor/cocolis/php/composer.json (added)
-
tags/1.0.11/vendor/cocolis/php/docs (added)
-
tags/1.0.11/vendor/cocolis/php/docs/Exceptions.md (added)
-
tags/1.0.11/vendor/cocolis/php/docs/Introduction.md (added)
-
tags/1.0.11/vendor/cocolis/php/docs/Rides.md (added)
-
tags/1.0.11/vendor/cocolis/php/docs/Tutorials (added)
-
tags/1.0.11/vendor/cocolis/php/docs/Tutorials/Getting-Started.md (added)
-
tags/1.0.11/vendor/cocolis/php/docs/Webhooks.md (added)
-
tags/1.0.11/vendor/cocolis/php/docs/models (added)
-
tags/1.0.11/vendor/cocolis/php/docs/models/ride (added)
-
tags/1.0.11/vendor/cocolis/php/docs/models/ride/ride-create.v1.json (added)
-
tags/1.0.11/vendor/cocolis/php/docs/models/ride/ride-full.v1.json (added)
-
tags/1.0.11/vendor/cocolis/php/docs/models/user (added)
-
tags/1.0.11/vendor/cocolis/php/docs/models/user/public_user.v1.json (added)
-
tags/1.0.11/vendor/cocolis/php/docs/toc.json (added)
-
tags/1.0.11/vendor/cocolis/php/phpunit.xml (added)
-
tags/1.0.11/vendor/cocolis/php/src (added)
-
tags/1.0.11/vendor/cocolis/php/src/Client.php (added)
-
tags/1.0.11/vendor/cocolis/php/src/Clients (added)
-
tags/1.0.11/vendor/cocolis/php/src/Clients/AbstractClient.php (added)
-
tags/1.0.11/vendor/cocolis/php/src/Clients/RideClient.php (added)
-
tags/1.0.11/vendor/cocolis/php/src/Clients/WebhookClient.php (added)
-
tags/1.0.11/vendor/cocolis/php/src/Curl.php (added)
-
tags/1.0.11/vendor/cocolis/php/src/Errors (added)
-
tags/1.0.11/vendor/cocolis/php/src/Errors/CocolisException.php (added)
-
tags/1.0.11/vendor/cocolis/php/src/Errors/InternalErrorException.php (added)
-
tags/1.0.11/vendor/cocolis/php/src/Errors/NotFoundException.php (added)
-
tags/1.0.11/vendor/cocolis/php/src/Errors/UnauthorizedException.php (added)
-
tags/1.0.11/vendor/cocolis/php/src/Errors/UnprocessableEntityException.php (added)
-
tags/1.0.11/vendor/cocolis/php/src/Models (added)
-
tags/1.0.11/vendor/cocolis/php/src/Models/AbstractModel.php (added)
-
tags/1.0.11/vendor/cocolis/php/src/Models/Ride.php (added)
-
tags/1.0.11/vendor/cocolis/php/src/Models/Webhook.php (added)
-
tags/1.0.11/vendor/cocolis/php/src/Version.php (added)
-
tags/1.0.11/vendor/cocolis/php/tests (added)
-
tags/1.0.11/vendor/cocolis/php/tests/ClientTest.php (added)
-
tags/1.0.11/vendor/cocolis/php/tests/CocolisTest.php (added)
-
tags/1.0.11/vendor/cocolis/php/tests/VersionTest.php (added)
-
tags/1.0.11/vendor/cocolis/php/tests/WrongResPathClient.php (added)
-
tags/1.0.11/vendor/cocolis/php/tests/WrongResPathClientTest.php (added)
-
tags/1.0.11/vendor/cocolis/php/tests/clients (added)
-
tags/1.0.11/vendor/cocolis/php/tests/clients/AbstractClientTest.php (added)
-
tags/1.0.11/vendor/cocolis/php/tests/clients/RideClientTest.php (added)
-
tags/1.0.11/vendor/cocolis/php/tests/clients/WebhookClientTest.php (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/.keep (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_abstractclienttest (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_abstractclienttest/testArray (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_abstractclienttest/testHydrateArray (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_abstractclienttest/testHydrateHash (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_clienttest (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_clienttest/testAppIdException (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_clienttest/testAuthInfo (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_clienttest/testClient (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_clienttest/testContent (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_clienttest/testEmptyClient (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_clienttest/testPasswordException (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_clienttest/testSignInWithWrongCredentials (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_clienttest/testStaticCreate (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_clienttest/testTokenInvalid (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_clienttest/testTokenNoArgs (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_clienttest/testTokenNoAuth (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_clienttest/testTokenValid (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_rideclienttest (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_rideclienttest/testCreate (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_rideclienttest/testCreateNotImage (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_rideclienttest/testGetAll (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_rideclienttest/testMatch (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_rideclienttest/testMine (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_rideclienttest/testRemove (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_rideclienttest/testUpdate (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_ridetest (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_ridetest/testArray (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_ridetest/testGetBuyerURL (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_ridetest/testGetSellerURL (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_ridetest/testGetURL (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_ridetest/testObjectException (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_webhookclienttest (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_webhookclienttest/testCreate (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_webhookclienttest/testGet (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_webhookclienttest/testGetAll (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_webhookclienttest/testRemove (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_webhookclienttest/testUpdate (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_wrongrespathclienttest (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/tests_api_wrongrespathclienttest/testPath (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/versiontest (added)
-
tags/1.0.11/vendor/cocolis/php/tests/fixtures/versiontest/testCanBeUsedAsString (added)
-
tags/1.0.11/vendor/cocolis/php/tests/models (added)
-
tags/1.0.11/vendor/cocolis/php/tests/models/RideTest.php (added)
-
tags/1.0.11/vendor/cocolis/php/toc.json (added)
-
tags/1.0.11/vendor/composer (added)
-
tags/1.0.11/vendor/composer/ClassLoader.php (added)
-
tags/1.0.11/vendor/composer/InstalledVersions.php (added)
-
tags/1.0.11/vendor/composer/LICENSE (added)
-
tags/1.0.11/vendor/composer/autoload_classmap.php (added)
-
tags/1.0.11/vendor/composer/autoload_namespaces.php (added)
-
tags/1.0.11/vendor/composer/autoload_psr4.php (added)
-
tags/1.0.11/vendor/composer/autoload_real.php (added)
-
tags/1.0.11/vendor/composer/autoload_static.php (added)
-
tags/1.0.11/vendor/composer/installed.json (added)
-
tags/1.0.11/vendor/composer/installed.php (added)
-
tags/1.0.11/vendor/composer/platform_check.php (added)
-
tags/1.0.11/wc-cocolis-shipping.php (added)
-
trunk/class/wc-cocolis-payment.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vendor/bin (deleted)
-
trunk/vendor/cocolis/php/.git (deleted)
-
trunk/vendor/cocolis/php/.github (deleted)
-
trunk/vendor/cocolis/php/.gitignore (deleted)
-
trunk/vendor/composer/ClassLoader.php (modified) (7 diffs)
-
trunk/vendor/composer/autoload_classmap.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_files.php (deleted)
-
trunk/vendor/composer/autoload_namespaces.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_psr4.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (4 diffs)
-
trunk/vendor/composer/installed.json (modified) (1 diff)
-
trunk/vendor/composer/installed.php (modified) (3 diffs)
-
trunk/vendor/composer/platform_check.php (modified) (1 diff)
-
trunk/vendor/kylekatarnls (deleted)
-
trunk/vendor/nesbot (deleted)
-
trunk/vendor/symfony (deleted)
-
trunk/wc-cocolis-shipping.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cocolis/trunk/class/wc-cocolis-payment.php
r2624127 r2626794 213 213 214 214 if (strpos($order->get_shipping_method(), "with insurance") !== false || strpos($order->get_shipping_method(), "avec assurance") !== false) { 215 $birthday = Carbon::parse($order_birthdate)->format(DateTime::ISO8601); 215 $birthday = new DateTime($order_birthdate); 216 $birthday = $birthday->format(DateTime::ISO8601); 216 217 217 218 $params = [ … … 227 228 "to_is_flexible" => false, 228 229 "to_need_help" => true, 229 "content_value" => floatval($order->get_subtotal_to_display(true)) * 100,230 "content_value" => ($order->get_total() - $order->get_total_shipping() - $order->get_shipping_tax()) * 100, 230 231 "with_insurance" => true, 231 232 "to_pickup_date" => $to_date, … … 373 374 { 374 375 $post_id = isset($_GET['post']) ? $_GET['post'] : false; 375 $order = wc_get_order($post_id); 376 377 if ($order->has_shipping_method('cocolis')) { 378 add_meta_box( 379 'custom_order_meta_box', 380 __('Manage my delivery with Cocolis', 'cocolis'), 381 array($this, 'custom_metabox_content'), 382 'shop_order', 383 'normal', 384 'default' 385 ); 376 if ($post_id) { 377 $order = wc_get_order($post_id); 378 if ($order) { 379 if ($order->has_shipping_method('cocolis')) { 380 add_meta_box( 381 'custom_order_meta_box', 382 __('Manage my delivery with Cocolis', 'cocolis'), 383 array($this, 'custom_metabox_content'), 384 'shop_order', 385 'normal', 386 'default' 387 ); 388 } 389 } 386 390 } 387 391 } -
cocolis/trunk/readme.txt
r2624127 r2626794 2 2 Contributors: cocolis 3 3 Tags: woocommerce, delivery, cocolis, livraison 4 Stable tag: 1.0.1 04 Stable tag: 1.0.11 5 5 Requires at least: 4.7 6 6 Tested up to: 5.6.2 … … 55 55 56 56 == Changelog == 57 = 1.0.11 = 58 * Urgent bug fixes 59 57 60 = 1.0.10 = 58 61 * Important bug fixes -
cocolis/trunk/vendor/composer/ClassLoader.php
r2624245 r2626794 38 38 * @author Fabien Potencier <fabien@symfony.com> 39 39 * @author Jordi Boggiano <j.boggiano@seld.be> 40 * @see http ://www.php-fig.org/psr/psr-0/41 * @see http ://www.php-fig.org/psr/psr-4/40 * @see https://www.php-fig.org/psr/psr-0/ 41 * @see https://www.php-fig.org/psr/psr-4/ 42 42 */ 43 43 class ClassLoader 44 44 { 45 private $vendorDir; 46 45 47 // PSR-4 46 48 private $prefixLengthsPsr4 = array(); … … 57 59 private $missingClasses = array(); 58 60 private $apcuPrefix; 61 62 private static $registeredLoaders = array(); 63 64 public function __construct($vendorDir = null) 65 { 66 $this->vendorDir = $vendorDir; 67 } 59 68 60 69 public function getPrefixes() … … 301 310 { 302 311 spl_autoload_register(array($this, 'loadClass'), true, $prepend); 312 313 if (null === $this->vendorDir) { 314 return; 315 } 316 317 if ($prepend) { 318 self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders; 319 } else { 320 unset(self::$registeredLoaders[$this->vendorDir]); 321 self::$registeredLoaders[$this->vendorDir] = $this; 322 } 303 323 } 304 324 … … 309 329 { 310 330 spl_autoload_unregister(array($this, 'loadClass')); 331 332 if (null !== $this->vendorDir) { 333 unset(self::$registeredLoaders[$this->vendorDir]); 334 } 311 335 } 312 336 … … 315 339 * 316 340 * @param string $class The name of the class 317 * @return bool|null True if loaded, null otherwise341 * @return true|null True if loaded, null otherwise 318 342 */ 319 343 public function loadClass($class) … … 324 348 return true; 325 349 } 350 351 return null; 326 352 } 327 353 … … 366 392 367 393 return $file; 394 } 395 396 /** 397 * Returns the currently registered loaders indexed by their corresponding vendor directories. 398 * 399 * @return self[] 400 */ 401 public static function getRegisteredLoaders() 402 { 403 return self::$registeredLoaders; 368 404 } 369 405 -
cocolis/trunk/vendor/composer/autoload_classmap.php
r2624245 r2626794 7 7 8 8 return array( 9 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 9 10 ); -
cocolis/trunk/vendor/composer/autoload_namespaces.php
r2624245 r2626794 7 7 8 8 return array( 9 'UpdateHelper\\' => array($vendorDir . '/kylekatarnls/update-helper/src'),10 9 ); -
cocolis/trunk/vendor/composer/autoload_psr4.php
r2624245 r2626794 7 7 8 8 return array( 9 'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'),10 'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'),11 9 'PrestaShop\\Module\\Cocolis\\' => array($baseDir . '/src'), 12 10 'Cocolis\\Api\\' => array($vendorDir . '/cocolis/php/src'), 13 '' => array($vendorDir . '/nesbot/carbon/src'),14 11 ); -
cocolis/trunk/vendor/composer/autoload_real.php
r2624245 r2626794 23 23 } 24 24 25 require __DIR__ . '/platform_check.php'; 26 25 27 spl_autoload_register(array('ComposerAutoloaderInit322f102fd9e3e13154594cc51287238b', 'loadClassLoader'), true, true); 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader( );28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 27 29 spl_autoload_unregister(array('ComposerAutoloaderInit322f102fd9e3e13154594cc51287238b', 'loadClassLoader')); 28 30 29 31 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); 30 32 if ($useStaticLoader) { 31 require _once__DIR__ . '/autoload_static.php';33 require __DIR__ . '/autoload_static.php'; 32 34 33 35 call_user_func(\Composer\Autoload\ComposerStaticInit322f102fd9e3e13154594cc51287238b::getInitializer($loader)); … … 51 53 $loader->register(true); 52 54 53 if ($useStaticLoader) {54 $includeFiles = Composer\Autoload\ComposerStaticInit322f102fd9e3e13154594cc51287238b::$files;55 } else {56 $includeFiles = require __DIR__ . '/autoload_files.php';57 }58 foreach ($includeFiles as $fileIdentifier => $file) {59 composerRequire322f102fd9e3e13154594cc51287238b($fileIdentifier, $file);60 }61 62 55 return $loader; 63 56 } 64 57 } 65 66 function composerRequire322f102fd9e3e13154594cc51287238b($fileIdentifier, $file)67 {68 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {69 require $file;70 71 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;72 }73 } -
cocolis/trunk/vendor/composer/autoload_static.php
r2624245 r2626794 7 7 class ComposerStaticInit322f102fd9e3e13154594cc51287238b 8 8 { 9 public static $files = array (10 '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',11 );12 13 9 public static $prefixLengthsPsr4 = array ( 14 'S' =>15 array (16 'Symfony\\Polyfill\\Mbstring\\' => 26,17 'Symfony\\Component\\Translation\\' => 30,18 ),19 10 'P' => 20 11 array ( … … 28 19 29 20 public static $prefixDirsPsr4 = array ( 30 'Symfony\\Polyfill\\Mbstring\\' =>31 array (32 0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring',33 ),34 'Symfony\\Component\\Translation\\' =>35 array (36 0 => __DIR__ . '/..' . '/symfony/translation',37 ),38 21 'PrestaShop\\Module\\Cocolis\\' => 39 22 array ( … … 46 29 ); 47 30 48 public static $fallbackDirsPsr4 = array ( 49 0 => __DIR__ . '/..' . '/nesbot/carbon/src', 50 ); 51 52 public static $prefixesPsr0 = array ( 53 'U' => 54 array ( 55 'UpdateHelper\\' => 56 array ( 57 0 => __DIR__ . '/..' . '/kylekatarnls/update-helper/src', 58 ), 59 ), 31 public static $classMap = array ( 32 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 60 33 ); 61 34 … … 65 38 $loader->prefixLengthsPsr4 = ComposerStaticInit322f102fd9e3e13154594cc51287238b::$prefixLengthsPsr4; 66 39 $loader->prefixDirsPsr4 = ComposerStaticInit322f102fd9e3e13154594cc51287238b::$prefixDirsPsr4; 67 $loader->fallbackDirsPsr4 = ComposerStaticInit322f102fd9e3e13154594cc51287238b::$fallbackDirsPsr4; 68 $loader->prefixesPsr0 = ComposerStaticInit322f102fd9e3e13154594cc51287238b::$prefixesPsr0; 40 $loader->classMap = ComposerStaticInit322f102fd9e3e13154594cc51287238b::$classMap; 69 41 70 42 }, null, ClassLoader::class); -
cocolis/trunk/vendor/composer/installed.json
r2624245 r2626794 1 [ 2 { 3 "name": "cocolis/php", 4 "version": "dev-develop", 5 "version_normalized": "dev-develop", 6 "source": { 7 "type": "git", 8 "url": "https://github.com/Cocolis-1/cocolis-php.git", 9 "reference": "94098bda9003d423ff6cb9ba68e56f383c09fbc0" 10 }, 11 "dist": { 12 "type": "zip", 13 "url": "https://api.github.com/repos/Cocolis-1/cocolis-php/zipball/94098bda9003d423ff6cb9ba68e56f383c09fbc0", 14 "reference": "94098bda9003d423ff6cb9ba68e56f383c09fbc0", 15 "shasum": "" 16 }, 17 "require": { 18 "php": ">=5.3.0" 19 }, 20 "require-dev": { 21 "friendsofphp/php-cs-fixer": "^2.17@dev", 22 "kint-php/kint": "dev-master", 23 "php-vcr/php-vcr": "dev-master", 24 "phpunit/php-code-coverage": "^9.2", 25 "phpunit/phpunit": "^9.4" 26 }, 27 "time": "2021-09-16T06:43:59+00:00", 28 "type": "package", 29 "installation-source": "source", 30 "autoload": { 31 "psr-4": { 32 "Cocolis\\Api\\": "src/" 33 } 34 }, 35 "notification-url": "https://packagist.org/downloads/", 36 "license": [ 37 "MIT" 38 ], 39 "authors": [ 40 { 41 "name": "Sébastien Fieloux", 42 "email": "sebastien.fieloux@gmail.com", 43 "homepage": "https://www.sebfie.com", 44 "role": "Developer" 1 { 2 "packages": [ 3 { 4 "name": "cocolis/php", 5 "version": "dev-develop", 6 "version_normalized": "dev-develop", 7 "source": { 8 "type": "git", 9 "url": "https://github.com/Cocolis-1/cocolis-php.git", 10 "reference": "94098bda9003d423ff6cb9ba68e56f383c09fbc0" 45 11 }, 46 { 47 "name": "Alexandre Bettan", 48 "email": "contact@alexandre.business", 49 "role": "Developer" 50 } 51 ], 52 "description": "PHP library to use Cocolis.fr API", 53 "homepage": "https://www.cocolis.fr", 54 "keywords": [ 55 "cocolis", 56 "php" 57 ], 58 "support": { 59 "issues": "https://github.com/Cocolis-1/cocolis-php/issues", 60 "source": "https://github.com/Cocolis-1/cocolis-php/tree/develop" 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/Cocolis-1/cocolis-php/zipball/94098bda9003d423ff6cb9ba68e56f383c09fbc0", 15 "reference": "94098bda9003d423ff6cb9ba68e56f383c09fbc0", 16 "shasum": "" 17 }, 18 "require": { 19 "php": ">=5.3.0" 20 }, 21 "require-dev": { 22 "friendsofphp/php-cs-fixer": "^2.17@dev", 23 "kint-php/kint": "dev-master", 24 "php-vcr/php-vcr": "dev-master", 25 "phpunit/php-code-coverage": "^9.2", 26 "phpunit/phpunit": "^9.4" 27 }, 28 "time": "2021-09-16T06:43:59+00:00", 29 "type": "package", 30 "installation-source": "source", 31 "autoload": { 32 "psr-4": { 33 "Cocolis\\Api\\": "src/" 34 } 35 }, 36 "notification-url": "https://packagist.org/downloads/", 37 "license": [ 38 "MIT" 39 ], 40 "authors": [ 41 { 42 "name": "Sébastien Fieloux", 43 "email": "sebastien.fieloux@gmail.com", 44 "homepage": "https://www.sebfie.com", 45 "role": "Developer" 46 }, 47 { 48 "name": "Alexandre Bettan", 49 "email": "contact@alexandre.business", 50 "role": "Developer" 51 } 52 ], 53 "description": "PHP library to use Cocolis.fr API", 54 "homepage": "https://www.cocolis.fr", 55 "keywords": [ 56 "cocolis", 57 "php" 58 ], 59 "support": { 60 "issues": "https://github.com/Cocolis-1/cocolis-php/issues", 61 "source": "https://github.com/Cocolis-1/cocolis-php/tree/develop" 62 }, 63 "install-path": "../cocolis/php" 61 64 } 62 }, 63 { 64 "name": "kylekatarnls/update-helper", 65 "version": "1.2.1", 66 "version_normalized": "1.2.1.0", 67 "source": { 68 "type": "git", 69 "url": "https://github.com/kylekatarnls/update-helper.git", 70 "reference": "429be50660ed8a196e0798e5939760f168ec8ce9" 71 }, 72 "dist": { 73 "type": "zip", 74 "url": "https://api.github.com/repos/kylekatarnls/update-helper/zipball/429be50660ed8a196e0798e5939760f168ec8ce9", 75 "reference": "429be50660ed8a196e0798e5939760f168ec8ce9", 76 "shasum": "" 77 }, 78 "require": { 79 "composer-plugin-api": "^1.1.0 || ^2.0.0", 80 "php": ">=5.3.0" 81 }, 82 "require-dev": { 83 "codeclimate/php-test-reporter": "dev-master", 84 "composer/composer": "2.0.x-dev || ^2.0.0-dev", 85 "phpunit/phpunit": ">=4.8.35 <6.0" 86 }, 87 "time": "2020-04-07T20:44:10+00:00", 88 "type": "composer-plugin", 89 "extra": { 90 "class": "UpdateHelper\\ComposerPlugin" 91 }, 92 "installation-source": "dist", 93 "autoload": { 94 "psr-0": { 95 "UpdateHelper\\": "src/" 96 } 97 }, 98 "notification-url": "https://packagist.org/downloads/", 99 "license": [ 100 "MIT" 101 ], 102 "authors": [ 103 { 104 "name": "Kyle", 105 "email": "kylekatarnls@gmail.com" 106 } 107 ], 108 "description": "Update helper", 109 "funding": [ 110 { 111 "url": "https://github.com/kylekatarnls", 112 "type": "github" 113 }, 114 { 115 "url": "https://opencollective.com/Carbon", 116 "type": "open_collective" 117 }, 118 { 119 "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", 120 "type": "tidelift" 121 } 122 ] 123 }, 124 { 125 "name": "nesbot/carbon", 126 "version": "1.39.1", 127 "version_normalized": "1.39.1.0", 128 "source": { 129 "type": "git", 130 "url": "https://github.com/briannesbitt/Carbon.git", 131 "reference": "4be0c005164249208ce1b5ca633cd57bdd42ff33" 132 }, 133 "dist": { 134 "type": "zip", 135 "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/4be0c005164249208ce1b5ca633cd57bdd42ff33", 136 "reference": "4be0c005164249208ce1b5ca633cd57bdd42ff33", 137 "shasum": "" 138 }, 139 "require": { 140 "kylekatarnls/update-helper": "^1.1", 141 "php": ">=5.3.9", 142 "symfony/translation": "~2.6 || ~3.0 || ~4.0" 143 }, 144 "require-dev": { 145 "composer/composer": "^1.2", 146 "friendsofphp/php-cs-fixer": "~2", 147 "phpunit/phpunit": "^4.8.35 || ^5.7" 148 }, 149 "time": "2019-10-14T05:51:36+00:00", 150 "bin": [ 151 "bin/upgrade-carbon" 152 ], 153 "type": "library", 154 "extra": { 155 "update-helper": "Carbon\\Upgrade", 156 "laravel": { 157 "providers": [ 158 "Carbon\\Laravel\\ServiceProvider" 159 ] 160 } 161 }, 162 "installation-source": "dist", 163 "autoload": { 164 "psr-4": { 165 "": "src/" 166 } 167 }, 168 "notification-url": "https://packagist.org/downloads/", 169 "license": [ 170 "MIT" 171 ], 172 "authors": [ 173 { 174 "name": "Brian Nesbitt", 175 "email": "brian@nesbot.com", 176 "homepage": "http://nesbot.com" 177 } 178 ], 179 "description": "A simple API extension for DateTime.", 180 "homepage": "http://carbon.nesbot.com", 181 "keywords": [ 182 "date", 183 "datetime", 184 "time" 185 ] 186 }, 187 { 188 "name": "symfony/polyfill-mbstring", 189 "version": "v1.19.0", 190 "version_normalized": "1.19.0.0", 191 "source": { 192 "type": "git", 193 "url": "https://github.com/symfony/polyfill-mbstring.git", 194 "reference": "b5f7b932ee6fa802fc792eabd77c4c88084517ce" 195 }, 196 "dist": { 197 "type": "zip", 198 "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/b5f7b932ee6fa802fc792eabd77c4c88084517ce", 199 "reference": "b5f7b932ee6fa802fc792eabd77c4c88084517ce", 200 "shasum": "" 201 }, 202 "require": { 203 "php": ">=5.3.3" 204 }, 205 "suggest": { 206 "ext-mbstring": "For best performance" 207 }, 208 "time": "2020-10-23T09:01:57+00:00", 209 "type": "library", 210 "extra": { 211 "branch-alias": { 212 "dev-main": "1.19-dev" 213 }, 214 "thanks": { 215 "name": "symfony/polyfill", 216 "url": "https://github.com/symfony/polyfill" 217 } 218 }, 219 "installation-source": "source", 220 "autoload": { 221 "psr-4": { 222 "Symfony\\Polyfill\\Mbstring\\": "" 223 }, 224 "files": [ 225 "bootstrap.php" 226 ] 227 }, 228 "notification-url": "https://packagist.org/downloads/", 229 "license": [ 230 "MIT" 231 ], 232 "authors": [ 233 { 234 "name": "Nicolas Grekas", 235 "email": "p@tchwork.com" 236 }, 237 { 238 "name": "Symfony Community", 239 "homepage": "https://symfony.com/contributors" 240 } 241 ], 242 "description": "Symfony polyfill for the Mbstring extension", 243 "homepage": "https://symfony.com", 244 "keywords": [ 245 "compatibility", 246 "mbstring", 247 "polyfill", 248 "portable", 249 "shim" 250 ], 251 "funding": [ 252 { 253 "url": "https://symfony.com/sponsor", 254 "type": "custom" 255 }, 256 { 257 "url": "https://github.com/fabpot", 258 "type": "github" 259 }, 260 { 261 "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", 262 "type": "tidelift" 263 } 264 ] 265 }, 266 { 267 "name": "symfony/translation", 268 "version": "3.4.x-dev", 269 "version_normalized": "3.4.9999999.9999999-dev", 270 "source": { 271 "type": "git", 272 "url": "https://github.com/symfony/translation.git", 273 "reference": "be83ee6c065cb32becdb306ba61160d598b1ce88" 274 }, 275 "dist": { 276 "type": "zip", 277 "url": "https://api.github.com/repos/symfony/translation/zipball/be83ee6c065cb32becdb306ba61160d598b1ce88", 278 "reference": "be83ee6c065cb32becdb306ba61160d598b1ce88", 279 "shasum": "" 280 }, 281 "require": { 282 "php": "^5.5.9|>=7.0.8", 283 "symfony/polyfill-mbstring": "~1.0" 284 }, 285 "conflict": { 286 "symfony/config": "<2.8", 287 "symfony/dependency-injection": "<3.4", 288 "symfony/yaml": "<3.4" 289 }, 290 "require-dev": { 291 "psr/log": "~1.0", 292 "symfony/config": "~2.8|~3.0|~4.0", 293 "symfony/dependency-injection": "~3.4|~4.0", 294 "symfony/finder": "~2.8|~3.0|~4.0", 295 "symfony/http-kernel": "~3.4|~4.0", 296 "symfony/intl": "^2.8.18|^3.2.5|~4.0", 297 "symfony/var-dumper": "~3.4|~4.0", 298 "symfony/yaml": "~3.4|~4.0" 299 }, 300 "suggest": { 301 "psr/log-implementation": "To use logging capability in translator", 302 "symfony/config": "", 303 "symfony/yaml": "" 304 }, 305 "time": "2020-10-24T10:57:07+00:00", 306 "type": "library", 307 "installation-source": "source", 308 "autoload": { 309 "psr-4": { 310 "Symfony\\Component\\Translation\\": "" 311 }, 312 "exclude-from-classmap": [ 313 "/Tests/" 314 ] 315 }, 316 "notification-url": "https://packagist.org/downloads/", 317 "license": [ 318 "MIT" 319 ], 320 "authors": [ 321 { 322 "name": "Fabien Potencier", 323 "email": "fabien@symfony.com" 324 }, 325 { 326 "name": "Symfony Community", 327 "homepage": "https://symfony.com/contributors" 328 } 329 ], 330 "description": "Symfony Translation Component", 331 "homepage": "https://symfony.com", 332 "funding": [ 333 { 334 "url": "https://symfony.com/sponsor", 335 "type": "custom" 336 }, 337 { 338 "url": "https://github.com/fabpot", 339 "type": "github" 340 }, 341 { 342 "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", 343 "type": "tidelift" 344 } 345 ] 346 } 347 ] 65 ], 66 "dev": true, 67 "dev-package-names": [] 68 } -
cocolis/trunk/vendor/composer/installed.php
r2624127 r2626794 1 1 <?php return array( 2 2 'root' => array( 3 'pretty_version' => '1.0.1 0',4 'version' => '1.0.1 0.0',3 'pretty_version' => '1.0.11', 4 'version' => '1.0.11.0', 5 5 'type' => 'wordpress-plugin', 6 6 'install_path' => __DIR__ . '/../../../', … … 16 16 'type' => 'package', 17 17 'install_path' => __DIR__ . '/../cocolis/php', 18 'aliases' => array( 19 0 => '9999999-dev', 20 ), 18 'aliases' => array(), 21 19 'reference' => '94098bda9003d423ff6cb9ba68e56f383c09fbc0', 22 20 'dev_requirement' => false, 23 21 ), 24 22 'cocolis/woocommerce' => array( 25 'pretty_version' => '1.0.1 0',26 'version' => '1.0.1 0.0',23 'pretty_version' => '1.0.11', 24 'version' => '1.0.11.0', 27 25 'type' => 'wordpress-plugin', 28 26 'install_path' => __DIR__ . '/../../../', … … 31 29 'dev_requirement' => false, 32 30 ), 33 'nesbot/carbon' => array(34 'pretty_version' => 'dev-master',35 'version' => 'dev-master',36 'type' => 'library',37 'install_path' => __DIR__ . '/../nesbot/carbon',38 'aliases' => array(39 0 => '2.x-dev',40 ),41 'reference' => '2d363e8ae89bde9c7625c9ec108cf7aa65921bed',42 'dev_requirement' => false,43 ),44 'symfony/deprecation-contracts' => array(45 'pretty_version' => 'dev-main',46 'version' => 'dev-main',47 'type' => 'library',48 'install_path' => __DIR__ . '/../symfony/deprecation-contracts',49 'aliases' => array(50 0 => '2.5.x-dev',51 ),52 'reference' => '6f981ee24cf69ee7ce9736146d1c57c2780598a8',53 'dev_requirement' => false,54 ),55 'symfony/polyfill-mbstring' => array(56 'pretty_version' => 'dev-main',57 'version' => 'dev-main',58 'type' => 'library',59 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring',60 'aliases' => array(61 0 => '1.23.x-dev',62 ),63 'reference' => '344e456152e22a1bce3048c6c311059ea14bde47',64 'dev_requirement' => false,65 ),66 'symfony/polyfill-php80' => array(67 'pretty_version' => 'dev-main',68 'version' => 'dev-main',69 'type' => 'library',70 'install_path' => __DIR__ . '/../symfony/polyfill-php80',71 'aliases' => array(72 0 => '1.23.x-dev',73 ),74 'reference' => '57b712b08eddb97c762a8caa32c84e037892d2e9',75 'dev_requirement' => false,76 ),77 'symfony/translation' => array(78 'pretty_version' => '5.4.x-dev',79 'version' => '5.4.9999999.9999999-dev',80 'type' => 'library',81 'install_path' => __DIR__ . '/../symfony/translation',82 'aliases' => array(),83 'reference' => '815ec5d1c49358e253bb7160b0584d4f9db9ea5f',84 'dev_requirement' => false,85 ),86 'symfony/translation-contracts' => array(87 'pretty_version' => '2.5.x-dev',88 'version' => '2.5.9999999.9999999-dev',89 'type' => 'library',90 'install_path' => __DIR__ . '/../symfony/translation-contracts',91 'aliases' => array(),92 'reference' => '6e2aa82901f45c38761ba61c1082584ae6f5dbda',93 'dev_requirement' => false,94 ),95 'symfony/translation-implementation' => array(96 'dev_requirement' => false,97 'provided' => array(98 0 => '2.3',99 ),100 ),101 31 ), 102 32 ); -
cocolis/trunk/vendor/composer/platform_check.php
r2624127 r2626794 5 5 $issues = array(); 6 6 7 if (!(PHP_VERSION_ID >= 70205)) {8 $issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.5". You are running ' . PHP_VERSION . '.';7 if (!(PHP_VERSION_ID >= 50300)) { 8 $issues[] = 'Your Composer dependencies require a PHP version ">= 5.3.0". You are running ' . PHP_VERSION . '.'; 9 9 } 10 10 -
cocolis/trunk/wc-cocolis-shipping.php
r2624127 r2626794 7 7 * Author: Cocolis.fr 8 8 * Author URI: https://www.cocolis.fr 9 * Version: 1.0.1 09 * Version: 1.0.11 10 10 * Developer: Alexandre BETTAN, Sebastien FIELOUX 11 11 * Developer URI: https://github.com/btnalexandre, https://github.com/sebfie
Note: See TracChangeset
for help on using the changeset viewer.