use composer autoloader

This commit is contained in:
David Stone
2025-02-02 02:21:23 -07:00
parent f59debc4a6
commit 35be51daa7
5 changed files with 56 additions and 120 deletions

108
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": "56efb7815eb373b16f8a02e647175528",
"content-hash": "d08d354204b85123032d52ffd03ef616",
"packages": [
{
"name": "amphp/amp",
@ -1393,68 +1393,6 @@
],
"time": "2023-05-02T11:26:24+00:00"
},
{
"name": "pablo-sg-pacheco/wp-namespace-autoloader",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/pablo-sg-pacheco/wp-namespace-autoloader.git",
"reference": "069163f215743c83381613749ace0c5a642720b4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pablo-sg-pacheco/wp-namespace-autoloader/zipball/069163f215743c83381613749ace0c5a642720b4",
"reference": "069163f215743c83381613749ace0c5a642720b4",
"shasum": ""
},
"require": {
"php": ">=5.4"
},
"require-dev": {
"cweagans/composer-patches": "^1.0",
"dealerdirect/phpcodesniffer-composer-installer": "0.7.0",
"phpunit/phpunit": "^7",
"squizlabs/php_codesniffer": "dev-master",
"wp-coding-standards/wpcs": "^2.3"
},
"default-branch": true,
"type": "library",
"extra": {
"patches": {
"squizlabs/php_codesniffer": {
"Add GitHub Actions Annotations report type": "https://github.com/squizlabs/PHP_CodeSniffer/pull/2918.patch"
}
}
},
"autoload": {
"psr-4": {
"Pablo_Pacheco\\WP_Namespace_Autoloader\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPLv2"
],
"authors": [
{
"name": "Pablo dos S G Pacheco",
"email": "pablo.sg.pacheco@gmail.com"
}
],
"description": "A PHP autoloader class that follows the WordPress coding standards 2.0 and proposed 3.0 for class/interface/trait names and filenames",
"homepage": "https://github.com/pablo-pacheco/wp-namespace-autoloader",
"keywords": [
"autoload",
"namespace",
"wordpress",
"wp"
],
"support": {
"issues": "https://github.com/pablo-sg-pacheco/wp-namespace-autoloader/issues",
"source": "https://github.com/pablo-sg-pacheco/wp-namespace-autoloader/tree/master"
},
"time": "2022-12-02T14:49:51+00:00"
},
{
"name": "paragonie/random_compat",
"version": "v9.99.100",
@ -3858,6 +3796,49 @@
"source": "https://github.com/webmozarts/assert/tree/1.11.0"
},
"time": "2022-06-03T18:03:27+00:00"
},
{
"name": "woocommerce/action-scheduler",
"version": "3.9.1",
"source": {
"type": "git",
"url": "https://github.com/woocommerce/action-scheduler.git",
"reference": "d73b5f83cd42832fa137e03687bad3e312298d29"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/woocommerce/action-scheduler/zipball/d73b5f83cd42832fa137e03687bad3e312298d29",
"reference": "d73b5f83cd42832fa137e03687bad3e312298d29",
"shasum": ""
},
"require": {
"php": ">=7.1"
},
"require-dev": {
"phpunit/phpunit": "^7.5",
"woocommerce/woocommerce-sniffs": "0.1.0",
"wp-cli/wp-cli": "~2.5.0",
"yoast/phpunit-polyfills": "^2.0"
},
"type": "wordpress-plugin",
"extra": {
"scripts-description": {
"test": "Run unit tests",
"phpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
"phpcbf": "Fix coding standards warnings/errors automatically with PHP Code Beautifier"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-3.0-or-later"
],
"description": "Action Scheduler for WordPress and WooCommerce",
"homepage": "https://actionscheduler.org/",
"support": {
"issues": "https://github.com/woocommerce/action-scheduler/issues",
"source": "https://github.com/woocommerce/action-scheduler/tree/3.9.1"
},
"time": "2025-01-21T11:39:08+00:00"
}
],
"packages-dev": [
@ -6430,7 +6411,6 @@
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {
"pablo-sg-pacheco/wp-namespace-autoloader": 20,
"rakit/validation": 20,
"rpnzl/arrch": 20
},