PW-1190 add magento info into request (#605)
* PW-1190 add magento info into request * PW-1190 add unit tests and fix current ones. Add codesniffer and magento/magento-coding-standard to easy validate code within the repo. Add paypal reference as we have a depencency to paypal module as we need it for billing agreements. * [WIP] Feature/pw 1190 travis (#606) * add travis file * add credentials encrypted will only work for local branches * fix commands * add ruleset * update travis to execute all plugin code * remove params as it is declared into the ruleset. and update version codesniffer * only fail and show errors not warnings * added arguments p and n for better visibility and ignoring warning in ruleset xml * use relative path to fix local check
Showing
.travis.yml
0 → 100644
... | ... | @@ -16,10 +16,13 @@ |
"require": { | ||
"adyen/php-api-library": "~4.1", | ||
"magento/framework": ">=101.0.8 <102 || >=102.0.1", | ||
"magento/module-vault": "101.*" | ||
"magento/module-vault": "101.*", | ||
"magento/module-paypal": "*" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "~6.5.0" | ||
"phpunit/phpunit": "~6.5.0", | ||
"magento/magento-coding-standard": "*", | ||
"squizlabs/php_codesniffer": "~3.5.3" | ||
}, | ||
"autoload": { | ||
"files": [ | ||
... | ... | @@ -38,6 +41,12 @@ |
"test": [ | ||
"Composer\\Config::disableProcessTimeout", | ||
"vendor/bin/phpunit -c Test/phpunit.xml" | ||
], | ||
"post-install-cmd": [ | ||
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)" | ||
], | ||
"post-update-cmd": [ | ||
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)" | ||
] | ||
} | ||
} |
phpcs.xml
0 → 100644
Please register or sign in to comment