20 | *
21 | * @phpstan-import-type Record from \Monolog\Logger
22 | */
23 | interface ProcessableHandlerInterface
24 | {
25 | /**
26 | * Adds a processor in the stack.
27 | *
28 | * @psalm-param ProcessorInterface|callable(Record): Record $callback
29 | *
30 | * @param ProcessorInterface|callable $callback
31 | * @return HandlerInterface self
32 | */
33 | public function pushProcessor(callable $callback): HandlerInterface;
34 |
35 | /**
36 | * Removes the processor on top of the stack and returns it.
37 | *
38 | * @psalm-return ProcessorInterface|callable(Record): Record $callback
39 | *
40 | * @throws \LogicException In case the processor stack is empty
41 | * @return callable|ProcessorInterface
42 | */
43 | public function popProcessor(): callable;
44 | }
45 |
--------------------------------------------------------------------------------
/lib/vendor/monolog/monolog/src/Monolog/Handler/WebRequestRecognizerTrait.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Monolog\Handler;
13 |
14 | trait WebRequestRecognizerTrait
15 | {
16 | /**
17 | * Checks if PHP's serving a web request
18 | * @return bool
19 | */
20 | protected function isWebRequest(): bool
21 | {
22 | return 'cli' !== \PHP_SAPI && 'phpdbg' !== \PHP_SAPI;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/lib/vendor/monolog/monolog/src/Monolog/Processor/HostnameProcessor.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Monolog\Processor;
13 |
14 | /**
15 | * Injects value of gethostname in all records
16 | */
17 | class HostnameProcessor implements ProcessorInterface
18 | {
19 | /** @var string */
20 | private static $host;
21 |
22 | public function __construct()
23 | {
24 | self::$host = (string) gethostname();
25 | }
26 |
27 | /**
28 | * {@inheritDoc}
29 | */
30 | public function __invoke(array $record): array
31 | {
32 | $record['extra']['hostname'] = self::$host;
33 |
34 | return $record;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/lib/vendor/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Monolog\Processor;
13 |
14 | /**
15 | * Injects memory_get_peak_usage in all records
16 | *
17 | * @see Monolog\Processor\MemoryProcessor::__construct() for options
18 | * @author Rob Jensen
19 | */
20 | class MemoryPeakUsageProcessor extends MemoryProcessor
21 | {
22 | /**
23 | * {@inheritDoc}
24 | */
25 | public function __invoke(array $record): array
26 | {
27 | $usage = memory_get_peak_usage($this->realUsage);
28 |
29 | if ($this->useFormatting) {
30 | $usage = $this->formatBytes($usage);
31 | }
32 |
33 | $record['extra']['memory_peak_usage'] = $usage;
34 |
35 | return $record;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/lib/vendor/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Monolog\Processor;
13 |
14 | /**
15 | * Injects memory_get_usage in all records
16 | *
17 | * @see Monolog\Processor\MemoryProcessor::__construct() for options
18 | * @author Rob Jensen
19 | */
20 | class MemoryUsageProcessor extends MemoryProcessor
21 | {
22 | /**
23 | * {@inheritDoc}
24 | */
25 | public function __invoke(array $record): array
26 | {
27 | $usage = memory_get_usage($this->realUsage);
28 |
29 | if ($this->useFormatting) {
30 | $usage = $this->formatBytes($usage);
31 | }
32 |
33 | $record['extra']['memory_usage'] = $usage;
34 |
35 | return $record;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/lib/vendor/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Monolog\Processor;
13 |
14 | /**
15 | * Adds value of getmypid into records
16 | *
17 | * @author Andreas Hörnicke
18 | */
19 | class ProcessIdProcessor implements ProcessorInterface
20 | {
21 | /**
22 | * {@inheritDoc}
23 | */
24 | public function __invoke(array $record): array
25 | {
26 | $record['extra']['process_id'] = getmypid();
27 |
28 | return $record;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/lib/vendor/monolog/monolog/src/Monolog/Processor/ProcessorInterface.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Monolog\Processor;
13 |
14 | /**
15 | * An optional interface to allow labelling Monolog processors.
16 | *
17 | * @author Nicolas Grekas
18 | *
19 | * @phpstan-import-type Record from \Monolog\Logger
20 | */
21 | interface ProcessorInterface
22 | {
23 | /**
24 | * @return array The processed record
25 | *
26 | * @phpstan-param Record $record
27 | * @phpstan-return Record
28 | */
29 | public function __invoke(array $record);
30 | }
31 |
--------------------------------------------------------------------------------
/lib/vendor/monolog/monolog/src/Monolog/Processor/TagProcessor.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Monolog\Processor;
13 |
14 | /**
15 | * Adds a tags array into record
16 | *
17 | * @author Martijn Riemers
18 | */
19 | class TagProcessor implements ProcessorInterface
20 | {
21 | /** @var string[] */
22 | private $tags;
23 |
24 | /**
25 | * @param string[] $tags
26 | */
27 | public function __construct(array $tags = [])
28 | {
29 | $this->setTags($tags);
30 | }
31 |
32 | /**
33 | * @param string[] $tags
34 | */
35 | public function addTags(array $tags = []): self
36 | {
37 | $this->tags = array_merge($this->tags, $tags);
38 |
39 | return $this;
40 | }
41 |
42 | /**
43 | * @param string[] $tags
44 | */
45 | public function setTags(array $tags = []): self
46 | {
47 | $this->tags = $tags;
48 |
49 | return $this;
50 | }
51 |
52 | /**
53 | * {@inheritDoc}
54 | */
55 | public function __invoke(array $record): array
56 | {
57 | $record['extra']['tags'] = $this->tags;
58 |
59 | return $record;
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/lib/vendor/monolog/monolog/src/Monolog/Processor/UidProcessor.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Monolog\Processor;
13 |
14 | use Monolog\ResettableInterface;
15 |
16 | /**
17 | * Adds a unique identifier into records
18 | *
19 | * @author Simon Mönch
20 | */
21 | class UidProcessor implements ProcessorInterface, ResettableInterface
22 | {
23 | /** @var string */
24 | private $uid;
25 |
26 | public function __construct(int $length = 7)
27 | {
28 | if ($length > 32 || $length < 1) {
29 | throw new \InvalidArgumentException('The uid length must be an integer between 1 and 32');
30 | }
31 |
32 | $this->uid = $this->generateUid($length);
33 | }
34 |
35 | /**
36 | * {@inheritDoc}
37 | */
38 | public function __invoke(array $record): array
39 | {
40 | $record['extra']['uid'] = $this->uid;
41 |
42 | return $record;
43 | }
44 |
45 | public function getUid(): string
46 | {
47 | return $this->uid;
48 | }
49 |
50 | public function reset()
51 | {
52 | $this->uid = $this->generateUid(strlen($this->uid));
53 | }
54 |
55 | private function generateUid(int $length): string
56 | {
57 | return substr(bin2hex(random_bytes((int) ceil($length / 2))), 0, $length);
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/lib/vendor/monolog/monolog/src/Monolog/ResettableInterface.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Monolog;
13 |
14 | /**
15 | * Handler or Processor implementing this interface will be reset when Logger::reset() is called.
16 | *
17 | * Resetting ends a log cycle gets them back to their initial state.
18 | *
19 | * Resetting a Handler or a Processor means flushing/cleaning all buffers, resetting internal
20 | * state, and getting it back to a state in which it can receive log records again.
21 | *
22 | * This is useful in case you want to avoid logs leaking between two requests or jobs when you
23 | * have a long running process like a worker or an application server serving multiple requests
24 | * in one process.
25 | *
26 | * @author Grégoire Pineau
27 | */
28 | interface ResettableInterface
29 | {
30 | /**
31 | * @return void
32 | */
33 | public function reset();
34 | }
35 |
--------------------------------------------------------------------------------
/lib/vendor/ovh/ovh/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | vendor
3 | composer.lock
4 | composer.phar
5 | /phpunit.xml
6 | /build.properties
7 | /docs
8 |
--------------------------------------------------------------------------------
/lib/vendor/ovh/ovh/.travis.yml:
--------------------------------------------------------------------------------
1 | addons:
2 | apt:
3 | packages:
4 | - libcurl4-openssl-dev
5 |
6 | language: php
7 | php:
8 | - 7.3
9 | - 7.2
10 | - 7.1
11 | - 7.0
12 | - 5.6
13 |
14 | before_script:
15 | - composer self-update
16 | - composer install
17 |
18 | script: vendor/bin/phing test -Donly.units=true
19 |
--------------------------------------------------------------------------------
/lib/vendor/ovh/ovh/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2013-2017, OVH SAS.
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without
5 | modification, are permitted provided that the following conditions are met:
6 |
7 | * Redistributions of source code must retain the above copyright
8 | notice, this list of conditions and the following disclaimer.
9 | * Redistributions in binary form must reproduce the above copyright
10 | notice, this list of conditions and the following disclaimer in the
11 | documentation and/or other materials provided with the distribution.
12 | * Neither the name of OVH SAS nor the
13 | names of its contributors may be used to endorse or promote products
14 | derived from this software without specific prior written permission.
15 |
16 | THIS SOFTWARE IS PROVIDED BY OVH SAS AND CONTRIBUTORS ``AS IS'' AND ANY
17 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 | DISCLAIMED. IN NO EVENT SHALL OVH SAS AND CONTRIBUTORS BE LIABLE FOR ANY
20 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 |
27 |
--------------------------------------------------------------------------------
/lib/vendor/ovh/ovh/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ovh/ovh",
3 | "description": "Wrapper for OVH APIs",
4 | "license": "BSD-3-Clause",
5 | "require": {
6 | "guzzlehttp/guzzle": "^6.0"
7 | },
8 | "autoload": {
9 | "psr-4": {"Ovh\\": "src/"}
10 | },
11 | "require-dev": {
12 | "phpunit/phpunit": "4.*",
13 | "phpdocumentor/phpdocumentor": "2.*",
14 | "squizlabs/php_codesniffer": "2.*",
15 | "phing/phing": "^2.14"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/lib/vendor/ovh/ovh/examples/README.md:
--------------------------------------------------------------------------------
1 | PHP wrapper examples
2 | --------------------
3 |
4 | In this part, you can find real use cases for the OVH php wrapper
5 |
6 | ## Domains
7 |
8 | Following examples are related to [domains offers](https://www.ovh.ie/domains/) proposed by OVH.
9 |
10 | - [How to create HTTP redirection using php wrapper?](create-Redirection/api_create_redirection.md)
11 |
12 | ## Web hosting
13 |
14 | Following examples are related to [web hosting offers](https://www.ovh.ie/web-hosting/) proposed by OVH.
15 |
16 | - [How to get web hosting capabilities using php wrapper?](hosting-getCapabilities/api_get_hosting_capacities.md)
17 | - [How to attach domains to a web hosting offer using the php wrapper?](hosting-attachedDomain/api_attach_domain_to_web_hosting.md)
18 |
--------------------------------------------------------------------------------
/lib/vendor/ovh/ovh/examples/hosting-attachedDomain/listAttachedDomains.php:
--------------------------------------------------------------------------------
1 | 30,
19 | 'connect_timeout' => 5,
20 | ]);
21 |
22 | // Create a new attached domain
23 | $conn = new Api( $applicationKey,
24 | $applicationSecret,
25 | $endpoint,
26 | $consumer_key,
27 | $http_client);
28 |
29 | try {
30 |
31 | $attachedDomainsIds = $conn->get('/hosting/web/' . $domain . '/attachedDomain');
32 |
33 | foreach( $attachedDomainsIds as $attachedDomainsId) {
34 | $attachedDomain = $conn->get('/hosting/web/' . $domain . '/attachedDomain/' . $attachedDomainsId );
35 | print_r( $attachedDomain );
36 | }
37 |
38 | } catch ( Exception $ex ) {
39 | print_r( $ex->getMessage() );
40 | }
41 | ?>
42 |
--------------------------------------------------------------------------------
/lib/vendor/ovh/ovh/examples/hosting-getCapabilities/apiv6.php:
--------------------------------------------------------------------------------
1 | get('/hosting/web/' . $web_hosting );
22 |
23 | print_r( $conn->get('/hosting/web/offerCapabilities', array( 'offer' => $hosting['offer'] ) ) );
24 |
25 | ?>
26 |
--------------------------------------------------------------------------------
/lib/vendor/ovh/ovh/img/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arawa/divims/dec24208d6f1afb1b2ab2ac84bbd0b24728e9f20/lib/vendor/ovh/ovh/img/logo.png
--------------------------------------------------------------------------------
/lib/vendor/ovh/ovh/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | src
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/lib/vendor/ovh/ovh/scripts/bump-version.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #
3 | # Usage: ./scripts/bump-version.sh
4 | #
5 |
6 | PCRE_MATCH_VERSION="[0-9]+\.[0-9]+\.[0-9]+"
7 | PCRE_MATCH_VERSION_BOUNDS="(^|[- v/'\"])${PCRE_MATCH_VERSION}([- /'\"]|$)"
8 | VERSION="$1"
9 |
10 | if ! echo "$VERSION" | grep -Pq "${PCRE_MATCH_VERSION}"; then
11 | echo "Usage: ./scripts/bump-version.sh "
12 | echo " must be a valid 3 digit version number"
13 | echo " Make sure to double check 'git diff' before commiting anything you'll regret on master"
14 | exit 1
15 | fi
16 |
17 | # Edit text files matching the PCRE, do *not* patch .git folder
18 | grep -PIrl "${PCRE_MATCH_VERSION_BOUNDS}" $(ls) | xargs sed -ir "s/${PCRE_MATCH_VERSION_BOUNDS}/"'\1'"${VERSION}"'\2/g'
19 |
20 |
--------------------------------------------------------------------------------
/lib/vendor/ovh/ovh/scripts/update-copyright.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #
3 | # Usage: ./scripts/update-copyright.sh
4 | #
5 |
6 | PCRE_MATCH_COPYRIGHT="Copyright \(c\) 2013-[0-9]{4}, OVH SAS."
7 | PCRE_MATCH_DEBIAN="Copyright: [-0-9]* OVH SAS"
8 | YEAR=$(date +%Y)
9 |
10 | echo -n "Updating copyright headers to ${YEAR}... "
11 | grep -rPl "${PCRE_MATCH_COPYRIGHT}" | xargs sed -ri "s/${PCRE_MATCH_COPYRIGHT}/Copyright (c) 2013-${YEAR}, OVH SAS./g"
12 | grep -rPl "${PCRE_MATCH_DEBIAN}" | xargs sed -ri "s/${PCRE_MATCH_DEBIAN}/Copyright: 2013-${YEAR} OVH SAS/g"
13 | echo "[OK]"
14 |
15 |
--------------------------------------------------------------------------------
/lib/vendor/ovh/ovh/tests/bootstrap.php:
--------------------------------------------------------------------------------
1 | =5.3.0"
15 | },
16 | "autoload": {
17 | "psr-4": {
18 | "Psr\\Http\\Message\\": "src/"
19 | }
20 | },
21 | "extra": {
22 | "branch-alias": {
23 | "dev-master": "1.0.x-dev"
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/lib/vendor/psr/log/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 PHP Framework Interoperability Group
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/lib/vendor/psr/log/Psr/Log/InvalidArgumentException.php:
--------------------------------------------------------------------------------
1 | logger = $logger;
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/lib/vendor/psr/log/Psr/Log/NullLogger.php:
--------------------------------------------------------------------------------
1 | logger) { }`
11 | * blocks.
12 | */
13 | class NullLogger extends AbstractLogger
14 | {
15 | /**
16 | * Logs with an arbitrary level.
17 | *
18 | * @param mixed $level
19 | * @param string $message
20 | * @param array $context
21 | *
22 | * @return void
23 | *
24 | * @throws \Psr\Log\InvalidArgumentException
25 | */
26 | public function log($level, $message, array $context = array())
27 | {
28 | // noop
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/lib/vendor/psr/log/Psr/Log/Test/DummyTest.php:
--------------------------------------------------------------------------------
1 | logger = $logger;
34 | }
35 |
36 | public function doSomething()
37 | {
38 | if ($this->logger) {
39 | $this->logger->info('Doing work');
40 | }
41 |
42 | try {
43 | $this->doSomethingElse();
44 | } catch (Exception $exception) {
45 | $this->logger->error('Oh no!', array('exception' => $exception));
46 | }
47 |
48 | // do something useful
49 | }
50 | }
51 | ```
52 |
53 | You can then pick one of the implementations of the interface to get a logger.
54 |
55 | If you want to implement the interface, you can require this package and
56 | implement `Psr\Log\LoggerInterface` in your code. Please read the
57 | [specification text](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md)
58 | for details.
59 |
--------------------------------------------------------------------------------
/lib/vendor/psr/log/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "psr/log",
3 | "description": "Common interface for logging libraries",
4 | "keywords": ["psr", "psr-3", "log"],
5 | "homepage": "https://github.com/php-fig/log",
6 | "license": "MIT",
7 | "authors": [
8 | {
9 | "name": "PHP-FIG",
10 | "homepage": "https://www.php-fig.org/"
11 | }
12 | ],
13 | "require": {
14 | "php": ">=5.3.0"
15 | },
16 | "autoload": {
17 | "psr-4": {
18 | "Psr\\Log\\": "Psr/Log/"
19 | }
20 | },
21 | "extra": {
22 | "branch-alias": {
23 | "dev-master": "1.1.x-dev"
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/lib/vendor/ralouphie/getallheaders/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014 Ralph Khattar
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/lib/vendor/ralouphie/getallheaders/README.md:
--------------------------------------------------------------------------------
1 | getallheaders
2 | =============
3 |
4 | PHP `getallheaders()` polyfill. Compatible with PHP >= 5.3.
5 |
6 | [](https://travis-ci.org/ralouphie/getallheaders)
7 | [](https://coveralls.io/r/ralouphie/getallheaders?branch=master)
8 | [](https://packagist.org/packages/ralouphie/getallheaders)
9 | [](https://packagist.org/packages/ralouphie/getallheaders)
10 | [](https://packagist.org/packages/ralouphie/getallheaders)
11 |
12 |
13 | This is a simple polyfill for [`getallheaders()`](http://www.php.net/manual/en/function.getallheaders.php).
14 |
15 | ## Install
16 |
17 | For PHP version **`>= 5.6`**:
18 |
19 | ```
20 | composer require ralouphie/getallheaders
21 | ```
22 |
23 | For PHP version **`< 5.6`**:
24 |
25 | ```
26 | composer require ralouphie/getallheaders "^2"
27 | ```
28 |
--------------------------------------------------------------------------------
/lib/vendor/ralouphie/getallheaders/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ralouphie/getallheaders",
3 | "description": "A polyfill for getallheaders.",
4 | "license": "MIT",
5 | "authors": [
6 | {
7 | "name": "Ralph Khattar",
8 | "email": "ralph.khattar@gmail.com"
9 | }
10 | ],
11 | "require": {
12 | "php": ">=5.6"
13 | },
14 | "require-dev": {
15 | "phpunit/phpunit": "^5 || ^6.5",
16 | "php-coveralls/php-coveralls": "^2.1"
17 | },
18 | "autoload": {
19 | "files": ["src/getallheaders.php"]
20 | },
21 | "autoload-dev": {
22 | "psr-4": {
23 | "getallheaders\\Tests\\": "tests/"
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/lib/vendor/ralouphie/getallheaders/src/getallheaders.php:
--------------------------------------------------------------------------------
1 | 'Content-Type',
16 | 'CONTENT_LENGTH' => 'Content-Length',
17 | 'CONTENT_MD5' => 'Content-Md5',
18 | );
19 |
20 | foreach ($_SERVER as $key => $value) {
21 | if (substr($key, 0, 5) === 'HTTP_') {
22 | $key = substr($key, 5);
23 | if (!isset($copy_server[$key]) || !isset($_SERVER[$key])) {
24 | $key = str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', $key))));
25 | $headers[$key] = $value;
26 | }
27 | } elseif (isset($copy_server[$key])) {
28 | $headers[$copy_server[$key]] = $value;
29 | }
30 | }
31 |
32 | if (!isset($headers['Authorization'])) {
33 | if (isset($_SERVER['REDIRECT_HTTP_AUTHORIZATION'])) {
34 | $headers['Authorization'] = $_SERVER['REDIRECT_HTTP_AUTHORIZATION'];
35 | } elseif (isset($_SERVER['PHP_AUTH_USER'])) {
36 | $basic_pass = isset($_SERVER['PHP_AUTH_PW']) ? $_SERVER['PHP_AUTH_PW'] : '';
37 | $headers['Authorization'] = 'Basic ' . base64_encode($_SERVER['PHP_AUTH_USER'] . ':' . $basic_pass);
38 | } elseif (isset($_SERVER['PHP_AUTH_DIGEST'])) {
39 | $headers['Authorization'] = $_SERVER['PHP_AUTH_DIGEST'];
40 | }
41 | }
42 |
43 | return $headers;
44 | }
45 |
46 | }
47 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/uri/.gitattributes:
--------------------------------------------------------------------------------
1 | /tests export-ignore
2 | /.travis.yml export-ignore
3 | /CHANGELOG.md export-ignore
4 | /README.md export-ignore
5 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/uri/.gitignore:
--------------------------------------------------------------------------------
1 | # Composer
2 | vendor/
3 | composer.lock
4 |
5 | # Tests
6 | tests/cov/
7 | tests/.phpunit.result.cache
8 | .php_cs.cache
9 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/uri/.php_cs.dist:
--------------------------------------------------------------------------------
1 | getFinder()
5 | ->exclude('vendor')
6 | ->in(__DIR__);
7 | $config->setRules([
8 | '@PSR1' => true,
9 | '@Symfony' => true
10 | ]);
11 |
12 | return $config;
--------------------------------------------------------------------------------
/lib/vendor/sabre/uri/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (C) 2014-2019 fruux GmbH (https://fruux.com/)
2 |
3 | All rights reserved.
4 |
5 | Redistribution and use in source and binary forms, with or without modification,
6 | are permitted provided that the following conditions are met:
7 |
8 | * Redistributions of source code must retain the above copyright notice,
9 | this list of conditions and the following disclaimer.
10 | * Redistributions in binary form must reproduce the above copyright notice,
11 | this list of conditions and the following disclaimer in the documentation
12 | and/or other materials provided with the distribution.
13 | * Neither the name Sabre nor the names of its contributors
14 | may be used to endorse or promote products derived from this software
15 | without specific prior written permission.
16 |
17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 | POSSIBILITY OF SUCH DAMAGE.
28 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/uri/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "sabre/uri",
3 | "description": "Functions for making sense out of URIs.",
4 | "keywords": [
5 | "URI",
6 | "URL",
7 | "rfc3986"
8 | ],
9 | "homepage": "http://sabre.io/uri/",
10 | "license": "BSD-3-Clause",
11 | "require": {
12 | "php": "^7.1 || ^8.0"
13 | },
14 | "authors": [
15 | {
16 | "name": "Evert Pot",
17 | "email": "me@evertpot.com",
18 | "homepage": "http://evertpot.com/",
19 | "role": "Developer"
20 | }
21 | ],
22 | "support": {
23 | "forum": "https://groups.google.com/group/sabredav-discuss",
24 | "source": "https://github.com/fruux/sabre-uri"
25 | },
26 | "autoload": {
27 | "files" : [
28 | "lib/functions.php"
29 | ],
30 | "psr-4" : {
31 | "Sabre\\Uri\\" : "lib/"
32 | }
33 | },
34 | "autoload-dev": {
35 | "psr-4": {
36 | "Sabre\\Uri\\": "tests/Uri"
37 | }
38 | },
39 | "require-dev": {
40 | "friendsofphp/php-cs-fixer": "~2.17.1",
41 | "phpstan/phpstan": "^0.12",
42 | "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.0"
43 | },
44 | "scripts": {
45 | "phpstan": [
46 | "phpstan analyse lib tests"
47 | ],
48 | "cs-fixer": [
49 | "php-cs-fixer fix"
50 | ],
51 | "phpunit": [
52 | "phpunit --configuration tests/phpunit.xml"
53 | ],
54 | "test": [
55 | "composer phpstan",
56 | "composer cs-fixer",
57 | "composer phpunit"
58 | ]
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/uri/lib/InvalidUriException.php:
--------------------------------------------------------------------------------
1 | parse->start();
21 |
22 | $vcal = Sabre\VObject\Reader::read(fopen($inputFile, 'r'));
23 |
24 | $bench->parse->stop();
25 |
26 | $repeat = 100;
27 | $start = new \DateTime('2000-01-01');
28 | $end = new \DateTime('2020-01-01');
29 | $timeZone = new \DateTimeZone('America/Toronto');
30 |
31 | $bench->fb->start();
32 |
33 | for ($i = 0; $i < $repeat; ++$i) {
34 | $fb = new Sabre\VObject\FreeBusyGenerator($start, $end, $vcal, $timeZone);
35 | $results = $fb->getResult();
36 | }
37 | $bench->fb->stop();
38 |
39 | echo $bench,"\n";
40 |
41 | function formatMemory($input)
42 | {
43 | if (strlen($input) > 6) {
44 | return round($input / (1024 * 1024)).'M';
45 | } elseif (strlen($input) > 3) {
46 | return round($input / 1024).'K';
47 | }
48 | }
49 |
50 | unset($input, $splitter);
51 |
52 | echo 'peak memory usage: '.formatMemory(memory_get_peak_usage()), "\n";
53 | echo 'current memory usage: '.formatMemory(memory_get_usage()), "\n";
54 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/vobject/bin/bench_manipulatevcard.php:
--------------------------------------------------------------------------------
1 | parse->start();
26 | $vcard = $splitter->getNext();
27 | $bench->parse->pause();
28 |
29 | if (!$vcard) {
30 | break;
31 | }
32 |
33 | $bench->manipulate->start();
34 | $vcard->{'X-FOO'} = 'Random new value!';
35 | $emails = [];
36 | if (isset($vcard->EMAIL)) {
37 | foreach ($vcard->EMAIL as $email) {
38 | $emails[] = (string) $email;
39 | }
40 | }
41 | $bench->manipulate->pause();
42 |
43 | $bench->serialize->start();
44 | $vcard2 = $vcard->serialize();
45 | $bench->serialize->pause();
46 |
47 | $vcard->destroy();
48 | }
49 |
50 | echo $bench,"\n";
51 |
52 | function formatMemory($input)
53 | {
54 | if (strlen($input) > 6) {
55 | return round($input / (1024 * 1024)).'M';
56 | } elseif (strlen($input) > 3) {
57 | return round($input / 1024).'K';
58 | }
59 | }
60 |
61 | unset($input, $splitter);
62 |
63 | echo 'peak memory usage: '.formatMemory(memory_get_peak_usage()), "\n";
64 | echo 'current memory usage: '.formatMemory(memory_get_usage()), "\n";
65 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/vobject/bin/fetch_windows_zones.php:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env php
2 | xpath('//mapZone') as $mapZone) {
15 | $from = (string) $mapZone['other'];
16 | $to = (string) $mapZone['type'];
17 |
18 | list($to) = explode(' ', $to, 2);
19 |
20 | if (!isset($map[$from])) {
21 | $map[$from] = $to;
22 | }
23 | }
24 |
25 | ksort($map);
26 | echo "Writing to: $outputFile\n";
27 |
28 | $f = fopen($outputFile, 'w');
29 | fwrite($f, "parse->start();
19 |
20 | echo "Parsing.\n";
21 | $vobj = Sabre\VObject\Reader::read(fopen($inputFile, 'r'));
22 |
23 | $bench->parse->stop();
24 |
25 | echo "Expanding.\n";
26 | $bench->expand->start();
27 |
28 | $vobj->expand(new DateTime($startDate), new DateTime($endDate));
29 |
30 | $bench->expand->stop();
31 |
32 | echo $bench,"\n";
33 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/vobject/bin/vobject:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env php
2 | main($argv));
27 |
28 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/vobject/lib/ElementList.php:
--------------------------------------------------------------------------------
1 | vevent where there's multiple VEVENT objects.
13 | *
14 | * @copyright Copyright (C) fruux GmbH (https://fruux.com/)
15 | * @author Evert Pot (http://evertpot.com/)
16 | * @license http://sabre.io/license/ Modified BSD License
17 | */
18 | class ElementList extends ArrayIterator
19 | {
20 | /* {{{ ArrayAccess Interface */
21 |
22 | /**
23 | * Sets an item through ArrayAccess.
24 | *
25 | * @param int $offset
26 | * @param mixed $value
27 | */
28 | #[\ReturnTypeWillChange]
29 | public function offsetSet($offset, $value)
30 | {
31 | throw new LogicException('You can not add new objects to an ElementList');
32 | }
33 |
34 | /**
35 | * Sets an item through ArrayAccess.
36 | *
37 | * This method just forwards the request to the inner iterator
38 | *
39 | * @param int $offset
40 | */
41 | #[\ReturnTypeWillChange]
42 | public function offsetUnset($offset)
43 | {
44 | throw new LogicException('You can not remove objects from an ElementList');
45 | }
46 |
47 | /* }}} */
48 | }
49 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/vobject/lib/EofException.php:
--------------------------------------------------------------------------------
1 | setValue($val);
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php:
--------------------------------------------------------------------------------
1 | getValue();
52 | if (!strpos($input, ':')) {
53 | return $input;
54 | }
55 | list($schema, $everythingElse) = explode(':', $input, 2);
56 |
57 | return strtolower($schema).':'.$everythingElse;
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/vobject/lib/Property/ICalendar/Date.php:
--------------------------------------------------------------------------------
1 | getRawMimeDirValue()];
27 | }
28 |
29 | /**
30 | * Returns the type of value.
31 | *
32 | * This corresponds to the VALUE= parameter. Every property also has a
33 | * 'default' valueType.
34 | *
35 | * @return string
36 | */
37 | public function getValueType()
38 | {
39 | return 'UNKNOWN';
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/vobject/lib/Property/VCard/Date.php:
--------------------------------------------------------------------------------
1 | value = $dt->format('Ymd');
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/vobject/lib/Property/VCard/DateTime.php:
--------------------------------------------------------------------------------
1 | setValue($val);
29 | }
30 |
31 | /**
32 | * Returns a raw mime-dir representation of the value.
33 | *
34 | * @return string
35 | */
36 | public function getRawMimeDirValue()
37 | {
38 | return $this->getValue();
39 | }
40 |
41 | /**
42 | * Returns the type of value.
43 | *
44 | * This corresponds to the VALUE= parameter. Every property also has a
45 | * 'default' valueType.
46 | *
47 | * @return string
48 | */
49 | public function getValueType()
50 | {
51 | return 'LANGUAGE-TAG';
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/vobject/lib/Property/VCard/PhoneNumber.php:
--------------------------------------------------------------------------------
1 |
13 | */
14 | class PhoneNumber extends Property\Text
15 | {
16 | protected $structuredValues = [];
17 |
18 | /**
19 | * Returns the type of value.
20 | *
21 | * This corresponds to the VALUE= parameter. Every property also has a
22 | * 'default' valueType.
23 | *
24 | * @return string
25 | */
26 | public function getValueType()
27 | {
28 | return 'PHONE-NUMBER';
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/vobject/lib/Recur/MaxInstancesExceededException.php:
--------------------------------------------------------------------------------
1 | {'X-LIC-LOCATION'})) {
19 | return null;
20 | }
21 |
22 | $lic = (string) $vtimezone->{'X-LIC-LOCATION'};
23 |
24 | // Libical generators may specify strings like
25 | // "SystemV/EST5EDT". For those we must remove the
26 | // SystemV part.
27 | if ('SystemV/' === substr($lic, 0, 8)) {
28 | $lic = substr($lic, 8);
29 | }
30 |
31 | return TimeZoneUtil::getTimeZone($lic, null, $failIfUncertain);
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/vobject/lib/TimezoneGuesser/TimezoneFinder.php:
--------------------------------------------------------------------------------
1 | 'America/Chicago',
19 | 'Cuba' => 'America/Havana',
20 | 'Egypt' => 'Africa/Cairo',
21 | 'Eire' => 'Europe/Dublin',
22 | 'EST5EDT' => 'America/New_York',
23 | 'Factory' => 'UTC',
24 | 'GB-Eire' => 'Europe/London',
25 | 'GMT0' => 'UTC',
26 | 'Greenwich' => 'UTC',
27 | 'Hongkong' => 'Asia/Hong_Kong',
28 | 'Iceland' => 'Atlantic/Reykjavik',
29 | 'Iran' => 'Asia/Tehran',
30 | 'Israel' => 'Asia/Jerusalem',
31 | 'Jamaica' => 'America/Jamaica',
32 | 'Japan' => 'Asia/Tokyo',
33 | 'Kwajalein' => 'Pacific/Kwajalein',
34 | 'Libya' => 'Africa/Tripoli',
35 | 'MST7MDT' => 'America/Denver',
36 | 'Navajo' => 'America/Denver',
37 | 'NZ-CHAT' => 'Pacific/Chatham',
38 | 'Poland' => 'Europe/Warsaw',
39 | 'Portugal' => 'Europe/Lisbon',
40 | 'PST8PDT' => 'America/Los_Angeles',
41 | 'Singapore' => 'Asia/Singapore',
42 | 'Turkey' => 'Europe/Istanbul',
43 | 'Universal' => 'UTC',
44 | 'W-SU' => 'Europe/Moscow',
45 | 'Zulu' => 'UTC',
46 | ];
47 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/xml/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (C) 2009-2015 fruux GmbH (https://fruux.com/)
2 |
3 | All rights reserved.
4 |
5 | Redistribution and use in source and binary forms, with or without modification,
6 | are permitted provided that the following conditions are met:
7 |
8 | * Redistributions of source code must retain the above copyright notice,
9 | this list of conditions and the following disclaimer.
10 | * Redistributions in binary form must reproduce the above copyright notice,
11 | this list of conditions and the following disclaimer in the documentation
12 | and/or other materials provided with the distribution.
13 | * Neither the name Sabre nor the names of its contributors
14 | may be used to endorse or promote products derived from this software
15 | without specific prior written permission.
16 |
17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 | POSSIBILITY OF SUCH DAMAGE.
28 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/xml/README.md:
--------------------------------------------------------------------------------
1 | sabre/xml
2 | =========
3 |
4 | [](http://travis-ci.org/sabre-io/xml)
5 |
6 | The sabre/xml library is a specialized XML reader and writer.
7 |
8 | Documentation
9 | -------------
10 |
11 | * [Introduction](http://sabre.io/xml/).
12 | * [Installation](http://sabre.io/xml/install/).
13 | * [Reading XML](http://sabre.io/xml/reading/).
14 | * [Writing XML](http://sabre.io/xml/writing/).
15 |
16 |
17 | Support
18 | -------
19 |
20 | Head over to the [SabreDAV mailing list](http://groups.google.com/group/sabredav-discuss) for any questions.
21 |
22 | Made at fruux
23 | -------------
24 |
25 | This library is being developed by [fruux](https://fruux.com/). Drop us a line for commercial services or enterprise support.
26 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/xml/bin/.empty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arawa/divims/dec24208d6f1afb1b2ab2ac84bbd0b24728e9f20/lib/vendor/sabre/xml/bin/.empty
--------------------------------------------------------------------------------
/lib/vendor/sabre/xml/lib/Element.php:
--------------------------------------------------------------------------------
1 | value = $value;
37 | }
38 |
39 | /**
40 | * The xmlSerialize method is called during xml writing.
41 | *
42 | * Use the $writer argument to write its own xml serialization.
43 | *
44 | * An important note: do _not_ create a parent element. Any element
45 | * implementing XmlSerializable should only ever write what's considered
46 | * its 'inner xml'.
47 | *
48 | * The parent of the current element is responsible for writing a
49 | * containing element.
50 | *
51 | * This allows serializers to be re-used for different element names.
52 | *
53 | * If you are opening new elements, you must also close them again.
54 | */
55 | public function xmlSerialize(Xml\Writer $writer)
56 | {
57 | $writer->writeCData($this->value);
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/xml/lib/LibXMLException.php:
--------------------------------------------------------------------------------
1 | errors = $errors;
39 | parent::__construct($errors[0]->message.' on line '.$errors[0]->line.', column '.$errors[0]->column, $code, $previousException);
40 | }
41 |
42 | /**
43 | * Returns the LibXML errors.
44 | */
45 | public function getErrors(): array
46 | {
47 | return $this->errors;
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/xml/lib/ParseException.php:
--------------------------------------------------------------------------------
1 | next();
31 | *
32 | * $reader->parseInnerTree() will parse the entire sub-tree, and advance to
33 | * the next element.
34 | *
35 | * @return mixed
36 | */
37 | public static function xmlDeserialize(Reader $reader);
38 | }
39 |
--------------------------------------------------------------------------------
/lib/vendor/sabre/xml/lib/XmlSerializable.php:
--------------------------------------------------------------------------------
1 | and Trevor Rowbotham
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Symfony\Polyfill\Intl\Idn;
13 |
14 | /**
15 | * @internal
16 | */
17 | class Info
18 | {
19 | public $bidiDomain = false;
20 | public $errors = 0;
21 | public $validBidiDomain = true;
22 | public $transitionalDifferent = false;
23 | }
24 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-intl-idn/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2018-2019 Fabien Potencier and Trevor Rowbotham
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is furnished
8 | to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-intl-idn/README.md:
--------------------------------------------------------------------------------
1 | Symfony Polyfill / Intl: Idn
2 | ============================
3 |
4 | This component provides [`idn_to_ascii`](https://php.net/idn-to-ascii) and [`idn_to_utf8`](https://php.net/idn-to-utf8) functions to users who run php versions without the [Intl](https://php.net/intl) extension.
5 |
6 | More information can be found in the
7 | [main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
8 |
9 | License
10 | =======
11 |
12 | This library is released under the [MIT license](LICENSE).
13 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-intl-idn/Resources/unidata/deviation.php:
--------------------------------------------------------------------------------
1 | 'ss',
5 | 962 => 'σ',
6 | 8204 => '',
7 | 8205 => '',
8 | );
9 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-intl-idn/Resources/unidata/disallowed_STD3_valid.php:
--------------------------------------------------------------------------------
1 | true,
5 | 1 => true,
6 | 2 => true,
7 | 3 => true,
8 | 4 => true,
9 | 5 => true,
10 | 6 => true,
11 | 7 => true,
12 | 8 => true,
13 | 9 => true,
14 | 10 => true,
15 | 11 => true,
16 | 12 => true,
17 | 13 => true,
18 | 14 => true,
19 | 15 => true,
20 | 16 => true,
21 | 17 => true,
22 | 18 => true,
23 | 19 => true,
24 | 20 => true,
25 | 21 => true,
26 | 22 => true,
27 | 23 => true,
28 | 24 => true,
29 | 25 => true,
30 | 26 => true,
31 | 27 => true,
32 | 28 => true,
33 | 29 => true,
34 | 30 => true,
35 | 31 => true,
36 | 32 => true,
37 | 33 => true,
38 | 34 => true,
39 | 35 => true,
40 | 36 => true,
41 | 37 => true,
42 | 38 => true,
43 | 39 => true,
44 | 40 => true,
45 | 41 => true,
46 | 42 => true,
47 | 43 => true,
48 | 44 => true,
49 | 47 => true,
50 | 58 => true,
51 | 59 => true,
52 | 60 => true,
53 | 61 => true,
54 | 62 => true,
55 | 63 => true,
56 | 64 => true,
57 | 91 => true,
58 | 92 => true,
59 | 93 => true,
60 | 94 => true,
61 | 95 => true,
62 | 96 => true,
63 | 123 => true,
64 | 124 => true,
65 | 125 => true,
66 | 126 => true,
67 | 127 => true,
68 | 8800 => true,
69 | 8814 => true,
70 | 8815 => true,
71 | );
72 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-intl-idn/Resources/unidata/virama.php:
--------------------------------------------------------------------------------
1 | 9,
5 | 2509 => 9,
6 | 2637 => 9,
7 | 2765 => 9,
8 | 2893 => 9,
9 | 3021 => 9,
10 | 3149 => 9,
11 | 3277 => 9,
12 | 3387 => 9,
13 | 3388 => 9,
14 | 3405 => 9,
15 | 3530 => 9,
16 | 3642 => 9,
17 | 3770 => 9,
18 | 3972 => 9,
19 | 4153 => 9,
20 | 4154 => 9,
21 | 5908 => 9,
22 | 5940 => 9,
23 | 6098 => 9,
24 | 6752 => 9,
25 | 6980 => 9,
26 | 7082 => 9,
27 | 7083 => 9,
28 | 7154 => 9,
29 | 7155 => 9,
30 | 11647 => 9,
31 | 43014 => 9,
32 | 43052 => 9,
33 | 43204 => 9,
34 | 43347 => 9,
35 | 43456 => 9,
36 | 43766 => 9,
37 | 44013 => 9,
38 | 68159 => 9,
39 | 69702 => 9,
40 | 69759 => 9,
41 | 69817 => 9,
42 | 69939 => 9,
43 | 69940 => 9,
44 | 70080 => 9,
45 | 70197 => 9,
46 | 70378 => 9,
47 | 70477 => 9,
48 | 70722 => 9,
49 | 70850 => 9,
50 | 71103 => 9,
51 | 71231 => 9,
52 | 71350 => 9,
53 | 71467 => 9,
54 | 71737 => 9,
55 | 71997 => 9,
56 | 71998 => 9,
57 | 72160 => 9,
58 | 72244 => 9,
59 | 72263 => 9,
60 | 72345 => 9,
61 | 72767 => 9,
62 | 73028 => 9,
63 | 73029 => 9,
64 | 73111 => 9,
65 | );
66 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-intl-idn/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "symfony/polyfill-intl-idn",
3 | "type": "library",
4 | "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions",
5 | "keywords": ["polyfill", "shim", "compatibility", "portable", "intl", "idn"],
6 | "homepage": "https://symfony.com",
7 | "license": "MIT",
8 | "authors": [
9 | {
10 | "name": "Laurent Bassin",
11 | "email": "laurent@bassin.info"
12 | },
13 | {
14 | "name": "Trevor Rowbotham",
15 | "email": "trevor.rowbotham@pm.me"
16 | },
17 | {
18 | "name": "Symfony Community",
19 | "homepage": "https://symfony.com/contributors"
20 | }
21 | ],
22 | "require": {
23 | "php": ">=7.1",
24 | "symfony/polyfill-intl-normalizer": "^1.10",
25 | "symfony/polyfill-php72": "^1.10"
26 | },
27 | "autoload": {
28 | "psr-4": { "Symfony\\Polyfill\\Intl\\Idn\\": "" },
29 | "files": [ "bootstrap.php" ]
30 | },
31 | "suggest": {
32 | "ext-intl": "For best performance"
33 | },
34 | "minimum-stability": "dev",
35 | "extra": {
36 | "branch-alias": {
37 | "dev-main": "1.23-dev"
38 | },
39 | "thanks": {
40 | "name": "symfony/polyfill",
41 | "url": "https://github.com/symfony/polyfill"
42 | }
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-intl-normalizer/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2015-2019 Fabien Potencier
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is furnished
8 | to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-intl-normalizer/README.md:
--------------------------------------------------------------------------------
1 | Symfony Polyfill / Intl: Normalizer
2 | ===================================
3 |
4 | This component provides a fallback implementation for the
5 | [`Normalizer`](https://php.net/Normalizer) class provided
6 | by the [Intl](https://php.net/intl) extension.
7 |
8 | More information can be found in the
9 | [main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
10 |
11 | License
12 | =======
13 |
14 | This library is released under the [MIT license](LICENSE).
15 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | use Symfony\Polyfill\Intl\Normalizer as p;
13 |
14 | if (\PHP_VERSION_ID >= 80000) {
15 | return require __DIR__.'/bootstrap80.php';
16 | }
17 |
18 | if (!function_exists('normalizer_is_normalized')) {
19 | function normalizer_is_normalized($string, $form = p\Normalizer::FORM_C) { return p\Normalizer::isNormalized($string, $form); }
20 | }
21 | if (!function_exists('normalizer_normalize')) {
22 | function normalizer_normalize($string, $form = p\Normalizer::FORM_C) { return p\Normalizer::normalize($string, $form); }
23 | }
24 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | use Symfony\Polyfill\Intl\Normalizer as p;
13 |
14 | if (!function_exists('normalizer_is_normalized')) {
15 | function normalizer_is_normalized(?string $string, ?int $form = p\Normalizer::FORM_C): bool { return p\Normalizer::isNormalized((string) $string, (int) $form); }
16 | }
17 | if (!function_exists('normalizer_normalize')) {
18 | function normalizer_normalize(?string $string, ?int $form = p\Normalizer::FORM_C): string|false { return p\Normalizer::normalize((string) $string, (int) $form); }
19 | }
20 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-intl-normalizer/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "symfony/polyfill-intl-normalizer",
3 | "type": "library",
4 | "description": "Symfony polyfill for intl's Normalizer class and related functions",
5 | "keywords": ["polyfill", "shim", "compatibility", "portable", "intl", "normalizer"],
6 | "homepage": "https://symfony.com",
7 | "license": "MIT",
8 | "authors": [
9 | {
10 | "name": "Nicolas Grekas",
11 | "email": "p@tchwork.com"
12 | },
13 | {
14 | "name": "Symfony Community",
15 | "homepage": "https://symfony.com/contributors"
16 | }
17 | ],
18 | "require": {
19 | "php": ">=7.1"
20 | },
21 | "autoload": {
22 | "psr-4": { "Symfony\\Polyfill\\Intl\\Normalizer\\": "" },
23 | "files": [ "bootstrap.php" ],
24 | "classmap": [ "Resources/stubs" ]
25 | },
26 | "suggest": {
27 | "ext-intl": "For best performance"
28 | },
29 | "minimum-stability": "dev",
30 | "extra": {
31 | "branch-alias": {
32 | "dev-main": "1.23-dev"
33 | },
34 | "thanks": {
35 | "name": "symfony/polyfill",
36 | "url": "https://github.com/symfony/polyfill"
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-php72/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2015-2019 Fabien Potencier
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is furnished
8 | to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-php72/README.md:
--------------------------------------------------------------------------------
1 | Symfony Polyfill / Php72
2 | ========================
3 |
4 | This component provides functions added to PHP 7.2 core:
5 |
6 | - [`spl_object_id`](https://php.net/spl_object_id)
7 | - [`stream_isatty`](https://php.net/stream_isatty)
8 |
9 | On Windows only:
10 |
11 | - [`sapi_windows_vt100_support`](https://php.net/sapi_windows_vt100_support)
12 |
13 | Moved to core since 7.2 (was in the optional XML extension earlier):
14 |
15 | - [`utf8_encode`](https://php.net/utf8_encode)
16 | - [`utf8_decode`](https://php.net/utf8_decode)
17 |
18 | Also, it provides constants added to PHP 7.2:
19 | - [`PHP_FLOAT_*`](https://php.net/reserved.constants#constant.php-float-dig)
20 | - [`PHP_OS_FAMILY`](https://php.net/reserved.constants#constant.php-os-family)
21 |
22 | More information can be found in the
23 | [main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
24 |
25 | License
26 | =======
27 |
28 | This library is released under the [MIT license](LICENSE).
29 |
--------------------------------------------------------------------------------
/lib/vendor/symfony/polyfill-php72/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "symfony/polyfill-php72",
3 | "type": "library",
4 | "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",
5 | "keywords": ["polyfill", "shim", "compatibility", "portable"],
6 | "homepage": "https://symfony.com",
7 | "license": "MIT",
8 | "authors": [
9 | {
10 | "name": "Nicolas Grekas",
11 | "email": "p@tchwork.com"
12 | },
13 | {
14 | "name": "Symfony Community",
15 | "homepage": "https://symfony.com/contributors"
16 | }
17 | ],
18 | "require": {
19 | "php": ">=7.1"
20 | },
21 | "autoload": {
22 | "psr-4": { "Symfony\\Polyfill\\Php72\\": "" },
23 | "files": [ "bootstrap.php" ]
24 | },
25 | "minimum-stability": "dev",
26 | "extra": {
27 | "branch-alias": {
28 | "dev-main": "1.23-dev"
29 | },
30 | "thanks": {
31 | "name": "symfony/polyfill",
32 | "url": "https://github.com/symfony/polyfill"
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/log/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arawa/divims/dec24208d6f1afb1b2ab2ac84bbd0b24728e9f20/log/.gitkeep
--------------------------------------------------------------------------------
/msmtprc.template:
--------------------------------------------------------------------------------
1 | account default
2 | host mail.example.com
3 | port 465
4 | tls on
5 | tls_starttls on
6 | tls_trust_file /etc/ssl/certs/ca-certificates.crt
7 | tls_certcheck on
8 | auth on
9 | user user@example.com
10 | password "mysuperpassword"
11 | from "user@example.com"
12 | logfile /app/tmp/msmtp.log
--------------------------------------------------------------------------------
/run/init.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------