Remove bitbucket pipeline, update readme with test tools

This commit is contained in:
2023-01-11 17:14:47 +09:00
parent 58a6d994ca
commit 0579a075dc
3 changed files with 10 additions and 26 deletions

View File

@@ -63,6 +63,16 @@ DOUBLE="This will be ignored"
## Development ## Development
### Phan
`vendor/bin/phan
### PHPstan
`vendor/bin/phpstan --analyze-twice`
### PHPUnit
Unit tests have to be run from base folder with Unit tests have to be run from base folder with
`vendor/bin/phpunit test/phpUnitTests/` `vendor/bin/phpunit test/phpUnitTests/`

View File

@@ -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

View File

@@ -26,7 +26,6 @@
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^9", "phpunit/phpunit": "^9",
"overtrue/phplint": "8.1.x-dev",
"phpstan/phpstan": "1.10.x-dev", "phpstan/phpstan": "1.10.x-dev",
"phan/phan": "v5.x-dev" "phan/phan": "v5.x-dev"
} }