Skip to content

Commit

Permalink
wip github
Browse files Browse the repository at this point in the history
  • Loading branch information
instabledesign committed Dec 16, 2023
1 parent cf7ea53 commit e79a62f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 69 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run php static analyse
run: make analyse

- name: Run test suite
run: composer run-script test
run: make test
63 changes: 0 additions & 63 deletions .travis.yml

This file was deleted.

13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
default: install test stan

install:
composer install

test:
vendor/bin/phpunit

cs:
vendor/bin/php-cs-fixer fix

analyse:
vendor/bin/phpstan
5 changes: 0 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@
"friendsofphp/php-cs-fixer": "^3.41",
"phpstan/phpstan": "^1.10"
},
"scripts": {
"test": "vendor/bin/phpunit",
"cs": "vendor/bin/php-cs-fixer fix",
"stan": "vendor/bin/phpstan analyse"
},
"suggest": {
"doctrine/collections": "If you want filter an ArrayCollection",
"doctrine/orm": "If you want filter an ORM query builder"
Expand Down

0 comments on commit e79a62f

Please sign in to comment.