From 670121daa31d736294baf7ddf8f9e3182e157ffa Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Mon, 19 Aug 2024 23:03:20 +0800 Subject: [PATCH] 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 --- .../mfa/factor/webauthn/classes/factor.php | 4 - lib/aws-sdk/composer.json | 74 +++++++++++ lib/classes/component.php | 17 ++- lib/geopattern-php/composer.json | 26 ++++ .../{ => src}/GeoPattern/GeoPattern.php | 0 .../{ => src}/GeoPattern/SVG.php | 0 .../{ => src}/GeoPattern/SVGElements/Base.php | 0 .../GeoPattern/SVGElements/Circle.php | 0 .../GeoPattern/SVGElements/Group.php | 0 .../{ => src}/GeoPattern/SVGElements/Path.php | 0 .../GeoPattern/SVGElements/Polyline.php | 0 .../GeoPattern/SVGElements/Rectangle.php | 0 lib/google/composer.json | 25 ++++ lib/lti1p3/composer.json | 53 ++++++++ lib/ltiprovider/composer.json | 23 ++++ lib/markdown/{ => Michelf}/Markdown.php | 0 lib/markdown/{ => Michelf}/MarkdownExtra.php | 0 .../{ => Michelf}/MarkdownInterface.php | 0 lib/markdown/composer.json | 54 ++++++++ lib/markdown/readme_moodle.txt | 4 +- .../matthiasmullie-minify/composer.json | 44 +++++++ .../composer.json | 28 +++++ lib/mustache/composer.json | 25 ++++ lib/openspout/composer.json | 76 ++++++++++++ lib/php-css-parser/composer.json | 69 +++++++++++ .../{ => src}/CSSList/AtRuleBlockList.php | 0 .../{ => src}/CSSList/CSSBlockList.php | 0 .../{ => src}/CSSList/CSSList.php | 0 .../{ => src}/CSSList/Document.php | 0 .../{ => src}/CSSList/KeyFrame.php | 0 .../{ => src}/Comment/Comment.php | 0 .../{ => src}/Comment/Commentable.php | 0 lib/php-css-parser/{ => src}/OutputFormat.php | 0 .../{ => src}/OutputFormatter.php | 0 lib/php-css-parser/{ => src}/Parser.php | 0 .../{ => src}/Parsing/OutputException.php | 0 .../{ => src}/Parsing/ParserState.php | 0 .../{ => src}/Parsing/SourceException.php | 0 .../Parsing/UnexpectedEOFException.php | 0 .../Parsing/UnexpectedTokenException.php | 0 .../{ => src}/Property/AtRule.php | 0 .../{ => src}/Property/CSSNamespace.php | 0 .../{ => src}/Property/Charset.php | 0 .../{ => src}/Property/Import.php | 0 .../{ => src}/Property/KeyframeSelector.php | 0 .../{ => src}/Property/Selector.php | 0 lib/php-css-parser/{ => src}/Renderable.php | 0 lib/php-css-parser/{ => src}/Rule/Rule.php | 0 .../{ => src}/RuleSet/AtRuleSet.php | 0 .../{ => src}/RuleSet/DeclarationBlock.php | 0 .../{ => src}/RuleSet/RuleSet.php | 0 lib/php-css-parser/{ => src}/Settings.php | 0 .../{ => src}/Value/CSSFunction.php | 0 .../{ => src}/Value/CSSString.php | 0 .../{ => src}/Value/CalcFunction.php | 0 .../{ => src}/Value/CalcRuleValueList.php | 0 lib/php-css-parser/{ => src}/Value/Color.php | 0 .../{ => src}/Value/LineName.php | 0 .../{ => src}/Value/PrimitiveValue.php | 0 .../{ => src}/Value/RuleValueList.php | 0 lib/php-css-parser/{ => src}/Value/Size.php | 0 lib/php-css-parser/{ => src}/Value/URL.php | 0 lib/php-css-parser/{ => src}/Value/Value.php | 0 .../{ => src}/Value/ValueList.php | 0 lib/phpmailer/composer.json | 79 ++++++++++++ lib/phpxmlrpc/composer.json | 37 ++++++ lib/phpxmlrpc/{ => src}/Client.php | 0 lib/phpxmlrpc/{ => src}/Encoder.php | 0 lib/phpxmlrpc/{ => src}/Exception.php | 0 .../Exception/FaultResponseException.php | 0 .../{ => src}/Exception/HttpException.php | 0 .../Exception/NoSuchMethodException.php | 0 .../{ => src}/Exception/ParsingException.php | 0 .../Exception/PhpXmlrpcException.php | 0 .../{ => src}/Exception/ServerException.php | 0 .../Exception/StateErrorException.php | 0 .../Exception/TransportException.php | 0 .../Exception/TypeErrorException.php | 0 .../Exception/ValueErrorException.php | 0 .../{ => src}/Exception/XmlException.php | 0 .../{ => src}/Exception/XmlRpcException.php | 0 lib/phpxmlrpc/{ => src}/Helper/Charset.php | 0 lib/phpxmlrpc/{ => src}/Helper/Date.php | 0 lib/phpxmlrpc/{ => src}/Helper/Http.php | 0 lib/phpxmlrpc/{ => src}/Helper/Interop.php | 0 lib/phpxmlrpc/{ => src}/Helper/Logger.php | 0 lib/phpxmlrpc/{ => src}/Helper/XMLParser.php | 0 lib/phpxmlrpc/{ => src}/PhpXmlRpc.php | 0 lib/phpxmlrpc/{ => src}/Request.php | 0 lib/phpxmlrpc/{ => src}/Response.php | 0 lib/phpxmlrpc/{ => src}/Server.php | 0 .../{ => src}/Traits/CharsetEncoderAware.php | 0 .../{ => src}/Traits/DeprecationLogger.php | 0 .../{ => src}/Traits/LoggerAware.php | 0 .../{ => src}/Traits/ParserAware.php | 0 .../{ => src}/Traits/PayloadBearer.php | 0 lib/phpxmlrpc/{ => src}/Value.php | 0 lib/phpxmlrpc/{ => src}/Wrapper.php | 0 lib/plist/composer.json | 51 ++++++++ .../CFPropertyList/CFArray.php | 0 .../CFPropertyList/CFBinaryPropertyList.php | 0 .../CFPropertyList/CFBoolean.php | 0 .../CFPropertyList/CFData.php | 0 .../CFPropertyList/CFDate.php | 0 .../CFPropertyList/CFDictionary.php | 0 .../CFPropertyList/CFNumber.php | 0 .../CFPropertyList/CFPropertyList.php | 0 .../CFPropertyList/CFString.php | 0 .../CFPropertyList/CFType.php | 0 .../CFPropertyList/CFTypeDetector.php | 0 .../{classes => src}/CFPropertyList/CFUid.php | 0 .../CFPropertyList/IOException.php | 0 .../CFPropertyList/PListException.php | 0 lib/psr/clock/composer.json | 24 ++++ lib/rtlcss/composer.json | 20 +++ .../{ => src/MoodleHQ/RTLCSS}/RTLCSS.php | 0 lib/scssphp/composer.json | 117 ++++++++++++++++++ lib/scssphp/{ => src}/Base/Range.php | 0 lib/scssphp/{ => src}/Block.php | 0 lib/scssphp/{ => src}/Block/AtRootBlock.php | 0 lib/scssphp/{ => src}/Block/CallableBlock.php | 0 lib/scssphp/{ => src}/Block/ContentBlock.php | 0 .../{ => src}/Block/DirectiveBlock.php | 0 lib/scssphp/{ => src}/Block/EachBlock.php | 0 lib/scssphp/{ => src}/Block/ElseBlock.php | 0 lib/scssphp/{ => src}/Block/ElseifBlock.php | 0 lib/scssphp/{ => src}/Block/ForBlock.php | 0 lib/scssphp/{ => src}/Block/IfBlock.php | 0 lib/scssphp/{ => src}/Block/MediaBlock.php | 0 .../{ => src}/Block/NestedPropertyBlock.php | 0 lib/scssphp/{ => src}/Block/WhileBlock.php | 0 lib/scssphp/{ => src}/Cache.php | 0 lib/scssphp/{ => src}/Colors.php | 0 lib/scssphp/{ => src}/CompilationResult.php | 0 lib/scssphp/{ => src}/Compiler.php | 0 .../{ => src}/Compiler/CachedResult.php | 0 .../{ => src}/Compiler/Environment.php | 0 .../{ => src}/Exception/CompilerException.php | 0 .../{ => src}/Exception/ParserException.php | 0 .../{ => src}/Exception/RangeException.php | 0 .../{ => src}/Exception/SassException.php | 0 .../Exception/SassScriptException.php | 0 .../{ => src}/Exception/ServerException.php | 0 lib/scssphp/{ => src}/Formatter.php | 0 lib/scssphp/{ => src}/Formatter/Compact.php | 0 .../{ => src}/Formatter/Compressed.php | 0 lib/scssphp/{ => src}/Formatter/Crunched.php | 0 lib/scssphp/{ => src}/Formatter/Debug.php | 0 lib/scssphp/{ => src}/Formatter/Expanded.php | 0 lib/scssphp/{ => src}/Formatter/Nested.php | 0 .../{ => src}/Formatter/OutputBlock.php | 0 .../{ => src}/Logger/LoggerInterface.php | 0 lib/scssphp/{ => src}/Logger/QuietLogger.php | 0 lib/scssphp/{ => src}/Logger/StreamLogger.php | 0 lib/scssphp/{ => src}/Node.php | 0 lib/scssphp/{ => src}/Node/Number.php | 0 lib/scssphp/{ => src}/OutputStyle.php | 0 lib/scssphp/{ => src}/Parser.php | 0 lib/scssphp/{ => src}/SourceMap/Base64.php | 0 lib/scssphp/{ => src}/SourceMap/Base64VLQ.php | 0 .../SourceMap/SourceMapGenerator.php | 0 lib/scssphp/{ => src}/Type.php | 0 lib/scssphp/{ => src}/Util.php | 0 lib/scssphp/{ => src}/Util/Path.php | 0 lib/scssphp/{ => src}/ValueConverter.php | 0 lib/scssphp/{ => src}/Version.php | 0 lib/scssphp/{ => src}/Warn.php | 0 lib/simplepie/composer.json | 65 ++++++++++ lib/thirdpartylibs.xml | 2 +- lib/weblib.php | 6 - lib/zipstream/composer.json | 88 +++++++++++++ 171 files changed, 992 insertions(+), 19 deletions(-) create mode 100644 lib/aws-sdk/composer.json create mode 100644 lib/geopattern-php/composer.json rename lib/geopattern-php/{ => src}/GeoPattern/GeoPattern.php (100%) rename lib/geopattern-php/{ => src}/GeoPattern/SVG.php (100%) rename lib/geopattern-php/{ => src}/GeoPattern/SVGElements/Base.php (100%) rename lib/geopattern-php/{ => src}/GeoPattern/SVGElements/Circle.php (100%) rename lib/geopattern-php/{ => src}/GeoPattern/SVGElements/Group.php (100%) rename lib/geopattern-php/{ => src}/GeoPattern/SVGElements/Path.php (100%) rename lib/geopattern-php/{ => src}/GeoPattern/SVGElements/Polyline.php (100%) rename lib/geopattern-php/{ => src}/GeoPattern/SVGElements/Rectangle.php (100%) create mode 100644 lib/google/composer.json create mode 100644 lib/lti1p3/composer.json create mode 100644 lib/ltiprovider/composer.json rename lib/markdown/{ => Michelf}/Markdown.php (100%) rename lib/markdown/{ => Michelf}/MarkdownExtra.php (100%) rename lib/markdown/{ => Michelf}/MarkdownInterface.php (100%) create mode 100644 lib/markdown/composer.json create mode 100644 lib/minify/matthiasmullie-minify/composer.json create mode 100644 lib/minify/matthiasmullie-pathconverter/composer.json create mode 100644 lib/mustache/composer.json create mode 100644 lib/openspout/composer.json create mode 100644 lib/php-css-parser/composer.json rename lib/php-css-parser/{ => src}/CSSList/AtRuleBlockList.php (100%) rename lib/php-css-parser/{ => src}/CSSList/CSSBlockList.php (100%) rename lib/php-css-parser/{ => src}/CSSList/CSSList.php (100%) rename lib/php-css-parser/{ => src}/CSSList/Document.php (100%) rename lib/php-css-parser/{ => src}/CSSList/KeyFrame.php (100%) rename lib/php-css-parser/{ => src}/Comment/Comment.php (100%) rename lib/php-css-parser/{ => src}/Comment/Commentable.php (100%) rename lib/php-css-parser/{ => src}/OutputFormat.php (100%) rename lib/php-css-parser/{ => src}/OutputFormatter.php (100%) rename lib/php-css-parser/{ => src}/Parser.php (100%) rename lib/php-css-parser/{ => src}/Parsing/OutputException.php (100%) rename lib/php-css-parser/{ => src}/Parsing/ParserState.php (100%) rename lib/php-css-parser/{ => src}/Parsing/SourceException.php (100%) rename lib/php-css-parser/{ => src}/Parsing/UnexpectedEOFException.php (100%) rename lib/php-css-parser/{ => src}/Parsing/UnexpectedTokenException.php (100%) rename lib/php-css-parser/{ => src}/Property/AtRule.php (100%) rename lib/php-css-parser/{ => src}/Property/CSSNamespace.php (100%) rename lib/php-css-parser/{ => src}/Property/Charset.php (100%) rename lib/php-css-parser/{ => src}/Property/Import.php (100%) rename lib/php-css-parser/{ => src}/Property/KeyframeSelector.php (100%) rename lib/php-css-parser/{ => src}/Property/Selector.php (100%) rename lib/php-css-parser/{ => src}/Renderable.php (100%) rename lib/php-css-parser/{ => src}/Rule/Rule.php (100%) rename lib/php-css-parser/{ => src}/RuleSet/AtRuleSet.php (100%) rename lib/php-css-parser/{ => src}/RuleSet/DeclarationBlock.php (100%) rename lib/php-css-parser/{ => src}/RuleSet/RuleSet.php (100%) rename lib/php-css-parser/{ => src}/Settings.php (100%) rename lib/php-css-parser/{ => src}/Value/CSSFunction.php (100%) rename lib/php-css-parser/{ => src}/Value/CSSString.php (100%) rename lib/php-css-parser/{ => src}/Value/CalcFunction.php (100%) rename lib/php-css-parser/{ => src}/Value/CalcRuleValueList.php (100%) rename lib/php-css-parser/{ => src}/Value/Color.php (100%) rename lib/php-css-parser/{ => src}/Value/LineName.php (100%) rename lib/php-css-parser/{ => src}/Value/PrimitiveValue.php (100%) rename lib/php-css-parser/{ => src}/Value/RuleValueList.php (100%) rename lib/php-css-parser/{ => src}/Value/Size.php (100%) rename lib/php-css-parser/{ => src}/Value/URL.php (100%) rename lib/php-css-parser/{ => src}/Value/Value.php (100%) rename lib/php-css-parser/{ => src}/Value/ValueList.php (100%) create mode 100644 lib/phpmailer/composer.json create mode 100644 lib/phpxmlrpc/composer.json rename lib/phpxmlrpc/{ => src}/Client.php (100%) rename lib/phpxmlrpc/{ => src}/Encoder.php (100%) rename lib/phpxmlrpc/{ => src}/Exception.php (100%) rename lib/phpxmlrpc/{ => src}/Exception/FaultResponseException.php (100%) rename lib/phpxmlrpc/{ => src}/Exception/HttpException.php (100%) rename lib/phpxmlrpc/{ => src}/Exception/NoSuchMethodException.php (100%) rename lib/phpxmlrpc/{ => src}/Exception/ParsingException.php (100%) rename lib/phpxmlrpc/{ => src}/Exception/PhpXmlrpcException.php (100%) rename lib/phpxmlrpc/{ => src}/Exception/ServerException.php (100%) rename lib/phpxmlrpc/{ => src}/Exception/StateErrorException.php (100%) rename lib/phpxmlrpc/{ => src}/Exception/TransportException.php (100%) rename lib/phpxmlrpc/{ => src}/Exception/TypeErrorException.php (100%) rename lib/phpxmlrpc/{ => src}/Exception/ValueErrorException.php (100%) rename lib/phpxmlrpc/{ => src}/Exception/XmlException.php (100%) rename lib/phpxmlrpc/{ => src}/Exception/XmlRpcException.php (100%) rename lib/phpxmlrpc/{ => src}/Helper/Charset.php (100%) rename lib/phpxmlrpc/{ => src}/Helper/Date.php (100%) rename lib/phpxmlrpc/{ => src}/Helper/Http.php (100%) rename lib/phpxmlrpc/{ => src}/Helper/Interop.php (100%) rename lib/phpxmlrpc/{ => src}/Helper/Logger.php (100%) rename lib/phpxmlrpc/{ => src}/Helper/XMLParser.php (100%) rename lib/phpxmlrpc/{ => src}/PhpXmlRpc.php (100%) rename lib/phpxmlrpc/{ => src}/Request.php (100%) rename lib/phpxmlrpc/{ => src}/Response.php (100%) rename lib/phpxmlrpc/{ => src}/Server.php (100%) rename lib/phpxmlrpc/{ => src}/Traits/CharsetEncoderAware.php (100%) rename lib/phpxmlrpc/{ => src}/Traits/DeprecationLogger.php (100%) rename lib/phpxmlrpc/{ => src}/Traits/LoggerAware.php (100%) rename lib/phpxmlrpc/{ => src}/Traits/ParserAware.php (100%) rename lib/phpxmlrpc/{ => src}/Traits/PayloadBearer.php (100%) rename lib/phpxmlrpc/{ => src}/Value.php (100%) rename lib/phpxmlrpc/{ => src}/Wrapper.php (100%) create mode 100644 lib/plist/composer.json rename lib/plist/{classes => src}/CFPropertyList/CFArray.php (100%) rename lib/plist/{classes => src}/CFPropertyList/CFBinaryPropertyList.php (100%) rename lib/plist/{classes => src}/CFPropertyList/CFBoolean.php (100%) rename lib/plist/{classes => src}/CFPropertyList/CFData.php (100%) rename lib/plist/{classes => src}/CFPropertyList/CFDate.php (100%) rename lib/plist/{classes => src}/CFPropertyList/CFDictionary.php (100%) rename lib/plist/{classes => src}/CFPropertyList/CFNumber.php (100%) rename lib/plist/{classes => src}/CFPropertyList/CFPropertyList.php (100%) rename lib/plist/{classes => src}/CFPropertyList/CFString.php (100%) rename lib/plist/{classes => src}/CFPropertyList/CFType.php (100%) rename lib/plist/{classes => src}/CFPropertyList/CFTypeDetector.php (100%) rename lib/plist/{classes => src}/CFPropertyList/CFUid.php (100%) rename lib/plist/{classes => src}/CFPropertyList/IOException.php (100%) rename lib/plist/{classes => src}/CFPropertyList/PListException.php (100%) create mode 100644 lib/psr/clock/composer.json create mode 100644 lib/rtlcss/composer.json rename lib/rtlcss/{ => src/MoodleHQ/RTLCSS}/RTLCSS.php (100%) create mode 100644 lib/scssphp/composer.json rename lib/scssphp/{ => src}/Base/Range.php (100%) rename lib/scssphp/{ => src}/Block.php (100%) rename lib/scssphp/{ => src}/Block/AtRootBlock.php (100%) rename lib/scssphp/{ => src}/Block/CallableBlock.php (100%) rename lib/scssphp/{ => src}/Block/ContentBlock.php (100%) rename lib/scssphp/{ => src}/Block/DirectiveBlock.php (100%) rename lib/scssphp/{ => src}/Block/EachBlock.php (100%) rename lib/scssphp/{ => src}/Block/ElseBlock.php (100%) rename lib/scssphp/{ => src}/Block/ElseifBlock.php (100%) rename lib/scssphp/{ => src}/Block/ForBlock.php (100%) rename lib/scssphp/{ => src}/Block/IfBlock.php (100%) rename lib/scssphp/{ => src}/Block/MediaBlock.php (100%) rename lib/scssphp/{ => src}/Block/NestedPropertyBlock.php (100%) rename lib/scssphp/{ => src}/Block/WhileBlock.php (100%) rename lib/scssphp/{ => src}/Cache.php (100%) rename lib/scssphp/{ => src}/Colors.php (100%) rename lib/scssphp/{ => src}/CompilationResult.php (100%) rename lib/scssphp/{ => src}/Compiler.php (100%) rename lib/scssphp/{ => src}/Compiler/CachedResult.php (100%) rename lib/scssphp/{ => src}/Compiler/Environment.php (100%) rename lib/scssphp/{ => src}/Exception/CompilerException.php (100%) rename lib/scssphp/{ => src}/Exception/ParserException.php (100%) rename lib/scssphp/{ => src}/Exception/RangeException.php (100%) rename lib/scssphp/{ => src}/Exception/SassException.php (100%) rename lib/scssphp/{ => src}/Exception/SassScriptException.php (100%) rename lib/scssphp/{ => src}/Exception/ServerException.php (100%) rename lib/scssphp/{ => src}/Formatter.php (100%) rename lib/scssphp/{ => src}/Formatter/Compact.php (100%) rename lib/scssphp/{ => src}/Formatter/Compressed.php (100%) rename lib/scssphp/{ => src}/Formatter/Crunched.php (100%) rename lib/scssphp/{ => src}/Formatter/Debug.php (100%) rename lib/scssphp/{ => src}/Formatter/Expanded.php (100%) rename lib/scssphp/{ => src}/Formatter/Nested.php (100%) rename lib/scssphp/{ => src}/Formatter/OutputBlock.php (100%) rename lib/scssphp/{ => src}/Logger/LoggerInterface.php (100%) rename lib/scssphp/{ => src}/Logger/QuietLogger.php (100%) rename lib/scssphp/{ => src}/Logger/StreamLogger.php (100%) rename lib/scssphp/{ => src}/Node.php (100%) rename lib/scssphp/{ => src}/Node/Number.php (100%) rename lib/scssphp/{ => src}/OutputStyle.php (100%) rename lib/scssphp/{ => src}/Parser.php (100%) rename lib/scssphp/{ => src}/SourceMap/Base64.php (100%) rename lib/scssphp/{ => src}/SourceMap/Base64VLQ.php (100%) rename lib/scssphp/{ => src}/SourceMap/SourceMapGenerator.php (100%) rename lib/scssphp/{ => src}/Type.php (100%) rename lib/scssphp/{ => src}/Util.php (100%) rename lib/scssphp/{ => src}/Util/Path.php (100%) rename lib/scssphp/{ => src}/ValueConverter.php (100%) rename lib/scssphp/{ => src}/Version.php (100%) rename lib/scssphp/{ => src}/Warn.php (100%) create mode 100644 lib/simplepie/composer.json create mode 100644 lib/zipstream/composer.json diff --git a/admin/tool/mfa/factor/webauthn/classes/factor.php b/admin/tool/mfa/factor/webauthn/classes/factor.php index 2ddfa834e24..1be01d81d10 100644 --- a/admin/tool/mfa/factor/webauthn/classes/factor.php +++ b/admin/tool/mfa/factor/webauthn/classes/factor.php @@ -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; diff --git a/lib/aws-sdk/composer.json b/lib/aws-sdk/composer.json new file mode 100644 index 00000000000..e96eaff9fc6 --- /dev/null +++ b/lib/aws-sdk/composer.json @@ -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" + } + } +} + diff --git a/lib/classes/component.php b/lib/classes/component.php index b0a897e87c9..b7493c7aa39 100644 --- a/lib/classes/component.php +++ b/lib/classes/component.php @@ -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> 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', ]; /** diff --git a/lib/geopattern-php/composer.json b/lib/geopattern-php/composer.json new file mode 100644 index 00000000000..88558042b27 --- /dev/null +++ b/lib/geopattern-php/composer.json @@ -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.*" + } +} diff --git a/lib/geopattern-php/GeoPattern/GeoPattern.php b/lib/geopattern-php/src/GeoPattern/GeoPattern.php similarity index 100% rename from lib/geopattern-php/GeoPattern/GeoPattern.php rename to lib/geopattern-php/src/GeoPattern/GeoPattern.php diff --git a/lib/geopattern-php/GeoPattern/SVG.php b/lib/geopattern-php/src/GeoPattern/SVG.php similarity index 100% rename from lib/geopattern-php/GeoPattern/SVG.php rename to lib/geopattern-php/src/GeoPattern/SVG.php diff --git a/lib/geopattern-php/GeoPattern/SVGElements/Base.php b/lib/geopattern-php/src/GeoPattern/SVGElements/Base.php similarity index 100% rename from lib/geopattern-php/GeoPattern/SVGElements/Base.php rename to lib/geopattern-php/src/GeoPattern/SVGElements/Base.php diff --git a/lib/geopattern-php/GeoPattern/SVGElements/Circle.php b/lib/geopattern-php/src/GeoPattern/SVGElements/Circle.php similarity index 100% rename from lib/geopattern-php/GeoPattern/SVGElements/Circle.php rename to lib/geopattern-php/src/GeoPattern/SVGElements/Circle.php diff --git a/lib/geopattern-php/GeoPattern/SVGElements/Group.php b/lib/geopattern-php/src/GeoPattern/SVGElements/Group.php similarity index 100% rename from lib/geopattern-php/GeoPattern/SVGElements/Group.php rename to lib/geopattern-php/src/GeoPattern/SVGElements/Group.php diff --git a/lib/geopattern-php/GeoPattern/SVGElements/Path.php b/lib/geopattern-php/src/GeoPattern/SVGElements/Path.php similarity index 100% rename from lib/geopattern-php/GeoPattern/SVGElements/Path.php rename to lib/geopattern-php/src/GeoPattern/SVGElements/Path.php diff --git a/lib/geopattern-php/GeoPattern/SVGElements/Polyline.php b/lib/geopattern-php/src/GeoPattern/SVGElements/Polyline.php similarity index 100% rename from lib/geopattern-php/GeoPattern/SVGElements/Polyline.php rename to lib/geopattern-php/src/GeoPattern/SVGElements/Polyline.php diff --git a/lib/geopattern-php/GeoPattern/SVGElements/Rectangle.php b/lib/geopattern-php/src/GeoPattern/SVGElements/Rectangle.php similarity index 100% rename from lib/geopattern-php/GeoPattern/SVGElements/Rectangle.php rename to lib/geopattern-php/src/GeoPattern/SVGElements/Rectangle.php diff --git a/lib/google/composer.json b/lib/google/composer.json new file mode 100644 index 00000000000..224d0b6669f --- /dev/null +++ b/lib/google/composer.json @@ -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" + } + } +} diff --git a/lib/lti1p3/composer.json b/lib/lti1p3/composer.json new file mode 100644 index 00000000000..739f973ed4b --- /dev/null +++ b/lib/lti1p3/composer.json @@ -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" + } +} diff --git a/lib/ltiprovider/composer.json b/lib/ltiprovider/composer.json new file mode 100644 index 00000000000..924ee5c997c --- /dev/null +++ b/lib/ltiprovider/composer.json @@ -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/" + } + } +} diff --git a/lib/markdown/Markdown.php b/lib/markdown/Michelf/Markdown.php similarity index 100% rename from lib/markdown/Markdown.php rename to lib/markdown/Michelf/Markdown.php diff --git a/lib/markdown/MarkdownExtra.php b/lib/markdown/Michelf/MarkdownExtra.php similarity index 100% rename from lib/markdown/MarkdownExtra.php rename to lib/markdown/Michelf/MarkdownExtra.php diff --git a/lib/markdown/MarkdownInterface.php b/lib/markdown/Michelf/MarkdownInterface.php similarity index 100% rename from lib/markdown/MarkdownInterface.php rename to lib/markdown/Michelf/MarkdownInterface.php diff --git a/lib/markdown/composer.json b/lib/markdown/composer.json new file mode 100644 index 00000000000..7cb59cf8506 --- /dev/null +++ b/lib/markdown/composer.json @@ -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" + ] + } +} diff --git a/lib/markdown/readme_moodle.txt b/lib/markdown/readme_moodle.txt index 7a1f015a1a7..9da50383cfa 100644 --- a/lib/markdown/readme_moodle.txt +++ b/lib/markdown/readme_moodle.txt @@ -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) - diff --git a/lib/minify/matthiasmullie-minify/composer.json b/lib/minify/matthiasmullie-minify/composer.json new file mode 100644 index 00000000000..4b840a1ce05 --- /dev/null +++ b/lib/minify/matthiasmullie-minify/composer.json @@ -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" + ] +} diff --git a/lib/minify/matthiasmullie-pathconverter/composer.json b/lib/minify/matthiasmullie-pathconverter/composer.json new file mode 100644 index 00000000000..1cb6a4c597a --- /dev/null +++ b/lib/minify/matthiasmullie-pathconverter/composer.json @@ -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/" + } + } +} diff --git a/lib/mustache/composer.json b/lib/mustache/composer.json new file mode 100644 index 00000000000..d0514f33325 --- /dev/null +++ b/lib/mustache/composer.json @@ -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/" } + } +} diff --git a/lib/openspout/composer.json b/lib/openspout/composer.json new file mode 100644 index 00000000000..ffc36db5bd1 --- /dev/null +++ b/lib/openspout/composer.json @@ -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" + } + } +} diff --git a/lib/php-css-parser/composer.json b/lib/php-css-parser/composer.json new file mode 100644 index 00000000000..e192dd56a18 --- /dev/null +++ b/lib/php-css-parser/composer.json @@ -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." + } +} diff --git a/lib/php-css-parser/CSSList/AtRuleBlockList.php b/lib/php-css-parser/src/CSSList/AtRuleBlockList.php similarity index 100% rename from lib/php-css-parser/CSSList/AtRuleBlockList.php rename to lib/php-css-parser/src/CSSList/AtRuleBlockList.php diff --git a/lib/php-css-parser/CSSList/CSSBlockList.php b/lib/php-css-parser/src/CSSList/CSSBlockList.php similarity index 100% rename from lib/php-css-parser/CSSList/CSSBlockList.php rename to lib/php-css-parser/src/CSSList/CSSBlockList.php diff --git a/lib/php-css-parser/CSSList/CSSList.php b/lib/php-css-parser/src/CSSList/CSSList.php similarity index 100% rename from lib/php-css-parser/CSSList/CSSList.php rename to lib/php-css-parser/src/CSSList/CSSList.php diff --git a/lib/php-css-parser/CSSList/Document.php b/lib/php-css-parser/src/CSSList/Document.php similarity index 100% rename from lib/php-css-parser/CSSList/Document.php rename to lib/php-css-parser/src/CSSList/Document.php diff --git a/lib/php-css-parser/CSSList/KeyFrame.php b/lib/php-css-parser/src/CSSList/KeyFrame.php similarity index 100% rename from lib/php-css-parser/CSSList/KeyFrame.php rename to lib/php-css-parser/src/CSSList/KeyFrame.php diff --git a/lib/php-css-parser/Comment/Comment.php b/lib/php-css-parser/src/Comment/Comment.php similarity index 100% rename from lib/php-css-parser/Comment/Comment.php rename to lib/php-css-parser/src/Comment/Comment.php diff --git a/lib/php-css-parser/Comment/Commentable.php b/lib/php-css-parser/src/Comment/Commentable.php similarity index 100% rename from lib/php-css-parser/Comment/Commentable.php rename to lib/php-css-parser/src/Comment/Commentable.php diff --git a/lib/php-css-parser/OutputFormat.php b/lib/php-css-parser/src/OutputFormat.php similarity index 100% rename from lib/php-css-parser/OutputFormat.php rename to lib/php-css-parser/src/OutputFormat.php diff --git a/lib/php-css-parser/OutputFormatter.php b/lib/php-css-parser/src/OutputFormatter.php similarity index 100% rename from lib/php-css-parser/OutputFormatter.php rename to lib/php-css-parser/src/OutputFormatter.php diff --git a/lib/php-css-parser/Parser.php b/lib/php-css-parser/src/Parser.php similarity index 100% rename from lib/php-css-parser/Parser.php rename to lib/php-css-parser/src/Parser.php diff --git a/lib/php-css-parser/Parsing/OutputException.php b/lib/php-css-parser/src/Parsing/OutputException.php similarity index 100% rename from lib/php-css-parser/Parsing/OutputException.php rename to lib/php-css-parser/src/Parsing/OutputException.php diff --git a/lib/php-css-parser/Parsing/ParserState.php b/lib/php-css-parser/src/Parsing/ParserState.php similarity index 100% rename from lib/php-css-parser/Parsing/ParserState.php rename to lib/php-css-parser/src/Parsing/ParserState.php diff --git a/lib/php-css-parser/Parsing/SourceException.php b/lib/php-css-parser/src/Parsing/SourceException.php similarity index 100% rename from lib/php-css-parser/Parsing/SourceException.php rename to lib/php-css-parser/src/Parsing/SourceException.php diff --git a/lib/php-css-parser/Parsing/UnexpectedEOFException.php b/lib/php-css-parser/src/Parsing/UnexpectedEOFException.php similarity index 100% rename from lib/php-css-parser/Parsing/UnexpectedEOFException.php rename to lib/php-css-parser/src/Parsing/UnexpectedEOFException.php diff --git a/lib/php-css-parser/Parsing/UnexpectedTokenException.php b/lib/php-css-parser/src/Parsing/UnexpectedTokenException.php similarity index 100% rename from lib/php-css-parser/Parsing/UnexpectedTokenException.php rename to lib/php-css-parser/src/Parsing/UnexpectedTokenException.php diff --git a/lib/php-css-parser/Property/AtRule.php b/lib/php-css-parser/src/Property/AtRule.php similarity index 100% rename from lib/php-css-parser/Property/AtRule.php rename to lib/php-css-parser/src/Property/AtRule.php diff --git a/lib/php-css-parser/Property/CSSNamespace.php b/lib/php-css-parser/src/Property/CSSNamespace.php similarity index 100% rename from lib/php-css-parser/Property/CSSNamespace.php rename to lib/php-css-parser/src/Property/CSSNamespace.php diff --git a/lib/php-css-parser/Property/Charset.php b/lib/php-css-parser/src/Property/Charset.php similarity index 100% rename from lib/php-css-parser/Property/Charset.php rename to lib/php-css-parser/src/Property/Charset.php diff --git a/lib/php-css-parser/Property/Import.php b/lib/php-css-parser/src/Property/Import.php similarity index 100% rename from lib/php-css-parser/Property/Import.php rename to lib/php-css-parser/src/Property/Import.php diff --git a/lib/php-css-parser/Property/KeyframeSelector.php b/lib/php-css-parser/src/Property/KeyframeSelector.php similarity index 100% rename from lib/php-css-parser/Property/KeyframeSelector.php rename to lib/php-css-parser/src/Property/KeyframeSelector.php diff --git a/lib/php-css-parser/Property/Selector.php b/lib/php-css-parser/src/Property/Selector.php similarity index 100% rename from lib/php-css-parser/Property/Selector.php rename to lib/php-css-parser/src/Property/Selector.php diff --git a/lib/php-css-parser/Renderable.php b/lib/php-css-parser/src/Renderable.php similarity index 100% rename from lib/php-css-parser/Renderable.php rename to lib/php-css-parser/src/Renderable.php diff --git a/lib/php-css-parser/Rule/Rule.php b/lib/php-css-parser/src/Rule/Rule.php similarity index 100% rename from lib/php-css-parser/Rule/Rule.php rename to lib/php-css-parser/src/Rule/Rule.php diff --git a/lib/php-css-parser/RuleSet/AtRuleSet.php b/lib/php-css-parser/src/RuleSet/AtRuleSet.php similarity index 100% rename from lib/php-css-parser/RuleSet/AtRuleSet.php rename to lib/php-css-parser/src/RuleSet/AtRuleSet.php diff --git a/lib/php-css-parser/RuleSet/DeclarationBlock.php b/lib/php-css-parser/src/RuleSet/DeclarationBlock.php similarity index 100% rename from lib/php-css-parser/RuleSet/DeclarationBlock.php rename to lib/php-css-parser/src/RuleSet/DeclarationBlock.php diff --git a/lib/php-css-parser/RuleSet/RuleSet.php b/lib/php-css-parser/src/RuleSet/RuleSet.php similarity index 100% rename from lib/php-css-parser/RuleSet/RuleSet.php rename to lib/php-css-parser/src/RuleSet/RuleSet.php diff --git a/lib/php-css-parser/Settings.php b/lib/php-css-parser/src/Settings.php similarity index 100% rename from lib/php-css-parser/Settings.php rename to lib/php-css-parser/src/Settings.php diff --git a/lib/php-css-parser/Value/CSSFunction.php b/lib/php-css-parser/src/Value/CSSFunction.php similarity index 100% rename from lib/php-css-parser/Value/CSSFunction.php rename to lib/php-css-parser/src/Value/CSSFunction.php diff --git a/lib/php-css-parser/Value/CSSString.php b/lib/php-css-parser/src/Value/CSSString.php similarity index 100% rename from lib/php-css-parser/Value/CSSString.php rename to lib/php-css-parser/src/Value/CSSString.php diff --git a/lib/php-css-parser/Value/CalcFunction.php b/lib/php-css-parser/src/Value/CalcFunction.php similarity index 100% rename from lib/php-css-parser/Value/CalcFunction.php rename to lib/php-css-parser/src/Value/CalcFunction.php diff --git a/lib/php-css-parser/Value/CalcRuleValueList.php b/lib/php-css-parser/src/Value/CalcRuleValueList.php similarity index 100% rename from lib/php-css-parser/Value/CalcRuleValueList.php rename to lib/php-css-parser/src/Value/CalcRuleValueList.php diff --git a/lib/php-css-parser/Value/Color.php b/lib/php-css-parser/src/Value/Color.php similarity index 100% rename from lib/php-css-parser/Value/Color.php rename to lib/php-css-parser/src/Value/Color.php diff --git a/lib/php-css-parser/Value/LineName.php b/lib/php-css-parser/src/Value/LineName.php similarity index 100% rename from lib/php-css-parser/Value/LineName.php rename to lib/php-css-parser/src/Value/LineName.php diff --git a/lib/php-css-parser/Value/PrimitiveValue.php b/lib/php-css-parser/src/Value/PrimitiveValue.php similarity index 100% rename from lib/php-css-parser/Value/PrimitiveValue.php rename to lib/php-css-parser/src/Value/PrimitiveValue.php diff --git a/lib/php-css-parser/Value/RuleValueList.php b/lib/php-css-parser/src/Value/RuleValueList.php similarity index 100% rename from lib/php-css-parser/Value/RuleValueList.php rename to lib/php-css-parser/src/Value/RuleValueList.php diff --git a/lib/php-css-parser/Value/Size.php b/lib/php-css-parser/src/Value/Size.php similarity index 100% rename from lib/php-css-parser/Value/Size.php rename to lib/php-css-parser/src/Value/Size.php diff --git a/lib/php-css-parser/Value/URL.php b/lib/php-css-parser/src/Value/URL.php similarity index 100% rename from lib/php-css-parser/Value/URL.php rename to lib/php-css-parser/src/Value/URL.php diff --git a/lib/php-css-parser/Value/Value.php b/lib/php-css-parser/src/Value/Value.php similarity index 100% rename from lib/php-css-parser/Value/Value.php rename to lib/php-css-parser/src/Value/Value.php diff --git a/lib/php-css-parser/Value/ValueList.php b/lib/php-css-parser/src/Value/ValueList.php similarity index 100% rename from lib/php-css-parser/Value/ValueList.php rename to lib/php-css-parser/src/Value/ValueList.php diff --git a/lib/phpmailer/composer.json b/lib/phpmailer/composer.json new file mode 100644 index 00000000000..fa170a0bbbd --- /dev/null +++ b/lib/phpmailer/composer.json @@ -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" + ] + } +} diff --git a/lib/phpxmlrpc/composer.json b/lib/phpxmlrpc/composer.json new file mode 100644 index 00000000000..9d4aff406b7 --- /dev/null +++ b/lib/phpxmlrpc/composer.json @@ -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/"} + } +} diff --git a/lib/phpxmlrpc/Client.php b/lib/phpxmlrpc/src/Client.php similarity index 100% rename from lib/phpxmlrpc/Client.php rename to lib/phpxmlrpc/src/Client.php diff --git a/lib/phpxmlrpc/Encoder.php b/lib/phpxmlrpc/src/Encoder.php similarity index 100% rename from lib/phpxmlrpc/Encoder.php rename to lib/phpxmlrpc/src/Encoder.php diff --git a/lib/phpxmlrpc/Exception.php b/lib/phpxmlrpc/src/Exception.php similarity index 100% rename from lib/phpxmlrpc/Exception.php rename to lib/phpxmlrpc/src/Exception.php diff --git a/lib/phpxmlrpc/Exception/FaultResponseException.php b/lib/phpxmlrpc/src/Exception/FaultResponseException.php similarity index 100% rename from lib/phpxmlrpc/Exception/FaultResponseException.php rename to lib/phpxmlrpc/src/Exception/FaultResponseException.php diff --git a/lib/phpxmlrpc/Exception/HttpException.php b/lib/phpxmlrpc/src/Exception/HttpException.php similarity index 100% rename from lib/phpxmlrpc/Exception/HttpException.php rename to lib/phpxmlrpc/src/Exception/HttpException.php diff --git a/lib/phpxmlrpc/Exception/NoSuchMethodException.php b/lib/phpxmlrpc/src/Exception/NoSuchMethodException.php similarity index 100% rename from lib/phpxmlrpc/Exception/NoSuchMethodException.php rename to lib/phpxmlrpc/src/Exception/NoSuchMethodException.php diff --git a/lib/phpxmlrpc/Exception/ParsingException.php b/lib/phpxmlrpc/src/Exception/ParsingException.php similarity index 100% rename from lib/phpxmlrpc/Exception/ParsingException.php rename to lib/phpxmlrpc/src/Exception/ParsingException.php diff --git a/lib/phpxmlrpc/Exception/PhpXmlrpcException.php b/lib/phpxmlrpc/src/Exception/PhpXmlrpcException.php similarity index 100% rename from lib/phpxmlrpc/Exception/PhpXmlrpcException.php rename to lib/phpxmlrpc/src/Exception/PhpXmlrpcException.php diff --git a/lib/phpxmlrpc/Exception/ServerException.php b/lib/phpxmlrpc/src/Exception/ServerException.php similarity index 100% rename from lib/phpxmlrpc/Exception/ServerException.php rename to lib/phpxmlrpc/src/Exception/ServerException.php diff --git a/lib/phpxmlrpc/Exception/StateErrorException.php b/lib/phpxmlrpc/src/Exception/StateErrorException.php similarity index 100% rename from lib/phpxmlrpc/Exception/StateErrorException.php rename to lib/phpxmlrpc/src/Exception/StateErrorException.php diff --git a/lib/phpxmlrpc/Exception/TransportException.php b/lib/phpxmlrpc/src/Exception/TransportException.php similarity index 100% rename from lib/phpxmlrpc/Exception/TransportException.php rename to lib/phpxmlrpc/src/Exception/TransportException.php diff --git a/lib/phpxmlrpc/Exception/TypeErrorException.php b/lib/phpxmlrpc/src/Exception/TypeErrorException.php similarity index 100% rename from lib/phpxmlrpc/Exception/TypeErrorException.php rename to lib/phpxmlrpc/src/Exception/TypeErrorException.php diff --git a/lib/phpxmlrpc/Exception/ValueErrorException.php b/lib/phpxmlrpc/src/Exception/ValueErrorException.php similarity index 100% rename from lib/phpxmlrpc/Exception/ValueErrorException.php rename to lib/phpxmlrpc/src/Exception/ValueErrorException.php diff --git a/lib/phpxmlrpc/Exception/XmlException.php b/lib/phpxmlrpc/src/Exception/XmlException.php similarity index 100% rename from lib/phpxmlrpc/Exception/XmlException.php rename to lib/phpxmlrpc/src/Exception/XmlException.php diff --git a/lib/phpxmlrpc/Exception/XmlRpcException.php b/lib/phpxmlrpc/src/Exception/XmlRpcException.php similarity index 100% rename from lib/phpxmlrpc/Exception/XmlRpcException.php rename to lib/phpxmlrpc/src/Exception/XmlRpcException.php diff --git a/lib/phpxmlrpc/Helper/Charset.php b/lib/phpxmlrpc/src/Helper/Charset.php similarity index 100% rename from lib/phpxmlrpc/Helper/Charset.php rename to lib/phpxmlrpc/src/Helper/Charset.php diff --git a/lib/phpxmlrpc/Helper/Date.php b/lib/phpxmlrpc/src/Helper/Date.php similarity index 100% rename from lib/phpxmlrpc/Helper/Date.php rename to lib/phpxmlrpc/src/Helper/Date.php diff --git a/lib/phpxmlrpc/Helper/Http.php b/lib/phpxmlrpc/src/Helper/Http.php similarity index 100% rename from lib/phpxmlrpc/Helper/Http.php rename to lib/phpxmlrpc/src/Helper/Http.php diff --git a/lib/phpxmlrpc/Helper/Interop.php b/lib/phpxmlrpc/src/Helper/Interop.php similarity index 100% rename from lib/phpxmlrpc/Helper/Interop.php rename to lib/phpxmlrpc/src/Helper/Interop.php diff --git a/lib/phpxmlrpc/Helper/Logger.php b/lib/phpxmlrpc/src/Helper/Logger.php similarity index 100% rename from lib/phpxmlrpc/Helper/Logger.php rename to lib/phpxmlrpc/src/Helper/Logger.php diff --git a/lib/phpxmlrpc/Helper/XMLParser.php b/lib/phpxmlrpc/src/Helper/XMLParser.php similarity index 100% rename from lib/phpxmlrpc/Helper/XMLParser.php rename to lib/phpxmlrpc/src/Helper/XMLParser.php diff --git a/lib/phpxmlrpc/PhpXmlRpc.php b/lib/phpxmlrpc/src/PhpXmlRpc.php similarity index 100% rename from lib/phpxmlrpc/PhpXmlRpc.php rename to lib/phpxmlrpc/src/PhpXmlRpc.php diff --git a/lib/phpxmlrpc/Request.php b/lib/phpxmlrpc/src/Request.php similarity index 100% rename from lib/phpxmlrpc/Request.php rename to lib/phpxmlrpc/src/Request.php diff --git a/lib/phpxmlrpc/Response.php b/lib/phpxmlrpc/src/Response.php similarity index 100% rename from lib/phpxmlrpc/Response.php rename to lib/phpxmlrpc/src/Response.php diff --git a/lib/phpxmlrpc/Server.php b/lib/phpxmlrpc/src/Server.php similarity index 100% rename from lib/phpxmlrpc/Server.php rename to lib/phpxmlrpc/src/Server.php diff --git a/lib/phpxmlrpc/Traits/CharsetEncoderAware.php b/lib/phpxmlrpc/src/Traits/CharsetEncoderAware.php similarity index 100% rename from lib/phpxmlrpc/Traits/CharsetEncoderAware.php rename to lib/phpxmlrpc/src/Traits/CharsetEncoderAware.php diff --git a/lib/phpxmlrpc/Traits/DeprecationLogger.php b/lib/phpxmlrpc/src/Traits/DeprecationLogger.php similarity index 100% rename from lib/phpxmlrpc/Traits/DeprecationLogger.php rename to lib/phpxmlrpc/src/Traits/DeprecationLogger.php diff --git a/lib/phpxmlrpc/Traits/LoggerAware.php b/lib/phpxmlrpc/src/Traits/LoggerAware.php similarity index 100% rename from lib/phpxmlrpc/Traits/LoggerAware.php rename to lib/phpxmlrpc/src/Traits/LoggerAware.php diff --git a/lib/phpxmlrpc/Traits/ParserAware.php b/lib/phpxmlrpc/src/Traits/ParserAware.php similarity index 100% rename from lib/phpxmlrpc/Traits/ParserAware.php rename to lib/phpxmlrpc/src/Traits/ParserAware.php diff --git a/lib/phpxmlrpc/Traits/PayloadBearer.php b/lib/phpxmlrpc/src/Traits/PayloadBearer.php similarity index 100% rename from lib/phpxmlrpc/Traits/PayloadBearer.php rename to lib/phpxmlrpc/src/Traits/PayloadBearer.php diff --git a/lib/phpxmlrpc/Value.php b/lib/phpxmlrpc/src/Value.php similarity index 100% rename from lib/phpxmlrpc/Value.php rename to lib/phpxmlrpc/src/Value.php diff --git a/lib/phpxmlrpc/Wrapper.php b/lib/phpxmlrpc/src/Wrapper.php similarity index 100% rename from lib/phpxmlrpc/Wrapper.php rename to lib/phpxmlrpc/src/Wrapper.php diff --git a/lib/plist/composer.json b/lib/plist/composer.json new file mode 100644 index 00000000000..d973284c831 --- /dev/null +++ b/lib/plist/composer.json @@ -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" + ] + } +} diff --git a/lib/plist/classes/CFPropertyList/CFArray.php b/lib/plist/src/CFPropertyList/CFArray.php similarity index 100% rename from lib/plist/classes/CFPropertyList/CFArray.php rename to lib/plist/src/CFPropertyList/CFArray.php diff --git a/lib/plist/classes/CFPropertyList/CFBinaryPropertyList.php b/lib/plist/src/CFPropertyList/CFBinaryPropertyList.php similarity index 100% rename from lib/plist/classes/CFPropertyList/CFBinaryPropertyList.php rename to lib/plist/src/CFPropertyList/CFBinaryPropertyList.php diff --git a/lib/plist/classes/CFPropertyList/CFBoolean.php b/lib/plist/src/CFPropertyList/CFBoolean.php similarity index 100% rename from lib/plist/classes/CFPropertyList/CFBoolean.php rename to lib/plist/src/CFPropertyList/CFBoolean.php diff --git a/lib/plist/classes/CFPropertyList/CFData.php b/lib/plist/src/CFPropertyList/CFData.php similarity index 100% rename from lib/plist/classes/CFPropertyList/CFData.php rename to lib/plist/src/CFPropertyList/CFData.php diff --git a/lib/plist/classes/CFPropertyList/CFDate.php b/lib/plist/src/CFPropertyList/CFDate.php similarity index 100% rename from lib/plist/classes/CFPropertyList/CFDate.php rename to lib/plist/src/CFPropertyList/CFDate.php diff --git a/lib/plist/classes/CFPropertyList/CFDictionary.php b/lib/plist/src/CFPropertyList/CFDictionary.php similarity index 100% rename from lib/plist/classes/CFPropertyList/CFDictionary.php rename to lib/plist/src/CFPropertyList/CFDictionary.php diff --git a/lib/plist/classes/CFPropertyList/CFNumber.php b/lib/plist/src/CFPropertyList/CFNumber.php similarity index 100% rename from lib/plist/classes/CFPropertyList/CFNumber.php rename to lib/plist/src/CFPropertyList/CFNumber.php diff --git a/lib/plist/classes/CFPropertyList/CFPropertyList.php b/lib/plist/src/CFPropertyList/CFPropertyList.php similarity index 100% rename from lib/plist/classes/CFPropertyList/CFPropertyList.php rename to lib/plist/src/CFPropertyList/CFPropertyList.php diff --git a/lib/plist/classes/CFPropertyList/CFString.php b/lib/plist/src/CFPropertyList/CFString.php similarity index 100% rename from lib/plist/classes/CFPropertyList/CFString.php rename to lib/plist/src/CFPropertyList/CFString.php diff --git a/lib/plist/classes/CFPropertyList/CFType.php b/lib/plist/src/CFPropertyList/CFType.php similarity index 100% rename from lib/plist/classes/CFPropertyList/CFType.php rename to lib/plist/src/CFPropertyList/CFType.php diff --git a/lib/plist/classes/CFPropertyList/CFTypeDetector.php b/lib/plist/src/CFPropertyList/CFTypeDetector.php similarity index 100% rename from lib/plist/classes/CFPropertyList/CFTypeDetector.php rename to lib/plist/src/CFPropertyList/CFTypeDetector.php diff --git a/lib/plist/classes/CFPropertyList/CFUid.php b/lib/plist/src/CFPropertyList/CFUid.php similarity index 100% rename from lib/plist/classes/CFPropertyList/CFUid.php rename to lib/plist/src/CFPropertyList/CFUid.php diff --git a/lib/plist/classes/CFPropertyList/IOException.php b/lib/plist/src/CFPropertyList/IOException.php similarity index 100% rename from lib/plist/classes/CFPropertyList/IOException.php rename to lib/plist/src/CFPropertyList/IOException.php diff --git a/lib/plist/classes/CFPropertyList/PListException.php b/lib/plist/src/CFPropertyList/PListException.php similarity index 100% rename from lib/plist/classes/CFPropertyList/PListException.php rename to lib/plist/src/CFPropertyList/PListException.php diff --git a/lib/psr/clock/composer.json b/lib/psr/clock/composer.json new file mode 100644 index 00000000000..c67e7b5a543 --- /dev/null +++ b/lib/psr/clock/composer.json @@ -0,0 +1,24 @@ +{ + "name": "psr/clock", + "description": "Common interface for reading the clock.", + "keywords": ["psr", "psr-20", "time", "clock", "now"], + "homepage": "https://github.com/php-fig/clock", + "license": "MIT", + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "support": { + "source": "https://github.com/php-fig/clock" + }, + "require": { + "php": "^7.0 || ^8.0" + }, + "autoload": { + "psr-4": { + "Psr\\Clock\\": "src/" + } + } +} diff --git a/lib/rtlcss/composer.json b/lib/rtlcss/composer.json new file mode 100644 index 00000000000..5cbaa6d50c4 --- /dev/null +++ b/lib/rtlcss/composer.json @@ -0,0 +1,20 @@ +{ + "name": "moodlehq/rtlcss-php", + "type": "library", + "description": "Convert CSS to Right-to-Left (Port of RTLCSS)", + "keywords": ["rtl", "css"], + "license": "MIT", + "minimum-stability": "dev", + "require": { + "php": ">=7.3.0", + "sabberworm/php-css-parser": "8.1.*" + }, + "require-dev": { + "phpunit/phpunit": "9.5.*" + }, + "autoload": { + "psr-4": { + "MoodleHQ\\": "src/MoodleHQ" + } + } +} diff --git a/lib/rtlcss/RTLCSS.php b/lib/rtlcss/src/MoodleHQ/RTLCSS/RTLCSS.php similarity index 100% rename from lib/rtlcss/RTLCSS.php rename to lib/rtlcss/src/MoodleHQ/RTLCSS/RTLCSS.php diff --git a/lib/scssphp/composer.json b/lib/scssphp/composer.json new file mode 100644 index 00000000000..d17ffb92428 --- /dev/null +++ b/lib/scssphp/composer.json @@ -0,0 +1,117 @@ +{ + "name": "scssphp/scssphp", + "type": "library", + "description": "scssphp is a compiler for SCSS written in PHP.", + "keywords": ["css", "stylesheet", "scss", "sass", "less"], + "homepage": "http://scssphp.github.io/scssphp/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Anthon Pang", + "email": "apang@softwaredevelopment.ca", + "homepage": "https://github.com/robocoder" + }, + { + "name": "Cédric Morin", + "email": "cedric@yterium.com", + "homepage": "https://github.com/Cerdic" + } + ], + "autoload": { + "psr-4": { "ScssPhp\\ScssPhp\\": "src/" } + }, + "autoload-dev": { + "psr-4": { "ScssPhp\\ScssPhp\\Tests\\": "tests/" } + }, + "require": { + "php": ">=5.6.0", + "ext-json": "*", + "ext-ctype": "*" + }, + "suggest": { + "ext-mbstring": "For best performance, mbstring should be installed as it is faster than ext-iconv", + "ext-iconv": "Can be used as fallback when ext-mbstring is not available" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4", + "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.3 || ^9.4", + "sass/sass-spec": "*", + "squizlabs/php_codesniffer": "~3.5", + "symfony/phpunit-bridge": "^5.1", + "thoughtbot/bourbon": "^7.0", + "twbs/bootstrap": "~5.0", + "twbs/bootstrap4": "4.6.1", + "zurb/foundation": "~6.7.0" + }, + "repositories": [ + { + "type": "package", + "package": { + "name": "sass/sass-spec", + "version": "2022.08.19", + "source": { + "type": "git", + "url": "https://github.com/sass/sass-spec.git", + "reference": "2bdc199723a3445d5badac3ac774105698f08861" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sass/sass-spec/zipball/2bdc199723a3445d5badac3ac774105698f08861", + "reference": "2bdc199723a3445d5badac3ac774105698f08861", + "shasum": "" + } + } + }, + { + "type": "package", + "package": { + "name": "thoughtbot/bourbon", + "version": "v7.0.0", + "source": { + "type": "git", + "url": "https://github.com/thoughtbot/bourbon.git", + "reference": "fbe338ee6807e7f7aa996d82c8a16f248bb149b3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thoughtbot/bourbon/zipball/fbe338ee6807e7f7aa996d82c8a16f248bb149b3", + "reference": "fbe338ee6807e7f7aa996d82c8a16f248bb149b3", + "shasum": "" + } + } + }, + { + "type": "package", + "package": { + "name": "twbs/bootstrap4", + "version": "v4.6.1", + "source": { + "type": "git", + "url": "https://github.com/twbs/bootstrap.git", + "reference": "043a03c95a2ad6738f85b65e53b9dbdfb03b8d10" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/twbs/bootstrap/zipball/043a03c95a2ad6738f85b65e53b9dbdfb03b8d10", + "reference": "043a03c95a2ad6738f85b65e53b9dbdfb03b8d10", + "shasum": "" + } + } + } + ], + "bin": ["bin/pscss"], + "config": { + "sort-packages": true, + "allow-plugins": { + "bamarni/composer-bin-plugin": true + } + }, + "extra": { + "bamarni-bin": { + "forward-command": false, + "bin-links": false + } + } +} diff --git a/lib/scssphp/Base/Range.php b/lib/scssphp/src/Base/Range.php similarity index 100% rename from lib/scssphp/Base/Range.php rename to lib/scssphp/src/Base/Range.php diff --git a/lib/scssphp/Block.php b/lib/scssphp/src/Block.php similarity index 100% rename from lib/scssphp/Block.php rename to lib/scssphp/src/Block.php diff --git a/lib/scssphp/Block/AtRootBlock.php b/lib/scssphp/src/Block/AtRootBlock.php similarity index 100% rename from lib/scssphp/Block/AtRootBlock.php rename to lib/scssphp/src/Block/AtRootBlock.php diff --git a/lib/scssphp/Block/CallableBlock.php b/lib/scssphp/src/Block/CallableBlock.php similarity index 100% rename from lib/scssphp/Block/CallableBlock.php rename to lib/scssphp/src/Block/CallableBlock.php diff --git a/lib/scssphp/Block/ContentBlock.php b/lib/scssphp/src/Block/ContentBlock.php similarity index 100% rename from lib/scssphp/Block/ContentBlock.php rename to lib/scssphp/src/Block/ContentBlock.php diff --git a/lib/scssphp/Block/DirectiveBlock.php b/lib/scssphp/src/Block/DirectiveBlock.php similarity index 100% rename from lib/scssphp/Block/DirectiveBlock.php rename to lib/scssphp/src/Block/DirectiveBlock.php diff --git a/lib/scssphp/Block/EachBlock.php b/lib/scssphp/src/Block/EachBlock.php similarity index 100% rename from lib/scssphp/Block/EachBlock.php rename to lib/scssphp/src/Block/EachBlock.php diff --git a/lib/scssphp/Block/ElseBlock.php b/lib/scssphp/src/Block/ElseBlock.php similarity index 100% rename from lib/scssphp/Block/ElseBlock.php rename to lib/scssphp/src/Block/ElseBlock.php diff --git a/lib/scssphp/Block/ElseifBlock.php b/lib/scssphp/src/Block/ElseifBlock.php similarity index 100% rename from lib/scssphp/Block/ElseifBlock.php rename to lib/scssphp/src/Block/ElseifBlock.php diff --git a/lib/scssphp/Block/ForBlock.php b/lib/scssphp/src/Block/ForBlock.php similarity index 100% rename from lib/scssphp/Block/ForBlock.php rename to lib/scssphp/src/Block/ForBlock.php diff --git a/lib/scssphp/Block/IfBlock.php b/lib/scssphp/src/Block/IfBlock.php similarity index 100% rename from lib/scssphp/Block/IfBlock.php rename to lib/scssphp/src/Block/IfBlock.php diff --git a/lib/scssphp/Block/MediaBlock.php b/lib/scssphp/src/Block/MediaBlock.php similarity index 100% rename from lib/scssphp/Block/MediaBlock.php rename to lib/scssphp/src/Block/MediaBlock.php diff --git a/lib/scssphp/Block/NestedPropertyBlock.php b/lib/scssphp/src/Block/NestedPropertyBlock.php similarity index 100% rename from lib/scssphp/Block/NestedPropertyBlock.php rename to lib/scssphp/src/Block/NestedPropertyBlock.php diff --git a/lib/scssphp/Block/WhileBlock.php b/lib/scssphp/src/Block/WhileBlock.php similarity index 100% rename from lib/scssphp/Block/WhileBlock.php rename to lib/scssphp/src/Block/WhileBlock.php diff --git a/lib/scssphp/Cache.php b/lib/scssphp/src/Cache.php similarity index 100% rename from lib/scssphp/Cache.php rename to lib/scssphp/src/Cache.php diff --git a/lib/scssphp/Colors.php b/lib/scssphp/src/Colors.php similarity index 100% rename from lib/scssphp/Colors.php rename to lib/scssphp/src/Colors.php diff --git a/lib/scssphp/CompilationResult.php b/lib/scssphp/src/CompilationResult.php similarity index 100% rename from lib/scssphp/CompilationResult.php rename to lib/scssphp/src/CompilationResult.php diff --git a/lib/scssphp/Compiler.php b/lib/scssphp/src/Compiler.php similarity index 100% rename from lib/scssphp/Compiler.php rename to lib/scssphp/src/Compiler.php diff --git a/lib/scssphp/Compiler/CachedResult.php b/lib/scssphp/src/Compiler/CachedResult.php similarity index 100% rename from lib/scssphp/Compiler/CachedResult.php rename to lib/scssphp/src/Compiler/CachedResult.php diff --git a/lib/scssphp/Compiler/Environment.php b/lib/scssphp/src/Compiler/Environment.php similarity index 100% rename from lib/scssphp/Compiler/Environment.php rename to lib/scssphp/src/Compiler/Environment.php diff --git a/lib/scssphp/Exception/CompilerException.php b/lib/scssphp/src/Exception/CompilerException.php similarity index 100% rename from lib/scssphp/Exception/CompilerException.php rename to lib/scssphp/src/Exception/CompilerException.php diff --git a/lib/scssphp/Exception/ParserException.php b/lib/scssphp/src/Exception/ParserException.php similarity index 100% rename from lib/scssphp/Exception/ParserException.php rename to lib/scssphp/src/Exception/ParserException.php diff --git a/lib/scssphp/Exception/RangeException.php b/lib/scssphp/src/Exception/RangeException.php similarity index 100% rename from lib/scssphp/Exception/RangeException.php rename to lib/scssphp/src/Exception/RangeException.php diff --git a/lib/scssphp/Exception/SassException.php b/lib/scssphp/src/Exception/SassException.php similarity index 100% rename from lib/scssphp/Exception/SassException.php rename to lib/scssphp/src/Exception/SassException.php diff --git a/lib/scssphp/Exception/SassScriptException.php b/lib/scssphp/src/Exception/SassScriptException.php similarity index 100% rename from lib/scssphp/Exception/SassScriptException.php rename to lib/scssphp/src/Exception/SassScriptException.php diff --git a/lib/scssphp/Exception/ServerException.php b/lib/scssphp/src/Exception/ServerException.php similarity index 100% rename from lib/scssphp/Exception/ServerException.php rename to lib/scssphp/src/Exception/ServerException.php diff --git a/lib/scssphp/Formatter.php b/lib/scssphp/src/Formatter.php similarity index 100% rename from lib/scssphp/Formatter.php rename to lib/scssphp/src/Formatter.php diff --git a/lib/scssphp/Formatter/Compact.php b/lib/scssphp/src/Formatter/Compact.php similarity index 100% rename from lib/scssphp/Formatter/Compact.php rename to lib/scssphp/src/Formatter/Compact.php diff --git a/lib/scssphp/Formatter/Compressed.php b/lib/scssphp/src/Formatter/Compressed.php similarity index 100% rename from lib/scssphp/Formatter/Compressed.php rename to lib/scssphp/src/Formatter/Compressed.php diff --git a/lib/scssphp/Formatter/Crunched.php b/lib/scssphp/src/Formatter/Crunched.php similarity index 100% rename from lib/scssphp/Formatter/Crunched.php rename to lib/scssphp/src/Formatter/Crunched.php diff --git a/lib/scssphp/Formatter/Debug.php b/lib/scssphp/src/Formatter/Debug.php similarity index 100% rename from lib/scssphp/Formatter/Debug.php rename to lib/scssphp/src/Formatter/Debug.php diff --git a/lib/scssphp/Formatter/Expanded.php b/lib/scssphp/src/Formatter/Expanded.php similarity index 100% rename from lib/scssphp/Formatter/Expanded.php rename to lib/scssphp/src/Formatter/Expanded.php diff --git a/lib/scssphp/Formatter/Nested.php b/lib/scssphp/src/Formatter/Nested.php similarity index 100% rename from lib/scssphp/Formatter/Nested.php rename to lib/scssphp/src/Formatter/Nested.php diff --git a/lib/scssphp/Formatter/OutputBlock.php b/lib/scssphp/src/Formatter/OutputBlock.php similarity index 100% rename from lib/scssphp/Formatter/OutputBlock.php rename to lib/scssphp/src/Formatter/OutputBlock.php diff --git a/lib/scssphp/Logger/LoggerInterface.php b/lib/scssphp/src/Logger/LoggerInterface.php similarity index 100% rename from lib/scssphp/Logger/LoggerInterface.php rename to lib/scssphp/src/Logger/LoggerInterface.php diff --git a/lib/scssphp/Logger/QuietLogger.php b/lib/scssphp/src/Logger/QuietLogger.php similarity index 100% rename from lib/scssphp/Logger/QuietLogger.php rename to lib/scssphp/src/Logger/QuietLogger.php diff --git a/lib/scssphp/Logger/StreamLogger.php b/lib/scssphp/src/Logger/StreamLogger.php similarity index 100% rename from lib/scssphp/Logger/StreamLogger.php rename to lib/scssphp/src/Logger/StreamLogger.php diff --git a/lib/scssphp/Node.php b/lib/scssphp/src/Node.php similarity index 100% rename from lib/scssphp/Node.php rename to lib/scssphp/src/Node.php diff --git a/lib/scssphp/Node/Number.php b/lib/scssphp/src/Node/Number.php similarity index 100% rename from lib/scssphp/Node/Number.php rename to lib/scssphp/src/Node/Number.php diff --git a/lib/scssphp/OutputStyle.php b/lib/scssphp/src/OutputStyle.php similarity index 100% rename from lib/scssphp/OutputStyle.php rename to lib/scssphp/src/OutputStyle.php diff --git a/lib/scssphp/Parser.php b/lib/scssphp/src/Parser.php similarity index 100% rename from lib/scssphp/Parser.php rename to lib/scssphp/src/Parser.php diff --git a/lib/scssphp/SourceMap/Base64.php b/lib/scssphp/src/SourceMap/Base64.php similarity index 100% rename from lib/scssphp/SourceMap/Base64.php rename to lib/scssphp/src/SourceMap/Base64.php diff --git a/lib/scssphp/SourceMap/Base64VLQ.php b/lib/scssphp/src/SourceMap/Base64VLQ.php similarity index 100% rename from lib/scssphp/SourceMap/Base64VLQ.php rename to lib/scssphp/src/SourceMap/Base64VLQ.php diff --git a/lib/scssphp/SourceMap/SourceMapGenerator.php b/lib/scssphp/src/SourceMap/SourceMapGenerator.php similarity index 100% rename from lib/scssphp/SourceMap/SourceMapGenerator.php rename to lib/scssphp/src/SourceMap/SourceMapGenerator.php diff --git a/lib/scssphp/Type.php b/lib/scssphp/src/Type.php similarity index 100% rename from lib/scssphp/Type.php rename to lib/scssphp/src/Type.php diff --git a/lib/scssphp/Util.php b/lib/scssphp/src/Util.php similarity index 100% rename from lib/scssphp/Util.php rename to lib/scssphp/src/Util.php diff --git a/lib/scssphp/Util/Path.php b/lib/scssphp/src/Util/Path.php similarity index 100% rename from lib/scssphp/Util/Path.php rename to lib/scssphp/src/Util/Path.php diff --git a/lib/scssphp/ValueConverter.php b/lib/scssphp/src/ValueConverter.php similarity index 100% rename from lib/scssphp/ValueConverter.php rename to lib/scssphp/src/ValueConverter.php diff --git a/lib/scssphp/Version.php b/lib/scssphp/src/Version.php similarity index 100% rename from lib/scssphp/Version.php rename to lib/scssphp/src/Version.php diff --git a/lib/scssphp/Warn.php b/lib/scssphp/src/Warn.php similarity index 100% rename from lib/scssphp/Warn.php rename to lib/scssphp/src/Warn.php diff --git a/lib/simplepie/composer.json b/lib/simplepie/composer.json new file mode 100644 index 00000000000..cfede2b53b9 --- /dev/null +++ b/lib/simplepie/composer.json @@ -0,0 +1,65 @@ +{ + "name": "simplepie/simplepie", + "description": "A simple Atom/RSS parsing library for PHP", + "type": "library", + "keywords": ["rss", "atom", "feeds"], + "homepage": "http://simplepie.org/", + "license": "BSD-3-Clause", + "authors": [ + { + "name": "Ryan Parman", + "homepage": "http://ryanparman.com/", + "role": "Creator, alumnus developer" + }, + { + "name": "Sam Sneddon", + "homepage": "https://gsnedders.com/", + "role": "Alumnus developer" + }, + { + "name": "Ryan McCue", + "email": "me@ryanmccue.info", + "homepage": "http://ryanmccue.info/", + "role": "Developer" + } + ], + "require": { + "php": ">=7.2.0", + "ext-pcre": "*", + "ext-xml": "*", + "ext-xmlreader": "*" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.19 || ^3.8", + "psr/simple-cache": "^1 || ^2 || ^3", + "yoast/phpunit-polyfills": "^1.0.1" + }, + "suggest": { + "ext-curl": "", + "ext-iconv": "", + "ext-intl": "", + "ext-mbstring": "", + "mf2/mf2": "Microformat module that allows for parsing HTML for microformats" + }, + "autoload": { + "psr-4": { + "SimplePie\\": "src" + }, + "psr-0": { + "SimplePie": "library" + } + }, + "autoload-dev": { + "psr-4": { + "SimplePie\\Tests\\Fixtures\\": "tests/Fixtures", + "SimplePie\\Tests\\Unit\\": "tests/Unit" + } + }, + "config": { + "bin-dir": "bin", + "sort-packages": true + }, + "scripts": { + "test": "phpunit" + } +} diff --git a/lib/thirdpartylibs.xml b/lib/thirdpartylibs.xml index 27b73d8c975..00606308cc3 100644 --- a/lib/thirdpartylibs.xml +++ b/lib/thirdpartylibs.xml @@ -746,7 +746,7 @@ All rights reserved. https://github.com/Kevinrob/guzzle-cache-middleware - webauthn/src + webauthn WebAuthn 2.1.1 MIT diff --git a/lib/weblib.php b/lib/weblib.php index 2872cf6b647..d7003cab7de 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1237,16 +1237,10 @@ function text_to_html($text, $smileyignored = null, $para = true, $newlines = tr * @return string Converted text */ function markdown_to_html($text) { - global $CFG; - if ($text === '' or $text === null) { return $text; } - require_once($CFG->libdir .'/markdown/MarkdownInterface.php'); - require_once($CFG->libdir .'/markdown/Markdown.php'); - require_once($CFG->libdir .'/markdown/MarkdownExtra.php'); - return \Michelf\MarkdownExtra::defaultTransform($text); } diff --git a/lib/zipstream/composer.json b/lib/zipstream/composer.json new file mode 100644 index 00000000000..98c536a43d9 --- /dev/null +++ b/lib/zipstream/composer.json @@ -0,0 +1,88 @@ +{ + "name": "maennchen/zipstream-php", + "description": "ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.", + "keywords": ["zip", "stream"], + "type": "library", + "license": "MIT", + "authors": [{ + "name": "Paul Duncan", + "email": "pabs@pablotron.org" + }, + { + "name": "Jonatan Männchen", + "email": "jonatan@maennchen.ch" + }, + { + "name": "Jesse Donat", + "email": "donatj@gmail.com" + }, + { + "name": "András Kolesár", + "email": "kolesar@kolesar.hu" + } + ], + "require": { + "php-64bit": "^8.1", + "ext-mbstring": "*", + "ext-zlib": "*" + }, + "require-dev": { + "phpunit/phpunit": "^10.0", + "guzzlehttp/guzzle": "^7.5", + "ext-zip": "*", + "mikey179/vfsstream": "^1.6", + "php-coveralls/php-coveralls": "^2.5", + "friendsofphp/php-cs-fixer": "^3.16", + "vimeo/psalm": "^5.0" + }, + "suggest": { + "psr/http-message": "^2.0", + "guzzlehttp/psr7": "^2.4" + }, + "scripts": { + "format": "php-cs-fixer fix", + "test": [ + "@test:unit", + "@test:formatted", + "@test:lint" + ], + "test:unit": "phpunit --coverage-clover=coverage.clover.xml --coverage-html cov", + "test:unit:slow": "@test:unit --group slow", + "test:unit:fast": "@test:unit --exclude-group slow", + "test:formatted": "@format --dry-run --stop-on-violation --using-cache=no", + "test:lint": "psalm --stats --show-info=true --find-unused-psalm-suppress", + "coverage:report": "php-coveralls --coverage_clover=coverage.clover.xml --json_path=coveralls-upload.json --insecure", + "install:tools": "phive install --trust-gpg-keys 0x67F861C3D889C656", + "docs:generate": "tools/phpdocumentor --sourcecode" + }, + "autoload": { + "psr-4": { + "ZipStream\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { "ZipStream\\Test\\": "test/" } + }, + "archive": { + "exclude": [ + "/composer.lock", + "/docs", + "/.gitattributes", + "/.github", + "/.gitignore", + "/guides", + "/.phive", + "/.php-cs-fixer.cache", + "/.php-cs-fixer.dist.php", + "/.phpdoc", + "/phpdoc.dist.xml", + "/.phpunit.result.cache", + "/phpunit.xml.dist", + "/psalm.xml", + "/test", + "/tools", + "/.tool-versions", + "/vendor" + ] + } +}