Skip to content

Commit

Permalink
Merge pull request #942 from mollie/task/PIWOO-429-build-with-scoper
Browse files Browse the repository at this point in the history
Task/piwoo 429 build with scoper
  • Loading branch information
mmaymo authored Sep 25, 2024
2 parents 82e706f + 932f9c0 commit 6f3a803
Show file tree
Hide file tree
Showing 41 changed files with 398 additions and 2,289 deletions.
1 change: 1 addition & 0 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.git*
tests/
resources/
!vendor/mollie/mollie-api-php/Resources
vendor/**/test*
vendor/mollie/mollie-api-php/examples/
languages/*.po
Expand Down
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
21 changes: 5 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@
"ext-intl": "*",
"ext-json": "*",
"mollie/mollie-api-php": "^v2.40",
"psr/log":"^1.1.4"
},
"require-dev": {
"inpsyde/modularity": "^1.3.0",
"psr/container": "1.0.0",
"psr/log":"^1.1.4",
"sniccowp/php-scoper-wordpress-excludes": "^6.6"
},
"require-dev": {
"phpunit/phpunit": "^8",
"brain/monkey": "^2.3",
"ptrofimov/xpmock": "^1",
Expand All @@ -39,8 +40,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 +78,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 6f3a803

Please sign in to comment.