Skip to content

Commit

Permalink
Add mexitek/phpcolors
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Apr 26, 2022
1 parent 6176112 commit 04b80d6
Show file tree
Hide file tree
Showing 25 changed files with 1,728 additions and 12 deletions.
5 changes: 0 additions & 5 deletions autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

// autoload.php @generated by Composer

if (PHP_VERSION_ID < 50600) {
echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
exit(1);
}

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit2f23f73bc0cc116b4b1eee1521aa8652::getLoader();
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"guzzlehttp/guzzle": "^7.4.0",
"icewind/searchdav": "^3.0",
"icewind/streams": "v0.7.5",
"mexitek/phpcolors": "^1.0",
"microsoft/azure-storage-blob": "^1.5",
"nextcloud/lognormalizer": "^1.0",
"nikic/php-parser": "^4.2",
Expand Down
57 changes: 55 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions composer/autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -1544,6 +1544,7 @@
'League\\Uri\\UriTemplate\\Template' => $vendorDir . '/league/uri/src/UriTemplate/Template.php',
'League\\Uri\\UriTemplate\\VarSpecifier' => $vendorDir . '/league/uri/src/UriTemplate/VarSpecifier.php',
'League\\Uri\\UriTemplate\\VariableBag' => $vendorDir . '/league/uri/src/UriTemplate/VariableBag.php',
'Mexitek\\PHPColors\\Color' => $vendorDir . '/mexitek/phpcolors/src/Mexitek/PHPColors/Color.php',
'MicrosoftAzure\\Storage\\Blob\\BlobRestProxy' => $vendorDir . '/microsoft/azure-storage-blob/src/Blob/BlobRestProxy.php',
'MicrosoftAzure\\Storage\\Blob\\BlobSharedAccessSignatureHelper' => $vendorDir . '/microsoft/azure-storage-blob/src/Blob/BlobSharedAccessSignatureHelper.php',
'MicrosoftAzure\\Storage\\Blob\\Internal\\BlobResources' => $vendorDir . '/microsoft/azure-storage-blob/src/Blob/Internal/BlobResources.php',
Expand Down
2 changes: 1 addition & 1 deletion composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static function getLoader()
set_include_path(implode(PATH_SEPARATOR, $includePaths));

require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit2f23f73bc0cc116b4b1eee1521aa8652::getInitializer($loader));
\Composer\Autoload\ComposerStaticInit2f23f73bc0cc116b4b1eee1521aa8652::getInitializer($loader)();

$loader->setClassMapAuthoritative(true);
$loader->register(true);
Expand Down
1 change: 1 addition & 0 deletions composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -2175,6 +2175,7 @@ class ComposerStaticInit2f23f73bc0cc116b4b1eee1521aa8652
'League\\Uri\\UriTemplate\\Template' => __DIR__ . '/..' . '/league/uri/src/UriTemplate/Template.php',
'League\\Uri\\UriTemplate\\VarSpecifier' => __DIR__ . '/..' . '/league/uri/src/UriTemplate/VarSpecifier.php',
'League\\Uri\\UriTemplate\\VariableBag' => __DIR__ . '/..' . '/league/uri/src/UriTemplate/VariableBag.php',
'Mexitek\\PHPColors\\Color' => __DIR__ . '/..' . '/mexitek/phpcolors/src/Mexitek/PHPColors/Color.php',
'MicrosoftAzure\\Storage\\Blob\\BlobRestProxy' => __DIR__ . '/..' . '/microsoft/azure-storage-blob/src/Blob/BlobRestProxy.php',
'MicrosoftAzure\\Storage\\Blob\\BlobSharedAccessSignatureHelper' => __DIR__ . '/..' . '/microsoft/azure-storage-blob/src/Blob/BlobSharedAccessSignatureHelper.php',
'MicrosoftAzure\\Storage\\Blob\\Internal\\BlobResources' => __DIR__ . '/..' . '/microsoft/azure-storage-blob/src/Blob/Internal/BlobResources.php',
Expand Down
58 changes: 57 additions & 1 deletion composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -2001,6 +2001,62 @@
],
"install-path": "../league/uri-interfaces"
},
{
"name": "mexitek/phpcolors",
"version": "v1.0.4",
"version_normalized": "1.0.4.0",
"source": {
"type": "git",
"url": "https://github.com/mexitek/phpColors.git",
"reference": "4043974240ca7dc3c2bec3c158588148b605b206"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/mexitek/phpColors/zipball/4043974240ca7dc3c2bec3c158588148b605b206",
"reference": "4043974240ca7dc3c2bec3c158588148b605b206",
"shasum": ""
},
"require": {
"php": "^7.2|^8.0"
},
"require-dev": {
"nette/tester": "^2.3",
"squizlabs/php_codesniffer": "^3.5"
},
"time": "2021-11-26T13:19:08+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"classmap": [
"src"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Arlo Carreon",
"homepage": "http://arlocarreon.com",
"role": "creator"
}
],
"description": "A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.",
"homepage": "http://mexitek.github.com/phpColors/",
"keywords": [
"color",
"css",
"design",
"frontend",
"ui"
],
"support": {
"issues": "https://github.com/mexitek/phpColors/issues",
"source": "https://github.com/mexitek/phpColors"
},
"install-path": "../mexitek/phpcolors"
},
{
"name": "microsoft/azure-storage-blob",
"version": "1.5.2",
Expand Down Expand Up @@ -6372,6 +6428,6 @@
"install-path": "../web-auth/webauthn-lib"
}
],
"dev": false,
"dev": true,
"dev-package-names": []
}
15 changes: 12 additions & 3 deletions composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '94cc96de7a8f34b4da8e165ec7308a0024a1d9d6',
'reference' => '6176112be9428026897d958dc2b558d1bde4fec2',
'name' => 'nextcloud/3rdparty',
'dev' => false,
'dev' => true,
),
'versions' => array(
'aws/aws-sdk-php' => array(
Expand Down Expand Up @@ -253,6 +253,15 @@
'reference' => '667f150e589d65d79c89ffe662e426704f84224f',
'dev_requirement' => false,
),
'mexitek/phpcolors' => array(
'pretty_version' => 'v1.0.4',
'version' => '1.0.4.0',
'type' => 'library',
'install_path' => __DIR__ . '/../mexitek/phpcolors',
'aliases' => array(),
'reference' => '4043974240ca7dc3c2bec3c158588148b605b206',
'dev_requirement' => false,
),
'microsoft/azure-storage-blob' => array(
'pretty_version' => '1.5.2',
'version' => '1.5.2.0',
Expand Down Expand Up @@ -286,7 +295,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '94cc96de7a8f34b4da8e165ec7308a0024a1d9d6',
'reference' => '6176112be9428026897d958dc2b558d1bde4fec2',
'dev_requirement' => false,
),
'nextcloud/lognormalizer' => array(
Expand Down
5 changes: 5 additions & 0 deletions mexitek/phpcolors/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.bak
*.*.bak
vendor/*
composer.lock
.idea
10 changes: 10 additions & 0 deletions mexitek/phpcolors/.phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHPColors"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
<description>The coding standard for PHPColors.</description>

<file>./src</file>
<file>./tests</file>

<rule ref="PSR12"/>
</ruleset>
21 changes: 21 additions & 0 deletions mexitek/phpcolors/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Arlo Carreon, http://arlocarreon.com

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 04b80d6

Please sign in to comment.