diff --git a/.gitignore b/.gitignore index 3455eba..53205fb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,9 @@ .idea/ -vendor/ + build/ !build/.gitkeep + +vendor/ infection.phar.asc + +composer.lock diff --git a/Makefile b/Makefile index 125d00e..6a24315 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,11 @@ test: ## Run phpunit tests vendor/bin/phpspec run -test-coverage: ## Run phpunit tests +test-coverage: ## Run phpunit tests phpdbg -qrr vendor/bin/phpspec run test-mutator: - infection --threads=4 --min-msi=60 --only-covered --log-verbosity=2 --test-framework=phpspec + infection --threads=4 --min-msi=60 --only-covered --log-verbosity=2 --test-framework=phpspec phpstan: vendor/bin/phpstan analyse -l max src - diff --git a/composer.json b/composer.json index 385efbc..5e404ba 100644 --- a/composer.json +++ b/composer.json @@ -10,9 +10,6 @@ } ], "repositories": [ - { - "type": "vcs", - "url": "git@github.com:smart-gamma/pact-php.git" }, { "type" : "vcs", "url" : "https://github.com/samsonasik/phpspec-code-coverage", @@ -23,7 +20,7 @@ "require": { "php" : ">=7.0", "behat/behat": "^3.4", - "pact-foundation/pact-php": "dev-improved-library" + "pact-foundation/pact-php": "^5.0" }, "autoload": { "psr-4": {