fix: Load only when needed

This commit is contained in:
Binyamin Yawitz 2024-07-26 11:19:54 -04:00
parent 2947d22392
commit 6619870847
No known key found for this signature in database
2 changed files with 8 additions and 6 deletions

View file

@ -1,6 +1,8 @@
<?php
require_once __DIR__ . '/../vendor/autoload.php';
if (\file_exists(__DIR__ . '/../vendor/autoload.php')) {
require_once __DIR__ . '/../vendor/autoload.php';
}
use Ahc\Jwt\JWT;
use Ahc\Jwt\JWTException;

10
composer.lock generated
View file

@ -3289,16 +3289,16 @@
},
{
"name": "laravel/pint",
"version": "v1.16.2",
"version": "v1.17.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/pint.git",
"reference": "51f1ba679a6afe0315621ad143d788bd7ded0eca"
"reference": "4dba80c1de4b81dc4c4fb10ea6f4781495eb29f5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/pint/zipball/51f1ba679a6afe0315621ad143d788bd7ded0eca",
"reference": "51f1ba679a6afe0315621ad143d788bd7ded0eca",
"url": "https://api.github.com/repos/laravel/pint/zipball/4dba80c1de4b81dc4c4fb10ea6f4781495eb29f5",
"reference": "4dba80c1de4b81dc4c4fb10ea6f4781495eb29f5",
"shasum": ""
},
"require": {
@ -3351,7 +3351,7 @@
"issues": "https://github.com/laravel/pint/issues",
"source": "https://github.com/laravel/pint"
},
"time": "2024-07-09T15:58:08+00:00"
"time": "2024-07-23T16:40:20+00:00"
},
{
"name": "matthiasmullie/minify",