clock-work

This commit is contained in:
noor
2023-04-24 17:39:09 +05:30
committed by RafficMohammed
parent cf4bec91a6
commit 1eea7ff15e
178 changed files with 13169 additions and 123 deletions

View File

@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
/** @var \Closure(string):void */
private static $includeFile;
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
(self::$includeFile)($file);
includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ class ClassLoader
return false;
}
private static function initializeIncludeClosure(): void
{
if (self::$includeFile !== null) {
return;
}
/**
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*
* @param string $file
* @return void
*/
self::$includeFile = static function($file) {
include $file;
};
}
}
/**
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*
* @param string $file
* @return void
* @private
*/
function includeFile($file)
{
include $file;
}

View File

@@ -146,12 +146,14 @@ return array(
'Composer\\CaBundle\\' => array($vendorDir . '/composer/ca-bundle/src'),
'Complex\\' => array($vendorDir . '/markbaker/complex/classes/src'),
'Collective\\Html\\' => array($vendorDir . '/laravelcollective/html/src'),
'Clockwork\\' => array($vendorDir . '/itsgoingd/clockwork/Clockwork'),
'Chumper\\Zipper\\' => array($vendorDir . '/chumper/zipper/src/Chumper/Zipper'),
'Carbon\\' => array($vendorDir . '/nesbot/carbon/src/Carbon'),
'Bugsnag\\PsrLogger\\' => array($vendorDir . '/bugsnag/bugsnag-psr-logger/src'),
'Bugsnag\\BugsnagLaravel\\' => array($vendorDir . '/bugsnag/bugsnag-laravel/src'),
'Bugsnag\\' => array($vendorDir . '/bugsnag/bugsnag/src'),
'Brick\\Math\\' => array($vendorDir . '/brick/math/src'),
'BeyondCode\\QueryDetector\\' => array($vendorDir . '/beyondcode/laravel-query-detector/src'),
'Barryvdh\\Debugbar\\' => array($vendorDir . '/barryvdh/laravel-debugbar/src'),
'Aws\\' => array($vendorDir . '/aws/aws-sdk-php/src'),
'App\\' => array($baseDir . '/app', $vendorDir . '/laravel/pint/app'),

View File

@@ -33,18 +33,25 @@ class ComposerAutoloaderInit10c1836cea18dd9470bc2e97275d9d56
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInit10c1836cea18dd9470bc2e97275d9d56::$files;
$requireFile = static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
require $file;
}
};
foreach ($filesToLoad as $fileIdentifier => $file) {
($requireFile)($fileIdentifier, $file);
$includeFiles = \Composer\Autoload\ComposerStaticInit10c1836cea18dd9470bc2e97275d9d56::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire10c1836cea18dd9470bc2e97275d9d56($fileIdentifier, $file);
}
return $loader;
}
}
/**
* @param string $fileIdentifier
* @param string $file
* @return void
*/
function composerRequire10c1836cea18dd9470bc2e97275d9d56($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
require $file;
}
}

View File

@@ -250,6 +250,7 @@ class ComposerStaticInit10c1836cea18dd9470bc2e97275d9d56
'Composer\\CaBundle\\' => 18,
'Complex\\' => 8,
'Collective\\Html\\' => 16,
'Clockwork\\' => 10,
'Chumper\\Zipper\\' => 15,
'Carbon\\' => 7,
),
@@ -259,6 +260,7 @@ class ComposerStaticInit10c1836cea18dd9470bc2e97275d9d56
'Bugsnag\\BugsnagLaravel\\' => 23,
'Bugsnag\\' => 8,
'Brick\\Math\\' => 11,
'BeyondCode\\QueryDetector\\' => 25,
'Barryvdh\\Debugbar\\' => 18,
),
'A' =>
@@ -836,6 +838,10 @@ class ComposerStaticInit10c1836cea18dd9470bc2e97275d9d56
array (
0 => __DIR__ . '/..' . '/laravelcollective/html/src',
),
'Clockwork\\' =>
array (
0 => __DIR__ . '/..' . '/itsgoingd/clockwork/Clockwork',
),
'Chumper\\Zipper\\' =>
array (
0 => __DIR__ . '/..' . '/chumper/zipper/src/Chumper/Zipper',
@@ -860,6 +866,10 @@ class ComposerStaticInit10c1836cea18dd9470bc2e97275d9d56
array (
0 => __DIR__ . '/..' . '/brick/math/src',
),
'BeyondCode\\QueryDetector\\' =>
array (
0 => __DIR__ . '/..' . '/beyondcode/laravel-query-detector/src',
),
'Barryvdh\\Debugbar\\' =>
array (
0 => __DIR__ . '/..' . '/barryvdh/laravel-debugbar/src',

View File

@@ -152,34 +152,34 @@
},
{
"name": "barryvdh/laravel-debugbar",
"version": "v3.7.0",
"version_normalized": "3.7.0.0",
"version": "v3.8.0",
"version_normalized": "3.8.0.0",
"source": {
"type": "git",
"url": "https://github.com/barryvdh/laravel-debugbar.git",
"reference": "3372ed65e6d2039d663ed19aa699956f9d346271"
"reference": "eb01216141e62433178c52b0cbdb785b45bae871"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/3372ed65e6d2039d663ed19aa699956f9d346271",
"reference": "3372ed65e6d2039d663ed19aa699956f9d346271",
"url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/eb01216141e62433178c52b0cbdb785b45bae871",
"reference": "eb01216141e62433178c52b0cbdb785b45bae871",
"shasum": ""
},
"require": {
"illuminate/routing": "^7|^8|^9",
"illuminate/session": "^7|^8|^9",
"illuminate/support": "^7|^8|^9",
"illuminate/routing": "^9|^10",
"illuminate/session": "^9|^10",
"illuminate/support": "^9|^10",
"maximebf/debugbar": "^1.17.2",
"php": ">=7.2.5",
"symfony/finder": "^5|^6"
"php": "^8.0",
"symfony/finder": "^6"
},
"require-dev": {
"mockery/mockery": "^1.3.3",
"orchestra/testbench-dusk": "^5|^6|^7",
"phpunit/phpunit": "^8.5|^9.0",
"orchestra/testbench-dusk": "^5|^6|^7|^8",
"phpunit/phpunit": "^8.5.30|^9.0",
"squizlabs/php_codesniffer": "^3.5"
},
"time": "2022-07-11T09:26:42+00:00",
"time": "2023-02-04T15:47:28+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -223,7 +223,7 @@
],
"support": {
"issues": "https://github.com/barryvdh/laravel-debugbar/issues",
"source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.7.0"
"source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.8.0"
},
"funding": [
{
@@ -237,6 +237,69 @@
],
"install-path": "../barryvdh/laravel-debugbar"
},
{
"name": "beyondcode/laravel-query-detector",
"version": "1.7.0",
"version_normalized": "1.7.0.0",
"source": {
"type": "git",
"url": "https://github.com/beyondcode/laravel-query-detector.git",
"reference": "40c7e168fcf7eeb80d8e96f7922e05ab194269c8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/beyondcode/laravel-query-detector/zipball/40c7e168fcf7eeb80d8e96f7922e05ab194269c8",
"reference": "40c7e168fcf7eeb80d8e96f7922e05ab194269c8",
"shasum": ""
},
"require": {
"illuminate/support": "^5.5 || ^6.0 || ^7.0 || ^8.0 || ^9.0|^10.0",
"php": "^7.1 || ^8.0"
},
"require-dev": {
"laravel/legacy-factories": "^1.0",
"orchestra/testbench": "^3.0 || ^4.0 || ^5.0 || ^6.0|^8.0",
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
},
"time": "2023-02-15T10:37:22+00:00",
"type": "library",
"extra": {
"laravel": {
"providers": [
"BeyondCode\\QueryDetector\\QueryDetectorServiceProvider"
]
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"BeyondCode\\QueryDetector\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Marcel Pociot",
"email": "marcel@beyondco.de",
"homepage": "https://beyondcode.de",
"role": "Developer"
}
],
"description": "Laravel N+1 Query Detector",
"homepage": "https://github.com/beyondcode/laravel-query-detector",
"keywords": [
"beyondcode",
"laravel-query-detector"
],
"support": {
"issues": "https://github.com/beyondcode/laravel-query-detector/issues",
"source": "https://github.com/beyondcode/laravel-query-detector/tree/1.7.0"
},
"install-path": "../beyondcode/laravel-query-detector"
},
{
"name": "brick/math",
"version": "0.10.2",
@@ -3019,6 +3082,76 @@
],
"install-path": "../intervention/image"
},
{
"name": "itsgoingd/clockwork",
"version": "dev-master",
"version_normalized": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/ladybirdweb/clockwork.git",
"reference": "e29be8125ce999947d60986dcd8e606c04c012ab"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ladybirdweb/clockwork/zipball/e29be8125ce999947d60986dcd8e606c04c012ab",
"reference": "e29be8125ce999947d60986dcd8e606c04c012ab",
"shasum": ""
},
"require": {
"ext-json": "*",
"php": ">=5.6"
},
"time": "2023-04-14T10:39:18+00:00",
"default-branch": true,
"type": "library",
"extra": {
"laravel": {
"providers": [
"Clockwork\\Support\\Laravel\\ClockworkServiceProvider"
],
"aliases": {
"Clockwork": "Clockwork\\Support\\Laravel\\Facade"
}
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"Clockwork\\": "Clockwork/"
}
},
"license": [
"MIT"
],
"authors": [
{
"name": "itsgoingd",
"email": "itsgoingd@luzer.sk",
"homepage": "https://twitter.com/itsgoingd"
}
],
"description": "php dev tools in your browser",
"homepage": "https://underground.works/clockwork",
"keywords": [
"debugging",
"devtools",
"laravel",
"logging",
"lumen",
"profiling",
"slim"
],
"support": {
"source": "https://github.com/ladybirdweb/clockwork/tree/master"
},
"funding": [
{
"type": "github",
"url": "https://github.com/itsgoingd"
}
],
"install-path": "../itsgoingd/clockwork"
},
{
"name": "laravel/dusk",
"version": "v6.25.2",
@@ -13877,6 +14010,7 @@
"dev": true,
"dev-package-names": [
"barryvdh/laravel-debugbar",
"beyondcode/laravel-query-detector",
"doctrine/instantiator",
"fakerphp/faker",
"filp/whoops",

View File

@@ -3,7 +3,7 @@
'name' => 'laravel/laravel',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '2381fd7cf5b871b9db0df601f4fdd55c221c4f20',
'reference' => 'c25c1d94b8fa38df50e8d839730bf32cb534b8cb',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -29,14 +29,23 @@
'dev_requirement' => false,
),
'barryvdh/laravel-debugbar' => array(
'pretty_version' => 'v3.7.0',
'version' => '3.7.0.0',
'reference' => '3372ed65e6d2039d663ed19aa699956f9d346271',
'pretty_version' => 'v3.8.0',
'version' => '3.8.0.0',
'reference' => 'eb01216141e62433178c52b0cbdb785b45bae871',
'type' => 'library',
'install_path' => __DIR__ . '/../barryvdh/laravel-debugbar',
'aliases' => array(),
'dev_requirement' => true,
),
'beyondcode/laravel-query-detector' => array(
'pretty_version' => '1.7.0',
'version' => '1.7.0.0',
'reference' => '40c7e168fcf7eeb80d8e96f7922e05ab194269c8',
'type' => 'library',
'install_path' => __DIR__ . '/../beyondcode/laravel-query-detector',
'aliases' => array(),
'dev_requirement' => true,
),
'brick/math' => array(
'pretty_version' => '0.10.2',
'version' => '0.10.2.0',
@@ -588,6 +597,17 @@
'aliases' => array(),
'dev_requirement' => false,
),
'itsgoingd/clockwork' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'e29be8125ce999947d60986dcd8e606c04c012ab',
'type' => 'library',
'install_path' => __DIR__ . '/../itsgoingd/clockwork',
'aliases' => array(
0 => '9999999-dev',
),
'dev_requirement' => false,
),
'kodova/hamcrest-php' => array(
'dev_requirement' => true,
'replaced' => array(
@@ -615,7 +635,7 @@
'laravel/laravel' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '2381fd7cf5b871b9db0df601f4fdd55c221c4f20',
'reference' => 'c25c1d94b8fa38df50e8d839730bf32cb534b8cb',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -1247,8 +1267,8 @@
'psr/log-implementation' => array(
'dev_requirement' => false,
'provided' => array(
0 => '1.0|2.0|3.0',
1 => '1.0.0 || 2.0.0 || 3.0.0',
0 => '1.0.0 || 2.0.0 || 3.0.0',
1 => '1.0|2.0|3.0',
),
),
'psr/simple-cache' => array(