From fd466167deeb947cdfa4f9ac240d2d0112b0047d Mon Sep 17 00:00:00 2001 From: balexey88 Date: Thu, 27 Jun 2024 15:21:59 +0000 Subject: [PATCH] Cleanup files for release --- .github/dependabot.yml | 19 - .github/workflows/publish-release.yml | 150 -- .github/workflows/security-scan.yml | 25 - .gitignore | 28 - composer.lock | 1607 ----------------- lib/Google/phpstan.neon.dist | 5 - .../vendor/google/cloud-core/.gitattributes | 3 - .../google/cloud-core/.repo-metadata.json | 8 - .../google/cloud-storage/.gitattributes | 3 - .../google/cloud-storage/.repo-metadata.json | 8 - .../paragonie/random_compat/build-phar.sh | 5 - .../vendor/rize/uri-template/.gitattributes | 1 - .../rize/uri-template/.github/FUNDING.yml | 3 - .../uri-template/.github/workflows/ci.yml | 52 - .../vendor/rize/uri-template/.gitignore | 3 - .../symfony/deprecation-contracts/.gitignore | 3 - lib/ns-vendor/classes/.gitkeep | 0 static/views/.gitkeep | 0 .../workflows/continuous-integration.yml | 76 - .../installers/.github/workflows/lint.yml | 30 - .../installers/.github/workflows/phpstan.yml | 51 - vendor/composer/installers/LICENSE | 19 - vendor/composer/installers/composer.json | 122 -- vendor/composer/installers/phpstan.neon.dist | 10 - .../src/Composer/Installers/AglInstaller.php | 21 - .../Composer/Installers/AimeosInstaller.php | 9 - .../Installers/AnnotateCmsInstaller.php | 11 - .../Composer/Installers/AsgardInstaller.php | 49 - .../Composer/Installers/AttogramInstaller.php | 9 - .../src/Composer/Installers/BaseInstaller.php | 137 -- .../Composer/Installers/BitrixInstaller.php | 126 -- .../Composer/Installers/BonefishInstaller.php | 9 - .../Composer/Installers/CakePHPInstaller.php | 66 - .../src/Composer/Installers/ChefInstaller.php | 11 - .../Composer/Installers/CiviCrmInstaller.php | 9 - .../Installers/ClanCatsFrameworkInstaller.php | 10 - .../Composer/Installers/CockpitInstaller.php | 32 - .../Installers/CodeIgniterInstaller.php | 11 - .../Installers/Concrete5Installer.php | 13 - .../Composer/Installers/CraftInstaller.php | 35 - .../Composer/Installers/CroogoInstaller.php | 21 - .../Composer/Installers/DecibelInstaller.php | 10 - .../Composer/Installers/DframeInstaller.php | 10 - .../Composer/Installers/DokuWikiInstaller.php | 50 - .../Composer/Installers/DolibarrInstaller.php | 16 - .../Composer/Installers/DrupalInstaller.php | 22 - .../src/Composer/Installers/ElggInstaller.php | 9 - .../Composer/Installers/EliasisInstaller.php | 12 - .../Installers/ExpressionEngineInstaller.php | 29 - .../Installers/EzPlatformInstaller.php | 10 - .../src/Composer/Installers/FuelInstaller.php | 11 - .../Composer/Installers/FuelphpInstaller.php | 9 - .../src/Composer/Installers/GravInstaller.php | 30 - .../Composer/Installers/HuradInstaller.php | 25 - .../Composer/Installers/ImageCMSInstaller.php | 11 - .../src/Composer/Installers/Installer.php | 298 --- .../src/Composer/Installers/ItopInstaller.php | 9 - .../Composer/Installers/JoomlaInstaller.php | 15 - .../Composer/Installers/KanboardInstaller.php | 18 - .../Composer/Installers/KirbyInstaller.php | 11 - .../Composer/Installers/KnownInstaller.php | 11 - .../Composer/Installers/KodiCMSInstaller.php | 10 - .../Composer/Installers/KohanaInstaller.php | 9 - .../LanManagementSystemInstaller.php | 27 - .../Composer/Installers/LaravelInstaller.php | 9 - .../Composer/Installers/LavaLiteInstaller.php | 10 - .../Composer/Installers/LithiumInstaller.php | 10 - .../Installers/MODULEWorkInstaller.php | 9 - .../Composer/Installers/MODXEvoInstaller.php | 16 - .../Composer/Installers/MagentoInstaller.php | 11 - .../Composer/Installers/MajimaInstaller.php | 37 - .../src/Composer/Installers/MakoInstaller.php | 9 - .../Composer/Installers/MantisBTInstaller.php | 23 - .../Composer/Installers/MauticInstaller.php | 48 - .../src/Composer/Installers/MayaInstaller.php | 33 - .../Installers/MediaWikiInstaller.php | 51 - .../Composer/Installers/MiaoxingInstaller.php | 10 - .../Installers/MicroweberInstaller.php | 119 -- .../src/Composer/Installers/ModxInstaller.php | 12 - .../Composer/Installers/MoodleInstaller.php | 59 - .../Composer/Installers/OctoberInstaller.php | 48 - .../Composer/Installers/OntoWikiInstaller.php | 24 - .../Composer/Installers/OsclassInstaller.php | 14 - .../src/Composer/Installers/OxidInstaller.php | 59 - .../src/Composer/Installers/PPIInstaller.php | 9 - .../Composer/Installers/PantheonInstaller.php | 12 - .../Composer/Installers/PhiftyInstaller.php | 11 - .../Composer/Installers/PhpBBInstaller.php | 11 - .../Composer/Installers/PimcoreInstaller.php | 21 - .../Composer/Installers/PiwikInstaller.php | 32 - .../Installers/PlentymarketsInstaller.php | 29 - .../src/Composer/Installers/Plugin.php | 27 - .../Composer/Installers/PortoInstaller.php | 9 - .../Installers/PrestashopInstaller.php | 10 - .../Installers/ProcessWireInstaller.php | 22 - .../Composer/Installers/PuppetInstaller.php | 11 - .../Composer/Installers/PxcmsInstaller.php | 63 - .../Composer/Installers/RadPHPInstaller.php | 24 - .../Composer/Installers/ReIndexInstaller.php | 10 - .../Composer/Installers/Redaxo5Installer.php | 10 - .../Composer/Installers/RedaxoInstaller.php | 10 - .../Installers/RoundcubeInstaller.php | 22 - .../src/Composer/Installers/SMFInstaller.php | 10 - .../Composer/Installers/ShopwareInstaller.php | 60 - .../Installers/SilverStripeInstaller.php | 35 - .../Installers/SiteDirectInstaller.php | 25 - .../Composer/Installers/StarbugInstaller.php | 12 - .../Composer/Installers/SyDESInstaller.php | 47 - .../Composer/Installers/SyliusInstaller.php | 9 - .../Composer/Installers/Symfony1Installer.php | 26 - .../Composer/Installers/TYPO3CmsInstaller.php | 16 - .../Installers/TYPO3FlowInstaller.php | 38 - .../src/Composer/Installers/TaoInstaller.php | 30 - .../Installers/TastyIgniterInstaller.php | 32 - .../Composer/Installers/TheliaInstaller.php | 12 - .../src/Composer/Installers/TuskInstaller.php | 14 - .../Installers/UserFrostingInstaller.php | 9 - .../Composer/Installers/VanillaInstaller.php | 10 - .../Composer/Installers/VgmcpInstaller.php | 49 - .../Composer/Installers/WHMCSInstaller.php | 21 - .../Composer/Installers/WinterInstaller.php | 58 - .../Composer/Installers/WolfCMSInstaller.php | 9 - .../Installers/WordPressInstaller.php | 12 - .../Composer/Installers/YawikInstaller.php | 32 - .../src/Composer/Installers/ZendInstaller.php | 11 - .../Composer/Installers/ZikulaInstaller.php | 10 - vendor/composer/installers/src/bootstrap.php | 13 - vendor/udx/lib-ud-api-client/.gitignore | 23 - vendor/udx/lib-wp-bootstrap/.gitignore | 21 - 129 files changed, 5070 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/publish-release.yml delete mode 100644 .github/workflows/security-scan.yml delete mode 100644 .gitignore delete mode 100644 composer.lock delete mode 100644 lib/Google/phpstan.neon.dist delete mode 100644 lib/Google/vendor/google/cloud-core/.gitattributes delete mode 100644 lib/Google/vendor/google/cloud-core/.repo-metadata.json delete mode 100644 lib/Google/vendor/google/cloud-storage/.gitattributes delete mode 100644 lib/Google/vendor/google/cloud-storage/.repo-metadata.json delete mode 100755 lib/Google/vendor/paragonie/random_compat/build-phar.sh delete mode 100644 lib/Google/vendor/rize/uri-template/.gitattributes delete mode 100644 lib/Google/vendor/rize/uri-template/.github/FUNDING.yml delete mode 100644 lib/Google/vendor/rize/uri-template/.github/workflows/ci.yml delete mode 100644 lib/Google/vendor/rize/uri-template/.gitignore delete mode 100644 lib/Google/vendor/symfony/deprecation-contracts/.gitignore delete mode 100644 lib/ns-vendor/classes/.gitkeep delete mode 100644 static/views/.gitkeep delete mode 100644 vendor/composer/installers/.github/workflows/continuous-integration.yml delete mode 100644 vendor/composer/installers/.github/workflows/lint.yml delete mode 100644 vendor/composer/installers/.github/workflows/phpstan.yml delete mode 100644 vendor/composer/installers/LICENSE delete mode 100644 vendor/composer/installers/composer.json delete mode 100644 vendor/composer/installers/phpstan.neon.dist delete mode 100644 vendor/composer/installers/src/Composer/Installers/AglInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/BaseInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/ChefInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/CraftInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/DframeInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/ElggInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/FuelInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/GravInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/HuradInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/Installer.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/ItopInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/KnownInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/MakoInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/MauticInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/MayaInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/ModxInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/OxidInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/PPIInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/Plugin.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/PortoInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/SMFInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/TaoInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/TuskInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/WinterInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/YawikInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/ZendInstaller.php delete mode 100644 vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php delete mode 100644 vendor/composer/installers/src/bootstrap.php delete mode 100644 vendor/udx/lib-ud-api-client/.gitignore delete mode 100644 vendor/udx/lib-wp-bootstrap/.gitignore diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 1f3b963c9..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,19 +0,0 @@ -version: 2 -updates: - # Enable checks for the default vendor folder - - package-ecosystem: "composer" - directory: "/" - schedule: - interval: "weekly" - - # Enable checks for Google API Client package - - package-ecosystem: "composer" - directory: "/lib/Google" - schedule: - interval: "weekly" - - # Enable checks for GitHub Actions - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml deleted file mode 100644 index cae1fa971..000000000 --- a/.github/workflows/publish-release.yml +++ /dev/null @@ -1,150 +0,0 @@ -name: Publish Release -run-name: Publish Release - -on: - workflow_dispatch: - inputs: - release: - description: 'Release version (e.g. 1.2.3)' - required: true - prerelease: - description: 'Pre-release version (e.g. RC1, beta, etc...)' - required: false - -permissions: - contents: write - -env: - TAG: ${{ github.event.inputs.release }} - PRETAG: ${{ github.event.inputs.prerelease }} - BRANCH: temp-release-${{ github.event.inputs.release }} - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Prepare vars - id: vars - uses: actions/github-script@v7 - with: - script: | - const full_tag = [ - process.env.TAG, - process.env.PRETAG - ].filter(Boolean).join('-'); - const branch = `temp-release-${full_tag}`; - const is_prerelease = !!process.env.PRETAG; - - core.setOutput('full_tag', full_tag ); - core.setOutput('branch', branch ); - core.setOutput('is_prerelease', is_prerelease ); - - # 'ref' and 'repository' are required, otherwise repo could appear in detached head state - - name: Checkout - uses: actions/checkout@v4 - with: - ref: ${{ github.head_ref }} - repository: ${{ github.repository }} - - - name: Parse Changelog Entries - uses: actions/github-script@v7 - id: changelog - with: - script: | - const { open } = require('fs/promises'); - - const version = process.env.TAG; - const delimiter = '#### '; - const file = await open('./changes.md'); - - let description = []; - let found = false; - - for await (let line of file.readLines()) { - line = line.trim(); - - if ( line.startsWith(`${delimiter}${version}`) ) { - found = true; - continue; - } - - if (!found) continue; - if ( line.startsWith(delimiter) ) break; - - description.push(line); - } - - if ( !description.length ) core.setFailed(`Release ${version} not found in the changelog!`); - - core.setOutput('description', description.join('\n') ); - - - # cleanup files that are not needed for the release - # but keep the .git folder, because we need it for the next step - - name: Cleanup files - run: | - rm -f composer.lock || true - rm -rf vendor/composer/installers || true - find ./ -name '.git*' -not -path './.git' -type f -delete || true - find ./ -name '.git*' -not -path './.git' -type d -exec rm -rf {} \; || true - find ./vendor -name .svn -exec rm -rf {} \; || true - - # cleanup files, specific to Google API PHP library - - name: Cleanup files for Google API library - run: | - rm -f lib/Google/phpstan.neon.dist || true - rm -f lib/Google/vendor/paragonie/random_compat/build-phar.sh || true - find ./lib/Google/ -name '.repo-metadata.json' -type f -delete || true - find ./lib/Google/vendor -name .svn -exec rm -rf '{}' \; || true - - # commit changes to temporary release branch and create a new tag - - name: Commit changes - uses: EndBug/add-and-commit@v9 - with: - message: Cleanup files for release - new_branch: ${{ steps.vars.outputs.branch }} - tag: ${{ steps.vars.outputs.full_tag }} - - # generate SBOM that will be attached to a release as an artifact - - name: Create SBOM - id: sbom - uses: anchore/sbom-action@v0 - with: - path: . - output-file: sbom.spdx.json - format: spdx-json - - # create a draft release with the version changelog as a description - - name: Create Draft Release - id: draft_release - uses: softprops/action-gh-release@v1 - with: - name: "Release ${{ steps.vars.outputs.full_tag }}" - body: "${{ steps.changelog.outputs.description }}" - tag_name: ${{ steps.vars.outputs.full_tag }} - draft: true - prerelease: ${{ steps.vars.outputs.is_prerelease }} - - # attach SBOM to release - - name: Upload SBOM to release - uses: actions/upload-release-asset@v1.0.1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.draft_release.outputs.upload_url }} - asset_path: ./sbom.spdx.json - asset_name: sbom.spdx.json - asset_content_type: application/json - - # publish release using an ID from the 'draft_release' step - - name: Publish Release - uses: eregon/publish-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - release_id: ${{ steps.draft_release.outputs.id }} - - # delete temporary release branch - - name: Delete temporary release branch - run: | - git push origin --delete ${{ steps.vars.outputs.branch }} diff --git a/.github/workflows/security-scan.yml b/.github/workflows/security-scan.yml deleted file mode 100644 index 5f54c716f..000000000 --- a/.github/workflows/security-scan.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Security Scan -run-name: Security Scan - -on: - push: - pull_request: - workflow_dispatch: - -jobs: - code-scanning: - name: Code Scanning (grype) - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Run Security Check - id: test - uses: anchore/scan-action@v3 - with: - path: . - output-format: table - - diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b77455160..000000000 --- a/.gitignore +++ /dev/null @@ -1,28 +0,0 @@ -temp -.vscode** -node_modules -static/cache -static/codex -npm-debug.log -wp-test-config.php -/test -package-lock.json - -.git -.svn -.idea -.idea/workspace.xml -.DS_Store -.dynamic -.Trashes -*.sublime-project -*.sublime-workspace - -*.seed -*.log -*.csv -*.dat -*.out -*.pid -*.gz -wp-stateless.wiki diff --git a/composer.lock b/composer.lock deleted file mode 100644 index 324e7223f..000000000 --- a/composer.lock +++ /dev/null @@ -1,1607 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "ee72847ceb6d6c1c588115004311ecb7", - "packages": [ - { - "name": "ccampbell/chromephp", - "version": "4.1.0", - "source": { - "type": "git", - "url": "https://github.com/ccampbell/chromephp.git", - "reference": "c3c297615d48ae5b2a86a82311152d1ed095fcef" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ccampbell/chromephp/zipball/c3c297615d48ae5b2a86a82311152d1ed095fcef", - "reference": "c3c297615d48ae5b2a86a82311152d1ed095fcef", - "shasum": "" - }, - "require": { - "php": ">=5.0.0" - }, - "type": "library", - "autoload": { - "psr-0": { - "ChromePhp": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Craig Campbell", - "email": "iamcraigcampbell@gmail.com", - "homepage": "http://craig.is", - "role": "Developer" - } - ], - "description": "Log variables to the Chrome console (via Chrome Logger Google Chrome extension).", - "homepage": "http://github.com/ccampbell/chromephp", - "keywords": [ - "log", - "logging" - ], - "support": { - "issues": "https://github.com/ccampbell/chromephp/issues", - "source": "https://github.com/ccampbell/chromephp/tree/4.1.0" - }, - "time": "2013-06-26T03:44:33+00:00" - }, - { - "name": "composer/installers", - "version": "v1.12.0", - "source": { - "type": "git", - "url": "https://github.com/composer/installers.git", - "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/installers/zipball/d20a64ed3c94748397ff5973488761b22f6d3f19", - "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0 || ^2.0" - }, - "replace": { - "roundcube/plugin-installer": "*", - "shama/baton": "*" - }, - "require-dev": { - "composer/composer": "1.6.* || ^2.0", - "composer/semver": "^1 || ^3", - "phpstan/phpstan": "^0.12.55", - "phpstan/phpstan-phpunit": "^0.12.16", - "symfony/phpunit-bridge": "^4.2 || ^5", - "symfony/process": "^2.3" - }, - "type": "composer-plugin", - "extra": { - "class": "Composer\\Installers\\Plugin", - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\Installers\\": "src/Composer/Installers" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Kyle Robinson Young", - "email": "kyle@dontkry.com", - "homepage": "https://github.com/shama" - } - ], - "description": "A multi-framework Composer library installer", - "homepage": "https://composer.github.io/installers/", - "keywords": [ - "Craft", - "Dolibarr", - "Eliasis", - "Hurad", - "ImageCMS", - "Kanboard", - "Lan Management System", - "MODX Evo", - "MantisBT", - "Mautic", - "Maya", - "OXID", - "Plentymarkets", - "Porto", - "RadPHP", - "SMF", - "Starbug", - "Thelia", - "Whmcs", - "WolfCMS", - "agl", - "aimeos", - "annotatecms", - "attogram", - "bitrix", - "cakephp", - "chef", - "cockpit", - "codeigniter", - "concrete5", - "croogo", - "dokuwiki", - "drupal", - "eZ Platform", - "elgg", - "expressionengine", - "fuelphp", - "grav", - "installer", - "itop", - "joomla", - "known", - "kohana", - "laravel", - "lavalite", - "lithium", - "magento", - "majima", - "mako", - "mediawiki", - "miaoxing", - "modulework", - "modx", - "moodle", - "osclass", - "pantheon", - "phpbb", - "piwik", - "ppi", - "processwire", - "puppet", - "pxcms", - "reindex", - "roundcube", - "shopware", - "silverstripe", - "sydes", - "sylius", - "symfony", - "tastyigniter", - "typo3", - "wordpress", - "yawik", - "zend", - "zikula" - ], - "support": { - "issues": "https://github.com/composer/installers/issues", - "source": "https://github.com/composer/installers/tree/v1.12.0" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2021-09-13T08:19:44+00:00" - }, - { - "name": "firebase/php-jwt", - "version": "v6.9.0", - "source": { - "type": "git", - "url": "https://github.com/firebase/php-jwt.git", - "reference": "f03270e63eaccf3019ef0f32849c497385774e11" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/f03270e63eaccf3019ef0f32849c497385774e11", - "reference": "f03270e63eaccf3019ef0f32849c497385774e11", - "shasum": "" - }, - "require": { - "php": "^7.4||^8.0" - }, - "require-dev": { - "guzzlehttp/guzzle": "^6.5||^7.4", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.5", - "psr/cache": "^1.0||^2.0", - "psr/http-client": "^1.0", - "psr/http-factory": "^1.0" - }, - "suggest": { - "ext-sodium": "Support EdDSA (Ed25519) signatures", - "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" - }, - "type": "library", - "autoload": { - "psr-4": { - "Firebase\\JWT\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Neuman Vong", - "email": "neuman+pear@twilio.com", - "role": "Developer" - }, - { - "name": "Anant Narayanan", - "email": "anant@php.net", - "role": "Developer" - } - ], - "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", - "homepage": "https://github.com/firebase/php-jwt", - "keywords": [ - "jwt", - "php" - ], - "support": { - "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.9.0" - }, - "time": "2023-10-05T00:24:42+00:00" - }, - { - "name": "udx/lib-ud-api-client", - "version": "1.2.4", - "source": { - "type": "git", - "url": "git@github.com:udx/lib-ud-api-client", - "reference": "1.2.4" - }, - "dist": { - "type": "zip", - "url": "https://github.com/udx/lib-ud-api-client/archive/1.2.4.zip" - }, - "require": { - "php": ">=5.3" - }, - "type": "library", - "extra": { - "installer-name": "lib-ud-api-client" - }, - "autoload": { - "classmap": [ - "lib/classes" - ] - }, - "license": [ - "GPLv2" - ], - "authors": [ - { - "name": "UsabilityDynamics, Inc.", - "homepage": "https://www.usabilitydynamics.com" - } - ], - "description": "UD API Client for WooCommerce API Manager", - "homepage": "https://github.com/udx/lib-ud-api-client", - "keywords": [ - "api", - "client", - "licenses", - "plugins", - "wordpress" - ] - }, - { - "name": "udx/lib-wp-bootstrap", - "version": "1.3.3", - "source": { - "type": "git", - "url": "git@github.com:udx/lib-wp-bootstrap", - "reference": "1.3.3" - }, - "dist": { - "type": "zip", - "url": "https://github.com/udx/lib-wp-bootstrap/archive/1.3.3.zip" - }, - "require": { - "php": ">=5.3" - }, - "type": "library", - "extra": { - "installer-name": "lib-wp-bootstrap" - }, - "autoload": { - "classmap": [ - "lib/classes" - ] - }, - "license": [ - "MIT" - ], - "description": "Wordpress bootstrap library created by UsabilityDynamics", - "homepage": "https://github.com/udx/lib-wp-bootstrap", - "keywords": [ - "wordpress" - ] - }, - { - "name": "wpmetabox/meta-box", - "version": "5.8.2", - "source": { - "type": "git", - "url": "https://github.com/wpmetabox/meta-box.git", - "reference": "de583a74171bdee1b5213232a5bf50f82c6fee14" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wpmetabox/meta-box/zipball/de583a74171bdee1b5213232a5bf50f82c6fee14", - "reference": "de583a74171bdee1b5213232a5bf50f82c6fee14", - "shasum": "" - }, - "type": "wordpress-plugin", - "autoload": { - "psr-4": { - "MetaBox\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0" - ], - "authors": [ - { - "name": "Tran Ngoc Tuan Anh", - "email": "anhtnt@elightup.com", - "homepage": "https://metabox.io", - "role": "Developer" - } - ], - "description": "A powerful, professional developer toolkit to create custom meta boxes and custom fields for WordPress websites.", - "homepage": "https://metabox.io", - "keywords": [ - "custom-field", - "meta-box", - "select2", - "ui", - "wordpress", - "wordpress-plugin", - "wp-admin" - ], - "support": { - "issues": "https://github.com/wpmetabox/meta-box/issues", - "source": "https://github.com/wpmetabox/meta-box/tree/5.8.2" - }, - "time": "2023-10-13T13:53:33+00:00" - } - ], - "packages-dev": [ - { - "name": "coenjacobs/mozart", - "version": "0.7.1", - "source": { - "type": "git", - "url": "https://github.com/coenjacobs/mozart.git", - "reference": "dbcdeb992d20d9c8914eef090f9a0d684bb1102c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/coenjacobs/mozart/zipball/dbcdeb992d20d9c8914eef090f9a0d684bb1102c", - "reference": "dbcdeb992d20d9c8914eef090f9a0d684bb1102c", - "shasum": "" - }, - "require": { - "league/flysystem": "^1.0", - "php": "^7.3|^8.0", - "symfony/console": "^4|^5", - "symfony/finder": "^4|^5" - }, - "require-dev": { - "mheap/phpunit-github-actions-printer": "^1.4", - "phpunit/phpunit": "^8.5", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.4" - }, - "bin": [ - "bin/mozart" - ], - "type": "library", - "autoload": { - "psr-4": { - "CoenJacobs\\Mozart\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Coen Jacobs", - "email": "coenjacobs@gmail.com" - } - ], - "description": "Composes all dependencies as a package inside a WordPress plugin", - "support": { - "issues": "https://github.com/coenjacobs/mozart/issues", - "source": "https://github.com/coenjacobs/mozart/tree/0.7.1" - }, - "funding": [ - { - "url": "https://github.com/coenjacobs", - "type": "github" - } - ], - "time": "2021-02-02T21:37:03+00:00" - }, - { - "name": "deliciousbrains/wp-background-processing", - "version": "1.1.1", - "source": { - "type": "git", - "url": "https://github.com/deliciousbrains/wp-background-processing.git", - "reference": "ebbed762c42e70e76573ffbd36e591378ba5f2ee" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/deliciousbrains/wp-background-processing/zipball/ebbed762c42e70e76573ffbd36e591378ba5f2ee", - "reference": "ebbed762c42e70e76573ffbd36e591378ba5f2ee", - "shasum": "" - }, - "require": { - "php": ">=5.6" - }, - "require-dev": { - "phpcompatibility/phpcompatibility-wp": "*", - "phpunit/phpunit": "^8.0", - "spryker/code-sniffer": "^0.17.18", - "wp-coding-standards/wpcs": "^2.3", - "yoast/phpunit-polyfills": "^1.0" - }, - "suggest": { - "coenjacobs/mozart": "Easily wrap this library with your own prefix, to prevent collisions when multiple plugins use this library" - }, - "type": "library", - "autoload": { - "classmap": [ - "classes/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0-or-later" - ], - "authors": [ - { - "name": "Delicious Brains", - "email": "nom@deliciousbrains.com" - } - ], - "description": "WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.", - "support": { - "issues": "https://github.com/deliciousbrains/wp-background-processing/issues", - "source": "https://github.com/deliciousbrains/wp-background-processing/tree/1.1.1" - }, - "time": "2023-07-18T10:22:06+00:00" - }, - { - "name": "league/flysystem", - "version": "1.1.10", - "source": { - "type": "git", - "url": "https://github.com/thephpleague/flysystem.git", - "reference": "3239285c825c152bcc315fe0e87d6b55f5972ed1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/3239285c825c152bcc315fe0e87d6b55f5972ed1", - "reference": "3239285c825c152bcc315fe0e87d6b55f5972ed1", - "shasum": "" - }, - "require": { - "ext-fileinfo": "*", - "league/mime-type-detection": "^1.3", - "php": "^7.2.5 || ^8.0" - }, - "conflict": { - "league/flysystem-sftp": "<1.0.6" - }, - "require-dev": { - "phpspec/prophecy": "^1.11.1", - "phpunit/phpunit": "^8.5.8" - }, - "suggest": { - "ext-ftp": "Allows you to use FTP server storage", - "ext-openssl": "Allows you to use FTPS server storage", - "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", - "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", - "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", - "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", - "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", - "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", - "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", - "league/flysystem-webdav": "Allows you to use WebDAV storage", - "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", - "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", - "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "League\\Flysystem\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Frank de Jonge", - "email": "info@frenky.net" - } - ], - "description": "Filesystem abstraction: Many filesystems, one API.", - "keywords": [ - "Cloud Files", - "WebDAV", - "abstraction", - "aws", - "cloud", - "copy.com", - "dropbox", - "file systems", - "files", - "filesystem", - "filesystems", - "ftp", - "rackspace", - "remote", - "s3", - "sftp", - "storage" - ], - "support": { - "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/1.1.10" - }, - "funding": [ - { - "url": "https://offset.earth/frankdejonge", - "type": "other" - } - ], - "time": "2022-10-04T09:16:37+00:00" - }, - { - "name": "league/mime-type-detection", - "version": "1.14.0", - "source": { - "type": "git", - "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "b6a5854368533df0295c5761a0253656a2e52d9e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/b6a5854368533df0295c5761a0253656a2e52d9e", - "reference": "b6a5854368533df0295c5761a0253656a2e52d9e", - "shasum": "" - }, - "require": { - "ext-fileinfo": "*", - "php": "^7.4 || ^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.2", - "phpstan/phpstan": "^0.12.68", - "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "League\\MimeTypeDetection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Frank de Jonge", - "email": "info@frankdejonge.nl" - } - ], - "description": "Mime-type detection for Flysystem", - "support": { - "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.14.0" - }, - "funding": [ - { - "url": "https://github.com/frankdejonge", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/league/flysystem", - "type": "tidelift" - } - ], - "time": "2023-10-17T14:13:20+00:00" - }, - { - "name": "psr/container", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "shasum": "" - }, - "require": { - "php": ">=7.4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" - }, - "time": "2021-11-05T16:47:00+00:00" - }, - { - "name": "symfony/console", - "version": "v5.4.31", - "source": { - "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "11ac5f154e0e5c4c77af83ad11ead9165280b92a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/11ac5f154e0e5c4c77af83ad11ead9165280b92a", - "reference": "11ac5f154e0e5c4c77af83ad11ead9165280b92a", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.9", - "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.1|^6.0" - }, - "conflict": { - "psr/log": ">=3", - "symfony/dependency-injection": "<4.4", - "symfony/dotenv": "<5.1", - "symfony/event-dispatcher": "<4.4", - "symfony/lock": "<4.4", - "symfony/process": "<4.4" - }, - "provide": { - "psr/log-implementation": "1.0|2.0" - }, - "require-dev": { - "psr/log": "^1|^2", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/lock": "^4.4|^5.0|^6.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Eases the creation of beautiful and testable command line interfaces", - "homepage": "https://symfony.com", - "keywords": [ - "cli", - "command-line", - "console", - "terminal" - ], - "support": { - "source": "https://github.com/symfony/console/tree/v5.4.31" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-10-31T07:58:33+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "v3.0.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", - "shasum": "" - }, - "require": { - "php": ">=8.0.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.0-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-01-02T09:55:41+00:00" - }, - { - "name": "symfony/finder", - "version": "v5.4.27", - "source": { - "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/ff4bce3c33451e7ec778070e45bd23f74214cd5d", - "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Finder\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Finds files and directories via an intuitive fluent interface", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.27" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-07-31T08:02:31+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "875e90aeea2777b6f135677f618529449334a612" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612", - "reference": "875e90aeea2777b6f135677f618529449334a612", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", - "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "42292d99c55abe617799667f454222c54c60e229" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", - "reference": "42292d99c55abe617799667f454222c54c60e229", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-07-28T09:04:16+00:00" - }, - { - "name": "symfony/polyfill-php73", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/service-contracts", - "version": "v3.0.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66", - "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66", - "shasum": "" - }, - "require": { - "php": ">=8.0.2", - "psr/container": "^2.0" - }, - "conflict": { - "ext-psr": "<1.1|>=2" - }, - "suggest": { - "symfony/service-implementation": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.0-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\Service\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to writing services", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.0.2" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-05-30T19:17:58+00:00" - }, - { - "name": "symfony/string", - "version": "v6.0.19", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/d9e72497367c23e08bf94176d2be45b00a9d232a", - "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a", - "shasum": "" - }, - "require": { - "php": ">=8.0.2", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.0" - }, - "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/translation-contracts": "^2.0|^3.0", - "symfony/var-exporter": "^5.4|^6.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/v6.0.19" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-01-01T08:36:10+00:00" - } - ], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": { - "php": ">=5.6.20" - }, - "platform-dev": [], - "plugin-api-version": "2.6.0" -} diff --git a/lib/Google/phpstan.neon.dist b/lib/Google/phpstan.neon.dist deleted file mode 100644 index dcef11342..000000000 --- a/lib/Google/phpstan.neon.dist +++ /dev/null @@ -1,5 +0,0 @@ -parameters: - treatPhpDocTypesAsCertain: false - level: 5 - paths: - - src diff --git a/lib/Google/vendor/google/cloud-core/.gitattributes b/lib/Google/vendor/google/cloud-core/.gitattributes deleted file mode 100644 index d43b60862..000000000 --- a/lib/Google/vendor/google/cloud-core/.gitattributes +++ /dev/null @@ -1,3 +0,0 @@ -/*.xml.dist export-ignore -/tests export-ignore -/.github export-ignore diff --git a/lib/Google/vendor/google/cloud-core/.repo-metadata.json b/lib/Google/vendor/google/cloud-core/.repo-metadata.json deleted file mode 100644 index 9f0a1e0ee..000000000 --- a/lib/Google/vendor/google/cloud-core/.repo-metadata.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "language": "php", - "distribution_name": "google/cloud-core", - "release_level": "stable", - "client_documentation": "https://cloud.google.com/php/docs/reference/cloud-core/latest", - "library_type": "CORE", - "api_shortname": "" -} diff --git a/lib/Google/vendor/google/cloud-storage/.gitattributes b/lib/Google/vendor/google/cloud-storage/.gitattributes deleted file mode 100644 index d43b60862..000000000 --- a/lib/Google/vendor/google/cloud-storage/.gitattributes +++ /dev/null @@ -1,3 +0,0 @@ -/*.xml.dist export-ignore -/tests export-ignore -/.github export-ignore diff --git a/lib/Google/vendor/google/cloud-storage/.repo-metadata.json b/lib/Google/vendor/google/cloud-storage/.repo-metadata.json deleted file mode 100644 index cec1634b2..000000000 --- a/lib/Google/vendor/google/cloud-storage/.repo-metadata.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "language": "php", - "distribution_name": "google/cloud-storage", - "release_level": "stable", - "client_documentation": "https://cloud.google.com/php/docs/reference/cloud-storage/latest", - "library_type": "GAPIC_MANUAL", - "api_shortname": "storage" -} diff --git a/lib/Google/vendor/paragonie/random_compat/build-phar.sh b/lib/Google/vendor/paragonie/random_compat/build-phar.sh deleted file mode 100755 index b4a5ba31c..000000000 --- a/lib/Google/vendor/paragonie/random_compat/build-phar.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -basedir=$( dirname $( readlink -f ${BASH_SOURCE[0]} ) ) - -php -dphar.readonly=0 "$basedir/other/build_phar.php" $* \ No newline at end of file diff --git a/lib/Google/vendor/rize/uri-template/.gitattributes b/lib/Google/vendor/rize/uri-template/.gitattributes deleted file mode 100644 index d6703f432..000000000 --- a/lib/Google/vendor/rize/uri-template/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -/test export-ignore diff --git a/lib/Google/vendor/rize/uri-template/.github/FUNDING.yml b/lib/Google/vendor/rize/uri-template/.github/FUNDING.yml deleted file mode 100644 index 9f2bd4135..000000000 --- a/lib/Google/vendor/rize/uri-template/.github/FUNDING.yml +++ /dev/null @@ -1,3 +0,0 @@ -github: rezigned -open_collective: rize-uri-template -custom: https://www.paypal.me/rezigned diff --git a/lib/Google/vendor/rize/uri-template/.github/workflows/ci.yml b/lib/Google/vendor/rize/uri-template/.github/workflows/ci.yml deleted file mode 100644 index f06bab518..000000000 --- a/lib/Google/vendor/rize/uri-template/.github/workflows/ci.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: CI - -on: - - pull_request - - push - -jobs: - tests: - runs-on: ubuntu-20.04 - - strategy: - fail-fast: true - matrix: - php-versions: ['7.1', '7.2', '7.3', '7.4'] - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php-versions }} - - - name: Install dependencies - run: composer install --optimize-autoloader --prefer-dist - - - name: Run tests - run: composer run-script test - - tests-php8: - runs-on: ubuntu-20.04 - - strategy: - fail-fast: true - matrix: - php-versions: ['8.0', '8.1'] - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php-versions }} - - - name: Install dependencies - run: composer require -W phpunit/phpunit - - - name: Run tests - run: composer run-script test diff --git a/lib/Google/vendor/rize/uri-template/.gitignore b/lib/Google/vendor/rize/uri-template/.gitignore deleted file mode 100644 index e5294f448..000000000 --- a/lib/Google/vendor/rize/uri-template/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -vendor -composer.lock -.DS_Store diff --git a/lib/Google/vendor/symfony/deprecation-contracts/.gitignore b/lib/Google/vendor/symfony/deprecation-contracts/.gitignore deleted file mode 100644 index c49a5d8df..000000000 --- a/lib/Google/vendor/symfony/deprecation-contracts/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -vendor/ -composer.lock -phpunit.xml diff --git a/lib/ns-vendor/classes/.gitkeep b/lib/ns-vendor/classes/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/static/views/.gitkeep b/static/views/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/vendor/composer/installers/.github/workflows/continuous-integration.yml b/vendor/composer/installers/.github/workflows/continuous-integration.yml deleted file mode 100644 index 34b8f91fc..000000000 --- a/vendor/composer/installers/.github/workflows/continuous-integration.yml +++ /dev/null @@ -1,76 +0,0 @@ -name: "Continuous Integration" - -on: - - push - - pull_request - -env: - COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" - SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT: "1" - -jobs: - tests: - name: "CI" - - runs-on: ubuntu-latest - - strategy: - matrix: - php-version: - - "5.3" - - "5.4" - - "5.5" - - "5.6" - - "7.0" - - "7.1" - - "7.2" - - "7.3" - - "7.4" - - "8.0" - - "8.1" - dependencies: [locked] - include: - - php-version: "5.3" - dependencies: lowest - - php-version: "8.1" - dependencies: lowest - - steps: - - name: "Checkout" - uses: "actions/checkout@v2" - - - name: "Install PHP" - uses: "shivammathur/setup-php@v2" - with: - coverage: "none" - php-version: "${{ matrix.php-version }}" - tools: composer:snapshot - - - name: Get composer cache directory - id: composercache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - - name: Cache dependencies - uses: actions/cache@v2 - with: - path: ${{ steps.composercache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-composer- - - - name: "Handle lowest dependencies update" - if: "contains(matrix.dependencies, 'lowest')" - run: "echo \"COMPOSER_FLAGS=$COMPOSER_FLAGS --prefer-lowest\" >> $GITHUB_ENV" - - - name: "Upgrade phpunit-bridge if needed for php 8 lowest build" - if: "contains(matrix.php-version, '8.')" - run: | - composer require symfony/phpunit-bridge:^5.3.3 --dev --no-update - - - name: "Install latest dependencies" - run: | - # Remove PHPStan as it requires a newer PHP - composer remove phpstan/phpstan phpstan/phpstan-phpunit --dev --no-update - composer update ${{ env.COMPOSER_FLAGS }} - - - name: "Run tests" - run: "vendor/bin/simple-phpunit --verbose" diff --git a/vendor/composer/installers/.github/workflows/lint.yml b/vendor/composer/installers/.github/workflows/lint.yml deleted file mode 100644 index 81a1ac4d4..000000000 --- a/vendor/composer/installers/.github/workflows/lint.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: "PHP Lint" - -on: - - push - - pull_request - -jobs: - tests: - name: "Lint" - - runs-on: ubuntu-latest - - strategy: - matrix: - php-version: - - "5.3" - - "8.0" - - steps: - - name: "Checkout" - uses: "actions/checkout@v2" - - - name: "Install PHP" - uses: "shivammathur/setup-php@v2" - with: - coverage: "none" - php-version: "${{ matrix.php-version }}" - - - name: "Lint PHP files" - run: "find src/ -type f -name '*.php' -print0 | xargs -0 -L1 -P4 -- php -l -f" diff --git a/vendor/composer/installers/.github/workflows/phpstan.yml b/vendor/composer/installers/.github/workflows/phpstan.yml deleted file mode 100644 index ac4c4a92c..000000000 --- a/vendor/composer/installers/.github/workflows/phpstan.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: "PHPStan" - -on: - - push - - pull_request - -env: - COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" - SYMFONY_PHPUNIT_VERSION: "" - -jobs: - tests: - name: "PHPStan" - - runs-on: ubuntu-latest - - strategy: - matrix: - php-version: - # pinned to 7.4 because we need PHPUnit 7.5 which does not support PHP 8 - - "7.4" - - steps: - - name: "Checkout" - uses: "actions/checkout@v2" - - - name: "Install PHP" - uses: "shivammathur/setup-php@v2" - with: - coverage: "none" - php-version: "${{ matrix.php-version }}" - - - name: Get composer cache directory - id: composercache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - - name: Cache dependencies - uses: actions/cache@v2 - with: - path: ${{ steps.composercache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-composer- - - - name: "Install latest dependencies" - run: "composer update ${{ env.COMPOSER_FLAGS }}" - - - name: Run PHPStan - # Locked to phpunit 7.5 here as newer ones have void return types which break inheritance - run: | - composer require --dev phpunit/phpunit:^7.5.20 --with-all-dependencies ${{ env.COMPOSER_FLAGS }} - vendor/bin/phpstan analyse diff --git a/vendor/composer/installers/LICENSE b/vendor/composer/installers/LICENSE deleted file mode 100644 index 85f97fc79..000000000 --- a/vendor/composer/installers/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2012 Kyle Robinson Young - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is furnished -to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/vendor/composer/installers/composer.json b/vendor/composer/installers/composer.json deleted file mode 100644 index 4a7fd3c31..000000000 --- a/vendor/composer/installers/composer.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "name": "composer/installers", - "type": "composer-plugin", - "license": "MIT", - "description": "A multi-framework Composer library installer", - "keywords": [ - "installer", - "Aimeos", - "AGL", - "AnnotateCms", - "Attogram", - "Bitrix", - "CakePHP", - "Chef", - "Cockpit", - "CodeIgniter", - "concrete5", - "Craft", - "Croogo", - "DokuWiki", - "Dolibarr", - "Drupal", - "Elgg", - "Eliasis", - "ExpressionEngine", - "eZ Platform", - "FuelPHP", - "Grav", - "Hurad", - "ImageCMS", - "iTop", - "Joomla", - "Kanboard", - "Known", - "Kohana", - "Lan Management System", - "Laravel", - "Lavalite", - "Lithium", - "Magento", - "majima", - "Mako", - "MantisBT", - "Mautic", - "Maya", - "MODX", - "MODX Evo", - "MediaWiki", - "Miaoxing", - "OXID", - "osclass", - "MODULEWork", - "Moodle", - "Pantheon", - "Piwik", - "pxcms", - "phpBB", - "Plentymarkets", - "PPI", - "Puppet", - "Porto", - "ProcessWire", - "RadPHP", - "ReIndex", - "Roundcube", - "shopware", - "SilverStripe", - "SMF", - "Starbug", - "SyDES", - "Sylius", - "symfony", - "TastyIgniter", - "Thelia", - "TYPO3", - "WHMCS", - "WolfCMS", - "WordPress", - "YAWIK", - "Zend", - "Zikula" - ], - "homepage": "https://composer.github.io/installers/", - "authors": [ - { - "name": "Kyle Robinson Young", - "email": "kyle@dontkry.com", - "homepage": "https://github.com/shama" - } - ], - "autoload": { - "psr-4": { "Composer\\Installers\\": "src/Composer/Installers" } - }, - "autoload-dev": { - "psr-4": { "Composer\\Installers\\Test\\": "tests/Composer/Installers/Test" } - }, - "extra": { - "class": "Composer\\Installers\\Plugin", - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "replace": { - "shama/baton": "*", - "roundcube/plugin-installer": "*" - }, - "require": { - "composer-plugin-api": "^1.0 || ^2.0" - }, - "require-dev": { - "composer/composer": "1.6.* || ^2.0", - "composer/semver": "^1 || ^3", - "symfony/phpunit-bridge": "^4.2 || ^5", - "phpstan/phpstan": "^0.12.55", - "symfony/process": "^2.3", - "phpstan/phpstan-phpunit": "^0.12.16" - }, - "scripts": { - "test": "SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT=1 vendor/bin/simple-phpunit", - "phpstan": "vendor/bin/phpstan analyse" - } -} diff --git a/vendor/composer/installers/phpstan.neon.dist b/vendor/composer/installers/phpstan.neon.dist deleted file mode 100644 index 8e3d81e9a..000000000 --- a/vendor/composer/installers/phpstan.neon.dist +++ /dev/null @@ -1,10 +0,0 @@ -parameters: - level: 5 - paths: - - src - - tests - excludes_analyse: - - tests/Composer/Installers/Test/PolyfillTestCase.php - -includes: - - vendor/phpstan/phpstan-phpunit/extension.neon diff --git a/vendor/composer/installers/src/Composer/Installers/AglInstaller.php b/vendor/composer/installers/src/Composer/Installers/AglInstaller.php deleted file mode 100644 index 01b8a4165..000000000 --- a/vendor/composer/installers/src/Composer/Installers/AglInstaller.php +++ /dev/null @@ -1,21 +0,0 @@ - 'More/{$name}/', - ); - - /** - * Format package name to CamelCase - */ - public function inflectPackageVars($vars) - { - $vars['name'] = preg_replace_callback('/(?:^|_|-)(.?)/', function ($matches) { - return strtoupper($matches[1]); - }, $vars['name']); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php b/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php deleted file mode 100644 index 79a0e958f..000000000 --- a/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'ext/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php b/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php deleted file mode 100644 index 89d7ad905..000000000 --- a/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php +++ /dev/null @@ -1,11 +0,0 @@ - 'addons/modules/{$name}/', - 'component' => 'addons/components/{$name}/', - 'service' => 'addons/services/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php b/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php deleted file mode 100644 index 22dad1b9a..000000000 --- a/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php +++ /dev/null @@ -1,49 +0,0 @@ - 'Modules/{$name}/', - 'theme' => 'Themes/{$name}/' - ); - - /** - * Format package name. - * - * For package type asgard-module, cut off a trailing '-plugin' if present. - * - * For package type asgard-theme, cut off a trailing '-theme' if present. - * - */ - public function inflectPackageVars($vars) - { - if ($vars['type'] === 'asgard-module') { - return $this->inflectPluginVars($vars); - } - - if ($vars['type'] === 'asgard-theme') { - return $this->inflectThemeVars($vars); - } - - return $vars; - } - - protected function inflectPluginVars($vars) - { - $vars['name'] = preg_replace('/-module$/', '', $vars['name']); - $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } - - protected function inflectThemeVars($vars) - { - $vars['name'] = preg_replace('/-theme$/', '', $vars['name']); - $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php b/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php deleted file mode 100644 index d62fd8fd1..000000000 --- a/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'modules/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php b/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php deleted file mode 100644 index 70dde907e..000000000 --- a/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php +++ /dev/null @@ -1,137 +0,0 @@ -composer = $composer; - $this->package = $package; - $this->io = $io; - } - - /** - * Return the install path based on package type. - * - * @param PackageInterface $package - * @param string $frameworkType - * @return string - */ - public function getInstallPath(PackageInterface $package, $frameworkType = '') - { - $type = $this->package->getType(); - - $prettyName = $this->package->getPrettyName(); - if (strpos($prettyName, '/') !== false) { - list($vendor, $name) = explode('/', $prettyName); - } else { - $vendor = ''; - $name = $prettyName; - } - - $availableVars = $this->inflectPackageVars(compact('name', 'vendor', 'type')); - - $extra = $package->getExtra(); - if (!empty($extra['installer-name'])) { - $availableVars['name'] = $extra['installer-name']; - } - - if ($this->composer->getPackage()) { - $extra = $this->composer->getPackage()->getExtra(); - if (!empty($extra['installer-paths'])) { - $customPath = $this->mapCustomInstallPaths($extra['installer-paths'], $prettyName, $type, $vendor); - if ($customPath !== false) { - return $this->templatePath($customPath, $availableVars); - } - } - } - - $packageType = substr($type, strlen($frameworkType) + 1); - $locations = $this->getLocations(); - if (!isset($locations[$packageType])) { - throw new \InvalidArgumentException(sprintf('Package type "%s" is not supported', $type)); - } - - return $this->templatePath($locations[$packageType], $availableVars); - } - - /** - * For an installer to override to modify the vars per installer. - * - * @param array $vars This will normally receive array{name: string, vendor: string, type: string} - * @return array - */ - public function inflectPackageVars($vars) - { - return $vars; - } - - /** - * Gets the installer's locations - * - * @return array map of package types => install path - */ - public function getLocations() - { - return $this->locations; - } - - /** - * Replace vars in a path - * - * @param string $path - * @param array $vars - * @return string - */ - protected function templatePath($path, array $vars = array()) - { - if (strpos($path, '{') !== false) { - extract($vars); - preg_match_all('@\{\$([A-Za-z0-9_]*)\}@i', $path, $matches); - if (!empty($matches[1])) { - foreach ($matches[1] as $var) { - $path = str_replace('{$' . $var . '}', $$var, $path); - } - } - } - - return $path; - } - - /** - * Search through a passed paths array for a custom install path. - * - * @param array $paths - * @param string $name - * @param string $type - * @param string $vendor = NULL - * @return string|false - */ - protected function mapCustomInstallPaths(array $paths, $name, $type, $vendor = NULL) - { - foreach ($paths as $path => $names) { - $names = (array) $names; - if (in_array($name, $names) || in_array('type:' . $type, $names) || in_array('vendor:' . $vendor, $names)) { - return $path; - } - } - - return false; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php b/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php deleted file mode 100644 index e80cd1e10..000000000 --- a/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php +++ /dev/null @@ -1,126 +0,0 @@ -.`. - * - `bitrix-d7-component` — copy the component to directory `bitrix/components//`. - * - `bitrix-d7-template` — copy the template to directory `bitrix/templates/_`. - * - * You can set custom path to directory with Bitrix kernel in `composer.json`: - * - * ```json - * { - * "extra": { - * "bitrix-dir": "s1/bitrix" - * } - * } - * ``` - * - * @author Nik Samokhvalov - * @author Denis Kulichkin - */ -class BitrixInstaller extends BaseInstaller -{ - protected $locations = array( - 'module' => '{$bitrix_dir}/modules/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken) - 'component' => '{$bitrix_dir}/components/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken) - 'theme' => '{$bitrix_dir}/templates/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken) - 'd7-module' => '{$bitrix_dir}/modules/{$vendor}.{$name}/', - 'd7-component' => '{$bitrix_dir}/components/{$vendor}/{$name}/', - 'd7-template' => '{$bitrix_dir}/templates/{$vendor}_{$name}/', - ); - - /** - * @var array Storage for informations about duplicates at all the time of installation packages. - */ - private static $checkedDuplicates = array(); - - /** - * {@inheritdoc} - */ - public function inflectPackageVars($vars) - { - if ($this->composer->getPackage()) { - $extra = $this->composer->getPackage()->getExtra(); - - if (isset($extra['bitrix-dir'])) { - $vars['bitrix_dir'] = $extra['bitrix-dir']; - } - } - - if (!isset($vars['bitrix_dir'])) { - $vars['bitrix_dir'] = 'bitrix'; - } - - return parent::inflectPackageVars($vars); - } - - /** - * {@inheritdoc} - */ - protected function templatePath($path, array $vars = array()) - { - $templatePath = parent::templatePath($path, $vars); - $this->checkDuplicates($templatePath, $vars); - - return $templatePath; - } - - /** - * Duplicates search packages. - * - * @param string $path - * @param array $vars - */ - protected function checkDuplicates($path, array $vars = array()) - { - $packageType = substr($vars['type'], strlen('bitrix') + 1); - $localDir = explode('/', $vars['bitrix_dir']); - array_pop($localDir); - $localDir[] = 'local'; - $localDir = implode('/', $localDir); - - $oldPath = str_replace( - array('{$bitrix_dir}', '{$name}'), - array($localDir, $vars['name']), - $this->locations[$packageType] - ); - - if (in_array($oldPath, static::$checkedDuplicates)) { - return; - } - - if ($oldPath !== $path && file_exists($oldPath) && $this->io && $this->io->isInteractive()) { - - $this->io->writeError(' Duplication of packages:'); - $this->io->writeError(' Package ' . $oldPath . ' will be called instead package ' . $path . ''); - - while (true) { - switch ($this->io->ask(' Delete ' . $oldPath . ' [y,n,?]? ', '?')) { - case 'y': - $fs = new Filesystem(); - $fs->removeDirectory($oldPath); - break 2; - - case 'n': - break 2; - - case '?': - default: - $this->io->writeError(array( - ' y - delete package ' . $oldPath . ' and to continue with the installation', - ' n - don\'t delete and to continue with the installation', - )); - $this->io->writeError(' ? - print help'); - break; - } - } - } - - static::$checkedDuplicates[] = $oldPath; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php b/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php deleted file mode 100644 index da3aad2a3..000000000 --- a/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'Packages/{$vendor}/{$name}/' - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php b/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php deleted file mode 100644 index 1e2ddd022..000000000 --- a/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php +++ /dev/null @@ -1,66 +0,0 @@ - 'Plugin/{$name}/', - ); - - /** - * Format package name to CamelCase - */ - public function inflectPackageVars($vars) - { - if ($this->matchesCakeVersion('>=', '3.0.0')) { - return $vars; - } - - $nameParts = explode('/', $vars['name']); - foreach ($nameParts as &$value) { - $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value)); - $value = str_replace(array('-', '_'), ' ', $value); - $value = str_replace(' ', '', ucwords($value)); - } - $vars['name'] = implode('/', $nameParts); - - return $vars; - } - - /** - * Change the default plugin location when cakephp >= 3.0 - */ - public function getLocations() - { - if ($this->matchesCakeVersion('>=', '3.0.0')) { - $this->locations['plugin'] = $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/'; - } - return $this->locations; - } - - /** - * Check if CakePHP version matches against a version - * - * @param string $matcher - * @param string $version - * @return bool - * @phpstan-param Constraint::STR_OP_* $matcher - */ - protected function matchesCakeVersion($matcher, $version) - { - $repositoryManager = $this->composer->getRepositoryManager(); - if (! $repositoryManager) { - return false; - } - - $repos = $repositoryManager->getLocalRepository(); - if (!$repos) { - return false; - } - - return $repos->findPackage('cakephp/cakephp', new Constraint($matcher, $version)) !== null; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php b/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php deleted file mode 100644 index ab2f9aad8..000000000 --- a/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php +++ /dev/null @@ -1,11 +0,0 @@ - 'Chef/{$vendor}/{$name}/', - 'role' => 'Chef/roles/{$name}/', - ); -} - diff --git a/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php b/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php deleted file mode 100644 index 6673aea94..000000000 --- a/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'ext/{$name}/' - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php b/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php deleted file mode 100644 index c887815c9..000000000 --- a/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'CCF/orbit/{$name}/', - 'theme' => 'CCF/app/themes/{$name}/', - ); -} \ No newline at end of file diff --git a/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php b/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php deleted file mode 100644 index 053f3ffd7..000000000 --- a/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php +++ /dev/null @@ -1,32 +0,0 @@ - 'cockpit/modules/addons/{$name}/', - ); - - /** - * Format module name. - * - * Strip `module-` prefix from package name. - * - * {@inheritDoc} - */ - public function inflectPackageVars($vars) - { - if ($vars['type'] == 'cockpit-module') { - return $this->inflectModuleVars($vars); - } - - return $vars; - } - - public function inflectModuleVars($vars) - { - $vars['name'] = ucfirst(preg_replace('/cockpit-/i', '', $vars['name'])); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php b/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php deleted file mode 100644 index 3b4a4ece1..000000000 --- a/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php +++ /dev/null @@ -1,11 +0,0 @@ - 'application/libraries/{$name}/', - 'third-party' => 'application/third_party/{$name}/', - 'module' => 'application/modules/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php b/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php deleted file mode 100644 index 5c01bafd7..000000000 --- a/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php +++ /dev/null @@ -1,13 +0,0 @@ - 'concrete/', - 'block' => 'application/blocks/{$name}/', - 'package' => 'packages/{$name}/', - 'theme' => 'application/themes/{$name}/', - 'update' => 'updates/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php b/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php deleted file mode 100644 index d37a77ae2..000000000 --- a/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php +++ /dev/null @@ -1,35 +0,0 @@ - 'craft/plugins/{$name}/', - ); - - /** - * Strip `craft-` prefix and/or `-plugin` suffix from package names - * - * @param array $vars - * - * @return array - */ - final public function inflectPackageVars($vars) - { - return $this->inflectPluginVars($vars); - } - - private function inflectPluginVars($vars) - { - $vars['name'] = preg_replace('/-' . self::NAME_SUFFIX . '$/i', '', $vars['name']); - $vars['name'] = preg_replace('/^' . self::NAME_PREFIX . '-/i', '', $vars['name']); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php b/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php deleted file mode 100644 index d94219d3a..000000000 --- a/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php +++ /dev/null @@ -1,21 +0,0 @@ - 'Plugin/{$name}/', - 'theme' => 'View/Themed/{$name}/', - ); - - /** - * Format package name to CamelCase - */ - public function inflectPackageVars($vars) - { - $vars['name'] = strtolower(str_replace(array('-', '_'), ' ', $vars['name'])); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php b/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php deleted file mode 100644 index f4837a6c1..000000000 --- a/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'app/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php b/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php deleted file mode 100644 index 70788163a..000000000 --- a/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'modules/{$vendor}/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php b/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php deleted file mode 100644 index cfd638d5f..000000000 --- a/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php +++ /dev/null @@ -1,50 +0,0 @@ - 'lib/plugins/{$name}/', - 'template' => 'lib/tpl/{$name}/', - ); - - /** - * Format package name. - * - * For package type dokuwiki-plugin, cut off a trailing '-plugin', - * or leading dokuwiki_ if present. - * - * For package type dokuwiki-template, cut off a trailing '-template' if present. - * - */ - public function inflectPackageVars($vars) - { - - if ($vars['type'] === 'dokuwiki-plugin') { - return $this->inflectPluginVars($vars); - } - - if ($vars['type'] === 'dokuwiki-template') { - return $this->inflectTemplateVars($vars); - } - - return $vars; - } - - protected function inflectPluginVars($vars) - { - $vars['name'] = preg_replace('/-plugin$/', '', $vars['name']); - $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']); - - return $vars; - } - - protected function inflectTemplateVars($vars) - { - $vars['name'] = preg_replace('/-template$/', '', $vars['name']); - $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']); - - return $vars; - } - -} diff --git a/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php b/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php deleted file mode 100644 index 21f7e8e80..000000000 --- a/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php +++ /dev/null @@ -1,16 +0,0 @@ - - */ -class DolibarrInstaller extends BaseInstaller -{ - //TODO: Add support for scripts and themes - protected $locations = array( - 'module' => 'htdocs/custom/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php b/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php deleted file mode 100644 index 732823922..000000000 --- a/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php +++ /dev/null @@ -1,22 +0,0 @@ - 'core/', - 'module' => 'modules/{$name}/', - 'theme' => 'themes/{$name}/', - 'library' => 'libraries/{$name}/', - 'profile' => 'profiles/{$name}/', - 'database-driver' => 'drivers/lib/Drupal/Driver/Database/{$name}/', - 'drush' => 'drush/{$name}/', - 'custom-theme' => 'themes/custom/{$name}/', - 'custom-module' => 'modules/custom/{$name}/', - 'custom-profile' => 'profiles/custom/{$name}/', - 'drupal-multisite' => 'sites/{$name}/', - 'console' => 'console/{$name}/', - 'console-language' => 'console/language/{$name}/', - 'config' => 'config/sync/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php b/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php deleted file mode 100644 index c0bb609f4..000000000 --- a/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'mod/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php b/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php deleted file mode 100644 index 6f3dc97b1..000000000 --- a/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php +++ /dev/null @@ -1,12 +0,0 @@ - 'components/{$name}/', - 'module' => 'modules/{$name}/', - 'plugin' => 'plugins/{$name}/', - 'template' => 'templates/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php b/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php deleted file mode 100644 index d5321a8ca..000000000 --- a/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php +++ /dev/null @@ -1,29 +0,0 @@ - 'system/expressionengine/third_party/{$name}/', - 'theme' => 'themes/third_party/{$name}/', - ); - - private $ee3Locations = array( - 'addon' => 'system/user/addons/{$name}/', - 'theme' => 'themes/user/{$name}/', - ); - - public function getInstallPath(PackageInterface $package, $frameworkType = '') - { - - $version = "{$frameworkType}Locations"; - $this->locations = $this->$version; - - return parent::getInstallPath($package, $frameworkType); - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php b/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php deleted file mode 100644 index f30ebcc77..000000000 --- a/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'web/assets/ezplatform/', - 'assets' => 'web/assets/ezplatform/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php b/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php deleted file mode 100644 index 6eba2e34f..000000000 --- a/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php +++ /dev/null @@ -1,11 +0,0 @@ - 'fuel/app/modules/{$name}/', - 'package' => 'fuel/packages/{$name}/', - 'theme' => 'fuel/app/themes/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php b/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php deleted file mode 100644 index 29d980b30..000000000 --- a/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'components/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/GravInstaller.php b/vendor/composer/installers/src/Composer/Installers/GravInstaller.php deleted file mode 100644 index dbe63e07e..000000000 --- a/vendor/composer/installers/src/Composer/Installers/GravInstaller.php +++ /dev/null @@ -1,30 +0,0 @@ - 'user/plugins/{$name}/', - 'theme' => 'user/themes/{$name}/', - ); - - /** - * Format package name - * - * @param array $vars - * - * @return array - */ - public function inflectPackageVars($vars) - { - $restrictedWords = implode('|', array_keys($this->locations)); - - $vars['name'] = strtolower($vars['name']); - $vars['name'] = preg_replace('/^(?:grav-)?(?:(?:'.$restrictedWords.')-)?(.*?)(?:-(?:'.$restrictedWords.'))?$/ui', - '$1', - $vars['name'] - ); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php b/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php deleted file mode 100644 index 8fe017f0f..000000000 --- a/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php +++ /dev/null @@ -1,25 +0,0 @@ - 'plugins/{$name}/', - 'theme' => 'plugins/{$name}/', - ); - - /** - * Format package name to CamelCase - */ - public function inflectPackageVars($vars) - { - $nameParts = explode('/', $vars['name']); - foreach ($nameParts as &$value) { - $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value)); - $value = str_replace(array('-', '_'), ' ', $value); - $value = str_replace(' ', '', ucwords($value)); - } - $vars['name'] = implode('/', $nameParts); - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php b/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php deleted file mode 100644 index 5e2142ea5..000000000 --- a/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php +++ /dev/null @@ -1,11 +0,0 @@ - 'templates/{$name}/', - 'module' => 'application/modules/{$name}/', - 'library' => 'application/libraries/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/Installer.php b/vendor/composer/installers/src/Composer/Installers/Installer.php deleted file mode 100644 index 9c9c24f7f..000000000 --- a/vendor/composer/installers/src/Composer/Installers/Installer.php +++ /dev/null @@ -1,298 +0,0 @@ - 'AimeosInstaller', - 'asgard' => 'AsgardInstaller', - 'attogram' => 'AttogramInstaller', - 'agl' => 'AglInstaller', - 'annotatecms' => 'AnnotateCmsInstaller', - 'bitrix' => 'BitrixInstaller', - 'bonefish' => 'BonefishInstaller', - 'cakephp' => 'CakePHPInstaller', - 'chef' => 'ChefInstaller', - 'civicrm' => 'CiviCrmInstaller', - 'ccframework' => 'ClanCatsFrameworkInstaller', - 'cockpit' => 'CockpitInstaller', - 'codeigniter' => 'CodeIgniterInstaller', - 'concrete5' => 'Concrete5Installer', - 'craft' => 'CraftInstaller', - 'croogo' => 'CroogoInstaller', - 'dframe' => 'DframeInstaller', - 'dokuwiki' => 'DokuWikiInstaller', - 'dolibarr' => 'DolibarrInstaller', - 'decibel' => 'DecibelInstaller', - 'drupal' => 'DrupalInstaller', - 'elgg' => 'ElggInstaller', - 'eliasis' => 'EliasisInstaller', - 'ee3' => 'ExpressionEngineInstaller', - 'ee2' => 'ExpressionEngineInstaller', - 'ezplatform' => 'EzPlatformInstaller', - 'fuel' => 'FuelInstaller', - 'fuelphp' => 'FuelphpInstaller', - 'grav' => 'GravInstaller', - 'hurad' => 'HuradInstaller', - 'tastyigniter' => 'TastyIgniterInstaller', - 'imagecms' => 'ImageCMSInstaller', - 'itop' => 'ItopInstaller', - 'joomla' => 'JoomlaInstaller', - 'kanboard' => 'KanboardInstaller', - 'kirby' => 'KirbyInstaller', - 'known' => 'KnownInstaller', - 'kodicms' => 'KodiCMSInstaller', - 'kohana' => 'KohanaInstaller', - 'lms' => 'LanManagementSystemInstaller', - 'laravel' => 'LaravelInstaller', - 'lavalite' => 'LavaLiteInstaller', - 'lithium' => 'LithiumInstaller', - 'magento' => 'MagentoInstaller', - 'majima' => 'MajimaInstaller', - 'mantisbt' => 'MantisBTInstaller', - 'mako' => 'MakoInstaller', - 'maya' => 'MayaInstaller', - 'mautic' => 'MauticInstaller', - 'mediawiki' => 'MediaWikiInstaller', - 'miaoxing' => 'MiaoxingInstaller', - 'microweber' => 'MicroweberInstaller', - 'modulework' => 'MODULEWorkInstaller', - 'modx' => 'ModxInstaller', - 'modxevo' => 'MODXEvoInstaller', - 'moodle' => 'MoodleInstaller', - 'october' => 'OctoberInstaller', - 'ontowiki' => 'OntoWikiInstaller', - 'oxid' => 'OxidInstaller', - 'osclass' => 'OsclassInstaller', - 'pxcms' => 'PxcmsInstaller', - 'phpbb' => 'PhpBBInstaller', - 'pimcore' => 'PimcoreInstaller', - 'piwik' => 'PiwikInstaller', - 'plentymarkets'=> 'PlentymarketsInstaller', - 'ppi' => 'PPIInstaller', - 'puppet' => 'PuppetInstaller', - 'radphp' => 'RadPHPInstaller', - 'phifty' => 'PhiftyInstaller', - 'porto' => 'PortoInstaller', - 'processwire' => 'ProcessWireInstaller', - 'quicksilver' => 'PantheonInstaller', - 'redaxo' => 'RedaxoInstaller', - 'redaxo5' => 'Redaxo5Installer', - 'reindex' => 'ReIndexInstaller', - 'roundcube' => 'RoundcubeInstaller', - 'shopware' => 'ShopwareInstaller', - 'sitedirect' => 'SiteDirectInstaller', - 'silverstripe' => 'SilverStripeInstaller', - 'smf' => 'SMFInstaller', - 'starbug' => 'StarbugInstaller', - 'sydes' => 'SyDESInstaller', - 'sylius' => 'SyliusInstaller', - 'symfony1' => 'Symfony1Installer', - 'tao' => 'TaoInstaller', - 'thelia' => 'TheliaInstaller', - 'tusk' => 'TuskInstaller', - 'typo3-cms' => 'TYPO3CmsInstaller', - 'typo3-flow' => 'TYPO3FlowInstaller', - 'userfrosting' => 'UserFrostingInstaller', - 'vanilla' => 'VanillaInstaller', - 'whmcs' => 'WHMCSInstaller', - 'winter' => 'WinterInstaller', - 'wolfcms' => 'WolfCMSInstaller', - 'wordpress' => 'WordPressInstaller', - 'yawik' => 'YawikInstaller', - 'zend' => 'ZendInstaller', - 'zikula' => 'ZikulaInstaller', - 'prestashop' => 'PrestashopInstaller' - ); - - /** - * Installer constructor. - * - * Disables installers specified in main composer extra installer-disable - * list - * - * @param IOInterface $io - * @param Composer $composer - * @param string $type - * @param Filesystem|null $filesystem - * @param BinaryInstaller|null $binaryInstaller - */ - public function __construct( - IOInterface $io, - Composer $composer, - $type = 'library', - Filesystem $filesystem = null, - BinaryInstaller $binaryInstaller = null - ) { - parent::__construct($io, $composer, $type, $filesystem, - $binaryInstaller); - $this->removeDisabledInstallers(); - } - - /** - * {@inheritDoc} - */ - public function getInstallPath(PackageInterface $package) - { - $type = $package->getType(); - $frameworkType = $this->findFrameworkType($type); - - if ($frameworkType === false) { - throw new \InvalidArgumentException( - 'Sorry the package type of this package is not yet supported.' - ); - } - - $class = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType]; - $installer = new $class($package, $this->composer, $this->getIO()); - - return $installer->getInstallPath($package, $frameworkType); - } - - public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package) - { - $installPath = $this->getPackageBasePath($package); - $io = $this->io; - $outputStatus = function () use ($io, $installPath) { - $io->write(sprintf('Deleting %s - %s', $installPath, !file_exists($installPath) ? 'deleted' : 'not deleted')); - }; - - $promise = parent::uninstall($repo, $package); - - // Composer v2 might return a promise here - if ($promise instanceof PromiseInterface) { - return $promise->then($outputStatus); - } - - // If not, execute the code right away as parent::uninstall executed synchronously (composer v1, or v2 without async) - $outputStatus(); - - return null; - } - - /** - * {@inheritDoc} - */ - public function supports($packageType) - { - $frameworkType = $this->findFrameworkType($packageType); - - if ($frameworkType === false) { - return false; - } - - $locationPattern = $this->getLocationPattern($frameworkType); - - return preg_match('#' . $frameworkType . '-' . $locationPattern . '#', $packageType, $matches) === 1; - } - - /** - * Finds a supported framework type if it exists and returns it - * - * @param string $type - * @return string|false - */ - protected function findFrameworkType($type) - { - krsort($this->supportedTypes); - - foreach ($this->supportedTypes as $key => $val) { - if ($key === substr($type, 0, strlen($key))) { - return substr($type, 0, strlen($key)); - } - } - - return false; - } - - /** - * Get the second part of the regular expression to check for support of a - * package type - * - * @param string $frameworkType - * @return string - */ - protected function getLocationPattern($frameworkType) - { - $pattern = false; - if (!empty($this->supportedTypes[$frameworkType])) { - $frameworkClass = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType]; - /** @var BaseInstaller $framework */ - $framework = new $frameworkClass(null, $this->composer, $this->getIO()); - $locations = array_keys($framework->getLocations()); - $pattern = $locations ? '(' . implode('|', $locations) . ')' : false; - } - - return $pattern ? : '(\w+)'; - } - - /** - * Get I/O object - * - * @return IOInterface - */ - private function getIO() - { - return $this->io; - } - - /** - * Look for installers set to be disabled in composer's extra config and - * remove them from the list of supported installers. - * - * Globals: - * - true, "all", and "*" - disable all installers. - * - false - enable all installers (useful with - * wikimedia/composer-merge-plugin or similar) - * - * @return void - */ - protected function removeDisabledInstallers() - { - $extra = $this->composer->getPackage()->getExtra(); - - if (!isset($extra['installer-disable']) || $extra['installer-disable'] === false) { - // No installers are disabled - return; - } - - // Get installers to disable - $disable = $extra['installer-disable']; - - // Ensure $disabled is an array - if (!is_array($disable)) { - $disable = array($disable); - } - - // Check which installers should be disabled - $all = array(true, "all", "*"); - $intersect = array_intersect($all, $disable); - if (!empty($intersect)) { - // Disable all installers - $this->supportedTypes = array(); - } else { - // Disable specified installers - foreach ($disable as $key => $installer) { - if (is_string($installer) && key_exists($installer, $this->supportedTypes)) { - unset($this->supportedTypes[$installer]); - } - } - } - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php b/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php deleted file mode 100644 index c6c1b3374..000000000 --- a/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'extensions/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php b/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php deleted file mode 100644 index 9ee775965..000000000 --- a/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php +++ /dev/null @@ -1,15 +0,0 @@ - 'components/{$name}/', - 'module' => 'modules/{$name}/', - 'template' => 'templates/{$name}/', - 'plugin' => 'plugins/{$name}/', - 'library' => 'libraries/{$name}/', - ); - - // TODO: Add inflector for mod_ and com_ names -} diff --git a/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php b/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php deleted file mode 100644 index 9cb7b8cdb..000000000 --- a/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php +++ /dev/null @@ -1,18 +0,0 @@ - 'plugins/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php b/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php deleted file mode 100644 index 36b2f84a7..000000000 --- a/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php +++ /dev/null @@ -1,11 +0,0 @@ - 'site/plugins/{$name}/', - 'field' => 'site/fields/{$name}/', - 'tag' => 'site/tags/{$name}/' - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php b/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php deleted file mode 100644 index c5d08c5f9..000000000 --- a/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php +++ /dev/null @@ -1,11 +0,0 @@ - 'IdnoPlugins/{$name}/', - 'theme' => 'Themes/{$name}/', - 'console' => 'ConsolePlugins/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php b/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php deleted file mode 100644 index 7143e232b..000000000 --- a/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'cms/plugins/{$name}/', - 'media' => 'cms/media/vendor/{$name}/' - ); -} \ No newline at end of file diff --git a/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php b/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php deleted file mode 100644 index dcd6d2632..000000000 --- a/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'modules/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php b/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php deleted file mode 100644 index 903143a55..000000000 --- a/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php +++ /dev/null @@ -1,27 +0,0 @@ - 'plugins/{$name}/', - 'template' => 'templates/{$name}/', - 'document-template' => 'documents/templates/{$name}/', - 'userpanel-module' => 'userpanel/modules/{$name}/', - ); - - /** - * Format package name to CamelCase - */ - public function inflectPackageVars($vars) - { - $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); - $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } - -} diff --git a/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php b/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php deleted file mode 100644 index be4d53a7b..000000000 --- a/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'libraries/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php b/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php deleted file mode 100644 index 412c0b5c0..000000000 --- a/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'packages/{$vendor}/{$name}/', - 'theme' => 'public/themes/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php b/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php deleted file mode 100644 index 47bbd4cab..000000000 --- a/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'libraries/{$name}/', - 'source' => 'libraries/_source/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php b/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php deleted file mode 100644 index 9c2e9fb40..000000000 --- a/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'modules/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php deleted file mode 100644 index 5a664608d..000000000 --- a/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php +++ /dev/null @@ -1,16 +0,0 @@ - 'assets/snippets/{$name}/', - 'plugin' => 'assets/plugins/{$name}/', - 'module' => 'assets/modules/{$name}/', - 'template' => 'assets/templates/{$name}/', - 'lib' => 'assets/lib/{$name}/' - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php deleted file mode 100644 index cf18e9478..000000000 --- a/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php +++ /dev/null @@ -1,11 +0,0 @@ - 'app/design/frontend/{$name}/', - 'skin' => 'skin/frontend/default/{$name}/', - 'library' => 'lib/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php b/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php deleted file mode 100644 index e463756fa..000000000 --- a/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php +++ /dev/null @@ -1,37 +0,0 @@ - 'plugins/{$name}/', - ); - - /** - * Transforms the names - * @param array $vars - * @return array - */ - public function inflectPackageVars($vars) - { - return $this->correctPluginName($vars); - } - - /** - * Change hyphenated names to camelcase - * @param array $vars - * @return array - */ - private function correctPluginName($vars) - { - $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) { - return strtoupper($matches[0][1]); - }, $vars['name']); - $vars['name'] = ucfirst($camelCasedName); - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php deleted file mode 100644 index ca3cfacb4..000000000 --- a/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'app/packages/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php b/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php deleted file mode 100644 index dadb1dbbc..000000000 --- a/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php +++ /dev/null @@ -1,23 +0,0 @@ - 'plugins/{$name}/', - ); - - /** - * Format package name to CamelCase - */ - public function inflectPackageVars($vars) - { - $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); - $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php b/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php deleted file mode 100644 index c3dd2b6f9..000000000 --- a/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php +++ /dev/null @@ -1,48 +0,0 @@ - 'plugins/{$name}/', - 'theme' => 'themes/{$name}/', - 'core' => 'app/', - ); - - private function getDirectoryName() - { - $extra = $this->package->getExtra(); - if (!empty($extra['install-directory-name'])) { - return $extra['install-directory-name']; - } - - return $this->toCamelCase($this->package->getPrettyName()); - } - - /** - * @param string $packageName - * - * @return string - */ - private function toCamelCase($packageName) - { - return str_replace(' ', '', ucwords(str_replace('-', ' ', basename($packageName)))); - } - - /** - * Format package name of mautic-plugins to CamelCase - */ - public function inflectPackageVars($vars) - { - - if ($vars['type'] == 'mautic-plugin' || $vars['type'] == 'mautic-theme') { - $directoryName = $this->getDirectoryName(); - $vars['name'] = $directoryName; - } - - return $vars; - } - -} diff --git a/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php b/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php deleted file mode 100644 index 30a91676d..000000000 --- a/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php +++ /dev/null @@ -1,33 +0,0 @@ - 'modules/{$name}/', - ); - - /** - * Format package name. - * - * For package type maya-module, cut off a trailing '-module' if present. - * - */ - public function inflectPackageVars($vars) - { - if ($vars['type'] === 'maya-module') { - return $this->inflectModuleVars($vars); - } - - return $vars; - } - - protected function inflectModuleVars($vars) - { - $vars['name'] = preg_replace('/-module$/', '', $vars['name']); - $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php b/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php deleted file mode 100644 index f5a8957ef..000000000 --- a/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php +++ /dev/null @@ -1,51 +0,0 @@ - 'core/', - 'extension' => 'extensions/{$name}/', - 'skin' => 'skins/{$name}/', - ); - - /** - * Format package name. - * - * For package type mediawiki-extension, cut off a trailing '-extension' if present and transform - * to CamelCase keeping existing uppercase chars. - * - * For package type mediawiki-skin, cut off a trailing '-skin' if present. - * - */ - public function inflectPackageVars($vars) - { - - if ($vars['type'] === 'mediawiki-extension') { - return $this->inflectExtensionVars($vars); - } - - if ($vars['type'] === 'mediawiki-skin') { - return $this->inflectSkinVars($vars); - } - - return $vars; - } - - protected function inflectExtensionVars($vars) - { - $vars['name'] = preg_replace('/-extension$/', '', $vars['name']); - $vars['name'] = str_replace('-', ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } - - protected function inflectSkinVars($vars) - { - $vars['name'] = preg_replace('/-skin$/', '', $vars['name']); - - return $vars; - } - -} diff --git a/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php b/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php deleted file mode 100644 index 66d8369c4..000000000 --- a/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'plugins/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php b/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php deleted file mode 100644 index b7d970392..000000000 --- a/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php +++ /dev/null @@ -1,119 +0,0 @@ - 'userfiles/modules/{$install_item_dir}/', - 'module-skin' => 'userfiles/modules/{$install_item_dir}/templates/', - 'template' => 'userfiles/templates/{$install_item_dir}/', - 'element' => 'userfiles/elements/{$install_item_dir}/', - 'vendor' => 'vendor/{$install_item_dir}/', - 'components' => 'components/{$install_item_dir}/' - ); - - /** - * Format package name. - * - * For package type microweber-module, cut off a trailing '-module' if present - * - * For package type microweber-template, cut off a trailing '-template' if present. - * - */ - public function inflectPackageVars($vars) - { - - - if ($this->package->getTargetDir()) { - $vars['install_item_dir'] = $this->package->getTargetDir(); - } else { - $vars['install_item_dir'] = $vars['name']; - if ($vars['type'] === 'microweber-template') { - return $this->inflectTemplateVars($vars); - } - if ($vars['type'] === 'microweber-templates') { - return $this->inflectTemplatesVars($vars); - } - if ($vars['type'] === 'microweber-core') { - return $this->inflectCoreVars($vars); - } - if ($vars['type'] === 'microweber-adapter') { - return $this->inflectCoreVars($vars); - } - if ($vars['type'] === 'microweber-module') { - return $this->inflectModuleVars($vars); - } - if ($vars['type'] === 'microweber-modules') { - return $this->inflectModulesVars($vars); - } - if ($vars['type'] === 'microweber-skin') { - return $this->inflectSkinVars($vars); - } - if ($vars['type'] === 'microweber-element' or $vars['type'] === 'microweber-elements') { - return $this->inflectElementVars($vars); - } - } - - - return $vars; - } - - protected function inflectTemplateVars($vars) - { - $vars['install_item_dir'] = preg_replace('/-template$/', '', $vars['install_item_dir']); - $vars['install_item_dir'] = preg_replace('/template-$/', '', $vars['install_item_dir']); - - return $vars; - } - - protected function inflectTemplatesVars($vars) - { - $vars['install_item_dir'] = preg_replace('/-templates$/', '', $vars['install_item_dir']); - $vars['install_item_dir'] = preg_replace('/templates-$/', '', $vars['install_item_dir']); - - return $vars; - } - - protected function inflectCoreVars($vars) - { - $vars['install_item_dir'] = preg_replace('/-providers$/', '', $vars['install_item_dir']); - $vars['install_item_dir'] = preg_replace('/-provider$/', '', $vars['install_item_dir']); - $vars['install_item_dir'] = preg_replace('/-adapter$/', '', $vars['install_item_dir']); - - return $vars; - } - - protected function inflectModuleVars($vars) - { - $vars['install_item_dir'] = preg_replace('/-module$/', '', $vars['install_item_dir']); - $vars['install_item_dir'] = preg_replace('/module-$/', '', $vars['install_item_dir']); - - return $vars; - } - - protected function inflectModulesVars($vars) - { - $vars['install_item_dir'] = preg_replace('/-modules$/', '', $vars['install_item_dir']); - $vars['install_item_dir'] = preg_replace('/modules-$/', '', $vars['install_item_dir']); - - return $vars; - } - - protected function inflectSkinVars($vars) - { - $vars['install_item_dir'] = preg_replace('/-skin$/', '', $vars['install_item_dir']); - $vars['install_item_dir'] = preg_replace('/skin-$/', '', $vars['install_item_dir']); - - return $vars; - } - - protected function inflectElementVars($vars) - { - $vars['install_item_dir'] = preg_replace('/-elements$/', '', $vars['install_item_dir']); - $vars['install_item_dir'] = preg_replace('/elements-$/', '', $vars['install_item_dir']); - $vars['install_item_dir'] = preg_replace('/-element$/', '', $vars['install_item_dir']); - $vars['install_item_dir'] = preg_replace('/element-$/', '', $vars['install_item_dir']); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php b/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php deleted file mode 100644 index 0ee140abf..000000000 --- a/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php +++ /dev/null @@ -1,12 +0,0 @@ - 'core/packages/{$name}/' - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php b/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php deleted file mode 100644 index 05317995f..000000000 --- a/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php +++ /dev/null @@ -1,59 +0,0 @@ - 'mod/{$name}/', - 'admin_report' => 'admin/report/{$name}/', - 'atto' => 'lib/editor/atto/plugins/{$name}/', - 'tool' => 'admin/tool/{$name}/', - 'assignment' => 'mod/assignment/type/{$name}/', - 'assignsubmission' => 'mod/assign/submission/{$name}/', - 'assignfeedback' => 'mod/assign/feedback/{$name}/', - 'auth' => 'auth/{$name}/', - 'availability' => 'availability/condition/{$name}/', - 'block' => 'blocks/{$name}/', - 'booktool' => 'mod/book/tool/{$name}/', - 'cachestore' => 'cache/stores/{$name}/', - 'cachelock' => 'cache/locks/{$name}/', - 'calendartype' => 'calendar/type/{$name}/', - 'fileconverter' => 'files/converter/{$name}/', - 'format' => 'course/format/{$name}/', - 'coursereport' => 'course/report/{$name}/', - 'customcertelement' => 'mod/customcert/element/{$name}/', - 'datafield' => 'mod/data/field/{$name}/', - 'datapreset' => 'mod/data/preset/{$name}/', - 'editor' => 'lib/editor/{$name}/', - 'enrol' => 'enrol/{$name}/', - 'filter' => 'filter/{$name}/', - 'gradeexport' => 'grade/export/{$name}/', - 'gradeimport' => 'grade/import/{$name}/', - 'gradereport' => 'grade/report/{$name}/', - 'gradingform' => 'grade/grading/form/{$name}/', - 'local' => 'local/{$name}/', - 'logstore' => 'admin/tool/log/store/{$name}/', - 'ltisource' => 'mod/lti/source/{$name}/', - 'ltiservice' => 'mod/lti/service/{$name}/', - 'message' => 'message/output/{$name}/', - 'mnetservice' => 'mnet/service/{$name}/', - 'plagiarism' => 'plagiarism/{$name}/', - 'portfolio' => 'portfolio/{$name}/', - 'qbehaviour' => 'question/behaviour/{$name}/', - 'qformat' => 'question/format/{$name}/', - 'qtype' => 'question/type/{$name}/', - 'quizaccess' => 'mod/quiz/accessrule/{$name}/', - 'quiz' => 'mod/quiz/report/{$name}/', - 'report' => 'report/{$name}/', - 'repository' => 'repository/{$name}/', - 'scormreport' => 'mod/scorm/report/{$name}/', - 'search' => 'search/engine/{$name}/', - 'theme' => 'theme/{$name}/', - 'tinymce' => 'lib/editor/tinymce/plugins/{$name}/', - 'profilefield' => 'user/profile/field/{$name}/', - 'webservice' => 'webservice/{$name}/', - 'workshopallocation' => 'mod/workshop/allocation/{$name}/', - 'workshopeval' => 'mod/workshop/eval/{$name}/', - 'workshopform' => 'mod/workshop/form/{$name}/' - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php b/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php deleted file mode 100644 index 489ef02ab..000000000 --- a/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php +++ /dev/null @@ -1,48 +0,0 @@ - 'modules/{$name}/', - 'plugin' => 'plugins/{$vendor}/{$name}/', - 'theme' => 'themes/{$vendor}-{$name}/' - ); - - /** - * Format package name. - * - * For package type october-plugin, cut off a trailing '-plugin' if present. - * - * For package type october-theme, cut off a trailing '-theme' if present. - * - */ - public function inflectPackageVars($vars) - { - if ($vars['type'] === 'october-plugin') { - return $this->inflectPluginVars($vars); - } - - if ($vars['type'] === 'october-theme') { - return $this->inflectThemeVars($vars); - } - - return $vars; - } - - protected function inflectPluginVars($vars) - { - $vars['name'] = preg_replace('/^oc-|-plugin$/', '', $vars['name']); - $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']); - - return $vars; - } - - protected function inflectThemeVars($vars) - { - $vars['name'] = preg_replace('/^oc-|-theme$/', '', $vars['name']); - $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php b/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php deleted file mode 100644 index 5dd3438d9..000000000 --- a/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php +++ /dev/null @@ -1,24 +0,0 @@ - 'extensions/{$name}/', - 'theme' => 'extensions/themes/{$name}/', - 'translation' => 'extensions/translations/{$name}/', - ); - - /** - * Format package name to lower case and remove ".ontowiki" suffix - */ - public function inflectPackageVars($vars) - { - $vars['name'] = strtolower($vars['name']); - $vars['name'] = preg_replace('/.ontowiki$/', '', $vars['name']); - $vars['name'] = preg_replace('/-theme$/', '', $vars['name']); - $vars['name'] = preg_replace('/-translation$/', '', $vars['name']); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php b/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php deleted file mode 100644 index 3ca7954c9..000000000 --- a/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php +++ /dev/null @@ -1,14 +0,0 @@ - 'oc-content/plugins/{$name}/', - 'theme' => 'oc-content/themes/{$name}/', - 'language' => 'oc-content/languages/{$name}/', - ); - -} diff --git a/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php b/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php deleted file mode 100644 index 1797a22cf..000000000 --- a/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php +++ /dev/null @@ -1,59 +0,0 @@ -.+)\/.+/'; - - protected $locations = array( - 'module' => 'modules/{$name}/', - 'theme' => 'application/views/{$name}/', - 'out' => 'out/{$name}/', - ); - - /** - * getInstallPath - * - * @param PackageInterface $package - * @param string $frameworkType - * @return string - */ - public function getInstallPath(PackageInterface $package, $frameworkType = '') - { - $installPath = parent::getInstallPath($package, $frameworkType); - $type = $this->package->getType(); - if ($type === 'oxid-module') { - $this->prepareVendorDirectory($installPath); - } - return $installPath; - } - - /** - * prepareVendorDirectory - * - * Makes sure there is a vendormetadata.php file inside - * the vendor folder if there is a vendor folder. - * - * @param string $installPath - * @return void - */ - protected function prepareVendorDirectory($installPath) - { - $matches = ''; - $hasVendorDirectory = preg_match(self::VENDOR_PATTERN, $installPath, $matches); - if (!$hasVendorDirectory) { - return; - } - - $vendorDirectory = $matches['vendor']; - $vendorPath = getcwd() . '/modules/' . $vendorDirectory; - if (!file_exists($vendorPath)) { - mkdir($vendorPath, 0755, true); - } - - $vendorMetaDataPath = $vendorPath . '/vendormetadata.php'; - touch($vendorMetaDataPath); - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php b/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php deleted file mode 100644 index 170136f98..000000000 --- a/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'modules/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php b/vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php deleted file mode 100644 index 439f61a03..000000000 --- a/vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php +++ /dev/null @@ -1,12 +0,0 @@ - */ - protected $locations = array( - 'script' => 'web/private/scripts/quicksilver/{$name}', - 'module' => 'web/private/scripts/quicksilver/{$name}', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php b/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php deleted file mode 100644 index 4e59a8a74..000000000 --- a/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php +++ /dev/null @@ -1,11 +0,0 @@ - 'bundles/{$name}/', - 'library' => 'libraries/{$name}/', - 'framework' => 'frameworks/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php b/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php deleted file mode 100644 index deb2b77a6..000000000 --- a/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php +++ /dev/null @@ -1,11 +0,0 @@ - 'ext/{$vendor}/{$name}/', - 'language' => 'language/{$name}/', - 'style' => 'styles/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php b/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php deleted file mode 100644 index 4781fa6d1..000000000 --- a/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php +++ /dev/null @@ -1,21 +0,0 @@ - 'plugins/{$name}/', - ); - - /** - * Format package name to CamelCase - */ - public function inflectPackageVars($vars) - { - $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); - $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php b/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php deleted file mode 100644 index c17f4572b..000000000 --- a/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php +++ /dev/null @@ -1,32 +0,0 @@ - 'plugins/{$name}/', - ); - - /** - * Format package name to CamelCase - * @param array $vars - * - * @return array - */ - public function inflectPackageVars($vars) - { - $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); - $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php b/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php deleted file mode 100644 index 903e55f62..000000000 --- a/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php +++ /dev/null @@ -1,29 +0,0 @@ - '{$name}/' - ); - - /** - * Remove hyphen, "plugin" and format to camelcase - * @param array $vars - * - * @return array - */ - public function inflectPackageVars($vars) - { - $vars['name'] = explode("-", $vars['name']); - foreach ($vars['name'] as $key => $name) { - $vars['name'][$key] = ucfirst($vars['name'][$key]); - if (strcasecmp($name, "Plugin") == 0) { - unset($vars['name'][$key]); - } - } - $vars['name'] = implode("",$vars['name']); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/Plugin.php b/vendor/composer/installers/src/Composer/Installers/Plugin.php deleted file mode 100644 index e60da0e7f..000000000 --- a/vendor/composer/installers/src/Composer/Installers/Plugin.php +++ /dev/null @@ -1,27 +0,0 @@ -installer = new Installer($io, $composer); - $composer->getInstallationManager()->addInstaller($this->installer); - } - - public function deactivate(Composer $composer, IOInterface $io) - { - $composer->getInstallationManager()->removeInstaller($this->installer); - } - - public function uninstall(Composer $composer, IOInterface $io) - { - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php b/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php deleted file mode 100644 index dbf85e635..000000000 --- a/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'app/Containers/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php b/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php deleted file mode 100644 index 4c8421e36..000000000 --- a/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'modules/{$name}/', - 'theme' => 'themes/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php b/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php deleted file mode 100644 index e6834a0ca..000000000 --- a/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php +++ /dev/null @@ -1,22 +0,0 @@ - 'site/modules/{$name}/', - ); - - /** - * Format package name to CamelCase - */ - public function inflectPackageVars($vars) - { - $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); - $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php b/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php deleted file mode 100644 index 77cc3dd87..000000000 --- a/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php +++ /dev/null @@ -1,11 +0,0 @@ - 'modules/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php b/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php deleted file mode 100644 index 65510580e..000000000 --- a/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php +++ /dev/null @@ -1,63 +0,0 @@ - 'app/Modules/{$name}/', - 'theme' => 'themes/{$name}/', - ); - - /** - * Format package name. - * - * @param array $vars - * - * @return array - */ - public function inflectPackageVars($vars) - { - if ($vars['type'] === 'pxcms-module') { - return $this->inflectModuleVars($vars); - } - - if ($vars['type'] === 'pxcms-theme') { - return $this->inflectThemeVars($vars); - } - - return $vars; - } - - /** - * For package type pxcms-module, cut off a trailing '-plugin' if present. - * - * return string - */ - protected function inflectModuleVars($vars) - { - $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy) - $vars['name'] = str_replace('module-', '', $vars['name']); // strip out module- - $vars['name'] = preg_replace('/-module$/', '', $vars['name']); // strip out -module - $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s - $vars['name'] = ucwords($vars['name']); // make module name camelcased - - return $vars; - } - - - /** - * For package type pxcms-module, cut off a trailing '-plugin' if present. - * - * return string - */ - protected function inflectThemeVars($vars) - { - $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy) - $vars['name'] = str_replace('theme-', '', $vars['name']); // strip out theme- - $vars['name'] = preg_replace('/-theme$/', '', $vars['name']); // strip out -theme - $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s - $vars['name'] = ucwords($vars['name']); // make module name camelcased - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php b/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php deleted file mode 100644 index 0f78b5ca6..000000000 --- a/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php +++ /dev/null @@ -1,24 +0,0 @@ - 'src/{$name}/' - ); - - /** - * Format package name to CamelCase - */ - public function inflectPackageVars($vars) - { - $nameParts = explode('/', $vars['name']); - foreach ($nameParts as &$value) { - $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value)); - $value = str_replace(array('-', '_'), ' ', $value); - $value = str_replace(' ', '', ucwords($value)); - } - $vars['name'] = implode('/', $nameParts); - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php b/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php deleted file mode 100644 index 252c7339f..000000000 --- a/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'themes/{$name}/', - 'plugin' => 'plugins/{$name}/' - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php b/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php deleted file mode 100644 index 23a20347e..000000000 --- a/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php +++ /dev/null @@ -1,10 +0,0 @@ - 'redaxo/src/addons/{$name}/', - 'bestyle-plugin' => 'redaxo/src/addons/be_style/plugins/{$name}/' - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php b/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php deleted file mode 100644 index 09544576b..000000000 --- a/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'redaxo/include/addons/{$name}/', - 'bestyle-plugin' => 'redaxo/include/addons/be_style/plugins/{$name}/' - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php b/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php deleted file mode 100644 index d8d795be0..000000000 --- a/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php +++ /dev/null @@ -1,22 +0,0 @@ - 'plugins/{$name}/', - ); - - /** - * Lowercase name and changes the name to a underscores - * - * @param array $vars - * @return array - */ - public function inflectPackageVars($vars) - { - $vars['name'] = strtolower(str_replace('-', '_', $vars['name'])); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php b/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php deleted file mode 100644 index 1acd3b14c..000000000 --- a/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'Sources/{$name}/', - 'theme' => 'Themes/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php b/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php deleted file mode 100644 index 7d20d27a2..000000000 --- a/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php +++ /dev/null @@ -1,60 +0,0 @@ - 'engine/Shopware/Plugins/Local/Backend/{$name}/', - 'core-plugin' => 'engine/Shopware/Plugins/Local/Core/{$name}/', - 'frontend-plugin' => 'engine/Shopware/Plugins/Local/Frontend/{$name}/', - 'theme' => 'templates/{$name}/', - 'plugin' => 'custom/plugins/{$name}/', - 'frontend-theme' => 'themes/Frontend/{$name}/', - ); - - /** - * Transforms the names - * @param array $vars - * @return array - */ - public function inflectPackageVars($vars) - { - if ($vars['type'] === 'shopware-theme') { - return $this->correctThemeName($vars); - } - - return $this->correctPluginName($vars); - } - - /** - * Changes the name to a camelcased combination of vendor and name - * @param array $vars - * @return array - */ - private function correctPluginName($vars) - { - $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) { - return strtoupper($matches[0][1]); - }, $vars['name']); - - $vars['name'] = ucfirst($vars['vendor']) . ucfirst($camelCasedName); - - return $vars; - } - - /** - * Changes the name to a underscore separated name - * @param array $vars - * @return array - */ - private function correctThemeName($vars) - { - $vars['name'] = str_replace('-', '_', $vars['name']); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php b/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php deleted file mode 100644 index 81910e9f1..000000000 --- a/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php +++ /dev/null @@ -1,35 +0,0 @@ - '{$name}/', - 'theme' => 'themes/{$name}/', - ); - - /** - * Return the install path based on package type. - * - * Relies on built-in BaseInstaller behaviour with one exception: silverstripe/framework - * must be installed to 'sapphire' and not 'framework' if the version is <3.0.0 - * - * @param PackageInterface $package - * @param string $frameworkType - * @return string - */ - public function getInstallPath(PackageInterface $package, $frameworkType = '') - { - if ( - $package->getName() == 'silverstripe/framework' - && preg_match('/^\d+\.\d+\.\d+/', $package->getVersion()) - && version_compare($package->getVersion(), '2.999.999') < 0 - ) { - return $this->templatePath($this->locations['module'], array('name' => 'sapphire')); - } - - return parent::getInstallPath($package, $frameworkType); - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php b/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php deleted file mode 100644 index 762d94c68..000000000 --- a/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php +++ /dev/null @@ -1,25 +0,0 @@ - 'modules/{$vendor}/{$name}/', - 'plugin' => 'plugins/{$vendor}/{$name}/' - ); - - public function inflectPackageVars($vars) - { - return $this->parseVars($vars); - } - - protected function parseVars($vars) - { - $vars['vendor'] = strtolower($vars['vendor']) == 'sitedirect' ? 'SiteDirect' : $vars['vendor']; - $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php b/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php deleted file mode 100644 index a31c9fda0..000000000 --- a/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php +++ /dev/null @@ -1,12 +0,0 @@ - 'modules/{$name}/', - 'theme' => 'themes/{$name}/', - 'custom-module' => 'app/modules/{$name}/', - 'custom-theme' => 'app/themes/{$name}/' - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php b/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php deleted file mode 100644 index 8626a9bc2..000000000 --- a/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php +++ /dev/null @@ -1,47 +0,0 @@ - 'app/modules/{$name}/', - 'theme' => 'themes/{$name}/', - ); - - /** - * Format module name. - * - * Strip `sydes-` prefix and a trailing '-theme' or '-module' from package name if present. - * - * {@inerhitDoc} - */ - public function inflectPackageVars($vars) - { - if ($vars['type'] == 'sydes-module') { - return $this->inflectModuleVars($vars); - } - - if ($vars['type'] === 'sydes-theme') { - return $this->inflectThemeVars($vars); - } - - return $vars; - } - - public function inflectModuleVars($vars) - { - $vars['name'] = preg_replace('/(^sydes-|-module$)/i', '', $vars['name']); - $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } - - protected function inflectThemeVars($vars) - { - $vars['name'] = preg_replace('/(^sydes-|-theme$)/', '', $vars['name']); - $vars['name'] = strtolower($vars['name']); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php b/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php deleted file mode 100644 index 4357a35bb..000000000 --- a/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'themes/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php b/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php deleted file mode 100644 index 1675c4f21..000000000 --- a/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php +++ /dev/null @@ -1,26 +0,0 @@ - - */ -class Symfony1Installer extends BaseInstaller -{ - protected $locations = array( - 'plugin' => 'plugins/{$name}/', - ); - - /** - * Format package name to CamelCase - */ - public function inflectPackageVars($vars) - { - $vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) { - return strtoupper($matches[0][1]); - }, $vars['name']); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php b/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php deleted file mode 100644 index b1663e843..000000000 --- a/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php +++ /dev/null @@ -1,16 +0,0 @@ - - */ -class TYPO3CmsInstaller extends BaseInstaller -{ - protected $locations = array( - 'extension' => 'typo3conf/ext/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php b/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php deleted file mode 100644 index 42572f44f..000000000 --- a/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php +++ /dev/null @@ -1,38 +0,0 @@ - 'Packages/Application/{$name}/', - 'framework' => 'Packages/Framework/{$name}/', - 'plugin' => 'Packages/Plugins/{$name}/', - 'site' => 'Packages/Sites/{$name}/', - 'boilerplate' => 'Packages/Boilerplates/{$name}/', - 'build' => 'Build/{$name}/', - ); - - /** - * Modify the package name to be a TYPO3 Flow style key. - * - * @param array $vars - * @return array - */ - public function inflectPackageVars($vars) - { - $autoload = $this->package->getAutoload(); - if (isset($autoload['psr-0']) && is_array($autoload['psr-0'])) { - $namespace = key($autoload['psr-0']); - $vars['name'] = str_replace('\\', '.', $namespace); - } - if (isset($autoload['psr-4']) && is_array($autoload['psr-4'])) { - $namespace = key($autoload['psr-4']); - $vars['name'] = rtrim(str_replace('\\', '.', $namespace), '.'); - } - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php b/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php deleted file mode 100644 index 4f79a45f9..000000000 --- a/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php +++ /dev/null @@ -1,30 +0,0 @@ - '{$name}' - ); - - public function inflectPackageVars($vars) - { - $extra = $this->package->getExtra(); - - if (array_key_exists(self::EXTRA_TAO_EXTENSION_NAME, $extra)) { - $vars['name'] = $extra[self::EXTRA_TAO_EXTENSION_NAME]; - return $vars; - } - - $vars['name'] = str_replace('extension-', '', $vars['name']); - $vars['name'] = str_replace('-', ' ', $vars['name']); - $vars['name'] = lcfirst(str_replace(' ', '', ucwords($vars['name']))); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php b/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php deleted file mode 100644 index e20e65b83..000000000 --- a/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php +++ /dev/null @@ -1,32 +0,0 @@ - 'extensions/{$vendor}/{$name}/', - 'theme' => 'themes/{$name}/', - ); - - /** - * Format package name. - * - * Cut off leading 'ti-ext-' or 'ti-theme-' if present. - * Strip vendor name of characters that is not alphanumeric or an underscore - * - */ - public function inflectPackageVars($vars) - { - if ($vars['type'] === 'tastyigniter-extension') { - $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']); - $vars['name'] = preg_replace('/^ti-ext-/', '', $vars['name']); - } - - if ($vars['type'] === 'tastyigniter-theme') { - $vars['name'] = preg_replace('/^ti-theme-/', '', $vars['name']); - } - - return $vars; - } -} \ No newline at end of file diff --git a/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php b/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php deleted file mode 100644 index 158af5261..000000000 --- a/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php +++ /dev/null @@ -1,12 +0,0 @@ - 'local/modules/{$name}/', - 'frontoffice-template' => 'templates/frontOffice/{$name}/', - 'backoffice-template' => 'templates/backOffice/{$name}/', - 'email-template' => 'templates/email/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php b/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php deleted file mode 100644 index 7c0113b85..000000000 --- a/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php +++ /dev/null @@ -1,14 +0,0 @@ - - */ - class TuskInstaller extends BaseInstaller - { - protected $locations = array( - 'task' => '.tusk/tasks/{$name}/', - 'command' => '.tusk/commands/{$name}/', - 'asset' => 'assets/tusk/{$name}/', - ); - } diff --git a/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php b/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php deleted file mode 100644 index fcb414ab7..000000000 --- a/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'app/sprinkles/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php b/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php deleted file mode 100644 index 24ca64512..000000000 --- a/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'plugins/{$name}/', - 'theme' => 'themes/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php b/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php deleted file mode 100644 index 7d90c5e6e..000000000 --- a/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php +++ /dev/null @@ -1,49 +0,0 @@ - 'src/{$vendor}/{$name}/', - 'theme' => 'themes/{$name}/' - ); - - /** - * Format package name. - * - * For package type vgmcp-bundle, cut off a trailing '-bundle' if present. - * - * For package type vgmcp-theme, cut off a trailing '-theme' if present. - * - */ - public function inflectPackageVars($vars) - { - if ($vars['type'] === 'vgmcp-bundle') { - return $this->inflectPluginVars($vars); - } - - if ($vars['type'] === 'vgmcp-theme') { - return $this->inflectThemeVars($vars); - } - - return $vars; - } - - protected function inflectPluginVars($vars) - { - $vars['name'] = preg_replace('/-bundle$/', '', $vars['name']); - $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } - - protected function inflectThemeVars($vars) - { - $vars['name'] = preg_replace('/-theme$/', '', $vars['name']); - $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php b/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php deleted file mode 100644 index b65dbbafd..000000000 --- a/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php +++ /dev/null @@ -1,21 +0,0 @@ - 'modules/addons/{$vendor}_{$name}/', - 'fraud' => 'modules/fraud/{$vendor}_{$name}/', - 'gateways' => 'modules/gateways/{$vendor}_{$name}/', - 'notifications' => 'modules/notifications/{$vendor}_{$name}/', - 'registrars' => 'modules/registrars/{$vendor}_{$name}/', - 'reports' => 'modules/reports/{$vendor}_{$name}/', - 'security' => 'modules/security/{$vendor}_{$name}/', - 'servers' => 'modules/servers/{$vendor}_{$name}/', - 'social' => 'modules/social/{$vendor}_{$name}/', - 'support' => 'modules/support/{$vendor}_{$name}/', - 'templates' => 'templates/{$vendor}_{$name}/', - 'includes' => 'includes/{$vendor}_{$name}/' - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php b/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php deleted file mode 100644 index cff1bf19d..000000000 --- a/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php +++ /dev/null @@ -1,58 +0,0 @@ - 'modules/{$name}/', - 'plugin' => 'plugins/{$vendor}/{$name}/', - 'theme' => 'themes/{$name}/' - ); - - /** - * Format package name. - * - * For package type winter-plugin, cut off a trailing '-plugin' if present. - * - * For package type winter-theme, cut off a trailing '-theme' if present. - * - */ - public function inflectPackageVars($vars) - { - if ($vars['type'] === 'winter-module') { - return $this->inflectModuleVars($vars); - } - - if ($vars['type'] === 'winter-plugin') { - return $this->inflectPluginVars($vars); - } - - if ($vars['type'] === 'winter-theme') { - return $this->inflectThemeVars($vars); - } - - return $vars; - } - - protected function inflectModuleVars($vars) - { - $vars['name'] = preg_replace('/^wn-|-module$/', '', $vars['name']); - - return $vars; - } - - protected function inflectPluginVars($vars) - { - $vars['name'] = preg_replace('/^wn-|-plugin$/', '', $vars['name']); - $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']); - - return $vars; - } - - protected function inflectThemeVars($vars) - { - $vars['name'] = preg_replace('/^wn-|-theme$/', '', $vars['name']); - - return $vars; - } -} diff --git a/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php b/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php deleted file mode 100644 index cb387881d..000000000 --- a/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php +++ /dev/null @@ -1,9 +0,0 @@ - 'wolf/plugins/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php b/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php deleted file mode 100644 index 91c46ad99..000000000 --- a/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php +++ /dev/null @@ -1,12 +0,0 @@ - 'wp-content/plugins/{$name}/', - 'theme' => 'wp-content/themes/{$name}/', - 'muplugin' => 'wp-content/mu-plugins/{$name}/', - 'dropin' => 'wp-content/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php b/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php deleted file mode 100644 index 27f429ff2..000000000 --- a/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php +++ /dev/null @@ -1,32 +0,0 @@ - 'module/{$name}/', - ); - - /** - * Format package name to CamelCase - * @param array $vars - * - * @return array - */ - public function inflectPackageVars($vars) - { - $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); - $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); - $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); - - return $vars; - } -} \ No newline at end of file diff --git a/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php b/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php deleted file mode 100644 index bde9bc8c8..000000000 --- a/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php +++ /dev/null @@ -1,11 +0,0 @@ - 'library/{$name}/', - 'extra' => 'extras/library/{$name}/', - 'module' => 'module/{$name}/', - ); -} diff --git a/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php b/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php deleted file mode 100644 index 56cdf5da7..000000000 --- a/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php +++ /dev/null @@ -1,10 +0,0 @@ - 'modules/{$vendor}-{$name}/', - 'theme' => 'themes/{$vendor}-{$name}/' - ); -} diff --git a/vendor/composer/installers/src/bootstrap.php b/vendor/composer/installers/src/bootstrap.php deleted file mode 100644 index 0de276ee2..000000000 --- a/vendor/composer/installers/src/bootstrap.php +++ /dev/null @@ -1,13 +0,0 @@ -