Skip to content

Commit

Permalink
Merge pull request #41 from localheinz/feature/synchronize
Browse files Browse the repository at this point in the history
Enhancement: Synchronize project tooling configuration with localheinz/php-library-template
  • Loading branch information
localheinz authored Aug 18, 2019
2 parents e167365 + a633bdc commit 626fbe5
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .dependabot/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ update_configs:
directory: "/"
package_manager: "php:composer"
update_schedule: "live"
version_requirement_updates: "auto"
version_requirement_updates: "increase_versions"
9 changes: 0 additions & 9 deletions .github/stale.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# https://github.com/actions/stale

name: "Close stale issues and pull requests"
on:
schedule:
- cron: "0 * * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60
days-before-close: 5
stale-issue-label: 'stale'
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
stale-pr-message: >
This PR has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
stale-pr-label: 'stale'
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
before_install:
- source .travis/xdebug.sh
- xdebug-disable
- composer validate
- composer validate --strict
- if [[ -n "$GITHUB_TOKEN" ]]; then composer config github-oauth.github.com $GITHUB_TOKEN; fi

install:
Expand All @@ -46,7 +46,7 @@ jobs:
before_install:
- source .travis/xdebug.sh
- xdebug-disable
- composer validate
- composer validate --strict
- if [[ -n "$GITHUB_TOKEN" ]]; then composer config github-oauth.github.com $GITHUB_TOKEN; fi

install:
Expand All @@ -67,7 +67,7 @@ jobs:
before_install:
- source .travis/xdebug.sh
- xdebug-disable
- composer validate
- composer validate --strict
- if [[ -n "$GITHUB_TOKEN" ]]; then composer config github-oauth.github.com $GITHUB_TOKEN; fi

install:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ test: vendor
vendor/bin/phpunit --configuration=test/Unit/phpunit.xml

vendor: composer.json composer.lock
composer validate
composer validate --strict
composer install
composer normalize
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ includes:
- vendor/phpstan/phpstan/conf/config.levelmax.neon

parameters:
inferPrivatePropertyTypeFromConstructor: true
paths:
- src
- test
Expand Down

0 comments on commit 626fbe5

Please sign in to comment.