summaryrefslogtreecommitdiffstats
path: root/vendor/stripe/stripe-php/Makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-01-11 12:35:47 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2022-01-11 12:35:47 +0100
commit19985dbb8c0aa66dc4bf7905abc1148de909097d (patch)
tree2cd5a5d20d7e80fc2a51adf60d838d8a2c40999e /vendor/stripe/stripe-php/Makefile
download1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.gz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.bz2
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.lz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.xz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.zst
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.zip
Diffstat (limited to 'vendor/stripe/stripe-php/Makefile')
-rw-r--r--vendor/stripe/stripe-php/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/vendor/stripe/stripe-php/Makefile b/vendor/stripe/stripe-php/Makefile
new file mode 100644
index 0000000..61b6de5
--- /dev/null
+++ b/vendor/stripe/stripe-php/Makefile
@@ -0,0 +1,36 @@
+export PHPDOCUMENTOR_VERSION := v3.0.0
+export PHPSTAN_VERSION := 0.12.59
+
+vendor: composer.json
+ composer install
+
+vendor/bin/phpstan: vendor
+ curl -sfL https://github.com/phpstan/phpstan/releases/download/$(PHPSTAN_VERSION)/phpstan.phar -o vendor/bin/phpstan
+ chmod +x vendor/bin/phpstan
+
+vendor/bin/phpdoc: vendor
+ curl -sfL https://github.com/phpDocumentor/phpDocumentor/releases/download/$(PHPDOCUMENTOR_VERSION)/phpDocumentor.phar -o vendor/bin/phpdoc
+ chmod +x vendor/bin/phpdoc
+
+test: vendor
+ vendor/bin/phpunit
+.PHONY: test
+
+fmt: vendor
+ vendor/bin/php-cs-fixer fix -v --using-cache=no .
+.PHONY: fmt
+
+fmtcheck: vendor
+ vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no .
+.PHONY: fmtcheck
+
+phpdoc: vendor/bin/phpdoc
+ vendor/bin/phpdoc
+
+phpstan: vendor/bin/phpstan
+ php -d memory_limit=512M vendor/bin/phpstan analyse lib tests
+.PHONY: phpstan
+
+phpstan-baseline: vendor/bin/phpstan
+ php -d memory_limit=512M vendor/bin/phpstan analyse lib tests --generate-baseline
+.PHONY: phpstan-baseline