Skip to content
Permalink
Browse files

Merge pull request #116 from ergebnis/feature/synchronize

Enhancement: Synchronize with ergebnis/php-library-template
  • Loading branch information
localheinz committed Jan 6, 2020
2 parents f0d9706 + bf4783a commit 7dda4c7209d3fba0f14edc142cb3fda1459b59ab
@@ -10,10 +10,12 @@ update_configs:
include_scope: true
prefix: "Build"
default_assignees:
- "ergebnis-bot"
- "localheinz"
default_labels:
- "dependency"
default_reviewers:
- "ergebnis-bot"
- "localheinz"
directory: "/"
package_manager: "php:composer"
@@ -38,7 +38,8 @@ branches:
apps:
- "dependabot-preview"
teams: []
users: []
users:
- "ergebnis-bot"

# https://developer.github.com/v3/issues/labels/#create-a-label
# https://developer.github.com/v3/issues/labels/#update-a-label
@@ -21,7 +21,7 @@ jobs:
- name: "Create release"
uses: "actions/create-release@v1.0.0"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_TOKEN: "${{ secrets.ERGEBNIS_BOT_TOKEN }}"
with:
draft: false
prerelease: false
@@ -175,7 +175,7 @@ jobs:
run: "mkdir -p .build/psalm"

- name: "Run vimeo/psalm"
run: "vendor/bin/psalm --config=psalm.xml --show-info=false"
run: "vendor/bin/psalm --config=psalm.xml --shepherd --show-info=false --stats"

tests:
name: "Tests"
@@ -348,8 +348,8 @@ jobs:
- "tests"

steps:
- name: "Approve"
- name: "Approve pull requests created by dependabot that update development dependencies"
uses: "hmarr/auto-approve-action@v2.0.0"
if: "(github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]') && github.event_name == 'pull_request' && startsWith(github.event.pull_request.title, 'Build(deps-dev)')"
with:
github-token: "${{ secrets.AUTO_APPROVE_TOKEN }}"
github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}"
@@ -16,7 +16,7 @@ jobs:
with:
days-before-close: 5
days-before-stale: 60
repo-token: "${{ secrets.GITHUB_TOKEN }}"
repo-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}"
stale-issue-label: 'stale'
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
@@ -37,7 +37,7 @@ static-code-analysis: vendor ## Runs a static code analysis with phpstan/phpstan
mkdir -p .build/phpstan
vendor/bin/phpstan analyse --configuration=phpstan.neon
mkdir -p .build/psalm
vendor/bin/psalm --config=psalm.xml --show-info=false
vendor/bin/psalm --config=psalm.xml --show-info=false --stats

.PHONY: static-code-analysis-baseline
static-code-analysis-baseline: vendor ## Generates a baseline for static code analysis with phpstan/phpstan and vimeo/psalm
@@ -1,7 +1,9 @@
# classy

[![Continuous Deployment](https://github.com/ergebnis/classy/workflows/Continuous%20Deployment/badge.svg)](https://github.com/ergebnis/classy/actions)
[![Continuous Integration](https://github.com/ergebnis/classy/workflows/Continuous%20Integration/badge.svg)](https://github.com/ergebnis/classy/actions)
[![Code Coverage](https://codecov.io/gh/ergebnis/classy/branch/master/graph/badge.svg)](https://codecov.io/gh/ergebnis/classy)
[![Type Coverage](https://shepherd.dev/github/ergebnis/classy/coverage.svg)](https://shepherd.dev/github/ergebnis/classy)
[![Latest Stable Version](https://poser.pugx.org/ergebnis/classy/v/stable)](https://packagist.org/packages/ergebnis/classy)
[![Total Downloads](https://poser.pugx.org/ergebnis/classy/downloads)](https://packagist.org/packages/ergebnis/classy)

@@ -2,6 +2,7 @@ includes:
- phpstan-baseline.neon

parameters:
checkMissingIterableValueType: false
ergebnis:
classesAllowedToBeExtended:
- InvalidArgumentException

0 comments on commit 7dda4c7

Please sign in to comment.
You can’t perform that action at this time.