Skip to content

Commit

Permalink
Merge pull request #42 from scoutapp/set-framework-config
Browse files Browse the repository at this point in the history
Set framework config
  • Loading branch information
asgrim authored Dec 31, 2019
2 parents 434eb57 + 0c66454 commit d381cbb
Show file tree
Hide file tree
Showing 7 changed files with 227 additions and 140 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ composer.phar
.idea
.phpcs-cache
.phpunit.result.cache
build
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Pending [1.2.1]

### Changed

- Configure Laravel framework name and version automatically (#42)

## [1.2.0] 2019-12-19

### Added
Expand Down
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.PHONY: *

default: unit cs static-analysis ## all the things

help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

unit: ## run unit tests
vendor/bin/phpunit

cs: ## verify code style rules
vendor/bin/phpcs

static-analysis: ## verify that no new static analysis issues were introduced
vendor/bin/psalm

coverage: ## generate code coverage reports
vendor/bin/phpunit --testsuite unit --coverage-html build/coverage-html --coverage-text
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"illuminate/view": "^5.5.0|^6.0",
"ramsey/uuid": "^3.0",
"psr/log": "^1.0",
"scoutapp/scout-apm-php": "^3.0"
"scoutapp/scout-apm-php": "^3.1"
},
"require-dev": {
"doctrine/coding-standard": "^6.0",
Expand Down
Loading

0 comments on commit d381cbb

Please sign in to comment.