Skip to content

Commit

Permalink
Fix mexitek/phpcolors
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ <[email protected]>
  • Loading branch information
skjnldsv committed Apr 26, 2022
1 parent 8bcba22 commit 1f92440
Show file tree
Hide file tree
Showing 28 changed files with 12 additions and 1,786 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"ext-pdo": "*",
"ext-simplexml": "*",
"ext-xmlreader": "*",
"ext-zip": "*",
"mexitek/phpcolors": "^1.0"
"ext-zip": "*"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4"
Expand Down
60 changes: 3 additions & 57 deletions composer.lock

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

5 changes: 5 additions & 0 deletions lib/composer/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

// 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 ComposerAutoloaderInit53792487c5a8370acc0b06b1a864ff4c::getLoader();
1 change: 0 additions & 1 deletion lib/composer/composer/autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

return array(
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
'Mexitek\\PHPColors\\Color' => $vendorDir . '/mexitek/phpcolors/src/Mexitek/PHPColors/Color.php',
'OCP\\Accounts\\IAccount' => $baseDir . '/lib/public/Accounts/IAccount.php',
'OCP\\Accounts\\IAccountManager' => $baseDir . '/lib/public/Accounts/IAccountManager.php',
'OCP\\Accounts\\IAccountProperty' => $baseDir . '/lib/public/Accounts/IAccountProperty.php',
Expand Down
2 changes: 0 additions & 2 deletions lib/composer/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ public static function getLoader()
return self::$loader;
}

require __DIR__ . '/platform_check.php';

spl_autoload_register(array('ComposerAutoloaderInit53792487c5a8370acc0b06b1a864ff4c', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit53792487c5a8370acc0b06b1a864ff4c', 'loadClassLoader'));
Expand Down
1 change: 0 additions & 1 deletion lib/composer/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class ComposerStaticInit53792487c5a8370acc0b06b1a864ff4c

public static $classMap = array (
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
'Mexitek\\PHPColors\\Color' => __DIR__ . '/..' . '/mexitek/phpcolors/src/Mexitek/PHPColors/Color.php',
'OCP\\Accounts\\IAccount' => __DIR__ . '/../../..' . '/lib/public/Accounts/IAccount.php',
'OCP\\Accounts\\IAccountManager' => __DIR__ . '/../../..' . '/lib/public/Accounts/IAccountManager.php',
'OCP\\Accounts\\IAccountProperty' => __DIR__ . '/../../..' . '/lib/public/Accounts/IAccountProperty.php',
Expand Down
59 changes: 1 addition & 58 deletions lib/composer/composer/installed.json
Original file line number Diff line number Diff line change
@@ -1,62 +1,5 @@
{
"packages": [
{
"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"
}
],
"packages": [],
"dev": false,
"dev-package-names": []
}
13 changes: 2 additions & 11 deletions lib/composer/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../../',
'aliases' => array(),
'reference' => '3e28052303a61b134b454fdc31e72d371c03b793',
'reference' => '4f4f8cea83a31519e55b6305c6d9471896de42be',
'name' => '__root__',
'dev' => false,
),
Expand All @@ -16,16 +16,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../../',
'aliases' => array(),
'reference' => '3e28052303a61b134b454fdc31e72d371c03b793',
'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',
'reference' => '4f4f8cea83a31519e55b6305c6d9471896de42be',
'dev_requirement' => false,
),
),
Expand Down
26 changes: 0 additions & 26 deletions lib/composer/composer/platform_check.php

This file was deleted.

17 changes: 0 additions & 17 deletions lib/composer/mexitek/phpcolors/.editorconfig

This file was deleted.

5 changes: 0 additions & 5 deletions lib/composer/mexitek/phpcolors/.gitignore

This file was deleted.

10 changes: 0 additions & 10 deletions lib/composer/mexitek/phpcolors/.phpcs.xml

This file was deleted.

11 changes: 0 additions & 11 deletions lib/composer/mexitek/phpcolors/.travis.yml

This file was deleted.

21 changes: 0 additions & 21 deletions lib/composer/mexitek/phpcolors/LICENSE

This file was deleted.

Loading

0 comments on commit 1f92440

Please sign in to comment.