Skip to content

Commit

Permalink
Add scoper and remove mozart files
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Sep 17, 2024
1 parent ca3aeef commit c3f3f69
Show file tree
Hide file tree
Showing 23 changed files with 309 additions and 2,193 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ on:
required: true
jobs:
create_archive:
uses: inpsyde/reusable-workflows/.github/workflows/build-plugin-archive.yml@task/build-plugin-archive-without-dep-dependencies
uses: inpsyde/reusable-workflows/.github/workflows/build-plugin-archive.yml@main
with:
PLUGIN_VERSION: ${{ inputs.PACKAGE_VERSION }}
PHP_VERSION: 7.2
PLUGIN_MAIN_FILE: mollie-payments-for-woocommerce.php
ARCHIVE_NAME: mollie-payments-for-woocommerce
POST_SCRIPT: |
mv dist/WooCommerce dist/mollie-payments-for-woocommerce
PLUGIN_FOLDER_NAME: mollie-payments-for-woocommerce
18 changes: 3 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"ext-intl": "*",
"ext-json": "*",
"mollie/mollie-api-php": "^v2.40",
"inpsyde/modularity": "^1.3.0",
"psr/container": "1.0.0",
"psr/log":"^1.1.4"
},
"require-dev": {
"inpsyde/modularity": "^1.3.0",
"psr/container": "1.0.0",
"phpunit/phpunit": "^8",
"brain/monkey": "^2.3",
"ptrofimov/xpmock": "^1",
Expand All @@ -39,8 +39,7 @@
"autoload": {
"psr-4": {
"Mollie\\WooCommerce\\": "src/",
"Inpsyde\\EnvironmentChecker\\": "pluginEnvironmentChecker",
"Mollie\\WooCommerce\\Vendor\\": "lib/packages/"
"Inpsyde\\EnvironmentChecker\\": "pluginEnvironmentChecker"
}
},
"autoload-dev": {
Expand Down Expand Up @@ -78,17 +77,6 @@
"pre-commit": [
"vendor/bin/phpcbf"
]
},
"mozart": {
"dep_namespace": "Mollie\\WooCommerce\\Vendor\\",
"dep_directory": "/lib/packages/",
"classmap_directory": "/lib/classes/",
"classmap_prefix": "MOL_",
"packages": [
"psr/container",
"inpsyde/modularity"
],
"delete_vendor_directories": true
}
},
"config": {
Expand Down
Loading

0 comments on commit c3f3f69

Please sign in to comment.