mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-82824 core: Add missing composer/PSR for various libs
Add missing aws-sdk composer.json Add missing composer/PSR4 for SimplePie Add missing composer/PSR4 for others Add missing composer/PSR4 for markdown Add missing composer/PSR4 for PHP-CSS-Parser Add missing composer/PSR4 for Mustache Add missing composer/PSR4 for RTLCSS Add missing composer/PSR4 for SCSSPHP Add missing composer/PSR4 for OpenSpout Add missing composer/PSR4 for LTI Add missing composer/PSR4 for GeoPattern Add missing composer/PSR4 for CFPropertylist Add missing composer/PSR4 for ZipStream Add missing composer/PSR4 for PSR-20 Add missing composer/PSR4 for phpxmlrpc Add missing composer/PSR4 for WebAuthn
This commit is contained in:
parent
09e4f29fbd
commit
670121daa3
@ -16,10 +16,6 @@
|
||||
|
||||
namespace factor_webauthn;
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
require_once($CFG->libdir . '/webauthn/src/WebAuthn.php');
|
||||
|
||||
use lbuchs\WebAuthn\Binary\ByteBuffer;
|
||||
use lbuchs\WebAuthn\WebAuthn;
|
||||
use lbuchs\WebAuthn\WebAuthnException;
|
||||
|
74
lib/aws-sdk/composer.json
Normal file
74
lib/aws-sdk/composer.json
Normal file
@ -0,0 +1,74 @@
|
||||
{
|
||||
"name": "aws/aws-sdk-php",
|
||||
"homepage": "http://aws.amazon.com/sdkforphp",
|
||||
"description": "AWS SDK for PHP - Use Amazon Web Services in your PHP project",
|
||||
"keywords": ["aws","amazon","sdk","s3","ec2","dynamodb","cloud","glacier"],
|
||||
"type": "library",
|
||||
"license": "Apache-2.0",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Amazon Web Services",
|
||||
"homepage": "http://aws.amazon.com"
|
||||
}
|
||||
],
|
||||
"support": {
|
||||
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
|
||||
"issues": "https://github.com/aws/aws-sdk-php/issues"
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.5",
|
||||
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
|
||||
"guzzlehttp/psr7": "^1.9.1 || ^2.4.5",
|
||||
"guzzlehttp/promises": "^1.4.0",
|
||||
"mtdowling/jmespath.php": "^2.6",
|
||||
"ext-pcre": "*",
|
||||
"ext-json": "*",
|
||||
"ext-simplexml": "*",
|
||||
"aws/aws-crt-php": "^1.0.4",
|
||||
"psr/http-message": "^1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"composer/composer" : "^1.10.22",
|
||||
"ext-openssl": "*",
|
||||
"ext-dom": "*",
|
||||
"ext-pcntl": "*",
|
||||
"ext-sockets": "*",
|
||||
"phpunit/phpunit": "^4.8.35 || ^5.6.3 || ^9.5",
|
||||
"behat/behat": "~3.0",
|
||||
"doctrine/cache": "~1.4",
|
||||
"aws/aws-php-sns-message-validator": "~1.0",
|
||||
"nette/neon": "^2.3",
|
||||
"andrewsville/php-token-reflection": "^1.4",
|
||||
"psr/cache": "^1.0",
|
||||
"psr/simple-cache": "^1.0",
|
||||
"paragonie/random_compat": ">= 2",
|
||||
"sebastian/comparator": "^1.2.3 || ^4.0",
|
||||
"yoast/phpunit-polyfills": "^1.0",
|
||||
"dms/phpunit-arraysubset-asserts": "^0.4.0"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-openssl": "Allows working with CloudFront private distributions and verifying received SNS messages",
|
||||
"ext-curl": "To send requests using cURL",
|
||||
"ext-sockets": "To use client-side monitoring",
|
||||
"doctrine/cache": "To use the DoctrineCacheAdapter",
|
||||
"aws/aws-php-sns-message-validator": "To validate incoming SNS notifications"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Aws\\": "src/"
|
||||
},
|
||||
"files": ["src/functions.php"]
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Aws\\Test\\": "tests/"
|
||||
},
|
||||
"classmap": ["build/"]
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "3.0-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -99,16 +99,17 @@ class component {
|
||||
/** @var array associative array of PSR-0 namespaces and corresponding paths. */
|
||||
protected static $psr0namespaces = [
|
||||
'Mustache' => 'lib/mustache/src/Mustache',
|
||||
'CFPropertyList' => 'lib/plist/classes/CFPropertyList',
|
||||
];
|
||||
/** @var array<string|array<string>> associative array of PRS-4 namespaces and corresponding paths. */
|
||||
protected static $psr4namespaces = [
|
||||
\Html2Text::class => 'lib/html2text/src',
|
||||
\MaxMind\Db::class => 'lib/maxmind/MaxMind/src/MaxMind/Db',
|
||||
\GeoIp2::class => 'lib/maxmind/GeoIp2/src',
|
||||
\Sabberworm\CSS::class => 'lib/php-css-parser',
|
||||
\MoodleHQ\RTLCSS::class => 'lib/rtlcss',
|
||||
\ScssPhp\ScssPhp::class => 'lib/scssphp',
|
||||
\Sabberworm\CSS::class => 'lib/php-css-parser/src',
|
||||
\MoodleHQ::class => [
|
||||
'lib/rtlcss/src/MoodleHQ',
|
||||
],
|
||||
\ScssPhp\ScssPhp::class => 'lib/scssphp/src',
|
||||
\OpenSpout::class => 'lib/openspout/src',
|
||||
\MatthiasMullie\Minify::class => 'lib/minify/matthiasmullie-minify/src',
|
||||
\MatthiasMullie\PathConverter::class => 'lib/minify/matthiasmullie-pathconverter/src',
|
||||
@ -116,11 +117,11 @@ class component {
|
||||
\Packback\Lti1p3::class => 'lib/lti1p3/src',
|
||||
\Phpml::class => 'lib/mlbackend/php/phpml/src/Phpml',
|
||||
\PHPMailer\PHPMailer::class => 'lib/phpmailer/src',
|
||||
\RedeyeVentures\GeoPattern::class => 'lib/geopattern-php/GeoPattern',
|
||||
\RedeyeVentures::class => 'lib/geopattern-php/src',
|
||||
\Firebase\JWT::class => 'lib/php-jwt/src',
|
||||
\ZipStream::class => 'lib/zipstream/src',
|
||||
\MyCLabs\Enum::class => 'lib/php-enum/src',
|
||||
\PhpXmlRpc::class => 'lib/phpxmlrpc',
|
||||
\PhpXmlRpc::class => 'lib/phpxmlrpc/src',
|
||||
\Psr\Http\Client::class => 'lib/psr/http-client/src',
|
||||
\Psr\Http\Message::class => [
|
||||
'lib/psr/http-message/src',
|
||||
@ -151,6 +152,10 @@ class component {
|
||||
\Slim::class => 'lib/slim/slim/Slim',
|
||||
\libphonenumber::class => 'lib/giggsey/libphonenumber-for-php-lite/src',
|
||||
\Spatie\Cloneable::class => 'lib/spatie/php-cloneable/src',
|
||||
\SimplePie::class => 'lib/simplepie/src',
|
||||
\Michelf::class => 'lib/markdown/Michelf',
|
||||
\CFPropertyList::class => 'lib/plist/src/CFPropertyList',
|
||||
\lbuchs\WebAuthn::class => 'lib/webauthn/src',
|
||||
];
|
||||
|
||||
/**
|
||||
|
26
lib/geopattern-php/composer.json
Normal file
26
lib/geopattern-php/composer.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"name": "redeyeventures/geopattern",
|
||||
"description": "Generate beautiful SVG patterns.",
|
||||
"type": "library",
|
||||
"keywords": ["svg", "pattern", "geometric", "background"],
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Anand Capur",
|
||||
"email": "anand@redeyeventures.com",
|
||||
"homepage": "http://redeyeventures.com"
|
||||
}
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/redeyeventures/geopattern-php",
|
||||
"issues": "https://github.com/redeyeventures/geopattern-php/issues"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"RedeyeVentures\\": "src/"
|
||||
}
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "3.7.*"
|
||||
}
|
||||
}
|
25
lib/google/composer.json
Normal file
25
lib/google/composer.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "google/apiclient",
|
||||
"type": "library",
|
||||
"description": "Client library for Google APIs",
|
||||
"keywords": ["google"],
|
||||
"homepage": "http://developers.google.com/api-client-library/php",
|
||||
"license": "Apache-2.0",
|
||||
"require": {
|
||||
"php": ">=5.2.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "3.7.*",
|
||||
"squizlabs/php_codesniffer": "~2.3"
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"src/"
|
||||
]
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.1.x-dev"
|
||||
}
|
||||
}
|
||||
}
|
53
lib/lti1p3/composer.json
Normal file
53
lib/lti1p3/composer.json
Normal file
@ -0,0 +1,53 @@
|
||||
{
|
||||
"name": "packbackbooks/lti-1p3-tool",
|
||||
"type": "library",
|
||||
"description": "A library used for building IMS-certified LTI 1.3 tool providers in PHP.",
|
||||
"license": "Apache-2.0",
|
||||
"keywords": [
|
||||
"lti"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Davo Hynds",
|
||||
"email": "davo@packback.co"
|
||||
},
|
||||
{
|
||||
"name": "Eric Tendian",
|
||||
"email": "eric@packback.co"
|
||||
},
|
||||
{
|
||||
"name": "Martin Lenord",
|
||||
"email": "ims.m@rtin.dev"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"firebase/php-jwt": "^6.6",
|
||||
"guzzlehttp/guzzle": "^7.0",
|
||||
"phpseclib/phpseclib": "^3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"mockery/mockery": "^1.4",
|
||||
"nesbot/carbon": "^2.43",
|
||||
"laravel/pint": "^1.0",
|
||||
"phpstan/phpstan": "^1.10",
|
||||
"phpunit/phpunit": "^9.0|^10.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Packback\\Lti1p3\\": "src"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Tests\\": "tests/"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"test": "phpunit",
|
||||
"lint": [
|
||||
"pint --test",
|
||||
"phpstan analyse"
|
||||
],
|
||||
"lint-fix": "pint -v"
|
||||
}
|
||||
}
|
23
lib/ltiprovider/composer.json
Normal file
23
lib/ltiprovider/composer.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "imsglobal/lti",
|
||||
"version" : "3.0.2",
|
||||
"description": "LTI Tool Provider Library",
|
||||
"keywords": ["lti"],
|
||||
"homepage": "https://www.imsglobal.org/lti",
|
||||
"type": "library",
|
||||
"license": "Apache-2.0",
|
||||
"authors":[
|
||||
{
|
||||
"name": "Stephen Vickers",
|
||||
"email": "svickers@imsglobal.org"
|
||||
}
|
||||
],
|
||||
"require":{
|
||||
"php": ">=5.6.0"
|
||||
},
|
||||
"autoload":{
|
||||
"psr-4": {
|
||||
"IMSGlobal\\LTI\\": "src/"
|
||||
}
|
||||
}
|
||||
}
|
54
lib/markdown/composer.json
Normal file
54
lib/markdown/composer.json
Normal file
@ -0,0 +1,54 @@
|
||||
{
|
||||
"name": "michelf/php-markdown",
|
||||
"type": "library",
|
||||
"description": "PHP Markdown",
|
||||
"homepage": "https://michelf.ca/projects/php-markdown/",
|
||||
"keywords": ["markdown"],
|
||||
"license": "BSD-3-Clause",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Michel Fortin",
|
||||
"email": "michel.fortin@michelf.ca",
|
||||
"homepage": "https://michelf.ca/",
|
||||
"role": "Developer"
|
||||
},
|
||||
{
|
||||
"name": "John Gruber",
|
||||
"homepage": "https://daringfireball.net/"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=7.4"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": { "Michelf\\": "Michelf/" }
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^3.0",
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"phpstan/phpstan": ">=1.0",
|
||||
"phpstan/phpstan-phpunit": ">=1.0"
|
||||
},
|
||||
|
||||
"scripts": {
|
||||
"tests": "vendor/bin/phpunit test/",
|
||||
"phpstan": [
|
||||
"vendor/bin/phpstan analyse Michelf/ --level=5",
|
||||
"vendor/bin/phpstan analyse -c test/phpstan.neon test/ --level=5"
|
||||
],
|
||||
"codestyle": "vendor/bin/php-cs-fixer fix Michelf --dry-run --verbose --show-progress=none",
|
||||
"codestyle-fix": "vendor/bin/php-cs-fixer fix Michelf"
|
||||
},
|
||||
|
||||
"archive": {
|
||||
"exclude": [
|
||||
"/.github/",
|
||||
"/test/",
|
||||
"/.editorconfig",
|
||||
"/.gitignore",
|
||||
"/.scrutinizer.yml",
|
||||
"/.travis.yml",
|
||||
"/phpunit.xml.dist"
|
||||
]
|
||||
}
|
||||
}
|
@ -2,8 +2,8 @@ Description of Markdown Extra import into Moodle
|
||||
|
||||
Procedure:
|
||||
* download latest version from https://github.com/michelf/php-markdown/tags
|
||||
* copy the classes and Readme.md file to lib/markdown/* , Note .inc files need not be copied.
|
||||
* copy the classes file to lib/markdown/Michelf/* , Note .inc files need not be copied.
|
||||
* copy the readme file to lib/markdown/.
|
||||
* update function markdown_to_html() in lib/weblib.php if necessary,
|
||||
note that we require the php files manually for performance reasons
|
||||
* run phpunit tests (all PHP versions)
|
||||
|
||||
|
44
lib/minify/matthiasmullie-minify/composer.json
Normal file
44
lib/minify/matthiasmullie-minify/composer.json
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
"name": "matthiasmullie/minify",
|
||||
"type": "library",
|
||||
"description": "CSS & JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.",
|
||||
"keywords": ["minify", "minifier", "css", "js", "javascript"],
|
||||
"homepage": "https://github.com/matthiasmullie/minify",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Matthias Mullie",
|
||||
"homepage": "https://www.mullie.eu",
|
||||
"email": "minify@mullie.eu",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.3.0",
|
||||
"ext-pcre": "*",
|
||||
"matthiasmullie/path-converter": "~1.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": ">=2.0",
|
||||
"matthiasmullie/scrapbook": ">=1.3",
|
||||
"phpunit/phpunit": ">=4.8",
|
||||
"squizlabs/php_codesniffer": ">=3.0"
|
||||
},
|
||||
"suggest": {
|
||||
"psr/cache-implementation": "Cache implementation to use with Minify::cache"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"MatthiasMullie\\Minify\\": "src/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"MatthiasMullie\\Minify\\Tests\\": "tests/"
|
||||
}
|
||||
},
|
||||
"bin": [
|
||||
"bin/minifycss",
|
||||
"bin/minifyjs"
|
||||
]
|
||||
}
|
28
lib/minify/matthiasmullie-pathconverter/composer.json
Normal file
28
lib/minify/matthiasmullie-pathconverter/composer.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "matthiasmullie/path-converter",
|
||||
"type": "library",
|
||||
"description": "Relative path converter",
|
||||
"keywords": ["relative", "path", "converter", "paths"],
|
||||
"homepage": "http://github.com/matthiasmullie/path-converter",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Matthias Mullie",
|
||||
"homepage": "http://www.mullie.eu",
|
||||
"email": "pathconverter@mullie.eu",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.3.0",
|
||||
"ext-pcre": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~4.8"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"MatthiasMullie\\PathConverter\\": "src/"
|
||||
}
|
||||
}
|
||||
}
|
25
lib/mustache/composer.json
Normal file
25
lib/mustache/composer.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "mustache/mustache",
|
||||
"description": "A Mustache implementation in PHP.",
|
||||
"keywords": ["templating", "mustache"],
|
||||
"homepage": "https://github.com/bobthecow/mustache.php",
|
||||
"type": "library",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Justin Hileman",
|
||||
"email": "justin@justinhileman.info",
|
||||
"homepage": "http://justinhileman.com"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.2.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~3.7|~4.0|~5.0",
|
||||
"friendsofphp/php-cs-fixer": "~1.11"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": { "Mustache": "src/" }
|
||||
}
|
||||
}
|
76
lib/openspout/composer.json
Normal file
76
lib/openspout/composer.json
Normal file
@ -0,0 +1,76 @@
|
||||
{
|
||||
"name": "openspout/openspout",
|
||||
"description": "PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way",
|
||||
"license": "MIT",
|
||||
"type": "library",
|
||||
"keywords": [
|
||||
"php",
|
||||
"read",
|
||||
"write",
|
||||
"csv",
|
||||
"xlsx",
|
||||
"ods",
|
||||
"odf",
|
||||
"open",
|
||||
"office",
|
||||
"excel",
|
||||
"spreadsheet",
|
||||
"scale",
|
||||
"memory",
|
||||
"stream",
|
||||
"ooxml"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Adrien Loison",
|
||||
"email": "adrien@box.com"
|
||||
}
|
||||
],
|
||||
"homepage": "https://github.com/openspout/openspout",
|
||||
"require": {
|
||||
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
|
||||
"ext-dom": "*",
|
||||
"ext-fileinfo": "*",
|
||||
"ext-filter": "*",
|
||||
"ext-libxml": "*",
|
||||
"ext-xmlreader": "*",
|
||||
"ext-zip": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"ext-zlib": "*",
|
||||
"friendsofphp/php-cs-fixer": "^3.46.0",
|
||||
"infection/infection": "^0.27.9",
|
||||
"phpbench/phpbench": "^1.2.15",
|
||||
"phpstan/phpstan": "^1.10.55",
|
||||
"phpstan/phpstan-phpunit": "^1.3.15",
|
||||
"phpstan/phpstan-strict-rules": "^1.5.2",
|
||||
"phpunit/phpunit": "^10.5.5"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-iconv": "To handle non UTF-8 CSV files (if \"php-mbstring\" is not already installed or is too limited)",
|
||||
"ext-mbstring": "To handle non UTF-8 CSV files (if \"iconv\" is not already installed)"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"OpenSpout\\": "src/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"OpenSpout\\Benchmarks\\": "benchmarks/"
|
||||
},
|
||||
"classmap": [
|
||||
"tests/"
|
||||
]
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"infection/extension-installer": true
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "3.3.x-dev"
|
||||
}
|
||||
}
|
||||
}
|
69
lib/php-css-parser/composer.json
Normal file
69
lib/php-css-parser/composer.json
Normal file
@ -0,0 +1,69 @@
|
||||
{
|
||||
"name": "sabberworm/php-css-parser",
|
||||
"type": "library",
|
||||
"description": "Parser for CSS Files written in PHP",
|
||||
"keywords": [
|
||||
"parser",
|
||||
"css",
|
||||
"stylesheet"
|
||||
],
|
||||
"homepage": "https://www.sabberworm.com/blog/2010/6/10/php-css-parser",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Raphael Schweikert"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.6.20",
|
||||
"ext-iconv": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8.36",
|
||||
"codacy/coverage": "^1.4"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-mbstring": "for parsing UTF-8 CSS"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Sabberworm\\CSS\\": "src/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Sabberworm\\CSS\\Tests\\": "tests/"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"ci": [
|
||||
"@ci:static"
|
||||
],
|
||||
"ci:php:fixer": "@php ./.phive/php-cs-fixer.phar --config=config/php-cs-fixer.php fix --dry-run -v --show-progress=dots bin src tests",
|
||||
"ci:php:sniffer": "@php ./.phive/phpcs.phar --standard=config/phpcs.xml bin src tests",
|
||||
"ci:php:stan": "@php ./.phive/phpstan.phar --configuration=config/phpstan.neon",
|
||||
"ci:static": [
|
||||
"@ci:php:fixer",
|
||||
"@ci:php:sniffer",
|
||||
"@ci:php:stan"
|
||||
],
|
||||
"fix:php": [
|
||||
"@fix:php:fixer",
|
||||
"@fix:php:sniffer"
|
||||
],
|
||||
"fix:php:fixer": "@php ./.phive/php-cs-fixer.phar --config=config/php-cs-fixer.php fix bin src tests",
|
||||
"fix:php:sniffer": "@php ./.phive/phpcbf.phar --standard=config/phpcs.xml bin src tests",
|
||||
"phpstan:baseline": "@php ./.phive/phpstan.phar --configuration=config/phpstan.neon --generate-baseline=config/phpstan-baseline.neon"
|
||||
},
|
||||
"scripts-descriptions": {
|
||||
"ci": "Runs all dynamic and static code checks (i.e. currently, only the static checks).",
|
||||
"ci:php:fixer": "Checks the code style with PHP CS Fixer.",
|
||||
"ci:php:sniffer": "Checks the code style with PHP_CodeSniffer.",
|
||||
"ci:php:stan": "Checks the types with PHPStan.",
|
||||
"ci:static": "Runs all static code analysis checks for the code.",
|
||||
"fix:php": "Autofixes all autofixable issues in the PHP code.",
|
||||
"fix:php:fixer": "Fixes autofixable issues found by PHP CS Fixer.",
|
||||
"fix:php:sniffer": "Fixes autofixable issues found by PHP_CodeSniffer.",
|
||||
"phpstand:baseline": "Updates the PHPStan baseline file to match the code."
|
||||
}
|
||||
}
|
79
lib/phpmailer/composer.json
Normal file
79
lib/phpmailer/composer.json
Normal file
@ -0,0 +1,79 @@
|
||||
{
|
||||
"name": "phpmailer/phpmailer",
|
||||
"type": "library",
|
||||
"description": "PHPMailer is a full-featured email creation and transfer class for PHP",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Marcus Bointon",
|
||||
"email": "phpmailer@synchromedia.co.uk"
|
||||
},
|
||||
{
|
||||
"name": "Jim Jagielski",
|
||||
"email": "jimjag@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Andy Prevost",
|
||||
"email": "codeworxtech@users.sourceforge.net"
|
||||
},
|
||||
{
|
||||
"name": "Brent R. Matzelle"
|
||||
}
|
||||
],
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://github.com/Synchro",
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.5.0",
|
||||
"ext-ctype": "*",
|
||||
"ext-filter": "*",
|
||||
"ext-hash": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
|
||||
"doctrine/annotations": "^1.2.6 || ^1.13.3",
|
||||
"php-parallel-lint/php-console-highlighter": "^1.0.0",
|
||||
"php-parallel-lint/php-parallel-lint": "^1.3.2",
|
||||
"phpcompatibility/php-compatibility": "^9.3.5",
|
||||
"roave/security-advisories": "dev-latest",
|
||||
"squizlabs/php_codesniffer": "^3.7.2",
|
||||
"yoast/phpunit-polyfills": "^1.0.4"
|
||||
},
|
||||
"suggest": {
|
||||
"decomplexity/SendOauth2": "Adapter for using XOAUTH2 authentication",
|
||||
"ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses",
|
||||
"ext-openssl": "Needed for secure SMTP sending and DKIM signing",
|
||||
"greew/oauth2-azure-provider": "Needed for Microsoft Azure XOAUTH2 authentication",
|
||||
"hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication",
|
||||
"league/oauth2-google": "Needed for Google XOAUTH2 authentication",
|
||||
"psr/log": "For optional PSR-3 debug logging",
|
||||
"thenetworg/oauth2-azure": "Needed for Microsoft XOAUTH2 authentication",
|
||||
"symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"PHPMailer\\PHPMailer\\": "src/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"PHPMailer\\Test\\": "test/"
|
||||
}
|
||||
},
|
||||
"license": "LGPL-2.1-only",
|
||||
"scripts": {
|
||||
"check": "./vendor/bin/phpcs",
|
||||
"test": "./vendor/bin/phpunit --no-coverage",
|
||||
"coverage": "./vendor/bin/phpunit",
|
||||
"lint": [
|
||||
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . --show-deprecated -e php,phps --exclude vendor --exclude .git --exclude build"
|
||||
]
|
||||
}
|
||||
}
|
37
lib/phpxmlrpc/composer.json
Normal file
37
lib/phpxmlrpc/composer.json
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "phpxmlrpc/phpxmlrpc",
|
||||
"description": "A php library for building xmlrpc clients and servers",
|
||||
"license": "BSD-3-Clause",
|
||||
"homepage": "https://gggeek.github.io/phpxmlrpc/",
|
||||
"keywords": [ "xmlrpc", "xml-rpc","webservices" ],
|
||||
"require": {
|
||||
"php": "^5.4.0 || ^7.0 || ^8.0",
|
||||
"ext-xml": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"ext-curl": "*",
|
||||
"ext-dom": "*",
|
||||
"ext-mbstring": "*",
|
||||
"phpunit/phpunit": "^4.8 || ^5.0 || ^8.5.14",
|
||||
"phpunit/phpunit-selenium": "*",
|
||||
"yoast/phpunit-polyfills": "*"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-curl": "Needed for HTTPS, HTTP2 and HTTP 1.1 support, NTLM Auth etc...",
|
||||
"ext-zlib": "Needed for sending compressed requests and receiving compressed responses, if cURL is not available",
|
||||
"ext-mbstring": "Needed to allow reception of requests/responses in character sets other than ASCII,LATIN-1,UTF-8",
|
||||
"phpxmlrpc/extras": "Adds more featured Server classes, including self-documenting and ajax-enabled servers",
|
||||
"phpxmlrpc/jsonrpc": "Adds support for the JSON-RPC protocol"
|
||||
},
|
||||
"scripts": {
|
||||
"setup-git-hooks": "if ln -s -f $(pwd)/.githooks/pre-push.sh .git/hooks/pre-push; then echo hooks installed; else echo fail; fi"
|
||||
},
|
||||
"_comment::conflict": "Within the extras package, only the XMLRPC extension emulation is not compatible... the JSONRPC part should be ok. Both have been moved to different packages anyway",
|
||||
"conflict": {
|
||||
"phpxmlrpc/extras": "<= 1.0.0-beta2",
|
||||
"phpxmlrpc/jsonrpc": "<= 1.0.0-beta1"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {"PhpXmlRpc\\": "src/"}
|
||||
}
|
||||
}
|
51
lib/plist/composer.json
Normal file
51
lib/plist/composer.json
Normal file
@ -0,0 +1,51 @@
|
||||
{
|
||||
"name": "rodneyrehm/plist",
|
||||
"description": "Library for reading and writing Apple's CFPropertyList (plist) files in XML as well as binary format.",
|
||||
"keywords": ["Core Foundation", "CFPropertyList", "plist", "apple", "xml", "binary"],
|
||||
"type": "library",
|
||||
"homepage": "https://github.com/TECLIB/CFPropertyList",
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^7.4 || ^8.0",
|
||||
"ext-dom": "*",
|
||||
"ext-libxml": "*"
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||
"name": "Christian Kruse",
|
||||
"email": "cjk@wwwtech.de",
|
||||
"role": "developer"
|
||||
},
|
||||
{
|
||||
"name": "Rodney Rehm",
|
||||
"email": "mail+github@rodneyrehm.de",
|
||||
"role": "developer"
|
||||
},
|
||||
{
|
||||
"name": "Thierry Bugier",
|
||||
"email": "tbugier@teclib.com",
|
||||
"role": "developer"
|
||||
}
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/TECLIB/CFPropertyList/issues",
|
||||
"source": "https://github.com/TECLIB/CFPropertyList",
|
||||
"email": "contact@teclib.com",
|
||||
"docs": "http://teclib.github.io/CFPropertyList/howtos/",
|
||||
"rss": "https://teclib.github.io/CFPropertyList/feed.xml"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"CFPropertyList\\": "src/CFPropertyList/"
|
||||
}
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9.0",
|
||||
"squizlabs/php_codesniffer": "^3.2"
|
||||
},
|
||||
"scripts": {
|
||||
"test": [
|
||||
"vendor/bin/phpunit"
|
||||
]
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user