Skip to content

Commit

Permalink
Fix Composer configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Nov 30, 2024
1 parent 28096ef commit 6c17888
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
43 changes: 22 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,37 @@
{
"name": "myparcelnl/woocommerce",
"version": "5.0.0",
"description": "Export your WooCommerce orders to MyParcel and print labels",
"license": "MIT",
"require": {
"myparcelnl/pdk": "^2.0.0",
"guzzlehttp/guzzle": "^7.5.0",
"psr/log": "*"
},
"scripts": {
"analyse": "php -dmemory_limit=-1 vendor/bin/phpstan analyse",
"analyse:generate": "composer run analyse -- --generate-baseline phpstan-baseline.php --allow-empty-baseline",
"analyze": "composer run analyse",
"analyze:generate": "composer run analyse:generate",
"test": "vendor/bin/pest",
"test:coverage": "php -dpcov.enabled=1 vendor/bin/pest --coverage-clover=coverage.xml"
"myparcelnl/pdk": "^2.0.0",
"psr/log": "^1.1 || ^2.0 || ^3.0"
},
"require-dev": {
"humbug/php-scoper": "^0.17.5",
"pestphp/pest": ">= 1",
"pestphp/pest": ">= 1.0",
"php-stubs/woocommerce-stubs": "^8.0",
"phpstan/phpstan": "^1.10",
"spatie/pest-plugin-snapshots": ">= 1",
"spatie/pest-plugin-snapshots": ">= 1.0",
"szepeviktor/phpstan-wordpress": "^1.3"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"MyParcelNL\\WooCommerce\\": "src"
"MyParcelNL\\WooCommerce\\": "src/"
},
"files": [
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"": "tests/factories",
"MyParcelNL\\Pdk\\": "vendor/myparcelnl/pdk/tests/factories",
"MyParcelNL\\Pdk\\Tests\\": "vendor/myparcelnl/pdk/tests",
"MyParcelNL\\WooCommerce\\": "tests/Unit",
"MyParcelNL\\WooCommerce\\Tests\\": "tests"
"": "tests/factories/",
"MyParcelNL\\Pdk\\": "vendor/myparcelnl/pdk/tests/factories/",
"MyParcelNL\\Pdk\\Tests\\": "vendor/myparcelnl/pdk/tests/",
"MyParcelNL\\WooCommerce\\": "tests/Unit/",
"MyParcelNL\\WooCommerce\\Tests\\": "tests/"
},
"files": [
"vendor/myparcelnl/pdk/tests/functions.php",
Expand All @@ -47,9 +40,17 @@
]
},
"config": {
"prepend-autoloader": false,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"prepend-autoloader": false
},
"scripts": {
"analyse": "phpstan analyse --memory-limit=2G",
"analyse:generate": "@analyse --generate-baseline phpstan-baseline.php --allow-empty-baseline",
"analyze": "@analyse",
"analyze:generate": "@analyse:generate",
"test": "vendor/bin/pest",
"test:coverage": "php -dpcov.enabled=1 vendor/bin/pest --coverage-clover=coverage.xml"
}
}
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6c17888

Please sign in to comment.