1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

Moving composer into vendor folder

This commit is contained in:
Daniel 2021-10-05 13:30:11 -03:00
parent 61a5f8030b
commit ef197d6716
9 changed files with 13 additions and 40 deletions

View file

@ -3,13 +3,14 @@
"description": "Audio Video Platform",
"type": "project",
"config": {
"platform-check": false,
"vendor-dir": "vendor",
"platform": {
"php": "7.2.0"
"php": "7.2.5"
}
},
"require": {
"php": ">=7.2.0",
"php": ">=7.2.5",
"ext-curl": "*",
"ext-json": "*",
"chrisjean/php-ico": "^1.0",

6
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "1eaf6fab0c543ad4d93f562cf8348746",
"content-hash": "4af669a20a513542c7f82cbd12824aed",
"packages": [
{
"name": "abraham/twitteroauth",
@ -4427,13 +4427,13 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": ">=7.2.0",
"php": ">=7.2.5",
"ext-curl": "*",
"ext-json": "*"
},
"platform-dev": [],
"platform-overrides": {
"php": "7.2.0"
"php": "7.2.5"
},
"plugin-api-version": "2.0.0"
}

View file

@ -503,7 +503,7 @@
"mikey179/vfsstream": "^1.6",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-beberlei-assert": "^0.12.0",
"phpunit/phpunit": "^7.2.0",
"phpunit/phpunit": "^7.4.3",
"sebastian/version": "^1.0.3|^2.0",
"thecodingmachine/phpstan-strict-rules": "^0.12"
},

View file

@ -30,7 +30,7 @@ private static $installed = array (
'aliases' =>
array (
),
'reference' => '1c3c7b5c26c576033d8f9cfd64ed204e23a2b0c8',
'reference' => '61a5f8030b6b91d37b72c46f4df837d3ce8e94d6',
'name' => 'wwbn/avideo',
),
'versions' =>
@ -692,7 +692,7 @@ private static $installed = array (
'aliases' =>
array (
),
'reference' => '1c3c7b5c26c576033d8f9cfd64ed204e23a2b0c8',
'reference' => '61a5f8030b6b91d37b72c46f4df837d3ce8e94d6',
),
),
);

View file

@ -22,8 +22,6 @@ class ComposerAutoloaderInit51528b4a875f8e0aa6970f42ad88c832
return self::$loader;
}
require __DIR__ . '/platform_check.php';
spl_autoload_register(array('ComposerAutoloaderInit51528b4a875f8e0aa6970f42ad88c832', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit51528b4a875f8e0aa6970f42ad88c832', 'loadClassLoader'));

View file

@ -2269,7 +2269,7 @@
"shasum": ""
},
"require": {
"php": ">=7.2.0"
"php": ">=7.2.5"
},
"time": "2021-03-05T17:36:06+00:00",
"type": "library",

View file

@ -6,7 +6,7 @@
'aliases' =>
array (
),
'reference' => '1c3c7b5c26c576033d8f9cfd64ed204e23a2b0c8',
'reference' => '61a5f8030b6b91d37b72c46f4df837d3ce8e94d6',
'name' => 'wwbn/avideo',
),
'versions' =>
@ -668,7 +668,7 @@
'aliases' =>
array (
),
'reference' => '1c3c7b5c26c576033d8f9cfd64ed204e23a2b0c8',
'reference' => '61a5f8030b6b91d37b72c46f4df837d3ce8e94d6',
),
),
);

View file

@ -1,26 +0,0 @@
<?php
// platform_check.php @generated by Composer
$issues = array();
if (!(PHP_VERSION_ID >= 70403)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.3". You are running ' . PHP_VERSION . '.';
}
if ($issues) {
if (!headers_sent()) {
header('HTTP/1.1 500 Internal Server Error');
}
if (!ini_get('display_errors')) {
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
} elseif (!headers_sent()) {
echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
}
}
trigger_error(
'Composer detected issues in your platform: ' . implode(' ', $issues),
E_USER_ERROR
);
}

View file

@ -12,7 +12,7 @@
}
],
"require": {
"php": ">=7.2.0"
"php": ">=7.2.5"
},
"autoload": {
"psr-4": {