Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store PHPStorm settings in repository... #141

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
43 changes: 34 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ jobs:
uses: actions/checkout@v2
- name: Docker pull
run: docker-compose pull php
- name: Docker caching
uses: satackey/[email protected]
continue-on-error: true
- name: Start PHP container
run: docker-compose up --detach --build --no-deps php
- name: Run composer validate
run: docker-compose run --rm --no-deps php composer validate --strict --no-interaction --ansi
run: docker-compose exec -T php composer validate --strict --no-interaction --ansi
run-php-cs-fixer:
name: php-cs-fixer
runs-on: ubuntu-latest
Expand All @@ -19,16 +24,21 @@ jobs:
uses: actions/checkout@v2
- name: Docker pull
run: docker-compose pull php
- name: Docker caching
uses: satackey/[email protected]
continue-on-error: true
- name: Composer caching
uses: actions/cache@v2
with:
path: ./build/.composer
key: ${{ runner.os }}-composer-v1-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-composer-v1-
- name: Start PHP container
run: docker-compose up --detach --build --no-deps php
- name: Install dependencies
run: docker-compose run --rm --no-deps php composer --no-scripts install --no-interaction --ansi
run: docker-compose exec -T php composer --no-scripts install --no-interaction --ansi
- name: Run php-cs-fixer
run: docker-compose run --rm --no-deps php bin/php-cs-fixer fix --diff --dry-run --ansi --config=.php-cs-fixer.dist.php
run: docker-compose exec -T php bin/php-cs-fixer fix --diff --dry-run --ansi --config=.php-cs-fixer.dist.php
run-phpunit:
name: phpunit
runs-on: ubuntu-latest
Expand All @@ -37,16 +47,21 @@ jobs:
uses: actions/checkout@v2
- name: Docker pull
run: docker-compose pull
- name: Docker caching
uses: satackey/[email protected]
continue-on-error: true
- name: Composer caching
uses: actions/cache@v2
with:
path: ./build/.composer
key: ${{ runner.os }}-composer-v1-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-composer-v1-
- name: Start containers
run: docker-compose up --detach --build
- name: Install dependencies
run: docker-compose run --rm php composer install --no-scripts --no-interaction --ansi
run: docker-compose exec -T php composer install --no-scripts --no-interaction --ansi
- name: Run phpunit
run: docker-compose run --rm php xphp bin/phpunit --color=always --configuration=phpunit.xml.dist
run: docker-compose exec -T --env XDEBUG_MODE=coverage php php -dzend_extension=xdebug.so -dxdebug.mode=debug bin/phpunit --color=always --configuration=phpunit.xml.dist
- name: Upload coverage report to codecov.io
uses: codecov/codecov-action@v1
with:
Expand All @@ -61,16 +76,21 @@ jobs:
uses: actions/checkout@v2
- name: Docker pull
run: docker-compose pull php
- name: Docker caching
uses: satackey/[email protected]
continue-on-error: true
- name: Composer caching
uses: actions/cache@v2
with:
path: ./build/.composer
key: ${{ runner.os }}-composer-v1-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-composer-v1-
- name: Start PHP container
run: docker-compose up --detach --build --no-deps php
- name: Install dependencies
run: docker-compose run --rm --no-deps php composer install --no-interaction --ansi
run: docker-compose exec -T php composer install --no-interaction --ansi
- name: Run rector
run: docker-compose run --rm --no-deps php bin/rector --no-progress-bar --dry-run --ansi
run: docker-compose exec -T php bin/rector --no-progress-bar --dry-run --ansi
run-deptrac:
name: deptrac
runs-on: ubuntu-latest
Expand All @@ -79,13 +99,18 @@ jobs:
uses: actions/checkout@v2
- name: Docker pull
run: docker-compose pull php
- name: Docker caching
uses: satackey/[email protected]
continue-on-error: true
- name: Composer caching
uses: actions/cache@v2
with:
path: ./build/.composer
key: ${{ runner.os }}-composer-v1-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-composer-v1-
- name: Start PHP container
run: docker-compose up --detach --build --no-deps php
- name: Install dependencies
run: docker-compose run --rm --no-deps php composer install --no-scripts --no-interaction --ansi
run: docker-compose exec -T php composer install --no-scripts --no-interaction --ansi
- name: Run deptrac
run: docker-compose run --rm --no-deps php bin/deptrac --no-progress --no-interaction --cache-file=./build/.deptrac/.deptrac.cache --ansi
run: docker-compose exec -T php bin/deptrac --no-progress --no-interaction --cache-file=./build/.deptrac/.deptrac.cache --ansi
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Build artifacts
/build/

# Managed by IDE
.idea/

# Managed by Composer
/bin/*
/vendor/
Expand Down
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/laravel-plugin.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/php-test-framework.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading