From 0579a075dceff3dca223353489c8e81ffa9bf466 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Wed, 11 Jan 2023 17:14:47 +0900 Subject: [PATCH] Remove bitbucket pipeline, update readme with test tools --- Readme.md | 10 ++++++++++ bitbucket-pipelines.yml | 25 ------------------------- composer.json | 1 - 3 files changed, 10 insertions(+), 26 deletions(-) delete mode 100644 bitbucket-pipelines.yml diff --git a/Readme.md b/Readme.md index b735f53..699295f 100644 --- a/Readme.md +++ b/Readme.md @@ -63,6 +63,16 @@ DOUBLE="This will be ignored" ## Development +### Phan + +`vendor/bin/phan + +### PHPstan + +`vendor/bin/phpstan --analyze-twice` + +### PHPUnit + Unit tests have to be run from base folder with `vendor/bin/phpunit test/phpUnitTests/` diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml deleted file mode 100644 index 3cdff2f..0000000 --- a/bitbucket-pipelines.yml +++ /dev/null @@ -1,25 +0,0 @@ -# Template PHP Build - -# This template allows you to validate your PHP application. -# The workflow allows running tests and code linting on the default branch. - -image: composer:2.1 - - -pipelines: - default: - - parallel: - - step: - name: Test - script: - - composer require phpunit/phpunit:^9 - - ./vendor/bin/phpunit ./test/phpUnitTests - caches: - - composer - - step: - name: Lint - script: - - composer require overtrue/phplint:8.1.x-dev - - ./vendor/bin/phplint ./ --exclude=vendor - caches: - - composer diff --git a/composer.json b/composer.json index dd661e3..80628f3 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,6 @@ }, "require-dev": { "phpunit/phpunit": "^9", - "overtrue/phplint": "8.1.x-dev", "phpstan/phpstan": "1.10.x-dev", "phan/phan": "v5.x-dev" }